what-the-bank/sources/com/scb/phone/view/activity/cardx/Hilt_CardXGetStartWebViewAc...

651 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardx;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
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.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.DFY;
import o.IRS;
import o.InterfaceC10092dwI;
import o.InterfaceC17278vUG;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_CardXGetStartWebViewActivity extends SCBUniversalWebViewActivity {
private static short[] s;
private boolean b = false;
private static final byte[] $$p = {54, 41, ISO7816.INS_GET_RESPONSE, 43};
private static final int $$q = 25;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int v = 1;
private static char[] k = {49029, 49106, 49030, 49054, 49123, 49025, 49035, 49089, 49094, 49041, 49049, 49108, 49115, 49104, 49088, 49117, 49109, 49048, 49027, 49111, 49042, 49051, 49031, 49093, 49138, 49028, 49053, 49114, 49050, 49024, 49110, 49055, 49052, 49033, 49119, 49098, 49126, 49034, 49043, 49112, 49090, 49095, 49116, 49040, 49045, 49026, 49105, 49091, 49118};
/* renamed from: o, reason: collision with root package name */
private static char f6670o = 35374;
private static int l = 2120435310;
private static int r = 1406017036;
private static int q = -1990081706;
private static byte[] t = {16, -17, ISO7816.INS_CREATE_FILE, Ascii.EM, 7, -56, Ascii.SYN, Ascii.CAN, ISO7816.INS_CREATE_FILE, 30, -26, 2, 49, 0, -83, 19, 28, 32, -39, -24, -23, -18, 29, -27, 30, -107, 110, -67, ISOFileInfo.FCI_BYTE, -106, 95, -70, 71, PSSSigner.TRAILER_IMPLICIT, 108, ISO7816.INS_REHABILITATE_CHV, -67, SignedBytes.MAX_POWER_OF_TWO, -65, 69, -109, -67, -108, 109, 110, ISO7816.INS_REHABILITATE_CHV, 110, -67, 69, -111, -69, -110, 69, -67, ISOFileInfo.FCI_BYTE, -111, 110, -103, 102, -106, 94, -94, 107, -110, 110, CVCAFile.CAR_TAG, -70, CVCAFile.CAR_TAG, ISOFileInfo.A0, -112, 108, ISOFileInfo.FCI_BYTE, -108, 107, -112, -107, 109, -107, 108, 65, -67, -108, 67, -67, SignedBytes.MAX_POWER_OF_TWO, -66, 69, 108, -15, 57, -60, 58, Ascii.ETB, 59, -21, 19, -22, 10, -12, ISO7816.INS_GET_RESPONSE, 15, 59, -58, -60, -15, 57, -59, 58, 59, ISO7816.INS_ENVELOPE, 14, 56, -16, 63, -52, 56, 57, 62, 16, -11, -57, Ascii.DC4, 57, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Type inference failed for: r5v2, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r5 = 4 - r5
int r7 = 120 - r7
byte[] r0 = com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity.$$p
int r6 = r6 * 4
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L16
r3 = r5
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r3 = r0[r5]
L28:
int r5 = r5 + 1
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity.aD(byte, byte, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_CardXGetStartWebViewActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity.2
private Hilt_CardXGetStartWebViewActivity e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.s();
}
});
}
@Override // o.AbstractActivityC11374eeD
public final void s() {
int i = 2 % 2;
int i2 = v + 53;
p = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (this.b) {
return;
}
this.b = true;
((InterfaceC10092dwI) y_()).d((CardXGetStartWebViewActivity) this);
int i3 = p + 81;
v = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{'\b', 22, 14, '\f', '0', 21, 26, '!', 0, 21, 25, 5, 14, 0, '\t', '\"', 13830, 13830}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 82), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.sme_loan_detail_total_label).substring(5, 9).length() + 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'*', ')', ')', 22, 13862}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 27), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, 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 i2 = p + 61;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), (-766335099) - View.getDefaultSize(0, 0), -ImageFormat.getBitsPerPixel(0), 626008862 - View.MeasureSpec.getSize(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 28), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{7, '\t', 13889, 13889, 29, 16, '&', 27, 13891, 13891, ')', '\"', '\b', 6, '0', '\"', '+', 14}, (byte) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 89), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 65;
v = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = p + 121;
v = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - TextUtils.indexOf("", ""), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{'.', 24, 25, '+', '\"', '\b', 15, 2, ',', '\'', 6, 2, ' ', '+', '\"', 1, '+', ' ', 6, 0, '$', 29, 2, '$', 14, 2, '\t', 6, '\t', ')', 17, '/', ',', 3, 3, '0', 23, '%', 13931, 13931, 1, 26, ',', '\t', 20, '\r', 29, 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_information_shop_email_hint).substring(0, 16).length() - 16), (-766335108) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_card_request_account_error_title).substring(42, 43).length() + 38, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.five_chars_last_name).substring(18, 19).codePointAt(0) + 626008834, (byte) ((-124) - Color.blue(0)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{2, 0, 15, ' ', '\b', '$', 13910, 13910, 2, '(', 30, 31, '+', 25, 20, 4, 4, '+', 17, 19, '.', 17, 26, 4, 20, '\r', 23, '%', 0, 1, '(', 16, 25, '+', 2, 3, 3, 6, 13826, 13826, 4, 16, 1, 30, 20, '\t', 2, NistHelper.SEP_FS, ',', ' ', 6, 0, 2, '#', 19, 17, 15, 4, 15, 2, 3, 0, 11, 27}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.link_fact_sheet).substring(0, 36).length() + 51), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 35, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{'\r', '(', '(', '0', 19, NistHelper.SEP_FS, 13846, 13846, 20, 21, 6, '+', 7, '0', 13912, 13912, NistHelper.SEP_FS, '\t', 20, '\"', 6, 29, '+', 4, 18, '$', 27, '(', '\r', '\b', 29, 2, '0', 20, 0, 15, '(', 27, '\f', '\t', 0, '\b', 20, 15, '$', '\f', 0, '\b', '!', 23, 7, '0', '.', '\"', 5, '+', 25, '\"', 22, 20, '\t', ' ', 20, '#', 30, 25, 4, '!', '%', 30, 29, 16, '#', 20}, (byte) (96 - ImageFormat.getBitsPerPixel(0)), 74 - TextUtils.indexOf("", "", 0, 0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{'(', 23, 5, 27, 13820}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_scbs_title).substring(89, 91).length() + 80), 5 - TextUtils.indexOf("", "", 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aC((short) (Process.myPid() >> 22), ExpandableListView.getPackedPositionType(0L) - 766335011, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.min_max_transfer_declaration).substring(16, 17).length() + 10, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.only_one_card_allowed_label).substring(7, 8).length() + 626008865, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_balance).substring(0, 5).length() - 53), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), View.resolveSizeAndState(0, 0, 0) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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 = v + 101;
p = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (-766338732) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_submitted_result_loan_status_tracking).substring(0, 20).codePointAt(17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fingerprint_registration_text).substring(13, 14).codePointAt(0) - 31, 626008863 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) (6 - (ViewConfiguration.getTapTimeout() >> 16)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{7, '\t', 13889, 13889, 29, 16, '&', 27, 13891, 13891, ')', '\"', '\b', 6, '0', '\"', '+', 14}, (byte) (89 - ((Process.getThreadPriority(0) + 20) >> 6)), TextUtils.indexOf((CharSequence) "", '0', 0) + 19, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 71;
v = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) View.MeasureSpec.getSize(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0021, code lost:
r7 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aC((short) android.graphics.Color.blue(0), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_data_sharing_acknowledge_description).substring(43, 44).codePointAt(0) - 766335209, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_user_info_header).substring(17, 18).codePointAt(0) - 31, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 626008828, (byte) ((android.view.ViewConfiguration.getFadingEdgeLength() >> 16) + 6), r14);
r5 = java.lang.Class.forName((java.lang.String) r14[0]);
r8 = new java.lang.Object[1];
aB(new char[]{7, '\t', 13889, 13889, 29, 16, '&', 27, 13891, 13891, ')', '\"', '\b', 6, '0', '\"', '+', 14}, (byte) (89 - android.view.View.MeasureSpec.makeMeasureSpec(0, 0)), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.levelup_repayment_qrcode_saved_qr_popup_allow_access_title).substring(12, 13).length() + 17, r8);
r1 = (android.content.Context) r5.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 600
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity.onPause():void");
}
private static void aC(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(r)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(View.resolveSize(0, 0) + 337, 5 - View.resolveSize(0, 0), (char) Color.alpha(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 | 10), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
Object obj2 = null;
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i5 = intValue == -1 ? 1 : 0;
float f = BitmapDescriptorFactory.HUE_RED;
if (i5 != 0) {
int i6 = $10 + 35;
$11 = i6 % 128;
if (i6 % 2 == 0) {
obj2.hashCode();
throw null;
}
byte[] bArr = t;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i7 = 0;
while (i7 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i7])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(61 - (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)), TextUtils.indexOf("", "") + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 | 12), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i7] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue();
i7++;
f = BitmapDescriptorFactory.HUE_RED;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(l)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 338, 5 - Color.alpha(0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aD(b6, b7, (byte) (b7 | 10), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (r ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (s[i + ((int) (l ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (r ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (l ^ (-7303220121662775787L))) + i5;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(749 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = t;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i8 = 0; i8 < length2; i8++) {
bArr5[i8] = (byte) (bArr4[i8] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i9 = $11 + 21;
$10 = i9 % 128;
int i10 = i9 % 2;
z = true;
} else {
int i11 = $11 + 21;
$10 = i11 % 128;
int i12 = i11 % 2;
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
int i13 = $11 + 25;
$10 = i13 % 128;
if (i13 % 2 != 0) {
throw null;
}
if (z) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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 = p + 13;
v = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aB(new char[]{'\b', 22, 14, '\f', '0', 21, 26, '!', 0, 21, 25, 5, 14, 0, '\t', '\"', 13830, 13830}, (byte) (29 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), 17 - TextUtils.lastIndexOf("", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'*', ')', ')', 22, 13862}, (byte) (40 - (ViewConfiguration.getWindowTouchSlop() >> 8)), KeyEvent.keyCodeFromString("") + 5, 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{'.', 24, 25, '+', '\"', '\b', 15, 2, ',', '\'', 6, 2, ' ', '+', '\"', 1, '+', ' ', 6, 0, '$', 29, 2, '$', 14, 2, '\t', 6, '\t', ')', 17, '/', ',', 3, 3, '0', 23, '%', 13931, 13931, 1, 26, ',', '\t', 20, '\r', 29, 23}, (byte) (115 - (Process.myTid() >> 22)), 48 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aC((short) Color.green(0), (-766335074) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 39, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 626008867, (byte) ((-123) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{2, 0, 15, ' ', '\b', '$', 13910, 13910, 2, '(', 30, 31, '+', 25, 20, 4, 4, '+', 17, 19, '.', 17, 26, 4, 20, '\r', 23, '%', 0, 1, '(', 16, 25, '+', 2, 3, 3, 6, 13826, 13826, 4, 16, 1, 30, 20, '\t', 2, NistHelper.SEP_FS, ',', ' ', 6, 0, 2, '#', 19, 17, 15, 4, 15, 2, 3, 0, 11, 27}, (byte) (87 - (Process.myPid() >> 22)), 64 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{'\r', '(', '(', '0', 19, NistHelper.SEP_FS, 13846, 13846, 20, 21, 6, '+', 7, '0', 13912, 13912, NistHelper.SEP_FS, '\t', 20, '\"', 6, 29, '+', 4, 18, '$', 27, '(', '\r', '\b', 29, 2, '0', 20, 0, 15, '(', 27, '\f', '\t', 0, '\b', 20, 15, '$', '\f', 0, '\b', '!', 23, 7, '0', '.', '\"', 5, '+', 25, '\"', 22, 20, '\t', ' ', 20, '#', 30, 25, 4, '!', '%', 30, 29, 16, '#', 20}, (byte) (ExpandableListView.getPackedPositionChild(0L) + 98), 74 - View.combineMeasuredStates(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'(', 23, 5, 27, 13820}, (byte) (82 - (ViewConfiguration.getLongPressTimeout() >> 16)), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aC((short) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1), (-766335011) - (ViewConfiguration.getDoubleTapTimeout() >> 16), 11 - (ViewConfiguration.getLongPressTimeout() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 626008866, (byte) ((-48) - TextUtils.indexOf("", "")), 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(487 - Drawable.resolveOpacity(0, 0), 5 - TextUtils.indexOf("", ""), (char) TextUtils.indexOf("", ""))).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);
int i4 = p + 61;
v = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
long j = 0;
Object obj2 = null;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = $11 + 27;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getPressedStateDuration() >> 16), View.MeasureSpec.getSize(0) + i5, (char) ((SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)) - 1));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 + 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i8] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i8++;
j = 0;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6670o)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getEdgeSlop() >> 16), KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 + 3), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $10 + 47;
$11 = i9 % 128;
if (i9 % 2 == 0) {
i2 = i + 115;
cArr4[i2] = (char) (cArr[i2] % b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
i3 = 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 22024));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aD(b6, b7, b7, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i10 = $11 + 59;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(Color.blue(0) + 327, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aD(b8, b9, (byte) (b9 + 2), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
int i17 = $10 + 111;
$11 = i17 % 128;
i3 = 2;
int i18 = i17 % 2;
}
}
i3 = 2;
}
irs.e += i3;
obj2 = obj;
}
}
int i19 = 0;
while (i19 < i) {
int i20 = $10 + 29;
$11 = i20 % 128;
if (i20 % 2 == 0) {
cArr4[i19] = (char) (cArr4[i19] ^ 13046);
i19 += 30;
} else {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
i19++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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 = p + 39;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 13;
p = i4 % 128;
int i5 = i4 % 2;
}
}