H.smali
.class public Lcom/secneo/apkwrapper/H;
.super Ljava/lang/Object;
.source ""
# static fields
.field public static ACFNAME:Ljava/lang/String; = "androidy.core.app.CoreComponentFactory"
.field public static APPNAME:Ljava/lang/String; = "com.universe.messenger.AppShell"
.field public static ARM_LIBRARY:Ljava/lang/String; = "DexHelper"
.field public static HAVEX86:Ljava/lang/String; = "###HAVEX86###"
.field public static HAVEX8664:Ljava/lang/String; = "###HAVEX8664###"
.field public static ISMPAAS:Ljava/lang/String; = "###MPAAS###"
.field public static ISSOPHIX:Ljava/lang/String; = "###SOPHIX###"
.field public static ORI_AW_NAME:Ljava/lang/String; = "com.secneo.apkwrapper.AW"
.field public static PKGNAME:Ljava/lang/String; = "com.universe.messenger"
.field public static X86_LIBRARY:Ljava/lang/String; = "DexHelper-x86"
# direct methods
.method static constructor <clinit>()V
.registers 6
return-void
.end method
.method public constructor <init>()V
.registers 7
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static bytes2int([B)I
.registers 7
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [I
:try_end_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_3} :catch_7
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_3} :catch_5
nop
goto :goto_9
:catch_5
move-exception v0
.local v0, "ex1":Ljava/lang/Throwable;
throw v0
.end local v0 # "ex1":Ljava/lang/Throwable;
:catch_7
move-exception v0
.local v0, "ex1":Ljava/lang/Exception;
throw v0
:goto_9
goto :goto_d
invoke-static {}, Landroid/os/Debug;->resetGlobalClassInitTime()V
:goto_d
const/4 v0, 0x0
aget-byte v1, p0, v0
or-int/2addr v0, v1
shl-int/lit8 v0, v0, 0x8
const/4 v1, 0x1
aget-byte v1, p0, v1
or-int/2addr v0, v1
shl-int/lit8 v0, v0, 0x8
const/4 v1, 0x2
aget-byte v1, p0, v1
or-int/2addr v0, v1
shl-int/lit8 v0, v0, 0x8
const/4 v1, 0x3
aget-byte p0, p0, v1
or-int/2addr p0, v0
return p0
.end method
.method public static native d(Ljava/lang/String;)Ljava/lang/String;
.end method
.method public static g(Ljava/lang/Object;)V
.registers 7
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [I
:try_end_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_3} :catch_7
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_3} :catch_5
nop
goto :goto_9
:catch_5
move-exception v0
.local v0, "ex1":Ljava/lang/Throwable;
throw v0
.end local v0 # "ex1":Ljava/lang/Throwable;
:catch_7
move-exception v0
.local v0, "ex1":Ljava/lang/Exception;
throw v0
:goto_9
goto :goto_d
invoke-static {}, Landroid/os/Debug;->waitForDebugger()V
:goto_d
return-void
.end method
.method public static getFieldValue(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.registers 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
"Ljava/lang/String;",
")",
"Ljava/lang/Object;"
}
.end annotation
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [I
:try_end_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_3} :catch_7
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_3} :catch_5
nop
goto :goto_9
:catch_5
move-exception v0
.local v0, "ex1":Ljava/lang/Throwable;
throw v0
.end local v0 # "ex1":Ljava/lang/Throwable;
:catch_7
move-exception v0
.local v0, "ex1":Ljava/lang/Exception;
throw v0
:goto_9
goto :goto_d
invoke-static {}, Landroid/os/Debug;->waitForDebugger()V
:goto_d
:try_start_d
invoke-virtual {p0, p2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object p0
const/4 p2, 0x1
invoke-virtual {p0, p2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
invoke-virtual {p0, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
:try_end_19
.catch Ljava/lang/NoSuchFieldException; {:try_start_d .. :try_end_19} :catch_24
.catch Ljava/lang/IllegalAccessException; {:try_start_d .. :try_end_19} :catch_1f
.catch Ljava/lang/IllegalArgumentException; {:try_start_d .. :try_end_19} :catch_1a
return-object p0
:catch_1a
move-exception p0
invoke-virtual {p0}, Ljava/lang/IllegalArgumentException;->printStackTrace()V
goto :goto_28
:catch_1f
move-exception p0
invoke-virtual {p0}, Ljava/lang/IllegalAccessException;->printStackTrace()V
goto :goto_28
:catch_24
move-exception p0
invoke-virtual {p0}, Ljava/lang/NoSuchFieldException;->printStackTrace()V
:goto_28
const/4 p0, 0x0
return-object p0
.end method
.method public static getFieldValue(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.registers 9
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [I
:try_end_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_3} :catch_7
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_3} :catch_5
nop
goto :goto_9
:catch_5
move-exception v0
.local v0, "ex1":Ljava/lang/Throwable;
throw v0
.end local v0 # "ex1":Ljava/lang/Throwable;
:catch_7
move-exception v0
.local v0, "ex1":Ljava/lang/Exception;
throw v0
:goto_9
goto :goto_d
invoke-static {}, Landroid/os/Debug;->resetGlobalClassInitCount()V
:goto_d
:try_start_d
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p0
invoke-static {p0, p1, p2}, Lcom/secneo/apkwrapper/H;->getFieldValue(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
:try_end_15
.catch Ljava/lang/ClassNotFoundException; {:try_start_d .. :try_end_15} :catch_1b
.catch Ljava/lang/IllegalArgumentException; {:try_start_d .. :try_end_15} :catch_16
return-object p0
:catch_16
move-exception p0
invoke-virtual {p0}, Ljava/lang/IllegalArgumentException;->printStackTrace()V
goto :goto_1f
:catch_1b
move-exception p0
invoke-virtual {p0}, Ljava/lang/ClassNotFoundException;->printStackTrace()V
:goto_1f
const/4 p0, 0x0
return-object p0
.end method
.method private static getRuntimeAbi()I
.registers 7
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [I
:try_end_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_3} :catch_7
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_3} :catch_5
nop
goto :goto_9
:catch_5
move-exception v0
.local v0, "ex1":Ljava/lang/Throwable;
throw v0
.end local v0 # "ex1":Ljava/lang/Throwable;
:catch_7
move-exception v0
.local v0, "ex1":Ljava/lang/Exception;
throw v0
:goto_9
goto :goto_d
invoke-static {}, Landroid/os/StrictMode;->enableDefaults()V
:goto_d
const/16 v0, 0x14
new-array v0, v0, [B
const/4 v1, 0x0
const/4 v2, 0x0
:try_start_13
new-instance v3, Ljava/io/FileInputStream;
const-string v4, "/proc/self/exe"
invoke-direct {v3, v4}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V
:try_end_1a
.catch Ljava/lang/Exception; {:try_start_13 .. :try_end_1a} :catch_57
.catchall {:try_start_13 .. :try_end_1a} :catchall_4f
:try_start_1a
invoke-virtual {v3, v0}, Ljava/io/FileInputStream;->read([B)I
const/4 v2, 0x4
new-array v2, v2, [B
aput-byte v1, v2, v1
const/4 v4, 0x1
aput-byte v1, v2, v4
const/16 v5, 0x13
aget-byte v5, v0, v5
const/4 v6, 0x2
aput-byte v5, v2, v6
const/16 v5, 0x12
aget-byte v0, v0, v5
const/4 v5, 0x3
aput-byte v0, v2, v5
invoke-static {v2}, Lcom/secneo/apkwrapper/H;->bytes2int([B)I
move-result v0
:try_end_37