Wolves Themes v1.0版本的 MD5 值为:cddc92b47f6b7c4a195c9625507eb51c

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


package com.moat.analytics.mobile.iro;

import android.os.Build;
import android.util.Base64;
import android.util.Log;
import com.moat.analytics.mobile.iro.p;
import com.moat.analytics.mobile.iro.t;
import java.net.URLEncoder;
import java.util.Locale;
public final class o extends Exception {
    private static Long f366;
    private static final Long f367 = 60000L;
    private static Exception f365 = null;

    public o(String str) {
        super(str);
    }

    public static String m311(String str, Exception exc) {
        return exc instanceof o ? str + " failed: " + exc.getMessage() : str + " failed unexpectedly";
    }

    public static void m312(Exception exc) {
        if (t.m341().f404) {
            Log.e("MoatException", Log.getStackTraceString(exc));
        } else {
            m310(exc);
        }
    }

    private static void m310(Exception exc) {
        String str;
        String str2;
        String str3;
        String str4;
        try {
            if (t.m341().f402 == t.c.f419) {
                int i = t.m341().f400;
                if (i != 0 && (i >= 100 || i / 100.0d >= Math.random())) {
                    String str5 = "";
                    String str6 = "";
                    String str7 = "";
                    StringBuilder sb = new StringBuilder("https://px.moatads.com/pixel.gif?e=0&i=MOATSDK1&ac=1");
                    sb.append("&zt=" + (exc instanceof o ? 1 : 0));
                    sb.append("&zr=" + i);
                    try {
                        sb.append("&zm=" + (exc.getMessage() == null ? "null" : URLEncoder.encode(Base64.encodeToString(exc.getMessage().getBytes("UTF-8"), 0), "UTF-8")));
                        sb.append("&k=" + URLEncoder.encode(Base64.encodeToString(Log.getStackTraceString(exc).getBytes("UTF-8"), 0), "UTF-8"));
                    } catch (Exception e) {
                    }
                    try {
                        str5 = "IRO";
                        sb.append("&zMoatMMAKv=2bc3418b93f01686fcbd1ebebcc04694651821b2");
                        str7 = "2.4.0";
                        p.b m319 = p.m319();
                        sb.append("&zMoatMMAKan=" + m319.m327());
                        str6 = m319.m326();
                        str = "IRO";
                        str2 = str6;
                        str3 = "2.4.0";
                        str4 = Integer.toString(Build.VERSION.SDK_INT);
                    } catch (Exception e2) {
                        str = str5;
                        str2 = str6;
                        str3 = str7;
                        str4 = "";
                    }
                    sb.append("&d=Android:" + str + ":" + str2 + ":-");
                    sb.append("&bo=" + str3);
                    sb.append("&bd=" + str4);
                    Long valueOf = Long.valueOf(System.currentTimeMillis());
                    sb.append("&t=" + valueOf);
                    sb.append("&de=" + String.format(Locale.ROOT, "%.0f", Double.valueOf(Math.floor(Math.random() * Math.pow(10.0d, 12.0d)))));
                    sb.append("&cs=0");
                    if (f366 == null || valueOf.longValue() - f366.longValue() > f367.longValue()) {
                        final String sb2 = sb.toString();
                        new Thread() {
                            @Override
                            public final void run() {
                                try {
                                    l.m308(sb2);
                                } catch (Exception e3) {
                                }
                            }
                        }.start();
                        f366 = valueOf;
                    }
                }
            } else {
                f365 = exc;
            }
        } catch (Exception e3) {
        }
    }

    public static void m309() {
        if (f365 != null) {
            m310(f365);
            f365 = null;
        }
    }
}