public class c implements Runnable {
public final /* synthetic */ String b;
public final /* synthetic */ String c;
public final /* synthetic */ MainActivity d;
public void run() {
a aVar = new a(this.d.p, "POST", new String[]{"lisence", "imei"}, new String[]{this.b, this.c});
aVar.start();
do {
} while (aVar.isAlive());
MainActivity mainActivity = this.d;
String str = aVar.d;
mainActivity.q = str;
String str2 = mainActivity.s;(跟踪发现mainActivity.s=135049600061TLs9)
try {
if (str2.length() < 16) {
int length = 16 - str2.length();
for (int i = 0; i < length; i++) {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append(str2);
stringBuilder.append("0");
str2 = stringBuilder.toString();
}
} else if (str2.length() > 16) {
str2 = str2.substring(0, 16);
}
String[] split = str.split(":");
IvParameterSpec ivParameterSpec = new IvParameterSpec(Base64.decode(split[1], 0));
SecretKeySpec secretKeySpec = new SecretKeySpec(str2.getBytes("ISO-8859-1"), "AES");
Cipher instance = Cipher.getInstance("AES/CBC/PKCS5PADDING");
instance.init(2, secretKeySpec, ivParameterSpec);
str = new String(instance.doFinal(Base64.decode(split[0], 0)));
} catch (Exception e) {
e.printStackTrace();
str = null;
}
mainActivity.r = str;
this.d.u.setVisibility(4);
Intent intent = new Intent(this.d.getApplicationContext(), validate.class);
intent.putExtra("com.benk.auth", this.d.r);
this.d.startActivity(intent);
}