Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.AlarmManager
* android.app.PendingIntent
* android.content.ComponentName
* android.content.Context
* android.content.Intent
* net.youmi.android.ExpService
* net.youmi.android.c.c.h
* net.youmi.android.d.a.a
* net.youmi.android.g.d
*/
package net.youmi.android.d.a;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import java.io.Serializable;
import net.youmi.android.ExpService;
import net.youmi.android.c.c.h;
import net.youmi.android.d.a.a;
import net.youmi.android.g.d;
public class k {
public static final String a = k.a();
public static final String b = k.b();
public static final String c = k.c();
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static String a() {
String string = "a2U9dn73sdLs";
String string2 = "545c094f4959110f5e4b025d194a1555444c4c42590a585b5754";
try {
return h.b((String)string2, (String)string);
}
catch (Throwable throwable) {
return null;
}
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public static void a(Context context) {
try {
k.b(context);
}
catch (Exception exception) {}
try {
k.c(context);
}
catch (Exception exception) {}
try {
k.d(context);
return;
}
catch (Exception exception) {
return;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static void a(Context context, long l) {
Object object = "alarm";
try {
object = context.getSystemService((String)object);
}
catch (Exception exception) {
return;
}
object = (AlarmManager)object;
Object object2 = ExpService.class;
Intent intent = new Intent(context, object2);
object2 = a;
intent.setAction((String)object2);
int n = 22314;
int n2 = 268435456;
PendingIntent pendingIntent = PendingIntent.getService((Context)context, (int)n, (Intent)intent, (int)n2);
object.cancel(pendingIntent);
int n3 = 1;
long l2 = System.currentTimeMillis();
object.setRepeating(n3, l2, l, pendingIntent);
do {
return;
break;
} while (true);
}
private static void a(Context context, long l, long l2) {
k.a(context, l);
k.b(context, l2);
}
public static void a(Context context, a a2) {
k.a(context, a2, 1000L, 3600000L);
}
public static void a(Context context, a a2, long l, long l2) {
k.b(context, a2);
k.a(context, l, l2);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static String b() {
String string = "a2U9dn73sdLc";
String string2 = "0256584b1f5e435f0d1c50564c5b5e5645014c405c5f0f5b085f";
try {
return h.b((String)string2, (String)string);
}
catch (Throwable throwable) {
return null;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static void b(Context context) {
Object object = "alarm";
try {
object = context.getSystemService((String)object);
}
catch (Exception exception) {
return;
}
object = (AlarmManager)object;
Object object2 = ExpService.class;
Intent intent = new Intent(context, object2);
object2 = a;
intent.setAction((String)object2);
int n = 22314;
int n2 = 268435456;
intent = PendingIntent.getService((Context)context, (int)n, (Intent)intent, (int)n2);
object.cancel((PendingIntent)intent);
do {
return;
break;
} while (true);
}
private static void b(Context context, long l) {
AlarmManager alarmManager = (AlarmManager)context.getSystemService("alarm");
Intent intent = new Intent(context, ExpService.class);
String string = b;
intent.setAction(string);
intent = PendingIntent.getService((Context)context, (int)22315, (Intent)intent, (int)268435456);
alarmManager.cancel((PendingIntent)intent);
long l2 = System.currentTimeMillis() + l;
alarmManager.set(1, l2, (PendingIntent)intent);
}
private static void b(Context context, a a2) {
Intent intent = new Intent(context, ExpService.class);
String string = c;
intent.setAction(string);
intent.putExtra("AdData", (Serializable)a2);
context.startService(intent);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static String c() {
String string = "a2U9dn73sdLa";
String string2 = "555b5f1f185a10080a1b53551d59065d46534b5b1b4758095e5b5b53";
try {
return h.b((String)string2, (String)string);
}
catch (Throwable throwable) {
return null;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static void c(Context context) {
Object object = "alarm";
try {
object = context.getSystemService((String)object);
}
catch (Exception exception) {
return;
}
object = (AlarmManager)object;
Object object2 = ExpService.class;
Intent intent = new Intent(context, object2);
object2 = b;
intent.setAction((String)object2);
int n = 22315;
int n2 = 268435456;
intent = PendingIntent.getService((Context)context, (int)n, (Intent)intent, (int)n2);
object.cancel((PendingIntent)intent);
do {
return;
break;
} while (true);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private static void d(Context context) {
try {
d.a((Context)context);
do {
return;
break;
} while (true);
}
catch (Exception exception) {
return;
}
}
}
|