正在查看: VivaMoneda v1.4 应用的 Quasi.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: VivaMoneda v1.4 应用的 Quasi.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.moneda.cloud.iqplrcjvl.xigsudfwi;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.activity.result.ActivityResult;
import b6.c0;
import b6.n;
import com.moneda.cloud.iotdqkynjet.k;
import com.moneda.cloud.iqplrcjvl.nfqwidqi.gzk.Funders;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.Uprightness;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.p;
import com.moneda.cloud.iqplrcjvl.pefbor.pkckxjb.kirchner.Quacked;
import com.moneda.cloud.iqplrcjvl.xigsudfwi.Quasi;
import com.moneda.cloud.iqplrcjvl.xuqyslbdid.xfre.Twelve;
import com.moneda.cloud.iqplrcjvl.xuqyslbdid.xfre.millennium.Cajoling;
import com.moneda.cloud.iqplrcjvl.xuqyslbdid.xfre.millennium.j;
import com.moneda.cloud.usgbbi.funnily.Westbrook;
import com.moneda.cloud.usgbbi.onlooker.Wolfe;
import com.vivamoneda.mx.R;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Objects;
import kotlin.jvm.functions.Function1;
import me.jessyan.autosize.BuildConfig;
import me.jessyan.autosize.internal.CancelAdapt;
import o4.o;
import okhttp3.b0;
import okhttp3.x;
import u4.y;
@com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.b(pageName = "aHR1YV95dGl0bmVkaV8xMHFjYQ==")
public class Quasi extends Uprightness implements CancelAdapt {
public static boolean T = true;
public static boolean U = true;
public static boolean V = true;
public int F;
public String G;
public String H;
public String I;
public String J;
public String K;
public String L;
public EditText O;
public EditText P;
public ImageView Q;
public ImageView R;
public ImageView S;
public final androidx.activity.result.b<Intent> D = x(new c.c(), new a());
public final androidx.activity.result.b<Intent> E = x(new c.c(), new b());
public int M = 0;
public String N = k.a("selfie");
public class a implements androidx.activity.result.a<ActivityResult> {
public a() {
}
@Override
public void a(ActivityResult activityResult) {
if (activityResult.e() != -1 || activityResult.d() == null) {
return;
}
String stringExtra = activityResult.d().getStringExtra("ZXB5dF9kaV9odHVhX2VweXRfeGlmZXJw");
String stringExtra2 = activityResult.d().getStringExtra("aHRhcF9lZ2FtaV95ZWs=");
if ("VE5PUkZfRVBZVF9ldWxhdg==".equals(stringExtra)) {
Quasi.this.H = stringExtra2;
Quasi quasi = Quasi.this;
quasi.W0(quasi.H, true);
} else {
Quasi.this.I = stringExtra2;
Quasi quasi2 = Quasi.this;
quasi2.W0(quasi2.I, false);
}
}
}
public class b implements androidx.activity.result.a<ActivityResult> {
public b() {
}
@Override
public void a(ActivityResult activityResult) {
if (activityResult == null || activityResult.d() == null || activityResult.d().getData() == null) {
p.h().E(k.a("Lm9sZXRuw6l0bmllciByb3ZhZiByb3AgLG7Ds2ljYWNpdG5ldHVhIGVkIHJvcnJF"));
return;
}
String path = activityResult.d().getData().getPath();
Quasi quasi = Quasi.this;
quasi.V0(quasi.G, path, BuildConfig.FLAVOR);
}
}
public class c implements o<w4.a> {
public final boolean f8012a;
public c(boolean z8) {
this.f8012a = z8;
}
@Override
public void b(Funders funders) {
Quasi.this.n1(!this.f8012a ? 1 : 0);
}
@Override
public void a(w4.a aVar) {
if (aVar == null) {
return;
}
if (!this.f8012a) {
Quasi.this.p1(1);
i4.c.b(Quasi.this.I);
p.e().o(Quasi.this.R, aVar.b());
} else {
Quasi.this.p1(0);
i4.c.b(Quasi.this.H);
p.e().o(Quasi.this.Q, aVar.c());
Quasi.this.O.setText(aVar.d());
Quasi.this.P.setText(aVar.a());
}
}
}
public class d implements n {
public class a implements Function1<Boolean, Void> {
public a() {
}
@Override
public Void invoke(Boolean bool) {
Quasi.T = false;
Intent intent = new Intent(Quasi.this, (Class<?>) Wolfe.class);
intent.putExtra("ZXB5dF9kaV9odHVhX2VweXRfeGlmZXJw", "VE5PUkZfRVBZVF9ldWxhdg==");
Quasi.this.D.a(intent);
return null;
}
}
public d() {
}
public void c() {
y5.f.g(Quasi.this, k4.d.f10139c, new a());
}
@Override
public void a() {
n nVar = new n() {
@Override
public final void a() {
Quasi.d.this.c();
}
};
if (Quasi.T) {
Quasi.this.r1(R.layout.kzs, R.id.xenia, R.id.rallying, nVar);
} else {
nVar.a();
}
}
}
public class e implements Function1<Boolean, Void> {
public e() {
}
@Override
public Void invoke(Boolean bool) {
Quasi.U = false;
Intent intent = new Intent(Quasi.this, (Class<?>) Wolfe.class);
intent.putExtra("ZXB5dF9kaV9odHVhX2VweXRfeGlmZXJw", "S0NBQl9FUFlUX2V1bGF2");
Quasi.this.D.a(intent);
return null;
}
}
public class f implements Function1<Boolean, Void> {
public f() {
}
@Override
public Void invoke(Boolean bool) {
Quasi.V = false;
Quasi quasi = Quasi.this;
quasi.m1(quasi.N);
Quasi.this.s1();
return null;
}
}
public class g implements o<f4.e> {
public final String f8018a;
public g(String str) {
this.f8018a = str;
}
@Override
public void b(Funders funders) {
Quasi.this.n1(2);
}
@Override
public void a(f4.e eVar) {
if (eVar == null) {
return;
}
Quasi.this.p1(2);
Quasi.this.J = eVar.b();
Quasi.this.K = eVar.a();
p.e().o(Quasi.this.S, Quasi.this.J);
i4.c.b(this.f8018a);
}
}
public class h implements f4.d<z5.a> {
public h() {
}
@Override
public void a(z5.a aVar) {
if (aVar == null) {
return;
}
String c9 = aVar.c();
if (!TextUtils.isEmpty(c9)) {
Quasi.this.p1(0);
p.e().o(Quasi.this.Q, c9);
}
String b9 = aVar.b();
if (!TextUtils.isEmpty(b9)) {
Quasi.this.p1(1);
p.e().o(Quasi.this.R, b9);
}
String f9 = aVar.f();
if (!TextUtils.isEmpty(f9)) {
Quasi.this.p1(2);
p.e().o(Quasi.this.S, f9);
}
Quasi.this.O.setText(aVar.d());
Quasi.this.P.setText(aVar.a());
Quasi.this.K = aVar.g();
}
}
public class i implements o<com.moneda.cloud.iqplrcjvl.iybske.funding.a> {
public i() {
}
public void d() {
Quasi.this.Y0();
}
@Override
public void b(Funders funders) {
if (Quasi.this.M <= 3) {
a5.a.f8a.postDelayed(new Runnable() {
@Override
public final void run() {
Quasi.i.this.d();
}
}, 1000L);
Quasi.this.M++;
}
}
@Override
public void a(com.moneda.cloud.iqplrcjvl.iybske.funding.a aVar) {
if (aVar == null) {
return;
}
Quasi.this.N = aVar.b();
if (Objects.equals(k.a("izi"), Quasi.this.N)) {
Quasi.this.L = aVar.a().a();
}
}
}
public void a1() {
y5.f.g(this, k4.d.f10139c, new e());
}
public void b1() {
n nVar = new n() {
@Override
public final void a() {
Quasi.this.a1();
}
};
if (U) {
r1(R.layout.uevhstbxu, R.id.xenia, R.id.rallying, nVar);
} else {
nVar.a();
}
}
public void c1() {
y5.f.g(this, k4.d.f10139c, new f());
}
public void d1() {
n nVar = new n() {
@Override
public final void a() {
Quasi.this.c1();
}
};
if (V) {
q1(nVar);
} else {
nVar.a();
}
}
public void e1() {
if (this.F != 7) {
p.h().E(k.a("b3JlbWlycCBvdG9mIGFsIGVtb1Q="));
return;
}
String obj = this.O.getText().toString();
String obj2 = this.P.getText().toString();
if (TextUtils.isEmpty(obj) || TextUtils.isEmpty(obj2)) {
p.h().E(k.a("LnNvaXJvdGFnaWxibyBzb3BtYWMgc29sIGV1cWlmaXJlVg=="));
} else {
o1(obj, obj2, this.K);
}
}
public void f1(c0 c0Var) {
if (c0Var == null) {
return;
}
this.G = c0Var.a();
}
public void g1(Object obj) {
Quacked.A1(this, this.P.getText().toString());
}
public static void h1(y5.a aVar, n nVar) {
aVar.dismiss();
nVar.a();
}
public static void i1(y5.a aVar, n nVar) {
aVar.dismiss();
nVar.a();
}
public static Drawable u1(Context context) {
if (context == null || TextUtils.isEmpty(context.getPackageName())) {
return null;
}
try {
PackageManager packageManager = context.getPackageManager();
PackageInfo packageInfo = packageManager.getPackageInfo(context.getPackageName(), 0);
if (packageInfo == null) {
return null;
}
return packageInfo.applicationInfo.loadIcon(packageManager);
} catch (PackageManager.NameNotFoundException e9) {
e9.printStackTrace();
return null;
}
}
public static boolean v1(Context context) {
return context.getPackageManager().hasSystemFeature("android.hardware.camera.flash");
}
public static b0 w1(String str) {
return b0.d(str, x.g("text/plain"));
}
public byte[] U0() {
Throwable th;
ObjectOutputStream objectOutputStream;
ObjectOutputStream objectOutputStream2 = null;
try {
try {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);
try {
objectOutputStream.writeObject(getClass().getSimpleName());
byte[] byteArray = byteArrayOutputStream.toByteArray();
try {
objectOutputStream.close();
} catch (IOException e9) {
e9.printStackTrace();
}
return byteArray;
} catch (Exception e10) {
e = e10;
e.printStackTrace();
if (objectOutputStream != null) {
try {
objectOutputStream.close();
} catch (IOException e11) {
e11.printStackTrace();
}
}
return null;
}
} catch (Throwable th2) {
th = th2;
if (0 != 0) {
try {
objectOutputStream2.close();
} catch (IOException e12) {
e12.printStackTrace();
}
}
throw th;
}
} catch (Exception e13) {
e = e13;
objectOutputStream = null;
} catch (Throwable th3) {
th = th3;
if (0 != 0) {
}
throw th;
}
}
@Override
public void V() {
super.V();
e0(k.a("ZGFkaXRuZWRpIGVkIG7Ds2ljYWNpdG5ldHVB"));
this.O = (EditText) findViewById(R.id.xduceocfxku);
((TextView) findViewById(R.id.st)).setText(k.a("ZGFkaXRuZWRpIGVkIG90bmVtdWNvZCB1cyBldWdyYWMgLHJvdmFmIHJvUA=="));
((TextView) findViewById(R.id.ellky)).setText(k.a("ZGFkaXRuZWRpIGVkIG90bmVtdWNvZCBuJSBsZWQgZXRuZXJmIGxlIHJhZW5hY3NF"));
((TextView) findViewById(R.id.gibby)).setText(k.a("ZGFkaXRuZWRpIGVkIG90bmVtdWNvZCBuJWxlZCBvc3JldmVyIGxlIHJhZW5hY3NF"));
((TextView) findViewById(R.id.wxkds)).setText(k.a("YWNpcnTDqW1vaWIgbsOzaWNhY2l0bmV0dUE="));
((TextView) findViewById(R.id.insuring)).setText(k.a("ZXRuYXZlbGVyIG7Ds2ljYW1yb2ZuaSBhbCBldXFpZmlyZXYgcm92YWYgcm9Q"));
((TextView) findViewById(R.id.zbbhzhqd)).setText(k.a("ZXJibW9O"));
((TextView) findViewById(R.id.jewell)).setText(k.a("UFJVQw=="));
this.P = (EditText) findViewById(R.id.zebras);
this.Q = (ImageView) findViewById(R.id.edenizations);
this.R = (ImageView) findViewById(R.id.vale);
this.S = (ImageView) findViewById(R.id.alcoholism);
try {
Z0(null, null, 210);
} catch (Exception unused) {
}
j.b(k.a("b3RvaHBfZHJhY190bm9yZl9odHVhX3l0aXRuZWRpXzMwcWNh"), this.Q, new d());
j.b(k.a("b3RvaHBfZHJhY19rY2FiX2h0dWFfeXRpdG5lZGlfMzBxY2E="), this.R, new n() {
@Override
public final void a() {
Quasi.this.b1();
}
});
j.b(k.a("Z25pdmlsX2h0dWFfeXRpdG5lZGlfMzBxY2E="), this.S, new n() {
@Override
public final void a() {
Quasi.this.d1();
}
});
TextView textView = (TextView) findViewById(R.id.bh);
textView.setText(k.a("ZXRuZWl1Z2lT"));
j.a(textView, new n() {
@Override
public final void a() {
Quasi.this.e1();
}
});
String a9 = k.a("ZXNlcmduaSAscm92YWYgcm9Q");
m4.g.b(this.O, a9, 13);
m4.g.b(this.P, a9, 13);
this.O.setOnFocusChangeListener(new a5.n(k.a("ZW1hbl9odHVhX3l0aXRuZWRpXzIwcWNh")));
this.P.setOnFocusChangeListener(new a5.n(k.a("cmVibXVuX2RpX2h0dWFfeXRpdG5lZGlfMjBxY2E=")));
}
public final void V0(String str, String str2, String str3) {
File file = new File(str2);
if (!file.exists()) {
p.h().E(k.a("Lm9sZXRuw6l0bmllciByb3ZhZiByb3AgLG7Ds2ljYWNpdG5ldHVhIGVkIHJvcnJF"));
return;
}
HashMap hashMap = new HashMap();
if (str == null) {
str = BuildConfig.FLAVOR;
}
hashMap.put("transactionId", str);
if (str3 == null) {
str3 = BuildConfig.FLAVOR;
}
hashMap.put("livenessId", str3);
hashMap.put("file", file);
try {
v1(Cajoling.b());
} catch (Exception unused) {
}
a0(y.i().D(hashMap), new g(str2));
}
public final void W0(String str, boolean z8) {
String str2 = z8 ? "1" : "2";
File file = new File(str);
if (!file.exists()) {
p.h().E(k.a("LmVkcmF0IHPDoW0gZXRuZW1hdmV1biBldG5ldG5JIC5uw7NpeGVub2MgZWQgYW1lbGJvclA="));
return;
}
HashMap hashMap = new HashMap();
hashMap.put("type", str2);
hashMap.put("file", file);
try {
U0();
} catch (Exception unused) {
}
a0(y.i().U(hashMap), new c(z8));
}
@Override
public int X() {
try {
X0("yceczeugheskrej", 248);
return R.layout.py;
} catch (Exception unused) {
return R.layout.py;
}
}
public double X0(String str, int i9) {
try {
return Double.parseDouble(str);
} catch (Exception unused) {
return i9;
}
}
@Override
public void Y() {
Y0();
try {
w1("ocqcasbsvlrcqbteuztmxpdcfdxkyyyswy");
} catch (Exception unused) {
}
j1();
}
public final void Y0() {
try {
U0();
} catch (Exception unused) {
}
a0(y.i().C(), new i());
}
public long Z0(InputStream inputStream, OutputStream outputStream, int i9) {
if (inputStream == null || outputStream == null) {
return -1L;
}
try {
byte[] bArr = new byte[i9];
long j9 = 0;
while (true) {
int read = inputStream.read(bArr);
if (read == -1) {
outputStream.flush();
return j9;
}
outputStream.write(bArr, 0, read);
j9 += read;
}
} catch (IOException e9) {
throw e9;
}
}
public final void j1() {
try {
t1(null, false);
} catch (Exception unused) {
}
a0(y.i().V(), new h());
}
public int k1(Date date) {
Calendar calendar = Calendar.getInstance();
if (date != null) {
calendar.setTime(date);
}
switch (calendar.get(2)) {
case 0:
case 1:
case 2:
return 1;
case 3:
case 4:
case 5:
return 2;
case 6:
case 7:
case 8:
return 3;
case 9:
case 10:
case 11:
return 4;
default:
return 0;
}
}
public String l1() {
return Build.VERSION.RELEASE;
}
public final void m1(String str) {
try {
t1(null, true);
} catch (Exception unused) {
}
HashMap hashMap = new HashMap();
hashMap.put("livenessType", str);
a0(y.i().c(hashMap), new f4.d() {
@Override
public final void a(Object obj) {
Quasi.this.f1((c0) obj);
}
});
}
public final void n1(int i9) {
try {
u1(Cajoling.b());
} catch (Exception unused) {
}
this.F = (~(1 << i9)) & this.F;
}
public final void o1(String str, String str2, String str3) {
HashMap hashMap = new HashMap();
try {
w1("lmbcivlxnmcgkkrllvkeizhdnnc");
} catch (Exception unused) {
}
hashMap.put("name", str);
hashMap.put("idNumber", str2);
try {
v1(Cajoling.b());
} catch (Exception unused2) {
}
hashMap.put("livenessImg", str3);
a0(y.i().t(hashMap), new f4.d() {
@Override
public final void a(Object obj) {
Quasi.this.g1(obj);
}
});
}
@Override
public void onActivityResult(int i9, int i10, Intent intent) {
super.onActivityResult(i9, i10, intent);
try {
X0("hvzhyilemcxbzvqgq", 174);
} catch (Exception unused) {
}
}
@Override
public void onBackPressed() {
try {
t1(null, false);
} catch (Exception unused) {
}
if (!q4.b.a(Westbrook.class)) {
startActivity(new Intent(this, (Class<?>) Westbrook.class));
}
super.onBackPressed();
}
public final void p1(int i9) {
try {
t1(null, false);
} catch (Exception unused) {
}
this.F = (1 << i9) | this.F;
}
public final void q1(final n nVar) {
if (isDestroyed() || isFinishing()) {
return;
}
View inflate = View.inflate(this, R.layout.itnnr, null);
((TextView) inflate.findViewById(R.id.yvhattsw)).setText(k.a("LmV0bmF0c25pIGxhIG9tYXRzw6lycCBsZSByZW5ldGJvIGFyYXAgc2V0bmVpY2VyIHPDoW0gc2FsIG5hZXMgeSBkYWRpcmFsYyBub2MgbmVtb3QgZXMgc290bmVtdWNvZCBzb2wgZWQgc2VuZWfDoW1pIHNhbCBzYWRvdCBldXEgZWQgZXNlcsO6Z2VzYSA6b2plc25vQw=="));
((TextView) inflate.findViewById(R.id.rallying)).setText(k.a("YcOtZmFyZ290b2YgZWQgYcOtdUc="));
try {
k1(new Date());
} catch (Exception unused) {
}
TextView textView = (TextView) inflate.findViewById(R.id.xenia);
textView.setText(k.a("S08="));
final y5.a F = p.d().F(t4.c.f(this).e(inflate));
j.a(textView, new n() {
@Override
public final void a() {
Quasi.h1(y5.a.this, nVar);
}
});
try {
U0();
} catch (Exception unused2) {
}
F.a();
}
public final void r1(int i9, int i10, int i11, final n nVar) {
if (isDestroyed() || isFinishing() || i9 <= 0) {
return;
}
View inflate = View.inflate(this, i9, null);
try {
t1(null, false);
} catch (Exception unused) {
}
((TextView) inflate.findViewById(R.id.igikwal)).setText(k.a("b3RjZXJyb2Mgb2xwbWVqRQ=="));
((TextView) inflate.findViewById(R.id.vsnpmroxfc)).setText(k.a("b3NvcnJvQg=="));
((TextView) inflate.findViewById(R.id.gd)).setText(k.a("b2Rhw7FhRA=="));
((TextView) inflate.findViewById(R.id.cjmcrgnw)).setText(k.a("b3RlbHBtb2NuSQ=="));
((TextView) inflate.findViewById(i11)).setText(k.a("YcOtZmFyZ290b2YgZWQgYcOtdUc="));
TextView textView = (TextView) inflate.findViewById(i10);
textView.setText(k.a("S08="));
final y5.a F = p.d().F(t4.c.f(this).e(inflate));
j.a(textView, new n() {
@Override
public final void a() {
Quasi.i1(y5.a.this, nVar);
}
});
F.a();
}
public final void s1() {
try {
X0("tvrkthbysvlzddalqmxctutvk", 215);
} catch (Exception unused) {
}
try {
l1();
} catch (Exception unused2) {
}
if (Objects.equals(k.a("izi"), this.N) || Objects.equals(this.N, k.a("cloudun"))) {
return;
}
this.E.a(new Intent(this, (Class<?>) Twelve.class));
}
public String t1(byte[] bArr, boolean z8) {
char[] cArr = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
char[] cArr2 = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
if (bArr == null) {
return BuildConfig.FLAVOR;
}
if (!z8) {
cArr = cArr2;
}
int length = bArr.length;
if (length <= 0) {
return BuildConfig.FLAVOR;
}
char[] cArr3 = new char[length << 1];
int i9 = 0;
for (byte b9 : bArr) {
int i10 = i9 + 1;
cArr3[i9] = cArr[(b9 >> 4) & 15];
i9 = i10 + 1;
cArr3[i10] = cArr[b9 & 15];
}
return new String(cArr3);
}
}