what-the-bank/sources/o/DqX.java

238 lines
9.2 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* loaded from: classes.dex */
public class DqX extends ZTC {
public final KOU d = new KOU();
private static final byte[] $$d = {53, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, -81};
private static final int $$e = 206;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int c = 1;
private static int[] a = {-1208142266, -1856751756, 58581256, -1049361025, 1891168790, -74225660, -742363724, -1068919931, 459595782, 926913337, -856429525, -1288431634, 141685011, 889472909, -174451370, -1446177898, 1144265065, -1447996161};
private static void g(short s, byte b2, int i, Object[] objArr) {
byte[] bArr = $$d;
int i2 = i * 4;
int i3 = (s * 4) + 4;
int i4 = (b2 * 2) + 102;
byte[] bArr2 = new byte[i2 + 1];
int i5 = -1;
if (bArr == null) {
i3++;
i4 = (-i4) + i2;
i5 = -1;
}
while (true) {
int i6 = i5 + 1;
bArr2[i6] = (byte) i4;
if (i6 == i2) {
objArr[0] = new String(bArr2, 0);
return;
}
i3++;
i4 = (-bArr[i3]) + i4;
i5 = i6;
}
}
@InterfaceC13391fZD
public DqX() {
}
/* JADX WARN: Code restructure failed: missing block: B:40:0x00e4, code lost:
if (((java.lang.String) r1[0]).intern().equals(r9.c) != false) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0108, code lost:
r4 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x0106, code lost:
if (((java.lang.String) r2[0]).intern().equals(r9.c) != false) goto L55;
*/
/* JADX WARN: Removed duplicated region for block: B:31:0x009b */
/* JADX WARN: Removed duplicated region for block: B:32:0x00a7 */
/* JADX WARN: Removed duplicated region for block: B:37:0x00b7 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.nOO c(o.BYd r9) {
/*
Method dump skipped, instructions count: 272
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.DqX.c(o.BYd):o.nOO");
}
private static void f(int[] iArr, int i, Object[] objArr) {
int i2;
int length;
int[] iArr2;
int i3;
String str;
char c2;
String str2 = "";
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = a;
int i5 = 16;
int i6 = 1;
char c3 = 0;
if (iArr3 != null) {
int i7 = $10 + 75;
$11 = i7 % 128;
int i8 = i7 % 2;
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i9 = 0;
while (i9 < length2) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr3[i9]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> i5) + 15, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (58134 - View.resolveSizeAndState(0, 0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
i5 = 16;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length3 = iArr3.length;
int[] iArr5 = new int[length3];
int[] iArr6 = a;
if (iArr6 != null) {
int i10 = $10 + 111;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = iArr6.length;
iArr2 = new int[length];
i3 = 1;
} else {
length = iArr6.length;
iArr2 = new int[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr3 = new Object[1];
objArr3[c3] = Integer.valueOf(iArr6[i3]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
str = str2;
c2 = 55346;
} else {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf(str2, '0') + 16, KeyEvent.keyCodeFromString(str2) + 5, (char) (ExpandableListView.getPackedPositionType(0L) + 58134))).getMethod("i", Integer.TYPE);
str = str2;
c2 = 55346;
xzZ.y.put(729798706, obj2);
}
iArr2[i3] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i3++;
str2 = str;
c3 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i11 = $11 + 87;
$10 = i11 % 128;
int i12 = i11 % 2;
iArr6 = iArr2;
i2 = 0;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length3);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
cArr[i2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr5[i13];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), Color.green(0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr5 = new Object[1];
g(b2, b3, (byte) (b3 - 1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 97, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
}