what-the-bank/sources/com/scb/phone/AndroidApplication.java

1951 lines
98 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.firebase.iid.InstanceIdResult;
import com.kofax.kmc.kut.utilities.AppContextProvider;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import io.flutter.embedding.engine.FlutterEngine;
import io.flutter.embedding.engine.FlutterEngineCache;
import io.flutter.embedding.engine.dart.DartExecutor;
import io.flutter.embedding.engine.systemchannels.NavigationChannel;
import io.github.inflationx.calligraphy3.CalligraphyConfig;
import io.github.inflationx.calligraphy3.CalligraphyInterceptor;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractApplicationC17694yvA;
import o.C12787fHQ;
import o.C13129fRk;
import o.C14957gcv;
import o.C4403bZM;
import o.InterfaceC13179fT;
import o.InterfaceC13391fZD;
import o.InterfaceC9505dkx;
import o.laf;
import o.vLK;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.bouncycastle.i18n.LocalizedMessage;
/* loaded from: classes.dex */
public class AndroidApplication extends AbstractApplicationC17694yvA {
private static int[] a;
private static int b;
private static int c;
private static int f;
private static byte[] g;
private static int h;
private static int i;
private static short[] j;
private static final byte[] k;
private static final int l;
@InterfaceC13391fZD
public CalligraphyConfig calligraphyConfig;
private C12787fHQ d;
@InterfaceC13391fZD
public InterfaceC13179fT deviceAccessSecurityPolicy;
@InterfaceC13391fZD
public vLK deviceIdProvider;
private boolean e;
@InterfaceC13391fZD
public InterfaceC9505dkx iDeviceCompatibilityHelper;
@InterfaceC13391fZD
public SharedPreferences sharedPreferences;
private static final byte[] $$d = {39, 47, 87, -72};
private static final int $$e = 119;
private static int $10 = 0;
private static int $11 = 1;
private static final byte[] $$a = {70, -37, 38, -31};
private static final int $$b = 70;
/* 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:0x002c). 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 o(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r0 = r6 + 1
int r8 = r8 * 2
int r8 = r8 + 97
byte[] r1 = com.scb.phone.AndroidApplication.$$a
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r8 = r7
r3 = r2
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.o(int, short, int, java.lang.Object[]):void");
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002e). 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 q(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.AndroidApplication.$$d
int r7 = r7 + 4
int r6 = r6 * 3
int r1 = r6 + 1
int r8 = r8 * 2
int r8 = r8 + 102
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r6) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.q(short, short, short, java.lang.Object[]):void");
}
private static void n(int[] iArr, int i2, Object[] objArr) {
int length;
int[] iArr2;
int i3;
char c2;
int i4;
int i5 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = a;
int i6 = 729798706;
int i7 = 1;
int i8 = 0;
if (iArr3 != null) {
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i9 = 0;
while (i9 < length2) {
try {
Object[] objArr2 = new Object[i7];
objArr2[0] = Integer.valueOf(iArr3[i9]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(16 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (58134 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
int i10 = $11 + 5;
$10 = i10 % 128;
int i11 = i10 % 2;
i7 = 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 i12 = $11 + 23;
$10 = i12 % 128;
if (i12 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
i3 = 1;
} else {
length = iArr6.length;
iArr2 = new int[length];
i3 = 0;
}
while (i3 < length) {
int i13 = $10 + 73;
$11 = i13 % 128;
int i14 = i13 % 2;
Object[] objArr3 = new Object[1];
objArr3[i8] = Integer.valueOf(iArr6[i3]);
Object obj2 = xzZ.y.get(Integer.valueOf(i6));
if (obj2 != null) {
i4 = i6;
c2 = 58134;
} else {
c2 = 58134;
Class cls = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (58134 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
Class<?>[] clsArr = new Class[1];
clsArr[i8] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i4 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr2[i3] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i3++;
i6 = i4;
i8 = 0;
}
iArr6 = iArr2;
}
int i15 = i8;
System.arraycopy(iArr6, i15, iArr5, i15, length3);
c4403bZM.b = i15;
while (c4403bZM.b < iArr.length) {
cArr[i15] = (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 i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr5[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(118 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0'), (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
q(b2, b3, (byte) (-b3), objArr5);
obj3 = cls2.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;
i16++;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i19 = c4403bZM.e;
int i20 = 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 cls3 = (Class) xzZ.c(97 - TextUtils.lastIndexOf("", '0', 0), (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)) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
q(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i15 = 0;
}
objArr[0] = new String(cArr2, 0, i2);
}
/* JADX WARN: Code restructure failed: missing block: B:15:0x009b, code lost:
if (r3 != null) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x011d, code lost:
if (r3 == null) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x011f, code lost:
r0 = com.scb.phone.AndroidApplication.g;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0124, code lost:
r8 = new java.lang.Object[]{java.lang.Integer.valueOf(r18), java.lang.Integer.valueOf(com.scb.phone.AndroidApplication.b)};
r3 = o.xzZ.y.get(-2092856797);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x013f, code lost:
if (r3 == null) goto L36;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0199, code lost:
r3 = (byte) (((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r8)).intValue()] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.AndroidApplication.c ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0142, code lost:
r3 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getKeyRepeatDelay() >> 16) + 337, (android.view.ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (android.text.TextUtils.lastIndexOf("", '0', 0) + 1));
r7 = (byte) 0;
r12 = new java.lang.Object[1];
q(r7, (byte) (r7 - 1), (byte) com.scb.phone.AndroidApplication.$$d.length, r12);
r3 = r3.getMethod((java.lang.String) r12[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(-2092856797, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x01ac, code lost:
r3 = (short) (((short) (com.scb.phone.AndroidApplication.j[r18 + ((int) (com.scb.phone.AndroidApplication.b ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.AndroidApplication.c ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x00a2, code lost:
r12 = r3.length;
r13 = new byte[r12];
r14 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x00a6, code lost:
if (r14 >= r12) goto L80;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x00aa, code lost:
r10 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r14])};
r7 = o.xzZ.y.get(-1648115392);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x00bf, code lost:
if (r7 == null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0112, code lost:
r13[r14] = ((java.lang.Byte) ((java.lang.reflect.Method) r7).invoke(null, r10)).byteValue();
r14 = r14 + 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x00c2, code lost:
r0 = (java.lang.Class) o.xzZ.c(android.text.TextUtils.getCapsMode("", 0, 0) + 60, ((android.os.Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (android.view.ViewConfiguration.getMaximumFlingVelocity() >> 16));
r7 = (byte) 0;
r11 = (byte) (r7 - 1);
r15 = new java.lang.Object[1];
q(r7, r11, (byte) (r11 + 4), r15);
r7 = r0.getMethod((java.lang.String) r15[0], java.lang.Integer.TYPE);
o.xzZ.y.put(-1648115392, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x011c, code lost:
r3 = r13;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x00a0, code lost:
if (r3 != null) goto L21;
*/
/* JADX WARN: Removed duplicated region for block: B:83:0x0312 */
/* JADX WARN: Removed duplicated region for block: B:84:0x0313 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void p(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 788
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.p(short, int, int, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0091, code lost:
if (r3 > 99999) goto L11;
*/
/* JADX WARN: Removed duplicated region for block: B:11:0x0302 */
/* JADX WARN: Removed duplicated region for block: B:123:0x0303 A[Catch: all -> 0x026c, TryCatch #1 {all -> 0x026c, blocks: (B:9:0x02f3, B:12:0x033f, B:123:0x0303, B:130:0x00a3, B:133:0x00e0, B:135:0x01e1, B:138:0x0264, B:140:0x020c, B:141:0x00b3), top: B:129:0x00a3 }] */
/* JADX WARN: Removed duplicated region for block: B:15:0x04d8 */
@Override // o.AbstractApplicationC17694yvA, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r34) {
/*
Method dump skipped, instructions count: 1860
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.attachBaseContext(android.content.Context):void");
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x0130. Please report as an issue. */
public static /* synthetic */ Object b(Object[] objArr) {
char c2 = 0;
laf lafVar = new laf((AndroidApplication) objArr[0]);
byte[] bArr = k;
byte b2 = bArr[15];
Object[] objArr2 = new Object[1];
m(b2, (short) (b2 | 1944), (short) 601, objArr2);
String str = (String) objArr2[0];
byte b3 = bArr[9];
short s = (short) 128;
Object[] objArr3 = new Object[1];
m(b3, (short) (b3 | 2142), s, objArr3);
try {
Object[] objArr4 = {(String) objArr3[0]};
int i2 = l;
short s2 = (short) 2127;
Object[] objArr5 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr5);
Class<?> cls = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr7);
Object[] objArr8 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr7[0])).invoke(str, objArr4);
int[] iArr = new int[objArr8.length];
int i3 = 0;
while (i3 < objArr8.length) {
Object[] objArr9 = {objArr8[i3]};
int i4 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr10 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr10);
Class<?> cls2 = Class.forName((String) objArr10[c2]);
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str3 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr12);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr12[0])).invoke(null, objArr9);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i3++;
c2 = 0;
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
try {
} catch (Throwable th) {
th = th;
}
switch (lafVar.d(iArr[i5])) {
case -26:
i5 = 53;
case -25:
lafVar.d(20);
i5 = lafVar.d != 0 ? 7 : 10;
case -24:
i5 = 48;
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
lafVar.d(20);
int i7 = lafVar.d;
i6 = 28;
if (i7 != 7 && i7 == 87) {
i5 = 1;
}
break;
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
i5 = 15;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
i5 = 47;
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
lafVar.d(16);
i5 = lafVar.d == 0 ? 46 : i6;
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 36;
}
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i5 = 49;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i5 = 51;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 26;
}
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
try {
lafVar.b = h;
lafVar.d(8);
} catch (Throwable th2) {
th = th2;
int i8 = l;
short s5 = (short) 2124;
short s6 = (short) CipherSuite.TLS_PSK_WITH_NULL_SHA256;
Object[] objArr15 = new Object[1];
m((byte) (i8 + 2), s5, s6, objArr15);
if (!Class.forName((String) objArr15[0]).isInstance(th) || i6 < 17 || i6 > 27) {
byte b4 = (byte) (i8 + 2);
Object[] objArr16 = new Object[1];
m(b4, s5, s6, objArr16);
if (Class.forName((String) objArr16[0]).isInstance(th) && i6 >= 21 && i6 <= 27) {
i6 = 58;
} else {
if (i6 < 31 || i6 > 37) {
throw th;
}
i6 = 27;
}
} else {
i6 = 59;
}
lafVar.g = th;
lafVar.d(23);
}
break;
case -11:
return null;
case -10:
i5 = 17;
case -9:
i5 = 37;
case -8:
case -7:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
AppContextProvider.setContext((Context) lafVar.i);
case -6:
i5 = 54;
case -5:
i5 = 56;
case -4:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 6;
}
case -3:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.b = ((InterfaceC9505dkx) lafVar.i).d() ? 1 : 0;
lafVar.d(8);
case -2:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((AndroidApplication) lafVar.i).iDeviceCompatibilityHelper;
lafVar.d(24);
case -1:
i5 = 11;
default:
}
}
} catch (Throwable th3) {
Throwable cause = th3.getCause();
if (cause != null) {
throw cause;
}
throw th3;
}
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0021 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0019 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0021 -> B:4:0x0029). 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 m(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 44
byte[] r0 = com.scb.phone.AndroidApplication.k
int r1 = 2143 - r7
int r8 = r8 + 4
byte[] r1 = new byte[r1]
int r7 = 2142 - r7
r2 = 0
if (r0 != 0) goto L13
r6 = r7
r3 = r8
r4 = r2
goto L29
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L21
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L21:
r4 = r0[r8]
int r3 = r3 + 1
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L29:
int r8 = -r8
int r3 = r3 + 1
int r6 = r6 + r8
int r6 = r6 + (-6)
r8 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.m(short, int, int, java.lang.Object[]):void");
}
static {
byte[] bArr = new byte[4405];
System.arraycopy("#\u0006L³öÿõÿô\u0000ùõ\u0000ùô\u0001ñ\u0003ð\u0004ùó\u0002ï\u0005ùò\u0003ùñ\u0004í\u0007õûþõúÿùð\u0005ñ\u0003õúÿùï\u0006ùî\u0007ùöûþùöûþùöúÿõ÷\u0002õö\u0003ùöù\u0000ñ\u0003õúÿùöø\u0001ùö÷\u0002ùöö\u0003ùöõ\u0004ï\u0005õó\u0006õò\u0007ùò\u0003ùöô\u0005ôûÿùöó\u0006ôú\u0000ùöó\u0006ùöõ\u0004ùöõ\u0003å\u000f-¼\u0005í\u00013ÕÙü\u0003õ\u0001ýþýï\u0003å\u000f-¼\u0005í\u00013ßÕô\tøüí\u000fïñ\n\u0010ãõô\u0018ïïñ\n\u0003å\u000f-¼\u0005í\u00013ãÇ\u000føïö\u0005ôûöÿùõ\u0000ô÷\u0003ùô\u0001õÿô\u0000ùó\u0002ùò\u0003ôö\u0004ôõ\u0005ùñ\u0004ï\u0005ùð\u0005ùï\u0006ôô\u0006ôó\u0007óýþõûþõúÿùî\u0007óüÿùöûþùöúÿùöù\u0000ùöø\u0001ï\u0005óû\u0000óú\u0001ùð\u0005ùö÷\u0002óù\u0002ùöö\u0003óø\u0003ùöö\u0003ùöø\u0001ùöøöÿõÿùõ\u0000ùô\u0001ùó\u0002ùò\u0003ùñ\u0004ùð\u0005ó÷\u0004ùï\u0006ùî\u0007óö\u0005óõ\u0006ùöûþùöúÿô\u0000ùöù\u0000óô\u0007ùöø\u0001óõ\u0006ùö÷\u0002óô\u0007ùöö\u0003ùöõ\u0004ùöô\u0005ùöó\u0006ñ\u0003óüÿòþþùöò\u0007ï\u0005ùõüþñ\u0003ñ\u0003õúÿòþþùñ\u0004ùõûÿòýÿôó\u0007òü\u0000õúÿùõú\u0000ñ\u0003õúÿùõù\u0001ùõø\u0002ùõ÷\u0003ùõ÷\u0003ùõö\u0004òû\u0001ôó\u0007óýþõö\u0003ùõõ\u0005óüÿùõô\u0006ùõó\u0007ùôýþùôýþùõö\u0004òú\u0002òù\u0003õö\u0003ùõõ\u0005ñ\u0003õúÿùôüÿùôû\u0000ùôú\u0001ùôù\u0002ï\u0005õó\u0006ùôø\u0003òþþùõüþùô÷\u0004ôú\u0000ùôö\u0005ôûÿùôö\u0003å\u000f-³û\u0005÷8ÜÝðù÷ú\u0003å\u000f-¼\u0005í\u00013Ùçòÿüéöÿõÿùõ\u0000ùô\u0001ùó\u0002ùò\u0003ùñ\u0004õÿùð\u0005ùï\u0006ùî\u0007ôö\u0004õúÿòþþùöûþï\u0005ùöúÿùöù\u0000òø\u0004òü\u0000õúÿùöø\u0001ñ\u0003õúÿùö÷\u0002ùöö\u0003ùöõ\u0004ùöô\u0005õÿùõ\u0000ùô\u0001ò÷\u0005òö\u0006òþþùöó\u0006ùöò\u0007ùï\u0006ùöù\u0000òõ\u0007ôó\u0007óýþõö\u0003ùöø\u0001óüÿùõüþùõûÿùõú\u0000ùõú\u0000ùõù\u0001ñÿþùõø\u0002ñþÿùõø\u0002ùõ÷\u0003ôûÿùõö\u0004ôú\u0000ùõö\u0004ùöô\u0005ùöôöÿô\u0000ùõ\u0000óö\u0005ôú\u0000ùô\u0001ñý\u0000ñü\u0001ñû\u0002ùó\u0002ñú\u0003ùò\u0003õÿô\u0000ùõ\u0000ùñ\u0004ùð\u0005ôö\u0004õúÿòþþùï\u0006ï\u0005ùî\u0007ùöûþóù\u0002òù\u0003õûþõúÿùöúÿñ\u0003õúÿùöù\u0000ùöø\u0001ùö÷\u0002ùö÷\u0002ùöö\u0003ñù\u0004òù\u0003õûþõúÿùöõ\u0004ñ\u0003õúÿùöô\u0005ùöó\u0006ùöò\u0007ùõüþï\u0005ñø\u0005òþþùî\u0007ùõûÿñ÷\u0006ùõú\u0000òõ\u0007ùõú\u0000ùõüþùõüöÿõÿùõ\u0000ùô\u0001ùó\u0002ñ\u0003ñ\u0003ôõ\u0005ùò\u0003ï\u0005ùñ\u0004ùð\u0005ñö\u0007ð\u0000þõúÿùï\u0006ñ\u0003õúÿùî\u0007ùöûþùöúÿùöúÿùöù\u0000ðÿÿôó\u0007ðþ\u0000ùöø\u0001óüÿùö÷\u0002ùöö\u0003ùöõ\u0004ùöô\u0005ï\u0005õó\u0006ðý\u0001òþþùñ\u0004ùöó\u0006ôûÿùöò\u0007ôú\u0000ùöòöÿõÿùõ\u0000ñý\u0000ðü\u0002ùô\u0001ô\u0000ùó\u0002ñú\u0003ùò\u0003ðû\u0003ùñ\u0004ðú\u0004ô\u0000ùð\u0005ùï\u0006ðù\u0005ùî\u0007ùöûþñ\u0003óüÿòþþùöúÿï\u0005ùöù\u0000ùöø\u0001ðø\u0006õûþõúÿùö÷\u0002óüÿùöö\u0003ùöõ\u0004ùöô\u0005ùöó\u0006ï\u0005õó\u0006õò\u0007ùöù\u0000ùöò\u0007ð÷\u0007ùõüþï\u0001þùõüþùöó\u0006ùöóöÿõÿùõ\u0000ùô\u0001ñ\u0003ñ\u0003õúÿòþþùó\u0002ï\u0005ùò\u0003ùñ\u0004ôô\u0006òù\u0003õö\u0003ùð\u0005óüÿùï\u0006ùî\u0007ùöûþùöûþùöúÿïÿ\u0000òù\u0003õö\u0003ùöù\u0000ñ\u0003õúÿùöø\u0001ùö÷\u0002ùöö\u0003ùöööÿõÿùõ\u0000ùô\u0001ùó\u0002ùò\u0003ùñ\u0004ôûÿùð\u0005ùï\u0006ïþ\u0001ùî\u0007ùöûþùöúÿùö<EFBFBD>
k = bArr;
l = 60;
f = 0;
h = 1;
a = new int[]{859497336, -354990760, -1732267499, 1395832461, -506252486, -211731126, 1217163646, 1491736680, -1208024189, 1753376449, -1189535839, -382754565, -191172461, -351788754, -819870490, -1792597060, -925456572, -154069};
b = -680779820;
c = 1406017103;
i = 2061491006;
g = new byte[]{-23, 6, ISO7816.INS_DELETE_FILE, 19, -22, 57, 0, -81, 19, 28, ISO7816.INS_DELETE_FILE, 19, -22, Ascii.EM, 32, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, 28, -19, ISO7816.INS_DECREASE, -50, -22, 19, ISO7816.INS_CREATE_FILE, 6, -21, -17, -24, -23, Ascii.NAK, 58, 6, -44, -24, 87, -81, 19, 28, ISO7816.INS_DELETE_FILE, 19, -22, Ascii.EM, 32, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -19, Ascii.EM, 6, -50, Ascii.NAK, 7, ISO7816.INS_CREATE_FILE, 60, ISO7816.INS_PUT_DATA, Ascii.SUB, -21, Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
}
/* JADX WARN: Code restructure failed: missing block: B:99:0x0290, code lost:
if (r4 > 11) goto L86;
*/
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x0139. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:104:0x02b0 A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:108:0x02cc A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:113:0x02d7 A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:117:0x02df A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:121:0x02ea A[ADDED_TO_REGION, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:122:0x0295 */
/* JADX WARN: Removed duplicated region for block: B:97:0x028c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void e(o.InterfaceC12839fIn r19) {
/*
Method dump skipped, instructions count: 820
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.e(o.fIn):void");
}
/* JADX WARN: Failed to find 'out' block for switch in B:17:0x0131. Please report as an issue. */
public void b(boolean z) {
laf lafVar = new laf(this, z ? 1 : 0);
byte[] bArr = k;
Object[] objArr = new Object[1];
m(bArr[15], (short) 1994, (short) 4009, objArr);
char c2 = 0;
String str = (String) objArr[0];
byte b2 = bArr[9];
short s = (short) 128;
Object[] objArr2 = new Object[1];
m(b2, (short) (b2 | 2142), s, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i2 = l;
short s2 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
Object[] objArr8 = {objArr7[i3]};
int i4 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[c2]);
Object[] objArr10 = objArr7;
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str3 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr12);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr12[0])).invoke(null, objArr8);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i3++;
objArr7 = objArr10;
c2 = 0;
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
try {
} catch (Throwable th) {
th = th;
}
switch (lafVar.d(iArr[i5])) {
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i5 = 39;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
lafVar.d(20);
i5 = lafVar.d != 0 ? 33 : 1;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
i5 = 40;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i5 = 42;
case -11:
lafVar.d(16);
i5 = lafVar.d == 0 ? 31 : i6;
case -10:
i5 = 8;
case -9:
i5 = 20;
case -8:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 19;
}
case -7:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
case -6:
lafVar.b = h;
lafVar.d(8);
case -5:
return;
case -4:
i5 = 21;
case -3:
i5 = 10;
case -2:
try {
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
AndroidApplication androidApplication = (AndroidApplication) lafVar.i;
lafVar.d(12);
androidApplication.e = lafVar.d != 0;
} catch (Throwable th2) {
th = th2;
int i7 = l;
short s5 = (short) 2124;
short s6 = (short) CipherSuite.TLS_PSK_WITH_NULL_SHA256;
Object[] objArr15 = new Object[1];
m((byte) (i7 + 2), s5, s6, objArr15);
boolean isInstance = Class.forName((String) objArr15[0]).isInstance(th);
int i8 = 44;
if (!isInstance || i6 < 21 || i6 > 32) {
Object[] objArr16 = new Object[1];
m((byte) (i7 + 2), s5, s6, objArr16);
if (Class.forName((String) objArr16[0]).isInstance(th) && i6 >= 26 && i6 <= 32) {
i8 = 45;
} else if (i6 < 35 || i6 > 39) {
byte b3 = (byte) (i7 + 2);
Object[] objArr17 = new Object[1];
m(b3, s5, s6, objArr17);
if (!Class.forName((String) objArr17[0]).isInstance(th) || i6 < 34 || i6 > 39) {
throw th;
}
lafVar.g = th;
lafVar.d(23);
i5 = i8;
} else {
i8 = 32;
}
}
lafVar.g = th;
lafVar.d(23);
i5 = i8;
}
break;
case -1:
i5 = 4;
default:
}
}
} catch (Throwable th3) {
Throwable cause = th3.getCause();
if (cause == null) {
throw th3;
}
throw cause;
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:17:0x0142. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:42:0x1064 */
/* JADX WARN: Removed duplicated region for block: B:50:0x108a */
/* JADX WARN: Removed duplicated region for block: B:56:0x10ae */
/* JADX WARN: Removed duplicated region for block: B:62:0x10d2 */
/* JADX WARN: Removed duplicated region for block: B:70:0x10e5 A[SYNTHETIC] */
@Override // o.AbstractApplicationC17694yvA, android.app.Application
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate() {
/*
Method dump skipped, instructions count: 4754
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.onCreate():void");
}
/* JADX WARN: Failed to find 'out' block for switch in B:14:0x0126. Please report as an issue. */
/* JADX WARN: Multi-variable type inference failed */
public boolean d() {
int i2;
laf lafVar = new laf(this);
byte[] bArr = k;
byte b2 = bArr[15];
Object[] objArr = new Object[1];
m(b2, (short) (b2 | 2044), (short) 1255, objArr);
int i3 = 0;
String str = (String) objArr[0];
byte b3 = bArr[9];
short s = (short) 128;
Object[] objArr2 = new Object[1];
m(b3, (short) (b3 | 2142), s, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i4 = l;
short s2 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i5 = 0;
while (i5 < objArr7.length) {
Object[] objArr8 = {objArr7[i5]};
int i6 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i6 + 2), s3, s4, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[i3]);
Object[] objArr10 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr10);
String str3 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
m((byte) (i6 + 2), s2, s, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
Object[] objArr12 = new Object[1];
m((byte) (i6 + 2), s3, s4, objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
m((byte) (i6 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr13);
iArr[i5] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i5++;
i3 = 0;
}
boolean z = i3;
while (true) {
int i7 = i3 + 1;
int d = lafVar.d(iArr[i3]);
i3 = 4;
switch (d) {
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i3 = 9;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
i3 = 31;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.d(16);
if (lafVar.d == 0) {
i7 = 30;
}
i3 = i7;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
i3 = i7;
case -11:
i2 = h;
lafVar.b = i2;
lafVar.d(8);
i3 = i7;
case -10:
i3 = 1;
case -9:
i3 = 20;
case -8:
lafVar.d(13);
if (lafVar.d == 0) {
i7 = 19;
}
i3 = i7;
case -7:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
i3 = i7;
case -6:
i2 = f;
lafVar.b = i2;
lafVar.d(8);
i3 = i7;
case -5:
break;
case -4:
i3 = 11;
case -3:
i3 = 21;
case -2:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
i2 = ((AndroidApplication) lafVar.i).e;
lafVar.b = i2;
lafVar.d(8);
i3 = i7;
case -1:
default:
i3 = i7;
}
lafVar.d(71);
if (lafVar.d != 0) {
return true;
}
return z;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x012f. Please report as an issue. */
public void b(String str, String str2) {
laf lafVar = new laf(this, str, str2);
byte[] bArr = k;
byte b2 = bArr[15];
Object[] objArr = new Object[1];
m(b2, (short) (b2 | 1996), (short) 1110, objArr);
char c2 = 0;
String str3 = (String) objArr[0];
byte b3 = bArr[9];
short s = (short) 128;
Object[] objArr2 = new Object[1];
m(b3, (short) (b3 | 2142), s, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i2 = l;
short s2 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str4 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str4, Class.forName((String) objArr6[0])).invoke(str3, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
Object[] objArr8 = {objArr7[i3]};
int i4 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[c2]);
Object[] objArr10 = objArr7;
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr12);
Object invoke = cls2.getMethod(str5, Class.forName((String) objArr12[0])).invoke(null, objArr8);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i3++;
objArr7 = objArr10;
c2 = 0;
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
try {
} catch (Throwable th) {
th = th;
}
switch (lafVar.d(iArr[i5])) {
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
i5 = 39;
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
lafVar.d(20);
i5 = lafVar.d != 14 ? 35 : 23;
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
i5 = 40;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i5 = 42;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
lafVar.d(13);
i5 = lafVar.d == 0 ? 33 : i6;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.b = f;
lafVar.d(8);
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
return;
case -11:
i5 = 1;
case -10:
i5 = 25;
case -9:
lafVar.b = 3;
lafVar.d(3);
lafVar.d(4);
FlutterEngineCache flutterEngineCache = (FlutterEngineCache) lafVar.i;
lafVar.d(4);
String str6 = (String) lafVar.i;
lafVar.d(4);
flutterEngineCache.put(str6, (FlutterEngine) lafVar.i);
case -8:
lafVar.g = FlutterEngineCache.getInstance();
lafVar.d(24);
case -7:
try {
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
DartExecutor dartExecutor = (DartExecutor) lafVar.i;
lafVar.d(4);
dartExecutor.executeDartEntrypoint((DartExecutor.DartEntrypoint) lafVar.i);
} catch (Throwable th2) {
th = th2;
int i7 = l;
short s5 = (short) 2124;
short s6 = (short) CipherSuite.TLS_PSK_WITH_NULL_SHA256;
Object[] objArr15 = new Object[1];
m((byte) (i7 + 2), s5, s6, objArr15);
boolean isInstance = Class.forName((String) objArr15[0]).isInstance(th);
int i8 = 44;
if (!isInstance || i6 < 25 || i6 > 34) {
byte b4 = (byte) (i7 + 2);
Object[] objArr16 = new Object[1];
m(b4, s5, s6, objArr16);
if (!Class.forName((String) objArr16[0]).isInstance(th) || i6 < 29 || i6 > 34) {
if (i6 < 36 || i6 > 39) {
throw th;
}
i8 = 34;
}
}
lafVar.g = th;
lafVar.d(23);
i5 = i8;
}
break;
case -6:
lafVar.g = DartExecutor.DartEntrypoint.createDefault();
lafVar.d(24);
case -5:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((FlutterEngine) lafVar.i).getDartExecutor();
lafVar.d(24);
case -4:
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
NavigationChannel navigationChannel = (NavigationChannel) lafVar.i;
lafVar.d(4);
navigationChannel.setInitialRoute((String) lafVar.i);
case -3:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((FlutterEngine) lafVar.i).getNavigationChannel();
lafVar.d(24);
case -2:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = new FlutterEngine((Context) lafVar.i);
lafVar.d(24);
case -1:
i5 = 19;
default:
}
}
} catch (Throwable th3) {
Throwable cause = th3.getCause();
if (cause == null) {
throw th3;
}
throw cause;
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x012c. Please report as an issue. */
public void a() {
int i2;
laf lafVar = new laf(this);
byte[] bArr = k;
short s = (short) 2012;
Object[] objArr = new Object[1];
m(bArr[15], s, (short) (s & 3063), objArr);
int i3 = 0;
String str = (String) objArr[0];
byte b2 = bArr[9];
short s2 = (short) 128;
Object[] objArr2 = new Object[1];
m(b2, (short) (b2 | 2142), s2, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i4 = l;
short s3 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i4 + 2), s3, s2, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i4 + 2), s3, s2, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i5 = 0;
while (i5 < objArr7.length) {
Object[] objArr8 = {objArr7[i5]};
int i6 = l;
short s4 = (short) 2126;
short s5 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i6 + 2), s4, s5, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[i3]);
Object[] objArr10 = objArr7;
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str3 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i6 + 2), s3, s2, objArr12);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr12[0])).invoke(null, objArr8);
Object[] objArr13 = new Object[1];
m((byte) (i6 + 2), s4, s5, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i6 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i5] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i5++;
i3 = 0;
objArr7 = objArr10;
}
while (true) {
int i7 = i3 + 1;
try {
} catch (Throwable th) {
if (i7 < 33 || i7 > 37) {
throw th;
}
lafVar.g = th;
lafVar.d(23);
i3 = 31;
}
switch (lafVar.d(iArr[i3])) {
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
i3 = 37;
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
lafVar.d(20);
int i8 = lafVar.d;
if (i8 == 0 || i8 != 1) {
i3 = 9;
} else {
i2 = 32;
i3 = i2;
}
break;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i3 = 38;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i3 = 40;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.d(16);
if (lafVar.d == 0) {
i2 = 30;
i3 = i2;
}
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
lafVar.b = h;
lafVar.d(8);
case -11:
i3 = 1;
case -10:
i3 = 21;
case -9:
lafVar.d(13);
i3 = lafVar.d == 0 ? 20 : i7;
case -8:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
case -7:
lafVar.b = f;
lafVar.d(8);
case -6:
return;
case -5:
i3 = 11;
case -4:
i3 = 22;
case -3:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
((InterfaceC13179fT) lafVar.i).c();
case -2:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((AndroidApplication) lafVar.i).deviceAccessSecurityPolicy;
lafVar.d(24);
case -1:
i3 = 5;
default:
}
}
throw th;
} catch (Throwable th2) {
Throwable cause = th2.getCause();
if (cause == null) {
throw th2;
}
throw cause;
}
}
/* JADX WARN: Code restructure failed: missing block: B:108:0x0256, code lost:
if (r3 <= 17) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:133:0x02d9, code lost:
if (r3 <= 15) goto L92;
*/
/* JADX WARN: Failed to find 'out' block for switch in B:23:0x013e. Please report as an issue. */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private /* synthetic */ void d(com.google.firebase.iid.InstanceIdResult r19) {
/*
Method dump skipped, instructions count: 810
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.AndroidApplication.d(com.google.firebase.iid.InstanceIdResult):void");
}
private void f() {
int i2 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 987849091;
b(new Object[]{this});
}
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x012f. Please report as an issue. */
private void b() {
laf lafVar = new laf(this);
byte[] bArr = k;
Object[] objArr = new Object[1];
m(bArr[15], (short) 1876, (short) 305, objArr);
char c2 = 0;
String str = (String) objArr[0];
byte b2 = bArr[9];
short s = (short) 128;
Object[] objArr2 = new Object[1];
m(b2, (short) (b2 | 2142), s, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i2 = l;
short s2 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
Object[] objArr8 = {objArr7[i3]};
int i4 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[c2]);
Object[] objArr10 = objArr7;
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str3 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr12);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr12[0])).invoke(null, objArr8);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i3++;
objArr7 = objArr10;
c2 = 0;
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
try {
} catch (Throwable th) {
th = th;
}
switch (lafVar.d(iArr[i5])) {
case -37:
i5 = 76;
case -36:
lafVar.d(20);
i5 = lafVar.d != 0 ? 30 : 71;
case -35:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.b = lafVar.i.hashCode();
lafVar.d(8);
case -34:
lafVar.d(17);
throw ((Throwable) lafVar.i);
case -33:
i5 = 77;
case -32:
i5 = 79;
case -31:
lafVar.d(13);
i5 = lafVar.d == 0 ? 69 : i6;
case -30:
i5 = 1;
case -29:
i5 = 59;
case -28:
lafVar.d(13);
if (lafVar.d == 0) {
i5 = 58;
}
case -27:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
case -26:
lafVar.b = f;
lafVar.d(8);
case -25:
i5 = 32;
case -24:
i5 = 48;
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 47;
}
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
lafVar.b = h;
lafVar.d(8);
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
return;
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
i5 = 49;
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
i5 = 60;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
i5 = 37;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
C13129fRk.b((C13129fRk) lafVar.i);
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((C13129fRk.HBt) lafVar.i).c();
lafVar.d(24);
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
Object obj = lafVar.i;
lafVar.d(4);
try {
Object[] objArr15 = {lafVar.i};
int i7 = l;
Object[] objArr16 = new Object[1];
m((byte) (i7 + 2), (short) 2129, (short) 571, objArr16);
try {
Class<?> cls4 = Class.forName((String) objArr16[0]);
Object[] objArr17 = new Object[1];
m((byte) (-k[3563]), (short) 2140, (short) 584, objArr17);
try {
String str4 = (String) objArr17[0];
Class<?>[] clsArr = new Class[1];
Object[] objArr18 = new Object[1];
m((byte) (i7 + 2), s2, (short) 586, objArr18);
try {
clsArr[0] = Class.forName((String) objArr18[0]);
try {
lafVar.b = ((Boolean) cls4.getMethod(str4, clsArr).invoke(obj, objArr15)).booleanValue() ? 1 : 0;
lafVar.d(8);
} catch (Throwable th2) {
th = th2;
if (i6 < 72 || i6 > 76) {
throw th;
}
lafVar.g = th;
lafVar.d(23);
i5 = 70;
}
} catch (Throwable th3) {
th = th3;
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th4) {
th = th4;
}
} catch (Throwable th5) {
th = th5;
}
} catch (Throwable th6) {
th = th6;
}
break;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((C13129fRk.HBt) lafVar.i).b;
lafVar.d(24);
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = (C13129fRk.HBt) lafVar.i;
lafVar.d(24);
case -11:
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
Object obj2 = lafVar.i;
lafVar.d(4);
C14957gcv.b(obj2, (String) lafVar.i);
case -10:
lafVar.g = "";
lafVar.d(24);
case -9:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = new CalligraphyInterceptor((CalligraphyConfig) lafVar.i);
lafVar.d(24);
case -8:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((AndroidApplication) lafVar.i).calligraphyConfig;
lafVar.d(24);
case -7:
lafVar.g = C13129fRk.a();
lafVar.d(24);
case -6:
i5 = 25;
case -5:
i5 = 7;
case -4:
lafVar.d(16);
if (lafVar.d == 0) {
i5 = 6;
}
case -3:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.b = ((InterfaceC9505dkx) lafVar.i).d() ? 1 : 0;
lafVar.d(8);
case -2:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(4);
lafVar.g = ((AndroidApplication) lafVar.i).iDeviceCompatibilityHelper;
lafVar.d(24);
case -1:
i5 = 26;
default:
}
}
throw th;
} catch (Throwable th7) {
Throwable cause2 = th7.getCause();
if (cause2 == null) {
throw th7;
}
throw cause2;
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:16:0x012d. Please report as an issue. */
private void e() {
laf lafVar = new laf(this);
byte[] bArr = k;
byte b2 = bArr[15];
short s = (short) (b2 | 2030);
Object[] objArr = new Object[1];
m(b2, s, (short) (s & 210), objArr);
char c2 = 0;
String str = (String) objArr[0];
byte b3 = bArr[9];
short s2 = (short) 128;
Object[] objArr2 = new Object[1];
m(b3, (short) (b3 | 2142), s2, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i2 = l;
short s3 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i2 + 2), s3, s2, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i2 + 2), s3, s2, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
Object[] objArr8 = {objArr7[i3]};
int i4 = l;
short s4 = (short) 2126;
short s5 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i4 + 2), s4, s5, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[c2]);
Object[] objArr10 = objArr7;
Object[] objArr11 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr11);
String str3 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s3, s2, objArr12);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr12[0])).invoke(null, objArr8);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 2), s4, s5, objArr13);
Class<?> cls3 = Class.forName((String) objArr13[0]);
Object[] objArr14 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr14);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr14[0], null).invoke(invoke, null)).intValue();
i3++;
objArr7 = objArr10;
c2 = 0;
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
int i7 = 23;
try {
} catch (Throwable th) {
th = th;
}
switch (lafVar.d(iArr[i5])) {
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i5 = 29;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
lafVar.d(20);
int i8 = lafVar.d;
i7 = 25;
if (i8 != 42 && i8 == 85) {
i5 = 11;
}
break;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i5 = 30;
case -11:
i5 = 32;
case -10:
lafVar.d(13);
i5 = lafVar.d == 0 ? i7 : i6;
case -9:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
case -8:
lafVar.b = f;
lafVar.d(8);
case -7:
return;
case -6:
i5 = 1;
case -5:
i5 = 13;
case -4:
try {
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
AndroidApplication androidApplication = (AndroidApplication) lafVar.i;
lafVar.d(4);
androidApplication.registerActivityLifecycleCallbacks((Application.ActivityLifecycleCallbacks) lafVar.i);
} catch (Throwable th2) {
th = th2;
int i9 = l;
short s6 = (short) 2124;
short s7 = (short) CipherSuite.TLS_PSK_WITH_NULL_SHA256;
Object[] objArr15 = new Object[1];
m((byte) (i9 + 2), s6, s7, objArr15);
if (!Class.forName((String) objArr15[0]).isInstance(th) || i6 < 3 || i6 > 4) {
Object[] objArr16 = new Object[1];
m((byte) (i9 + 2), s6, s7, objArr16);
if (Class.forName((String) objArr16[0]).isInstance(th) && i6 >= 6 && i6 <= 8) {
i6 = 35;
} else {
if (i6 < 26 || i6 > 29) {
throw th;
}
i6 = 24;
}
} else {
i6 = 34;
}
lafVar.g = th;
lafVar.d(23);
}
break;
case -3:
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
AndroidApplication androidApplication2 = (AndroidApplication) lafVar.i;
lafVar.d(4);
androidApplication2.d = (C12787fHQ) lafVar.i;
case -2:
lafVar.g = new C12787fHQ();
lafVar.d(24);
case -1:
i5 = 8;
default:
}
}
} catch (Throwable th3) {
Throwable cause = th3.getCause();
if (cause == null) {
throw th3;
}
throw cause;
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:33:0x013c. Please report as an issue. */
public static /* synthetic */ void e(AndroidApplication androidApplication, InstanceIdResult instanceIdResult) {
laf lafVar = new laf(androidApplication, instanceIdResult);
byte[] bArr = k;
Object[] objArr = new Object[1];
m(bArr[15], (short) 2014, bArr[9], objArr);
char c2 = 0;
String str = (String) objArr[0];
byte b2 = bArr[9];
short s = (short) 128;
Object[] objArr2 = new Object[1];
m(b2, (short) (b2 | 2142), s, objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
int i2 = l;
short s2 = (short) 2127;
Object[] objArr4 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
m((byte) (-bArr[3889]), (short) 2138, (short) CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
m((byte) (i2 + 2), s2, s, objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i3]};
int i4 = l;
short s3 = (short) 2126;
short s4 = (short) CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
Object[] objArr9 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr9);
Class<?> cls2 = Class.forName((String) objArr9[c2]);
Object[] objArr10 = new Object[1];
m((byte) (-k[3507]), (short) 2136, (short) CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, objArr10);
String str3 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
m((byte) (i4 + 2), s2, s, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
m((byte) (i4 + 2), s3, s4, objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
m((byte) (i4 + 1), (short) 2135, (short) CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, objArr13);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i3++;
c2 = 0;
} 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;
}
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
try {
} catch (Throwable th3) {
th = th3;
}
switch (lafVar.d(iArr[i5])) {
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
i5 = 35;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
lafVar.d(20);
i5 = lafVar.d != 0 ? 31 : 8;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
lafVar.d(17);
throw ((Throwable) lafVar.i);
break;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i5 = 36;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
i5 = 38;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
lafVar.d(16);
i5 = lafVar.d == 0 ? 29 : i6;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
f = lafVar.d;
case -11:
lafVar.b = h;
lafVar.d(8);
case -10:
i5 = 1;
case -9:
i5 = 20;
case -8:
lafVar.d(13);
if (lafVar.d == 0) {
i5 = 19;
}
case -7:
lafVar.b = 1;
lafVar.d(3);
lafVar.d(12);
h = lafVar.d;
case -6:
lafVar.b = f;
lafVar.d(8);
case -5:
return;
case -4:
i5 = 10;
case -3:
i5 = 21;
case -2:
try {
lafVar.b = 2;
lafVar.d(3);
lafVar.d(4);
AndroidApplication androidApplication2 = (AndroidApplication) lafVar.i;
lafVar.d(4);
androidApplication2.d((InstanceIdResult) lafVar.i);
} catch (Throwable th4) {
th = th4;
int i7 = l;
short s5 = (short) 2124;
short s6 = (short) CipherSuite.TLS_PSK_WITH_NULL_SHA256;
Object[] objArr14 = new Object[1];
m((byte) (i7 + 2), s5, s6, objArr14);
boolean isInstance = Class.forName((String) objArr14[0]).isInstance(th);
int i8 = 41;
if (!isInstance || i6 < 10 || i6 > 11) {
byte b3 = (byte) (i7 + 2);
Object[] objArr15 = new Object[1];
m(b3, s5, s6, objArr15);
if (!Class.forName((String) objArr15[0]).isInstance(th) || i6 < 14 || i6 > 20) {
if (i6 < 32 || i6 > 35) {
throw th;
}
i8 = 30;
}
}
lafVar.g = th;
lafVar.d(23);
i5 = i8;
}
break;
case -1:
i5 = 5;
default:
}
}
} catch (Throwable th5) {
Throwable cause3 = th5.getCause();
if (cause3 == null) {
throw th5;
}
throw cause3;
}
}
}