百度手机卫士 v8.4.5版本的 MD5 值为:c65ef854a40bb6200c4d8c4603c58403
以下内容为反编译后的 px.java 源代码,内容仅作参考
package dxoptimizer;
import android.content.Context;
import com.taobao.dp.DeviceSecuritySDK;
import com.taobao.dp.http.IUrlRequestService;
import java.util.HashMap;
public class px {
final pt a;
private int b;
private String c;
private String d;
private String e;
private pw f;
public px(pt ptVar, int i, String str, String str2, String str3, pw pwVar) {
Context context;
this.a = ptVar;
this.b = i;
this.e = str3;
if (sx.a(str)) {
context = ptVar.c;
this.c = pt.b(context);
} else {
this.c = str;
}
this.d = str2;
this.f = pwVar;
}
public void a() {
boolean z;
String str;
Context context;
Context context2;
Context context3;
String str2;
Context context4;
Context context5;
boolean z2;
Context context6;
z = this.a.f;
if (z) {
return;
}
this.a.f = true;
switch (this.b) {
case 1:
pj.a = "http://mobilegw.stable.alipay.net/mgw.htm";
break;
case 2:
pj.a = "https://mobilegw.alipay.com/mgw.htm";
break;
case 3:
pj.a = "http://mobilegw-1-64.test.alipay.net/mgw.htm";
break;
default:
pj.a = "https://mobilegw.alipay.com/mgw.htm";
break;
}
try {
try {
this.a.e = false;
int i = this.b;
int i2 = i != 3 ? i : 1;
context5 = this.a.c;
DeviceSecuritySDK.getInstance(context5).initAsync("", i2, (IUrlRequestService) null, new py(this));
for (int i3 = 3000; !z2 && i3 > 0; i3 -= 10) {
Thread.sleep(10L);
}
context6 = this.a.c;
String securityToken = DeviceSecuritySDK.getInstance(context6).getSecurityToken();
if (!sx.a(securityToken)) {
this.a.d = securityToken;
}
} catch (Exception e) {
}
HashMap hashMap = new HashMap();
hashMap.put("enable", "1");
hashMap.put("tid", this.d);
hashMap.put("utdid", this.c);
str = this.a.d;
hashMap.put("umid", str);
hashMap.put("userId", this.e);
context = this.a.c;
qa.a(context, hashMap);
if (this.f != null) {
pz pzVar = new pz(this.a);
context2 = this.a.c;
pzVar.c = oy.b(context2);
context3 = this.a.c;
pzVar.b = oy.a(context3);
str2 = this.a.d;
pzVar.a = str2;
context4 = this.a.c;
pzVar.d = ps.a(context4);
this.f.a(pzVar);
}
this.a.f = false;
} catch (Throwable th) {
this.a.f = false;
throw th;
}
}
}