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

412 lines
16 KiB
Java

package o;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Process;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class fNX extends ContentProvider {
public static Context e;
private static final byte[] $$a = {9, -71, 104, 33};
private static final int $$b = CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int b = 1;
private static char[] a = {40027, 40136, 40175, 40138, 40119, 40146, 40148, 40168, 40149, 40151, 40145, 40150, 40173, 40148, 40156, 40151, 40168, 40159, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40040, 40143, 40102, 40101, 40101, 40102, 40103, 40092, 40123, 40101, 40095, 40094, 40094, 40094, 40092, 40094, 40095, 40093, 40088, 40089, 40096, 40102, 40103, 40096, 40095, 40094, 40095, 40097, 40096, 40093, 40094, 40094, 40083, 40083, 40092, 40103, 40103, 40092, 40101, 40136, 40102, 40102, 40137, 40103, 40093, 40095, 40095, 40102, 40143, 40100, 40123, 40100, 40101, 40101, 40092, 40103, 40101, 40101, 40096, 40094, 40083, 40102, 40137, 40143, 40018, 40121, 40125, 40125, 40125};
private static int d = 2015661595;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 h(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = r7 + 1
int r6 = r6 * 4
int r6 = 4 - r6
byte[] r0 = o.fNX.$$a
int r8 = 76 - r8
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r5 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r6]
L26:
int r8 = r8 + r3
int r6 = r6 + 1
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.fNX.h(byte, short, int, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0081, code lost:
if (r1 > 99999) goto L10;
*/
@Override // android.content.ContentProvider
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean onCreate() {
/*
Method dump skipped, instructions count: 1026
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.fNX.onCreate():boolean");
}
private static void g(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $11 + 5;
$10 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(d)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (Process.myTid() >> 22), (char) Color.blue(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
h(b2, b3, (byte) (b3 | 7), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(341 - TextUtils.lastIndexOf("", '0', 0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
h(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i3 > 0) {
int i8 = $11 + 105;
$10 = i8 % 128;
int i9 = i8 % 2;
zui.a = i3;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i10 = $10 + 49;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
while (zui.d < i) {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - TextUtils.indexOf("", "", 0, 0), 5 - Drawable.resolveOpacity(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
h(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
private static void f(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = a;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i8 = $11 + 49;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
} else {
length = cArr2.length;
cArr = new char[length];
}
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)) + 223, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (View.MeasureSpec.getSize(i3) + 41977));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
h(b2, b3, (byte) (b3 + 5), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr2, i4, cArr3, 0, i5);
if (bArr != null) {
int i10 = $10 + 87;
$11 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i12 = $11 + 97;
$10 = i12 % 128;
int i13 = i12 % 2;
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 502, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (54 - ExpandableListView.getPackedPositionType(0L)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - KeyEvent.normalizeMetaState(0), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TextUtils.indexOf("", "", 0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i16 = $11 + 73;
$10 = i16 % 128;
int i17 = i16 % 2;
}
c2 = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 402, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.getCapsMode("", 0, 0) + 21608));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
h(b4, b5, (byte) (b5 + 3), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i18 = $10 + 9;
$11 = i18 % 128;
int i19 = i18 % 2;
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i20 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i20, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
tvh.c++;
int i21 = $10 + 105;
$11 = i21 % 128;
int i22 = i21 % 2;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i23 = $10 + 23;
$11 = i23 % 128;
int i24 = i23 % 2;
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i5) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i25 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
int i = 2 % 2;
int i2 = c + 99;
int i3 = i2 % 128;
b = i3;
Object obj = null;
if (i2 % 2 == 0) {
throw null;
}
int i4 = i3 + 65;
c = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // android.content.ContentProvider
public final int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 5;
b = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 59;
b = i5 % 128;
int i6 = i5 % 2;
return 0;
}
@Override // android.content.ContentProvider
public final Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
int i = 2 % 2;
int i2 = c + 99;
b = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
@Override // android.content.ContentProvider
public final Uri insert(Uri uri, ContentValues contentValues) {
int i = 2 % 2;
int i2 = b + 21;
c = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // android.content.ContentProvider
public final String getType(Uri uri) {
System.identityHashCode(this);
return (String) b(new Object[]{this, uri});
}
@Override // android.content.ContentProvider
public final int delete(Uri uri, String str, String[] strArr) {
int i = 2 % 2;
int i2 = b + 23;
c = i2 % 128;
int i3 = i2 % 2;
return 0;
}
}