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

268 lines
14 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.app.Application;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.FirebaseApp;
import java.lang.reflect.Method;
import java.security.Security;
import net.sf.scuba.smartcards.ISO7816;
import okhttp3.internal.http2.Http2Connection;
import org.jnbis.internal.NistHelper;
/* renamed from: o.fQb, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class ApplicationC13088fQb extends Application {
public static Context d;
private static final byte[] $$a = {97, ISO7816.INS_LOAD_KEY_FILE, 14, 49};
private static final int $$b = 73;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int b = 1;
private static int a = 2015661630;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002f). 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 g(byte r7, short r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.ApplicationC13088fQb.$$a
int r7 = r7 * 4
int r7 = 1 - r7
int r9 = r9 + 4
int r8 = r8 * 7
int r8 = r8 + 69
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2f
L14:
r3 = r2
L15:
r6 = r9
r9 = r8
r8 = r6
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
int r8 = r8 + 1
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2f:
int r8 = r8 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.ApplicationC13088fQb.g(byte, short, int, java.lang.Object[]):void");
}
@Override // android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = b + 117;
e = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
f(18 - ((Process.getThreadPriority(0) + 20) >> 6), new char[]{6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1}, 124 - Color.argb(0, 0, 0, 0), true, 7 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
f((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, new char[]{65532, 5, 17, 65517, 1}, 129 - Color.green(0), false, ((Process.getThreadPriority(0) + 20) >> 6) + 1, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = b + 33;
e = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), 5 - KeyEvent.keyCodeFromString(""), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
f((ViewConfiguration.getDoubleTapTimeout() >> 16) + 48, new char[]{65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 95, false, 32 - ImageFormat.getBitsPerPixel(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
f(Color.red(0) + 64, new char[]{65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29}, ExpandableListView.getPackedPositionChild(0L) + 94, true, 35 - KeyEvent.getDeadChar(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
f(64 - TextUtils.indexOf("", ""), new char[]{65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 95, true, 57 - TextUtils.getOffsetAfter("", 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
f(74 - Color.green(0), new char[]{17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 123, false, 71 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
f((ViewConfiguration.getWindowTouchSlop() >> 8) + 5, new char[]{65532, 6, 65532, 7, 65534}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 75, true, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 3, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
f(36 - Drawable.resolveOpacity(0, 0), new char[]{65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 95, true, 10 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 487, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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;
}
}
}
int i6 = b + 67;
e = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 75 / 0;
}
}
private static void f(int i, char[] cArr, int i2, boolean z, int i3, 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) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(a)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 144, ExpandableListView.getPackedPositionType(0L) + 7, (char) View.getDefaultSize(0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, (byte) (b3 - 1), 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();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (Process.myPid() >> 22), TextUtils.getTrimmedLength("") + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (-b5), 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i3 > 0) {
int i6 = $11 + 37;
$10 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
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);
}
if (!(!z)) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $10 + 17;
while (true) {
$11 = i8 % 128;
int i9 = i8 % 2;
if (zui.d >= i) {
break;
}
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(341 - TextUtils.lastIndexOf("", '0', 0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (-b7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
i8 = $10 + 111;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // android.app.Application
public final void onCreate() {
int i = 2 % 2;
super.onCreate();
Security.insertProviderAt(new gqX(), 1);
C13093fQg c13093fQg = new C13093fQg();
c13093fQg.e = "https://api.beid.io";
C13103fQq.d(c13093fQg);
Context applicationContext = getApplicationContext();
d = applicationContext;
FirebaseApp.initializeApp(applicationContext);
int i2 = b + 25;
e = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 96 / 0;
}
}
}