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

359 lines
12 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes3.dex */
public final class wzu {
private final Integer a;
private final boolean b;
private final String c;
private final boolean d;
private final String e;
private final int f;
private final List<C17728zKJ> g;
private final double h;
private final List<C17728zKJ> i;
private final List<C17728zKJ> j;
private static final byte[] $$a = {ISO7816.INS_CHANGE_CHV, -61, -106, ISO7816.INS_ENVELOPE};
private static final int $$b = CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int n = 0;
/* renamed from: o, reason: collision with root package name */
private static int f9305o = 1;
private static char[] l = {36835};
private static long k = 7329433170705300378L;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-167)) + (i2 * (-167));
int i5 = ~i;
int i6 = ~i2;
return ((i4 + (((~(i5 | i6)) | (~(i6 | i3))) * 336)) + (((~(i2 | i)) | (~(i | i3))) * (-168))) + (((~(i | (~i3))) | i6) * CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256) != 1 ? d(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void p(byte r5, int r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 98
int r7 = r7 + 4
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = o.wzu.$$a
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L14
r4 = r6
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r0[r3] = r4
int r7 = r7 + 1
if (r3 != r6) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r7]
L28:
int r4 = -r4
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.wzu.p(byte, int, short, java.lang.Object[]):void");
}
public wzu(String str, String str2, Integer num, boolean z, int i, double d, String str3, List<C17728zKJ> list, List<C17728zKJ> list2, List<C17728zKJ> list3) {
this.e = str;
this.c = str2;
this.a = num;
this.b = z;
this.f = i;
this.h = d;
this.i = list;
this.g = list2;
this.j = list3;
Object[] objArr = new Object[1];
m((char) KeyEvent.normalizeMetaState(0), (Process.getThreadPriority(0) + 20) >> 6, -TextUtils.lastIndexOf("", '0'), objArr);
this.d = ((String) objArr[0]).intern().equals(str3);
}
private static void m(char c, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $11 + 105;
$10 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(l[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (32797 - TextUtils.indexOf("", "", 0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
p(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(k), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 412, Process.getGidForName("") + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b3 = (byte) ($$b & 3);
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
p(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 408, 5 - Color.red(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 29235));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
p((byte) 8, b5, (byte) (b5 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 103;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 406, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (TextUtils.getOffsetAfter("", 0) + 29234));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
p((byte) 8, b6, (byte) (b6 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 407, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 29233));
byte b7 = (byte) 0;
Object[] objArr11 = new Object[1];
p((byte) 8, b7, (byte) (b7 - 1), objArr11);
obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr);
}
private static /* synthetic */ Object b(Object[] objArr) {
wzu wzuVar = (wzu) objArr[0];
int i = 2 % 2;
int i2 = n + 69;
f9305o = i2 % 128;
int i3 = i2 % 2;
List<C17728zKJ> list = wzuVar.j;
if (i3 != 0) {
return list;
}
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
wzu wzuVar = (wzu) objArr[0];
int i = 2 % 2;
int i2 = f9305o + 75;
int i3 = i2 % 128;
n = i3;
int i4 = i2 % 2;
String str = wzuVar.c;
if (i4 != 0) {
int i5 = 65 / 0;
}
int i6 = i3 + 23;
f9305o = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 14 / 0;
}
return str;
}
public final boolean f() {
int i = 2 % 2;
int i2 = f9305o + 53;
n = i2 % 128;
int i3 = i2 % 2;
boolean z = this.b;
if (i3 != 0) {
int i4 = 54 / 0;
}
return z;
}
public final boolean h() {
int i = 2 % 2;
int i2 = f9305o;
int i3 = i2 + 93;
n = i3 % 128;
int i4 = i3 % 2;
boolean z = this.d;
int i5 = i2 + 81;
n = i5 % 128;
int i6 = i5 % 2;
return z;
}
public final double j() {
int i = 2 % 2;
int i2 = f9305o + 55;
int i3 = i2 % 128;
n = i3;
int i4 = i2 % 2;
double d = this.h;
int i5 = i3 + 61;
f9305o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 86 / 0;
}
return d;
}
public final List<C17728zKJ> i() {
int i = 2 % 2;
int i2 = f9305o + 25;
n = i2 % 128;
if (i2 % 2 == 0) {
return this.g;
}
throw null;
}
public final List<C17728zKJ> g() {
int i = 2 % 2;
int i2 = n + 67;
int i3 = i2 % 128;
f9305o = i3;
int i4 = i2 % 2;
List<C17728zKJ> list = this.i;
int i5 = i3 + 123;
n = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 25 / 0;
}
return list;
}
public final List<C17728zKJ> e() {
return (List) a(new Object[]{this}, 365568026, -365568025, System.identityHashCode(this));
}
public final int b() {
int i = 2 % 2;
int i2 = f9305o;
int i3 = i2 + 3;
n = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
obj.hashCode();
throw null;
}
int i4 = this.f;
int i5 = i2 + 31;
n = i5 % 128;
if (i5 % 2 == 0) {
return i4;
}
throw null;
}
public final Integer a() {
Integer num;
int i = 2 % 2;
int i2 = n;
int i3 = i2 + 37;
f9305o = i3 % 128;
if (i3 % 2 == 0) {
num = this.a;
int i4 = 16 / 0;
} else {
num = this.a;
}
int i5 = i2 + 95;
f9305o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 21 / 0;
}
return num;
}
public final String c() {
return (String) a(new Object[]{this}, 1360568584, -1360568584, System.identityHashCode(this));
}
public final String d() {
int i = 2 % 2;
int i2 = f9305o + 25;
int i3 = i2 % 128;
n = i3;
int i4 = i2 % 2;
String str = this.e;
int i5 = i3 + 25;
f9305o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 24 / 0;
}
return str;
}
}