285 lines
10 KiB
Java
285 lines
10 KiB
Java
package o;
|
|
|
|
import android.graphics.ImageFormat;
|
|
import android.os.Build;
|
|
import android.os.Process;
|
|
import android.text.AndroidCharacter;
|
|
import android.text.TextUtils;
|
|
import android.util.TypedValue;
|
|
import android.view.KeyEvent;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import java.io.BufferedInputStream;
|
|
import java.io.File;
|
|
import java.io.FileInputStream;
|
|
import java.io.FileOutputStream;
|
|
import java.io.IOException;
|
|
import java.lang.reflect.Method;
|
|
import java.util.zip.ZipEntry;
|
|
import java.util.zip.ZipInputStream;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class Pzh {
|
|
private static final byte[] $$a = {43, -66, 11, ISOFileInfo.LCS_BYTE};
|
|
private static final int $$b = 9;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int c = 0;
|
|
private static int d = 1;
|
|
private static int e = 2015661589;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Type inference failed for: r5v7, types: [int] */
|
|
/* JADX WARN: Type inference failed for: r5v9, types: [int] */
|
|
/* JADX WARN: Type inference failed for: r6v2, types: [int] */
|
|
private static void g(byte b, byte b2, byte b3, Object[] objArr) {
|
|
?? r6 = (b2 * 7) + 69;
|
|
int i = b3 * 4;
|
|
int i2 = b + 4;
|
|
byte[] bArr = $$a;
|
|
byte[] bArr2 = new byte[i + 1];
|
|
int i3 = -1;
|
|
byte b4 = r6;
|
|
if (bArr == null) {
|
|
b4 = i2 + r6;
|
|
i2 = i2;
|
|
}
|
|
while (true) {
|
|
i3++;
|
|
int i4 = i2 + 1;
|
|
bArr2[i3] = b4;
|
|
if (i3 == i) {
|
|
objArr[0] = new String(bArr2, 0);
|
|
return;
|
|
} else {
|
|
b4 += bArr[i4];
|
|
i2 = i4;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void c(String str) throws IOException {
|
|
int i = 2 % 2;
|
|
File file = new File(str);
|
|
FileInputStream fileInputStream = new FileInputStream(str);
|
|
try {
|
|
ZipInputStream zipInputStream = new ZipInputStream(new BufferedInputStream(fileInputStream));
|
|
try {
|
|
byte[] bArr = new byte[1024];
|
|
while (true) {
|
|
ZipEntry nextEntry = zipInputStream.getNextEntry();
|
|
if (nextEntry == null) {
|
|
zipInputStream.close();
|
|
fileInputStream.close();
|
|
int i2 = d + 45;
|
|
c = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return;
|
|
}
|
|
String name = nextEntry.getName();
|
|
if (nextEntry.isDirectory()) {
|
|
new File(str, name).mkdirs();
|
|
} else {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(file.getParent());
|
|
sb.append("/");
|
|
sb.append(name);
|
|
FileOutputStream fileOutputStream = new FileOutputStream(sb.toString());
|
|
while (true) {
|
|
try {
|
|
int read = zipInputStream.read(bArr);
|
|
if (read == -1) {
|
|
break;
|
|
}
|
|
int i4 = c + 121;
|
|
d = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
fileOutputStream.write(bArr, 0, read);
|
|
} finally {
|
|
}
|
|
}
|
|
fileOutputStream.close();
|
|
zipInputStream.closeEntry();
|
|
}
|
|
}
|
|
} finally {
|
|
}
|
|
} catch (Throwable th) {
|
|
try {
|
|
fileInputStream.close();
|
|
} catch (Throwable th2) {
|
|
th.addSuppressed(th2);
|
|
}
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
public static String e() {
|
|
int i = 2 % 2;
|
|
StringBuilder sb = new StringBuilder("Android/");
|
|
sb.append(Build.VERSION.RELEASE);
|
|
sb.append(";FastEasy/3.80.2/8335");
|
|
String obj = sb.toString();
|
|
int i2 = d + 13;
|
|
c = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return obj;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ Object e(Object[] objArr) {
|
|
String str = (String) objArr[0];
|
|
String str2 = (String) objArr[1];
|
|
int i = 2 % 2;
|
|
int i2 = c + 1;
|
|
d = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
if (!d(str)) {
|
|
int i4 = c + 111;
|
|
d = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
Object[] objArr2 = new Object[1];
|
|
f((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 1, ExpandableListView.getPackedPositionGroup(0L) + 160, new char[]{65534, 0, 7, 65534}, false, objArr2);
|
|
if (!((String) objArr2[0]).intern().equalsIgnoreCase(str)) {
|
|
int i6 = c + 97;
|
|
d = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
return str;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|
|
int i7 = d + 53;
|
|
c = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
int i8 = 12 / 0;
|
|
}
|
|
return str2;
|
|
}
|
|
|
|
public static boolean d(String str) {
|
|
int i = 2 % 2;
|
|
if (str != null) {
|
|
int i2 = c + 81;
|
|
d = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
if (!str.trim().isEmpty()) {
|
|
int i4 = d + 11;
|
|
c = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return false;
|
|
}
|
|
}
|
|
int i6 = c + 5;
|
|
d = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return true;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x0159 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static java.lang.Double a(java.lang.String r19) {
|
|
/*
|
|
Method dump skipped, instructions count: 362
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.Pzh.a(java.lang.String):java.lang.Double");
|
|
}
|
|
|
|
private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
zUI zui = new zUI();
|
|
char[] cArr2 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
zui.c = cArr[zui.d];
|
|
cArr2[zui.d] = (char) (i3 + zui.c);
|
|
int i5 = zui.d;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(e)};
|
|
Object obj = xzZ.y.get(880493502);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, TextUtils.getTrimmedLength("") + 7, (char) (AndroidCharacter.getMirror('0') - '0'));
|
|
byte b = (byte) (-1);
|
|
byte b2 = (byte) (b + 1);
|
|
Object[] objArr3 = new Object[1];
|
|
g(b, b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(880493502, obj);
|
|
}
|
|
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {zui, zui};
|
|
Object obj2 = xzZ.y.get(1294990079);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(342 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - KeyEvent.keyCodeFromString(""), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
|
|
byte b3 = (byte) (-1);
|
|
byte b4 = (byte) (-b3);
|
|
Object[] objArr5 = new Object[1];
|
|
g(b3, b4, (byte) (b4 - 1), objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
if (i2 > 0) {
|
|
zui.a = i2;
|
|
char[] cArr3 = new char[i];
|
|
System.arraycopy(cArr2, 0, cArr3, 0, i);
|
|
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
|
|
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
|
|
int i6 = $11 + 51;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
}
|
|
if (z) {
|
|
int i8 = $10 + 115;
|
|
$11 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
char[] cArr4 = new char[i];
|
|
zui.d = 0;
|
|
int i10 = $10 + 33;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
while (zui.d < i) {
|
|
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
|
|
Object[] objArr6 = {zui, zui};
|
|
Object obj3 = xzZ.y.get(1294990079);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(MotionEvent.axisFromString("") + 343, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
|
|
byte b5 = (byte) (-1);
|
|
byte b6 = (byte) (-b5);
|
|
Object[] objArr7 = new Object[1];
|
|
g(b5, b6, (byte) (b6 - 1), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
cArr2 = cArr4;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
|
|
public static String a(String str, String str2) {
|
|
Object[] objArr = {str, str2};
|
|
return (String) e(objArr);
|
|
}
|
|
}
|