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

705 lines
37 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseOtpActivity;
import com.scb.phone.view.activity.forgotpin.ForgotPinOtpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class dNU extends BaseOtpActivity {
private boolean b = false;
private static final byte[] $$E = {54, 41, ISO7816.INS_GET_RESPONSE, 43};
private static final int $$F = 118;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* renamed from: o, reason: collision with root package name */
private static int f8777o = 1;
private static int[] k = {184085169, -1048232663, -1064089878, -728134438, 1605703562, -1289707142, 1886482974, -713103075, 1888805776, -1196015380, 1912948110, 1507746569, 1525213594, 821669681, 260116886, -433398809, -1307667103, -870641710};
private static char[] l = {39993, 40045, 40020, 40044, 40056, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40053, 40206, 40194, 40204, 40194, 40200, 40204, 40197, 40198, 40205, 40207, 40199, 40190, 40184, 40192, 40194, 40206, 40202, 39993, 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, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40021, 40065, 40064, 40022, 40070, 40041, 40020, 40042, 40069, 40068, 40042, 40071, 40016, 40043, 40018, 40017, 40018, 40068, 40064, 40065, 40042, 40018, 40022, 40064, 40069, 40023, 40041, 40016, 40069, 40069, 40023, 40065, 40023, 40018, 40042, 40065, 40043, 40071, 40042, 40021, 40065, 40068, 40065, 40018, 40068, 40018, 40041, 40020, 40042, 40016, 40069, 40064, 40069, 40020, 40071, 40068, 40023, 40021, 40018, 40021, 40017, 40017, 40016, 40021, 40127, 40166, 40161, 40165, 40165, 40169, 40166, 40165, 40163, 40148, 40187, 40148, 40098, 40103, 40187, 40098, 40165, 40166, 40148, 40170, 40163, 40168, 40098, 40168, 40161, 40144, 40098, 40172, 40162, 40150, 40099, 40148, 40167, 40144, 40164, 40160, 40166, 40149, 40167, 40144, 40164, 40170, 40099, 40165, 40166, 40144, 40150, 40165, 40144, 40148, 40167, 40169, 40165, 40099, 40174, 40163, 40144, 40151, 40173, 40144, 40168, 40150, 40167, 40148, 40172, 40172, 40162, 40150, 40172, 40144, 40168, 40166, 40098, 40098, 40062, 40162, 40166, 40166, 40166};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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 aJ(byte r6, int r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.dNU.$$E
int r8 = r8 * 2
int r1 = 1 - r8
int r6 = r6 + 71
int r7 = r7 * 3
int r7 = 3 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L17
r3 = r7
r6 = r8
r4 = r2
goto L2f
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2f:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.dNU.aJ(byte, int, byte, java.lang.Object[]):void");
}
public dNU() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dNU.4
private dNU d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
dNK dnk;
int i = 2 % 2;
if (this.b) {
return;
}
int i2 = m + 117;
f8777o = i2 % 128;
if (i2 % 2 == 0) {
this.b = true;
dnk = (dNK) y_();
} else {
this.b = true;
dnk = (dNK) y_();
}
dnk.b((ForgotPinOtpActivity) this);
int i3 = m + 113;
f8777o = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
Method method;
int i = 2 % 2;
int i2 = m + 9;
f8777o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new int[]{2047345284, 1676419424, 1853425896, 1466871478, 1018881193, -1124698869, 1313319583, 189124041, 1552570107, 1492190257}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, 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 baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 49;
f8777o = i4 % 128;
if (i4 % 2 == 0) {
Object[] objArr3 = new Object[1];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI(new int[]{31, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 5}, true, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aI(new int[]{31, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 5}, false, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = m + 89;
f8777o = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, View.MeasureSpec.getMode(0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aG(new int[]{-201623185, 491978634, -950202656, -1502640692, -1773040639, 1689762602, 1651305711, 2113261104, 1048763387, 700385649, 1970646806, 557365082, -1264699665, 2090816311, -2134802152, -1888703239, -1282178615, 138656166, 1496583313, -2023386750, 1166788662, 621406852, -1790738638, -1738661605}, View.resolveSize(0, 0) + 48, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new int[]{49, 64, 0, 0}, false, new byte[]{1, 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, 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}, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new int[]{113, 64, 41, 36}, true, null, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA384, 74, 122, 6}, true, null, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aI(new int[]{251, 5, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aG(new int[]{-361378085, 1066183967, -2069118551, 1181410552, 562529211, 27804975, 449525643, 800633117, -337186864, -2129209998, -640914647, -2056379774, -759600911, -1811127805, -1053450739, 2039200571, -1041762559, -707953949}, 36 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getDoubleTapTimeout() >> 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, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = f8777o + 75;
m = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{31, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 5}, false, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = f8777o + 15;
m = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = m + 47;
f8777o = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.green(0) + 492, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 5 - View.combineMeasuredStates(0, 0), (char) KeyEvent.keyCodeFromString(""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aG(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = k;
int i3 = 58134;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
obj = ((Class) xzZ.c(15 - TextUtils.getCapsMode("", 0, 0), 5 - KeyEvent.normalizeMetaState(0), (char) (i3 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i3 = 58134;
i4 = 729798706;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = k;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
int i9 = $11 + 87;
$10 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(14 - Process.getGidForName(""), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
iArr6 = iArr2;
i6 = 0;
}
iArr6 = iArr7;
}
int i11 = i6;
System.arraycopy(iArr6, i11, iArr5, i11, length2);
c4403bZM.b = i11;
int i12 = $11 + 119;
$10 = i12 % 128;
int i13 = i12 % 2;
while (c4403bZM.b < iArr.length) {
cArr[0] = (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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $10 + 17;
$11 = i16 % 128;
if (i16 % 2 == 0) {
c4403bZM.e ^= iArr5[i14];
try {
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(View.combineMeasuredStates(0, 0) + 118, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) TextUtils.getCapsMode("", 0, 0));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aJ((byte) 33, b, b, 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;
i14 += 28;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
c4403bZM.e ^= iArr5[i14];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ((byte) 33, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i14++;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = 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[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
Object[] objArr9 = new Object[1];
aJ((byte) 31, b3, b3, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = m + 95;
f8777o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{31, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 5}, false, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = f8777o + 81;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = f8777o + 69;
m = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aI(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = 1;
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr = l;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 67;
$11 = i11 % 128;
if (i11 % i2 == 0) {
try {
Object[] objArr2 = new Object[i6];
objArr2[i4] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i = length;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getEdgeSlop() >> 16), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 41977));
byte b = (byte) i4;
byte b2 = b;
i = length;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i = length;
Object[] objArr4 = {Integer.valueOf(cArr[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(223 - KeyEvent.keyCodeFromString(""), 5 - View.MeasureSpec.getSize(0), (char) (41977 - Color.green(0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
}
length = i;
i2 = 2;
i4 = 0;
i6 = 1;
}
cArr = cArr2;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr, i5, cArr3, 0, i7);
if (bArr != null) {
char[] cArr4 = new char[i7];
tvh.c = 0;
char c = 0;
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Process.getGidForName("") + 503, KeyEvent.getDeadChar(0, 0) + 5, (char) (54 - TextUtils.getTrimmedLength("")))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i12] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 15, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i13] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - ExpandableListView.getPackedPositionGroup(0L), (-16777211) - Color.rgb(0, 0, 0), (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 21608));
byte b5 = (byte) ($$F & 11);
byte b6 = (byte) (b5 - 2);
Object[] objArr9 = new Object[1];
aJ(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i14 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i14, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i14);
int i15 = $10 + 33;
$11 = i15 % 128;
int i16 = i15 % 2;
}
if (z) {
int i17 = $11 + 31;
$10 = i17 % 128;
int i18 = i17 % 2;
char[] cArr6 = new char[i7];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i7) {
break;
}
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
i19 = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i8 > 0) {
int i20 = $10 + 125;
$11 = i20 % 128;
int i21 = i20 % 2 == 0 ? 1 : 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i7) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = f8777o + 95;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new int[]{2047345284, 1676419424, 1853425896, 1466871478, 1018881193, -1124698869, 1313319583, 189124041, 1552570107, 1492190257}, TextUtils.indexOf("", "", 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = f8777o + 81;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 90 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.getDefaultSize(0, 0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new int[]{-201623185, 491978634, -950202656, -1502640692, -1773040639, 1689762602, 1651305711, 2113261104, 1048763387, 700385649, 1970646806, 557365082, -1264699665, 2090816311, -2134802152, -1888703239, -1282178615, 138656166, 1496583313, -2023386750, 1166788662, 621406852, -1790738638, -1738661605}, ((byte) KeyEvent.getModifierMetaStateMask()) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new int[]{49, 64, 0, 0}, false, new byte[]{1, 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, 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}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new int[]{113, 64, 41, 36}, true, null, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA384, 74, 122, 6}, true, null, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{251, 5, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{-361378085, 1066183967, -2069118551, 1181410552, 562529211, 27804975, 449525643, 800633117, -337186864, -2129209998, -640914647, -2056379774, -759600911, -1811127805, -1053450739, 2039200571, -1041762559, -707953949}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 35, 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(ExpandableListView.getPackedPositionType(0L) + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).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;
}
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = f8777o + 81;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
}