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

610 lines
18 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Process;
import android.view.View;
import net.sf.scuba.smartcards.ISO7816;
import o.InterfaceC8954dab;
import o.ZI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.PassportService;
/* renamed from: o.cdv, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C6891cdv extends ZI<InterfaceC8954dab.dAO> {
private final fAZ a;
private final zMZ b;
private final C16861rsX c;
private final C15882jPm d;
private final XMl e;
private String g;
private final iRl h;
private final Qds i;
private static final byte[] $$a = {63, 15, ISO7816.INS_GET_DATA, 59};
private static final int $$b = PassportService.DEFAULT_MAX_BLOCKSIZE;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int n = 1;
private static char[] m = {9132};
/* renamed from: o, reason: collision with root package name */
private static long f8638o = -4699005564427772736L;
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = (i * (-167)) + (i2 * (-167)) + (((~(i4 | i5)) | (~(i5 | i3))) * 336) + (((~(i2 | i)) | (~(i | i3))) * (-168)) + (((~(i | (~i3))) | i5) * CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256);
return i6 != 1 ? i6 != 2 ? c(objArr) : a(objArr) : d(objArr);
}
/* 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: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 l(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = 106 - r6
byte[] r0 = o.C6891cdv.$$a
int r7 = r7 * 3
int r1 = 1 - r7
int r8 = r8 * 4
int r8 = 3 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r4 = r7
r6 = r8
r3 = r2
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r8 = r8 + 1
r4 = r0[r8]
int r3 = r3 + 1
r5 = r8
r8 = r6
r6 = r5
L2e:
int r4 = -r4
int r8 = r8 + r4
r5 = r8
r8 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6891cdv.l(int, int, short, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6891cdv(C16903sI c16903sI, Qds qds, C16861rsX c16861rsX, zMZ zmz, XMl xMl, C15882jPm c15882jPm, fAZ faz, iRl irl) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(qds, "");
C14957gcv.e(c16861rsX, "");
C14957gcv.e(zmz, "");
C14957gcv.e(xMl, "");
C14957gcv.e(c15882jPm, "");
C14957gcv.e(faz, "");
C14957gcv.e(irl, "");
this.i = qds;
this.c = c16861rsX;
this.b = zmz;
this.e = xMl;
this.d = c15882jPm;
this.a = faz;
this.h = irl;
}
public final String d() {
String e;
int i = 2 % 2;
int i2 = k + 5;
n = i2 % 128;
if (i2 % 2 == 0) {
e = this.b.d.e();
int i3 = 96 / 0;
} else {
e = this.b.d.e();
}
int i4 = k + 33;
n = i4 % 128;
int i5 = i4 % 2;
return e;
}
public final void a(final ST st) {
int i = 2 % 2;
C14957gcv.e(st, "");
this.g = st.i;
ZI.IeS ieS = new ZI.IeS(st) { // from class: o.cdw
private ST e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6891cdv.e(new Object[]{this.e, (InterfaceC8954dab.dAO) obj}, 363901847, -363901846, (int) System.currentTimeMillis());
}
{
this.e = st;
}
};
if (this.f != 0) {
int i2 = k + 5;
n = i2 % 128;
int i3 = i2 % 2;
ieS.e(this.f);
return;
}
int i4 = n + 61;
k = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 % 2;
}
}
/* JADX WARN: Code restructure failed: missing block: B:14:0x002b, code lost:
if (r5 == null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x002d, code lost:
r5.d(r4.b);
r1 = o.C6891cdv.n + 99;
o.C6891cdv.k = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0029, code lost:
if (o.C2974aoj.c(r4.b) == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001d, code lost:
if (o.C2974aoj.c(r4.b) == false) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static final void a(o.ST r4, o.InterfaceC8954dab.dAO r5) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C6891cdv.n
int r1 = r1 + 17
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
java.lang.String r2 = ""
if (r1 == 0) goto L20
o.C14957gcv.e(r4, r2)
java.lang.String r1 = r4.b
boolean r1 = o.C2974aoj.c(r1)
r2 = 94
int r2 = r2 / 0
if (r1 != 0) goto L3b
goto L2b
L20:
o.C14957gcv.e(r4, r2)
java.lang.String r1 = r4.b
boolean r1 = o.C2974aoj.c(r1)
if (r1 != 0) goto L3b
L2b:
if (r5 == 0) goto L3b
java.lang.String r1 = r4.b
r5.d(r1)
int r1 = o.C6891cdv.n
int r1 = r1 + 99
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
L3b:
java.lang.String r1 = r4.f
boolean r1 = o.C2974aoj.c(r1)
if (r1 != 0) goto L53
if (r5 == 0) goto L53
int r1 = o.C6891cdv.n
int r1 = r1 + 3
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
java.lang.String r1 = r4.f
r5.e(r1)
L53:
if (r5 == 0) goto L72
int r1 = o.C6891cdv.n
int r1 = r1 + 23
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
java.lang.String r1 = r4.h
java.lang.String r2 = r4.c
java.lang.String r3 = r4.d
java.lang.String r4 = r4.a
r5.b(r1, r2, r3, r4)
int r4 = o.C6891cdv.n
int r4 = r4 + 99
int r5 = r4 % 128
o.C6891cdv.k = r5
int r4 = r4 % r0
L72:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6891cdv.a(o.ST, o.dab$dAO):void");
}
/* JADX WARN: Code restructure failed: missing block: B:20:0x007d, code lost:
if (r1 != null) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x008c, code lost:
r2 = r4.c;
r2.e.b(r1.booleanValue());
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x008a, code lost:
if (r1 != null) goto L19;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
o.jPm r1 = r4.d
o.irj r1 = r1.e
java.lang.Boolean r1 = r1.g()
if (r1 == 0) goto L35
o.jPm r1 = r4.d
o.irj r1 = r1.e
java.lang.Boolean r1 = r1.g()
if (r1 == 0) goto L97
int r2 = o.C6891cdv.n
int r2 = r2 + 53
int r3 = r2 % 128
o.C6891cdv.k = r3
int r2 = r2 % r0
boolean r1 = r1.booleanValue()
o.rsX r2 = r4.c
o.irj r2 = r2.e
r2.b(r1)
int r1 = o.C6891cdv.n
int r1 = r1 + 77
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
goto L97
L35:
o.XMl r1 = r4.e
o.irj r1 = r1.d
java.lang.Boolean r1 = r1.h()
if (r1 == 0) goto L58
o.rsX r1 = r4.c
o.XMl r2 = r4.e
o.irj r2 = r2.d
java.lang.Boolean r2 = r2.h()
java.lang.String r3 = ""
o.C14957gcv.c(r2, r3)
boolean r2 = r2.booleanValue()
o.irj r1 = r1.e
r1.b(r2)
goto L97
L58:
o.fAZ r1 = r4.a
o.eRo r1 = r1.e
o.guD r1 = r1.a()
java.lang.Boolean r1 = r1.p
if (r1 == 0) goto L97
int r1 = o.C6891cdv.n
int r1 = r1 + 13
int r2 = r1 % 128
o.C6891cdv.k = r2
int r1 = r1 % r0
if (r1 == 0) goto L80
o.fAZ r1 = r4.a
o.eRo r1 = r1.e
o.guD r1 = r1.a()
java.lang.Boolean r1 = r1.p
r2 = 59
int r2 = r2 / 0
if (r1 == 0) goto L97
goto L8c
L80:
o.fAZ r1 = r4.a
o.eRo r1 = r1.e
o.guD r1 = r1.a()
java.lang.Boolean r1 = r1.p
if (r1 == 0) goto L97
L8c:
o.rsX r2 = r4.c
boolean r1 = r1.booleanValue()
o.irj r2 = r2.e
r2.b(r1)
L97:
o.cdu r1 = new o.cdu
r1.<init>(r4)
T extends o.cYp r2 = r4.f
if (r2 == 0) goto Lae
int r2 = o.C6891cdv.n
int r2 = r2 + 77
int r3 = r2 % 128
o.C6891cdv.k = r3
int r2 = r2 % r0
T extends o.cYp r0 = r4.f
r1.e(r0)
Lae:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6891cdv.a():void");
}
private static /* synthetic */ Object a(Object[] objArr) {
C6891cdv c6891cdv = (C6891cdv) objArr[0];
InterfaceC8954dab.dAO dao = (InterfaceC8954dab.dAO) objArr[1];
int i = 2 % 2;
int i2 = k + 71;
n = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c6891cdv, "");
if (C14957gcv.b((Object) HTL.BANKING_SERVICES.name(), (Object) c6891cdv.b.d.d())) {
c6891cdv.c();
return null;
}
if (!c6891cdv.e.d.f()) {
String str = c6891cdv.g;
Object[] objArr2 = new Object[1];
p((char) ((Process.myPid() >> 22) + 44111), View.resolveSize(0, 0), ((Process.getThreadPriority(0) + 20) >> 6) + 1, objArr2);
if (C14957gcv.b((Object) str, (Object) ((String) objArr2[0]).intern()) && !c6891cdv.e.d.f()) {
int i4 = n + 123;
k = i4 % 128;
int i5 = i4 % 2;
if (dao != null) {
dao.c();
int i6 = k + 57;
n = i6 % 128;
if (i6 % 2 != 0) {
return null;
}
throw null;
}
} else if (dao != null) {
dao.b();
}
} else if (dao != null) {
dao.c();
return null;
}
return null;
}
private void c() {
boolean z;
int i = 2 % 2;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cdx
private C6891cdv b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6891cdv.b(this.b, (InterfaceC8954dab.dAO) obj);
}
{
this.b = this;
}
};
if (this.f != 0) {
int i2 = n + 69;
k = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i4 = k + 7;
n = i4 % 128;
int i5 = i4 % 2;
ieS.e(this.f);
}
int i6 = n + 61;
k = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 24 / 0;
}
}
/* JADX WARN: Removed duplicated region for block: B:51:0x035b */
/* JADX WARN: Removed duplicated region for block: B:53:0x035c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void p(char r23, int r24, int r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 869
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6891cdv.p(char, int, int, java.lang.Object[]):void");
}
private static final void d(C6891cdv c6891cdv, final InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
C14957gcv.e(c6891cdv, "");
iRl irl = c6891cdv.h;
irl.d(irl.e(), new fSQ(dao) { // from class: o.cdt
private InterfaceC8954dab.dAO c;
@Override // o.fSQ
public final void c(Object obj) {
C6891cdv.e(new Object[]{this.c}, -715070523, 715070523, (int) System.currentTimeMillis());
}
{
this.c = dao;
}
}, new fSQ(dao) { // from class: o.cdC
private InterfaceC8954dab.dAO b;
@Override // o.fSQ
public final void c(Object obj) {
C6891cdv.b(this.b);
}
{
this.b = dao;
}
});
int i2 = n + 119;
k = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
private static final void c(InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
if (dao != null) {
dao.a();
int i2 = k + 11;
n = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 4 / 3;
}
}
int i4 = n + 69;
k = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static final void e(InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
if (dao != null) {
int i2 = k + 125;
n = i2 % 128;
int i3 = i2 % 2;
dao.a();
int i4 = k + 73;
n = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // o.ZI
public final void w_() {
int i = 2 % 2;
Qds qds = this.i;
if (!qds.h.isDisposed()) {
int i2 = n + 125;
k = i2 % 128;
if (i2 % 2 != 0) {
qds.h.dispose();
int i3 = 66 / 0;
} else {
qds.h.dispose();
}
}
this.b.d.a();
super.w_();
int i4 = n + 47;
k = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
ST st = (ST) objArr[0];
InterfaceC8954dab.dAO dao = (InterfaceC8954dab.dAO) objArr[1];
int i = 2 % 2;
int i2 = n + 85;
k = i2 % 128;
int i3 = i2 % 2;
a(st, dao);
if (i3 == 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
InterfaceC8954dab.dAO dao = (InterfaceC8954dab.dAO) objArr[0];
int i = 2 % 2;
int i2 = k + 39;
n = i2 % 128;
int i3 = i2 % 2;
c(dao);
int i4 = k + 125;
n = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 29 / 0;
}
return null;
}
private static final void e(C6891cdv c6891cdv, InterfaceC8954dab.dAO dao) {
e(new Object[]{c6891cdv, dao}, 259625547, -259625545, (int) System.currentTimeMillis());
}
public static /* synthetic */ void b(InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
int i2 = n + 77;
k = i2 % 128;
int i3 = i2 % 2;
e(dao);
if (i3 != 0) {
int i4 = 29 / 0;
}
int i5 = n + 49;
k = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void a(C6891cdv c6891cdv, InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
int i2 = n + 39;
k = i2 % 128;
int i3 = i2 % 2;
e(new Object[]{c6891cdv, dao}, 259625547, -259625545, (int) System.currentTimeMillis());
int i4 = k + 115;
n = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void b(C6891cdv c6891cdv, InterfaceC8954dab.dAO dao) {
int i = 2 % 2;
int i2 = k + 107;
n = i2 % 128;
int i3 = i2 % 2;
d(c6891cdv, dao);
int i4 = n + 23;
k = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}