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

197 lines
10 KiB
Java

package o;
import android.content.Context;
import android.content.ContextWrapper;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Process;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import com.bumptech.glide.Glide;
import com.bumptech.glide.Registry;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
import net.sf.scuba.smartcards.ISO7816;
import o.TAS;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class Fqf extends ContextWrapper {
static final CqY<?, ?> b;
private static int n;
/* renamed from: o, reason: collision with root package name */
private static char[] f8176o;
final Map<Class<?>, CqY<?, ?>> a;
final List<InterfaceC6871cdb<Object>> c;
public final Opg d;
final C17692yuZ e;
public final C16601pdN f;
final KwM g;
private PNS h;
public final int i;
public final TAS.LWm<Registry> j;
private final Glide.Sts m;
private static final byte[] $$a = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static void p(byte b2, short s, int i, Object[] objArr) {
int i2 = (b2 * 2) + 71;
int i3 = 4 - (s * 3);
int i4 = i * 2;
byte[] bArr = $$a;
byte[] bArr2 = new byte[1 - i4];
int i5 = 0 - i4;
int i6 = -1;
if (bArr == null) {
i2 += i3;
i3++;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i2;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
int i8 = i3;
i2 += bArr[i3];
i3 = i8 + 1;
i6 = i7;
}
}
static {
n = 1;
c();
b = new C15773iWr();
int i = l + 53;
n = i % 128;
if (i % 2 == 0) {
throw null;
}
}
public Fqf(Context context, Opg opg, TAS.LWm<Registry> lWm, KwM kwM, Glide.Sts sts, Map<Class<?>, CqY<?, ?>> map, List<InterfaceC6871cdb<Object>> list, C17692yuZ c17692yuZ, C16601pdN c16601pdN, int i) {
super(context.getApplicationContext());
this.d = opg;
this.g = kwM;
this.m = sts;
this.c = list;
this.a = map;
this.e = c17692yuZ;
this.f = c16601pdN;
this.i = i;
this.j = new TAS.AnonymousClass4(lWm);
}
public final PNS d() {
PNS pns;
synchronized (this) {
if (this.h == null) {
PNS b2 = this.m.b();
b2.j = true;
PNS pns2 = b2;
this.h = b2;
}
pns = this.h;
}
return pns;
}
@Override // android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
k(new int[]{0, 18, 0, 10}, false, new byte[]{1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
k(new int[]{18, 5, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = n + 87;
l = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = n + 99;
l = i4 % 128;
if (i4 % 2 != 0) {
context = context.getApplicationContext();
int i5 = 6 / 0;
} else {
context = context.getApplicationContext();
}
}
if (context != null) {
int i6 = n + 123;
l = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, 5 - KeyEvent.getDeadChar(0, 0), (char) (Process.getGidForName("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
k(new int[]{23, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
k(new int[]{71, 64, 0, 25}, false, new byte[]{0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
k(new int[]{135, 64, 58, 36}, false, new byte[]{0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
k(new int[]{199, 74, 66, 27}, false, new byte[]{0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
k(new int[]{273, 5, 75, 2}, true, null, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
k(new int[]{278, 36, 198, 8}, false, new byte[]{1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((-16776729) - Color.rgb(0, 0, 0), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* JADX WARN: Removed duplicated region for block: B:72:0x0271 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void k(int[] r23, boolean r24, byte[] r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 697
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.Fqf.k(int[], boolean, byte[], java.lang.Object[]):void");
}
static void c() {
f8176o = new char[]{39996, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40053, 40201, 40189, 40165, 40190, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39994, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40046, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 39986, 40058, 40058, 40067, 40077, 40078, 40080, 40078, 40036, 40038, 40032, 40032, 40038, 40039, 40039, 40037, 40077, 40085, 40077, 40076, 40086, 40086, 40078, 40036, 40058, 40058, 40037, 40078, 40078, 40073, 40086, 40086, 40078, 40059, 40076, 40076, 40077, 40077, 40037, 40032, 40079, 40079, 40077, 40084, 40078, 40036, 40059, 40077, 40086, 40078, 40039, 40037, 40077, 40080, 40085, 40078, 40033, 40033, 40038, 40037, 40079, 40076, 40066, 40084, 40017, 40102, 40064, 40065, 40096, 40123, 40091, 40065, 40097, 40101, 40069, 40069, 40102, 40103, 40099, 40101, 40126, 40088, 40095, 40093, 40057, 40071, 40100, 40100, 40096, 40120, 40126, 40100, 40123, 40125, 40127, 40120, 40083, 40061, 40058, 40088, 40123, 40108, 40098, 40097, 40096, 40123, 40100, 40096, 40102, 40103, 40099, 40108, 40099, 40098, 40104, 40098, 40101, 40069, 40088, 40123, 40100, 40102, 40110, 40103, 40102, 40111, 40103, 40126, 40088, 40071, 40123, 40102, 40096, 40102, 40102, 40127, 40126, 40102, 40050, 40079, 40048, 40050, 40072, 40053, 40223, 40225, 40217, 40177, 40177, 40178, 40218, 40224, 40226, 40196, 40178, 40217, 40223, 40183, 40179, 40191, 40188, 40178, 40219, 40226, 40198, 40189, 40178, 40188, 40188, 40190, 40198, 40236, 40226, 40225, 40197, 40190, 40219, 40219, 40196};
}
}