秦华影视 v1.0.0版本的 MD5 值为:90520322e40df4849cf4989ab6339524

以下内容为反编译后的 eh2.java 源代码,内容仅作参考


package p.a.y.e.a.s.e.net;

import android.content.Context;
import com.ehking.sdk.wepay.ui.activity.AuthenticationPhoneActivity;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

public class eh2 implements Runnable {
    public final dh2 lite_static;

    public eh2(dh2 dh2Var) {
        this.lite_static = dh2Var;
    }

    @Override
    public void run() {
        File file;
        IOException e;
        Object obj;
        Object obj2;
        Context context;
        ArrayList<File> lite_int;
        Context context2;
        Context context3;
        Context context4;
        Context context5;
        File file2 = null;
        try {
            context = this.lite_static.lite_do;
            lite_int = bh2.lite_do(context).lite_int();
        } catch (IOException e2) {
            file = null;
            e = e2;
        } catch (Throwable unused) {
        }
        if (lite_int != null && lite_int.size() >= 1) {
            context2 = this.lite_static.lite_do;
            HashMap<String, String> lite_do = pf2.lite_do(context2, "C100000");
            int i = 0;
            while (i < lite_int.size()) {
                File file3 = lite_int.get(i);
                context3 = this.lite_static.lite_do;
                String lite_for = bh2.lite_do(context3).lite_for(file3);
                StringBuilder sb = new StringBuilder();
                context4 = this.lite_static.lite_do;
                sb.append(context4.getFilesDir());
                sb.append("/crash");
                sb.append(AuthenticationPhoneActivity.WHITE_SPACE);
                sb.append(file3.getName());
                sb.append(".zip");
                file = new File(sb.toString());
                try {
                    xs2.lite_int(file, file3);
                    if (file.exists()) {
                        hi2.lite_goto("https://api.xmpush.xiaomi.com/upload/crash_log?file=" + file.getName(), lite_do, file, ot.lite_for);
                        StringBuilder sb2 = new StringBuilder();
                        context5 = this.lite_static.lite_do;
                        sb2.append(context5.getFilesDir());
                        sb2.append("/crash");
                        file3.renameTo(new File(sb2.toString(), lite_for + ue2.lite_extends + "0"));
                        this.lite_static.lite_else();
                    } else {
                        ud2.lite_char("zip crash file failed");
                    }
                    i++;
                    file2 = file;
                } catch (IOException e3) {
                    e = e3;
                    ud2.lite_goto(e);
                    file2 = file;
                    if (file2 != null) {
                        ud2.lite_char("delete zip crash file failed");
                    }
                    obj = dh2.lite_int;
                    synchronized (obj) {
                    }
                } catch (Throwable unused2) {
                    file2 = file;
                    if (file2 != null) {
                    }
                    obj = dh2.lite_int;
                    synchronized (obj) {
                    }
                }
            }
            if (file2 != null && file2.exists() && !file2.delete()) {
                ud2.lite_char("delete zip crash file failed");
            }
            obj = dh2.lite_int;
            synchronized (obj) {
                obj2 = dh2.lite_int;
                obj2.notifyAll();
            }
            return;
        }
        ud2.lite_char("no crash file to upload");
    }
}