Info Call to External Storage API

Description

List of all external storage API calls. Insecure storage of sensitive information by setting insecure permissions or storing data without encryption might expose this information to an attacker.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.netease.nis.wrapper.plugin.c.a() calling method java.io.FileOutputStream.<init>()


    public static boolean a(String p8, String p9, String p10)
    {
        try {
            int v0_2 = new java.io.File(p10);
        } catch (int v0_5) {
            int v0_1 = 0;
            Exception v1_1 = v0_5;
            v1_1.toString();
            return v0_1;
        }
        if (v0_2.exists()) {
            v0_2.delete();
        } else {
            v0_2.createNewFile();
        }
        java.util.zip.ZipFile v3_1 = new java.util.zip.ZipFile(new java.io.File(p8));
        java.io.InputStream v2_0 = v3_1.getEntry(p9);
        if (v2_0 == null) {
            v0_1 = 0;
        } else {
            java.io.InputStream v2_1 = v3_1.getInputStream(v2_0);
            java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v0_2);
            int v0_4 = new byte[1024];
            while(true) {
                int v5 = v2_1.read(v0_4);
                if (v5 == -1) {
                    break;
                }
                v4_1.write(v0_4, 0, v5);
            }
            v4_1.flush();
            v4_1.close();
            v2_1.close();
            v0_1 = 1;
        }
        try {
            v3_1.close();
        } catch (Exception v1_1) {
        }
        return v0_1;
    }

Method com.netease.nis.wrapper.plugin.c.a() calling method java.io.FileOutputStream.<init>()


    private static boolean a(android.content.Context p6, String p7, String p8)
    {
        int v0 = 0;
        try {
            Exception v1_2 = p6.getAssets().open(p7);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(new java.io.File(p8));
            byte[] v3_0 = new byte[1024];
        } catch (Exception v1_0) {
            v1_0.toString();
            return v0;
        }
        while(true) {
            int v4 = v1_2.read(v3_0);
            if (v4 == -1) {
                break;
            }
            v2_1.write(v3_0, 0, v4);
        }
        v2_1.flush();
        v1_2.close();
        v2_1.close();
        v0 = 1;
        return v0;
    }

Method com.netease.nis.wrapper.MyApplication.attachBaseContext() calling method java.io.FileOutputStream.<init>()


    protected void attachBaseContext(android.content.Context p13)
    {
        super.attachBaseContext(p13);
        Class v1_13 = Long.valueOf(System.currentTimeMillis());
        try {
            if (com.netease.nis.wrapper.MyApplication.c != null) {
                if (com.netease.nis.wrapper.MyApplication.b == null) {
                    com.netease.nis.wrapper.MyApplication.b = this;
                }
                com.netease.nis.wrapper.MyJni.cp();
            } else {
                Object[] v3_8 = new java.io.FileOutputStream(new java.io.File(new StringBuilder().append(p13.getFilesDir().getAbsolutePath()).append(a.auu.a.c("YRYRBk8fBiU=")).toString()));
                reflect.Method v2_20 = v3_8.getChannel();
                int v4_4 = v2_20.lock();
                Exception v0_20 = com.netease.nis.wrapper.MyJni.b(p13);
                if (com.netease.nis.wrapper.MyJni.a(p13)) {
                    StringBuilder v5_3 = com.netease.nis.wrapper.MyApplication.getVersion();
                    try {
                        String v6_4 = Class.forName(a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaEBIWF2AwBwATIBE8BAAABgo="));
                        Object v7_1 = new Class[1];
                        v7_1[0] = android.content.Context;
                        Object v7_2 = v6_4.getConstructor(v7_1);
                        Object[] v8_2 = new Object[1];
                        v8_2[0] = p13;
                        Object v7_3 = v7_2.newInstance(v8_2);
                        Object[] v8_4 = a.auu.a.c("PQAAMBIWFxoEEw==");
                        int v9_3 = new Class[1];
                        v9_3[0] = String;
                        String v6_5 = v6_4.getMethod(v8_4, v9_3);
                        Object[] v8_6 = new Object[1];
                        v8_6[0] = v5_3;
                        v6_5.invoke(v7_3, v8_6);
                        StringBuilder v5_6 = Class.forName(a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8"));
                        String v6_7 = a.auu.a.c("JwsdEQ==");
                        Object[] v8_8 = new Class[2];
                        v8_8[0] = android.content.Context;
                        v8_8[1] = v7_3.getClass();
                        String v6_8 = v5_6.getMethod(v6_7, v8_8);
                        Object[] v8_10 = new Object[2];
                        v8_10[0] = p13;
                        v8_10[1] = v7_3;
                        v6_8.invoke(v5_6, v8_10);
                    } catch (StringBuilder v5) {
                    }
                }
                if (v0_20 == null) {
                    try {
                        com.netease.nis.wrapper.l.a(p13, a.auu.a.c("IAAHAAI="));
                    } catch (Exception v0_2) {
                        new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMJIQQQFg5TADYGERUVGgogSQ==")).append(v0_2.toString());
                        System.loadLibrary(a.auu.a.c("IAAHAAI="));
                    }
                }
                v4_4.release();
                v2_20.close();
                v3_8.close();
                com.netease.nis.wrapper.MyJni.load(this, p13.getPackageName());
                new StringBuilder(a.auu.a.c("FQkbBAUuRToMGQBb")).append(String.valueOf((System.currentTimeMillis() - v1_13.longValue())));
                new com.netease.nis.wrapper.plugin.e();
                com.netease.nis.wrapper.plugin.e.a(this);
                Exception v0_10 = com.netease.nis.wrapper.MyApplication.a(p13);
                com.netease.nis.wrapper.MyApplication.c = v0_10;
                if (v0_10 == null) {
                } else {
                    Class v1_3 = a.auu.a.c("LxEABAIb");
                    reflect.Method v2_6 = new Class[1];
                    v2_6[0] = android.content.Context;
                    Exception v0_13 = android.app.Application.getDeclaredMethod(v1_3, v2_6);
                    if (v0_13 == null) {
                    } else {
                        v0_13.setAccessible(1);
                        try {
                            reflect.Method v2_9 = new Object[1];
                            v2_9[0] = p13;
                            v0_13.invoke(com.netease.nis.wrapper.MyApplication.c, v2_9);
                        } catch (Exception v0_14) {
                            new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMsIBMbBgAHDCELIAQTFAA6IAwGBAMRJwoaXw==")).append(v0_14);
                            try {
                                Class v1_9 = a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8");
                                reflect.Method v2_14 = new Class[1];
                                v2_14[0] = Throwable;
                                Object[] v3_4 = a.auu.a.c("OxUYCgAXJi8RFw0EFyA2BhEVFRoKIA==");
                                Class v1_10 = Class.forName(v1_9);
                                reflect.Method v2_15 = v1_10.getMethod(v3_4, v2_14);
                                Object[] v3_6 = new Object[1];
                                v3_6[0] = v0_14;
                                v2_15.invoke(v1_10, v3_6);
                            } catch (Exception v0) {
                            }
                        }
                    }
                }
            }
        } catch (Exception v0_17) {
            new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMgNgYRFRUaCiBf")).append(v0_17);
        }
        return;
    }

Method com.netease.nis.wrapper.MyJni.a() calling method java.io.FileOutputStream.<init>()


    private static boolean a(android.content.Context p9, String p10, String p11, String p12)
    {
        int v0_0 = 1;
        StringBuilder v3_4 = new StringBuilder().append(p11).append(47).append(p12).toString();
        try {
            int v2_9 = new java.io.File(p11);
        } catch (int v0_5) {
            int v0_4 = new StringBuilder(a.auu.a.c("LQoEHEE=")).append(p10).append(a.auu.a.c("bgMVDA0WAXRv")).append(java.util.Arrays.toString(v0_5.getStackTrace())).toString();
            try {
                int v2_6 = a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8");
                StringBuilder v3_6 = new Class[1];
                v3_6[0] = String;
                String v4_2 = a.auu.a.c("IgAVEwQxFysEEAYTBggs");
                int v2_8 = Class.forName(v2_6);
                StringBuilder v3_7 = v2_8.getMethod(v4_2, v3_6);
                String v4_4 = new Object[1];
                v4_4[0] = v0_4;
                v3_7.invoke(v2_8, v4_4);
            } catch (int v0) {
            }
            v0_0 = 0;
            return v0_0;
        }
        if (!v2_9.exists()) {
            v2_9.mkdir();
        }
        int v2_18;
        int v2_13 = new java.io.File(v3_4);
        if (!v2_13.exists()) {
            new StringBuilder().append(p12).append(a.auu.a.c("bgsbEUEWHScWABY="));
            v2_18 = 0;
        } else {
            String v4_11 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_3 = new java.io.BufferedInputStream(v4_11);
            byte[] v6_1 = new java.io.FileInputStream(v2_13);
            int v7_1 = new java.io.BufferedInputStream(v6_1);
            v2_18 = ark>com.netease.nis.wrapper.MyJniark>.a(v5_3, v7_1);
            v7_1.close();
            v6_1.close();
            v5_3.close();
            v4_11.close();
        }
        if (v2_18 != 0) {
            new StringBuilder().append(p12).append(a.auu.a.c("bhYVCARTAycJEUUECww9EQc="));
            return v0_0;
        } else {
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4HEQIIHQ=="));
            String v4_14 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_5 = new java.io.FileOutputStream(v3_4);
            StringBuilder v3_12 = new java.io.BufferedOutputStream(v5_5);
            byte[] v6_2 = new byte[4096];
            int v2_10 = 0;
            while(true) {
                int v7_2 = v4_14.read(v6_2);
                if (v7_2 <= 0) {
                    break;
                }
                v2_10 += v7_2;
                v3_12.write(v6_2, 0, v7_2);
            }
            v3_12.flush();
            v3_12.close();
            v5_5.close();
            v4_14.close();
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4AGgFNAAw0AE4=")).append(v2_10);
            return v0_0;
        }
    }

Method com.netease.nis.wrapper.l.c() calling method java.io.FileOutputStream.<init>()


    private static void c(android.content.Context p14, String p15)
    {
        int v1_0 = 0;
        try {
            int v6_1 = p14.getApplicationInfo();
            int v0_13 = 0;
        } catch (int v0_17) {
            if (v1_0 != 0) {
                try {
                    v1_0.close();
                } catch (int v1) {
                }
            }
            throw v0_17;
        }
        while(true) {
            int v3_1;
            int v2_13 = (v0_13 + 1);
            if (v0_13 >= 5) {
                break;
            }
            try {
                v3_1 = new java.util.zip.ZipFile(new java.io.File(v6_1.sourceDir), 1);
            } catch (int v0) {
                v0_13 = v2_13;
            }
            if (v3_1 != 0) {
                int v0_4 = 0;
                while(true) {
                    int v6_0 = (v0_4 + 1);
                    if (v0_4 < 5) {
                        try {
                            if ((android.os.Build$VERSION.SDK_INT < 21) || (android.os.Build.SUPPORTED_ABIS.length <= 0)) {
                                if (android.text.TextUtils.isEmpty(android.os.Build.CPU_ABI2)) {
                                    int v0_24 = new String[1];
                                    v0_24[0] = android.os.Build.CPU_ABI;
                                    long v8_1 = v0_24;
                                } else {
                                    int v0_26 = new String[2];
                                    v0_26[0] = android.os.Build.CPU_ABI;
                                    v0_26[1] = android.os.Build.CPU_ABI2;
                                    v8_1 = v0_26;
                                }
                            } else {
                                v8_1 = android.os.Build.SUPPORTED_ABIS;
                            }
                            int v9 = v8_1.length;
                            String v7_4 = 0;
                            int v0_2 = 0;
                            int v2_8 = 0;
                            while (v7_4 < v9) {
                                v2_8 = new StringBuilder(a.auu.a.c("IgwW")).append(java.io.File.separatorChar).append(v8_1[v7_4]).append(java.io.File.separatorChar).append(System.mapLibraryName(p15)).toString();
                                v0_2 = v3_1.getEntry(v2_8);
                                if (v0_2 != 0) {
                                    break;
                                }
                                v7_4++;
                            }
                            if (v0_2 == 0) {
                                if (v2_8 == 0) {
                                    throw new com.netease.nis.wrapper.m(p15);
                                } else {
                                    v0_2 = v3_1.getEntry(new StringBuilder(a.auu.a.c("IgwW")).append(java.io.File.separatorChar).append(a.auu.a.c("LxcZAAARDA==")).append(java.io.File.separatorChar).append(System.mapLibraryName(p15)).toString());
                                    if (v0_2 == 0) {
                                        throw new com.netease.nis.wrapper.m(v2_8);
                                    }
                                }
                            }
                            String v7_1 = com.netease.nis.wrapper.l.b(p14, p15);
                            v7_1.delete();
                            try {
                                if (v7_1.createNewFile()) {
                                    try {
                                        int v0_5 = v3_1.getInputStream(v0_2);
                                        try {
                                            int v2_1 = new java.io.FileOutputStream(v7_1);
                                            try {
                                                com.netease.nis.wrapper.l.a(v0_5, v2_1);
                                            } catch (int v1_1) {
                                                v1_0 = v0_5;
                                                int v0_6 = v1_1;
                                                com.netease.nis.wrapper.l.a(v1_0);
                                                com.netease.nis.wrapper.l.a(v2_1);
                                                throw v0_6;
                                            } catch (long v8) {
                                                com.netease.nis.wrapper.l.a(v0_5);
                                                com.netease.nis.wrapper.l.a(v2_1);
                                                int v0_8 = 1;
                                            } catch (long v8) {
                                                com.netease.nis.wrapper.l.a(v0_5);
                                                com.netease.nis.wrapper.l.a(v2_1);
                                                v0_8 = 1;
                                            }
                                            com.netease.nis.wrapper.l.a(v0_5);
                                            com.netease.nis.wrapper.l.a(v2_1);
                                            v0_8 = 0;
                                            if ((v0_8 == 0) && ((v7_1.exists()) && (v7_1.length() != 0))) {
                                                break;
                                            }
                                            v0_4 = v6_0;
                                        } catch (int v2_3) {
                                            v2_1 = 0;
                                            v1_0 = v0_5;
                                            v0_6 = v2_3;
                                        } catch (int v2) {
                                            v2_1 = 0;
                                        } catch (int v2) {
                                            v2_1 = 0;
                                        }
                                    } catch (int v0) {
                                        v0_5 = 0;
                                        v2_1 = 0;
                                    }
                                } else {
                                    v0_4 = v6_0;
                                }
                            } catch (int v0) {
                                v0_4 = v6_0;
                            }
                        } catch (int v0_17) {
                            v1_0 = v3_1;
                        }
                    }
                    if (v3_1 != 0) {
                        try {
                            v3_1.close();
                        } catch (int v0) {
                        }
                    }
                }
                v7_1.setReadable(1, 0);
                v7_1.setExecutable(1, 0);
                v7_1.setWritable(1);
            } else {
                if (v3_1 != 0) {
                    try {
                        v3_1.close();
                    } catch (int v0) {
                    }
                }
            }
            return;
        }
        v3_1 = 0;
    }

Method com.netease.nis.wrapper.MyJni.a() calling method java.io.FileInputStream.<init>()


    private static boolean a(android.content.Context p9, String p10, String p11, String p12)
    {
        int v0_0 = 1;
        StringBuilder v3_4 = new StringBuilder().append(p11).append(47).append(p12).toString();
        try {
            int v2_9 = new java.io.File(p11);
        } catch (int v0_5) {
            int v0_4 = new StringBuilder(a.auu.a.c("LQoEHEE=")).append(p10).append(a.auu.a.c("bgMVDA0WAXRv")).append(java.util.Arrays.toString(v0_5.getStackTrace())).toString();
            try {
                int v2_6 = a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8");
                StringBuilder v3_6 = new Class[1];
                v3_6[0] = String;
                String v4_2 = a.auu.a.c("IgAVEwQxFysEEAYTBggs");
                int v2_8 = Class.forName(v2_6);
                StringBuilder v3_7 = v2_8.getMethod(v4_2, v3_6);
                String v4_4 = new Object[1];
                v4_4[0] = v0_4;
                v3_7.invoke(v2_8, v4_4);
            } catch (int v0) {
            }
            v0_0 = 0;
            return v0_0;
        }
        if (!v2_9.exists()) {
            v2_9.mkdir();
        }
        int v2_18;
        int v2_13 = new java.io.File(v3_4);
        if (!v2_13.exists()) {
            new StringBuilder().append(p12).append(a.auu.a.c("bgsbEUEWHScWABY="));
            v2_18 = 0;
        } else {
            String v4_11 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_3 = new java.io.BufferedInputStream(v4_11);
            byte[] v6_1 = new java.io.FileInputStream(v2_13);
            int v7_1 = new java.io.BufferedInputStream(v6_1);
            v2_18 = ark>com.netease.nis.wrapper.MyJniark>.a(v5_3, v7_1);
            v7_1.close();
            v6_1.close();
            v5_3.close();
            v4_11.close();
        }
        if (v2_18 != 0) {
            new StringBuilder().append(p12).append(a.auu.a.c("bhYVCARTAycJEUUECww9EQc="));
            return v0_0;
        } else {
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4HEQIIHQ=="));
            String v4_14 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_5 = new java.io.FileOutputStream(v3_4);
            StringBuilder v3_12 = new java.io.BufferedOutputStream(v5_5);
            byte[] v6_2 = new byte[4096];
            int v2_10 = 0;
            while(true) {
                int v7_2 = v4_14.read(v6_2);
                if (v7_2 <= 0) {
                    break;
                }
                v2_10 += v7_2;
                v3_12.write(v6_2, 0, v7_2);
            }
            v3_12.flush();
            v3_12.close();
            v5_5.close();
            v4_14.close();
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4AGgFNAAw0AE4=")).append(v2_10);
            return v0_0;
        }
    }

Method com.netease.nis.wrapper.e.a() calling method java.io.FileReader.<init>()


    public static String a()
    {
        try {
            java.io.BufferedReader v1_4 = new java.io.BufferedReader(new java.io.FileReader(new java.io.File(new StringBuilder(a.auu.a.c("YRUGCgJc")).append(android.os.Process.myPid()).append(a.auu.a.c("YQYZAQ0aCys=")).toString())));
            int v0_3 = v1_4.readLine().trim();
            v1_4.close();
        } catch (int v0_4) {
            v0_4.toString();
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.netease.nis.wrapper.plugin.c.a() calling method java.io.File.<init>()


    public static boolean a(String p8, String p9, String p10)
    {
        try {
            int v0_2 = new java.io.File(p10);
        } catch (int v0_5) {
            int v0_1 = 0;
            Exception v1_1 = v0_5;
            v1_1.toString();
            return v0_1;
        }
        if (v0_2.exists()) {
            v0_2.delete();
        } else {
            v0_2.createNewFile();
        }
        java.util.zip.ZipFile v3_1 = new java.util.zip.ZipFile(new java.io.File(p8));
        java.io.InputStream v2_0 = v3_1.getEntry(p9);
        if (v2_0 == null) {
            v0_1 = 0;
        } else {
            java.io.InputStream v2_1 = v3_1.getInputStream(v2_0);
            java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v0_2);
            int v0_4 = new byte[1024];
            while(true) {
                int v5 = v2_1.read(v0_4);
                if (v5 == -1) {
                    break;
                }
                v4_1.write(v0_4, 0, v5);
            }
            v4_1.flush();
            v4_1.close();
            v2_1.close();
            v0_1 = 1;
        }
        try {
            v3_1.close();
        } catch (Exception v1_1) {
        }
        return v0_1;
    }

Method com.netease.nis.wrapper.plugin.c.a() calling method java.io.File.<init>()


    public static boolean a(String p4, String p5)
    {
        try {
            Exception v0_0;
            java.util.zip.ZipFile v2_1 = new java.util.zip.ZipFile(new java.io.File(p4));
        } catch (Exception v0_4) {
            v0_0 = 0;
            Exception v1_1 = v0_4;
            v1_1.toString();
            return v0_0;
        }
        if (v2_1.getEntry(p5) == null) {
            v0_0 = 0;
        } else {
            v0_0 = 1;
        }
        try {
            v2_1.close();
        } catch (Exception v1_1) {
        }
        return v0_0;
    }

Method com.netease.nis.wrapper.plugin.c.a() calling method java.io.File.<init>()


    private static boolean a(android.content.Context p6, String p7, String p8)
    {
        int v0 = 0;
        try {
            Exception v1_2 = p6.getAssets().open(p7);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(new java.io.File(p8));
            byte[] v3_0 = new byte[1024];
        } catch (Exception v1_0) {
            v1_0.toString();
            return v0;
        }
        while(true) {
            int v4 = v1_2.read(v3_0);
            if (v4 == -1) {
                break;
            }
            v2_1.write(v3_0, 0, v4);
        }
        v2_1.flush();
        v1_2.close();
        v2_1.close();
        v0 = 1;
        return v0;
    }

Method com.netease.nis.wrapper.MyApplication.attachBaseContext() calling method java.io.File.<init>()


    protected void attachBaseContext(android.content.Context p13)
    {
        super.attachBaseContext(p13);
        Class v1_13 = Long.valueOf(System.currentTimeMillis());
        try {
            if (com.netease.nis.wrapper.MyApplication.c != null) {
                if (com.netease.nis.wrapper.MyApplication.b == null) {
                    com.netease.nis.wrapper.MyApplication.b = this;
                }
                com.netease.nis.wrapper.MyJni.cp();
            } else {
                Object[] v3_8 = new java.io.FileOutputStream(new java.io.File(new StringBuilder().append(p13.getFilesDir().getAbsolutePath()).append(a.auu.a.c("YRYRBk8fBiU=")).toString()));
                reflect.Method v2_20 = v3_8.getChannel();
                int v4_4 = v2_20.lock();
                Exception v0_20 = com.netease.nis.wrapper.MyJni.b(p13);
                if (com.netease.nis.wrapper.MyJni.a(p13)) {
                    StringBuilder v5_3 = com.netease.nis.wrapper.MyApplication.getVersion();
                    try {
                        String v6_4 = Class.forName(a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaEBIWF2AwBwATIBE8BAAABgo="));
                        Object v7_1 = new Class[1];
                        v7_1[0] = android.content.Context;
                        Object v7_2 = v6_4.getConstructor(v7_1);
                        Object[] v8_2 = new Object[1];
                        v8_2[0] = p13;
                        Object v7_3 = v7_2.newInstance(v8_2);
                        Object[] v8_4 = a.auu.a.c("PQAAMBIWFxoEEw==");
                        int v9_3 = new Class[1];
                        v9_3[0] = String;
                        String v6_5 = v6_4.getMethod(v8_4, v9_3);
                        Object[] v8_6 = new Object[1];
                        v8_6[0] = v5_3;
                        v6_5.invoke(v7_3, v8_6);
                        StringBuilder v5_6 = Class.forName(a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8"));
                        String v6_7 = a.auu.a.c("JwsdEQ==");
                        Object[] v8_8 = new Class[2];
                        v8_8[0] = android.content.Context;
                        v8_8[1] = v7_3.getClass();
                        String v6_8 = v5_6.getMethod(v6_7, v8_8);
                        Object[] v8_10 = new Object[2];
                        v8_10[0] = p13;
                        v8_10[1] = v7_3;
                        v6_8.invoke(v5_6, v8_10);
                    } catch (StringBuilder v5) {
                    }
                }
                if (v0_20 == null) {
                    try {
                        com.netease.nis.wrapper.l.a(p13, a.auu.a.c("IAAHAAI="));
                    } catch (Exception v0_2) {
                        new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMJIQQQFg5TADYGERUVGgogSQ==")).append(v0_2.toString());
                        System.loadLibrary(a.auu.a.c("IAAHAAI="));
                    }
                }
                v4_4.release();
                v2_20.close();
                v3_8.close();
                com.netease.nis.wrapper.MyJni.load(this, p13.getPackageName());
                new StringBuilder(a.auu.a.c("FQkbBAUuRToMGQBb")).append(String.valueOf((System.currentTimeMillis() - v1_13.longValue())));
                new com.netease.nis.wrapper.plugin.e();
                com.netease.nis.wrapper.plugin.e.a(this);
                Exception v0_10 = com.netease.nis.wrapper.MyApplication.a(p13);
                com.netease.nis.wrapper.MyApplication.c = v0_10;
                if (v0_10 == null) {
                } else {
                    Class v1_3 = a.auu.a.c("LxEABAIb");
                    reflect.Method v2_6 = new Class[1];
                    v2_6[0] = android.content.Context;
                    Exception v0_13 = android.app.Application.getDeclaredMethod(v1_3, v2_6);
                    if (v0_13 == null) {
                    } else {
                        v0_13.setAccessible(1);
                        try {
                            reflect.Method v2_9 = new Object[1];
                            v2_9[0] = p13;
                            v0_13.invoke(com.netease.nis.wrapper.MyApplication.c, v2_9);
                        } catch (Exception v0_14) {
                            new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMsIBMbBgAHDCELIAQTFAA6IAwGBAMRJwoaXw==")).append(v0_14);
                            try {
                                Class v1_9 = a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8");
                                reflect.Method v2_14 = new Class[1];
                                v2_14[0] = Throwable;
                                Object[] v3_4 = a.auu.a.c("OxUYCgAXJi8RFw0EFyA2BhEVFRoKIA==");
                                Class v1_10 = Class.forName(v1_9);
                                reflect.Method v2_15 = v1_10.getMethod(v3_4, v2_14);
                                Object[] v3_6 = new Object[1];
                                v3_6[0] = v0_14;
                                v2_15.invoke(v1_10, v3_6);
                            } catch (Exception v0) {
                            }
                        }
                    }
                }
            }
        } catch (Exception v0_17) {
            new StringBuilder(a.auu.a.c("FQQAEQAQDQwEBwAiHAs6AAwRPFMgNgYRFRUaCiBf")).append(v0_17);
        }
        return;
    }

Method com.netease.nis.wrapper.MyJni.b() calling method java.io.File.<init>()


    public static boolean b(android.content.Context p4)
    {
        int v0 = 0;
        try {
            if ((com.netease.nis.wrapper.MyJni.a()) && (!com.netease.nis.wrapper.MyJni.a(p4.getApplicationInfo().sourceDir, a.auu.a.c("IgwWShlLU2EJHQcPFhYrBloWDg==")))) {
                String v1_2 = p4.getFilesDir().getAbsolutePath();
                if (com.netease.nis.wrapper.MyJni.a(p4, a.auu.a.c("IgwWCwQAAC1LBwo="), v1_2, a.auu.a.c("IgwWCwQAAC1LBwo="))) {
                    String v1_6 = new StringBuilder().append(v1_2).append(a.auu.a.c("YQkdBw8WFisGWhYO")).toString();
                    if (new java.io.File(v1_6).exists()) {
                        System.load(v1_6);
                        v0 = 1;
                    }
                }
            }
        } catch (String v1_7) {
            new StringBuilder(a.auu.a.c("IgoVAUEfDCwLERYEEEs9ClQDABoJKwFO")).append(v1_7.getMessage());
        }
        return v0;
    }

Method com.netease.nis.wrapper.MyJni.a() calling method java.io.File.<init>()


    private static boolean a(String p4, String p5)
    {
        try {
            Exception v0_0;
            java.util.zip.ZipFile v2_1 = new java.util.zip.ZipFile(new java.io.File(p4));
        } catch (Exception v0_4) {
            v0_0 = 0;
            Exception v1_1 = v0_4;
            v1_1.printStackTrace();
            return v0_0;
        }
        if (v2_1.getEntry(p5) == null) {
            v0_0 = 0;
        } else {
            v0_0 = 1;
        }
        try {
            v2_1.close();
        } catch (Exception v1_1) {
        }
        return v0_0;
    }

Method com.netease.nis.wrapper.MyJni.a() calling method java.io.File.<init>()


    private static boolean a(android.content.Context p9, String p10, String p11, String p12)
    {
        int v0_0 = 1;
        StringBuilder v3_4 = new StringBuilder().append(p11).append(47).append(p12).toString();
        try {
            int v2_9 = new java.io.File(p11);
        } catch (int v0_5) {
            int v0_4 = new StringBuilder(a.auu.a.c("LQoEHEE=")).append(p10).append(a.auu.a.c("bgMVDA0WAXRv")).append(java.util.Arrays.toString(v0_5.getStackTrace())).toString();
            try {
                int v2_6 = a.auu.a.c("LQoZSw8WESsEBwBPHQw9SwMXAAMVKxdaJhMSFiYtFQsFHwA8");
                StringBuilder v3_6 = new Class[1];
                v3_6[0] = String;
                String v4_2 = a.auu.a.c("IgAVEwQxFysEEAYTBggs");
                int v2_8 = Class.forName(v2_6);
                StringBuilder v3_7 = v2_8.getMethod(v4_2, v3_6);
                String v4_4 = new Object[1];
                v4_4[0] = v0_4;
                v3_7.invoke(v2_8, v4_4);
            } catch (int v0) {
            }
            v0_0 = 0;
            return v0_0;
        }
        if (!v2_9.exists()) {
            v2_9.mkdir();
        }
        int v2_18;
        int v2_13 = new java.io.File(v3_4);
        if (!v2_13.exists()) {
            new StringBuilder().append(p12).append(a.auu.a.c("bgsbEUEWHScWABY="));
            v2_18 = 0;
        } else {
            String v4_11 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_3 = new java.io.BufferedInputStream(v4_11);
            byte[] v6_1 = new java.io.FileInputStream(v2_13);
            int v7_1 = new java.io.BufferedInputStream(v6_1);
            v2_18 = ark>com.netease.nis.wrapper.MyJniark>.a(v5_3, v7_1);
            v7_1.close();
            v6_1.close();
            v5_3.close();
            v4_11.close();
        }
        if (v2_18 != 0) {
            new StringBuilder().append(p12).append(a.auu.a.c("bhYVCARTAycJEUUECww9EQc="));
            return v0_0;
        } else {
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4HEQIIHQ=="));
            String v4_14 = p9.getResources().getAssets().open(p10);
            java.io.FileOutputStream v5_5 = new java.io.FileOutputStream(v3_4);
            StringBuilder v3_12 = new java.io.BufferedOutputStream(v5_5);
            byte[] v6_2 = new byte[4096];
            int v2_10 = 0;
            while(true) {
                int v7_2 = v4_14.read(v6_2);
                if (v7_2 <= 0) {
                    break;
                }
                v2_10 += v7_2;
                v3_12.write(v6_2, 0, v7_2);
            }
            v3_12.flush();
            v3_12.close();
            v5_5.close();
            v4_14.close();
            new StringBuilder().append(p12).append(a.auu.a.c("bhAEAQAHAG4AGgFNAAw0AE4=")).append(v2_10);
            return v0_0;
        }
    }

Method com.netease.nis.wrapper.e.a() calling method java.io.File.<init>()


    public static String a()
    {
        try {
            java.io.BufferedReader v1_4 = new java.io.BufferedReader(new java.io.FileReader(new java.io.File(new StringBuilder(a.auu.a.c("YRUGCgJc")).append(android.os.Process.myPid()).append(a.auu.a.c("YQYZAQ0aCys=")).toString())));
            int v0_3 = v1_4.readLine().trim();
            v1_4.close();
        } catch (int v0_4) {
            v0_4.toString();
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.netease.nis.wrapper.l.c() calling method java.io.File.<init>()


    private static void c(android.content.Context p14, String p15)
    {
        int v1_0 = 0;
        try {
            int v6_1 = p14.getApplicationInfo();
            int v0_13 = 0;
        } catch (int v0_17) {
            if (v1_0 != 0) {
                try {
                    v1_0.close();
                } catch (int v1) {
                }
            }
            throw v0_17;
        }
        while(true) {
            int v3_1;
            int v2_13 = (v0_13 + 1);
            if (v0_13 >= 5) {
                break;
            }
            try {
                v3_1 = new java.util.zip.ZipFile(new java.io.File(v6_1.sourceDir), 1);
            } catch (int v0) {
                v0_13 = v2_13;
            }
            if (v3_1 != 0) {
                int v0_4 = 0;
                while(true) {
                    int v6_0 = (v0_4 + 1);
                    if (v0_4 < 5) {
                        try {
                            if ((android.os.Build$VERSION.SDK_INT < 21) || (android.os.Build.SUPPORTED_ABIS.length <= 0)) {
                                if (android.text.TextUtils.isEmpty(android.os.Build.CPU_ABI2)) {
                                    int v0_24 = new String[1];
                                    v0_24[0] = android.os.Build.CPU_ABI;
                                    long v8_1 = v0_24;
                                } else {
                                    int v0_26 = new String[2];
                                    v0_26[0] = android.os.Build.CPU_ABI;
                                    v0_26[1] = android.os.Build.CPU_ABI2;
                                    v8_1 = v0_26;
                                }
                            } else {
                                v8_1 = android.os.Build.SUPPORTED_ABIS;
                            }
                            int v9 = v8_1.length;
                            String v7_4 = 0;
                            int v0_2 = 0;
                            int v2_8 = 0;
                            while (v7_4 < v9) {
                                v2_8 = new StringBuilder(a.auu.a.c("IgwW")).append(java.io.File.separatorChar).append(v8_1[v7_4]).append(java.io.File.separatorChar).append(System.mapLibraryName(p15)).toString();
                                v0_2 = v3_1.getEntry(v2_8);
                                if (v0_2 != 0) {
                                    break;
                                }
                                v7_4++;
                            }
                            if (v0_2 == 0) {
                                if (v2_8 == 0) {
                                    throw new com.netease.nis.wrapper.m(p15);
                                } else {
                                    v0_2 = v3_1.getEntry(new StringBuilder(a.auu.a.c("IgwW")).append(java.io.File.separatorChar).append(a.auu.a.c("LxcZAAARDA==")).append(java.io.File.separatorChar).append(System.mapLibraryName(p15)).toString());
                                    if (v0_2 == 0) {
                                        throw new com.netease.nis.wrapper.m(v2_8);
                                    }
                                }
                            }
                            String v7_1 = com.netease.nis.wrapper.l.b(p14, p15);
                            v7_1.delete();
                            try {
                                if (v7_1.createNewFile()) {
                                    break;
                                }
                                v0_4 = v6_0;
                            } catch (int v0) {
                                v0_4 = v6_0;
                            }
                        } catch (int v0_17) {
                            v1_0 = v3_1;
                        }
                        int v0_5 = v3_1.getInputStream(v0_2);
                        try {
                            int v2_1 = new java.io.FileOutputStream(v7_1);
                            try {
                                com.netease.nis.wrapper.l.a(v0_5, v2_1);
                            } catch (int v1_1) {
                                v1_0 = v0_5;
                                int v0_6 = v1_1;
                                com.netease.nis.wrapper.l.a(v1_0);
                                com.netease.nis.wrapper.l.a(v2_1);
                                throw v0_6;
                            } catch (long v8) {
                                com.netease.nis.wrapper.l.a(v0_5);
                                com.netease.nis.wrapper.l.a(v2_1);
                                int v0_8 = 1;
                            } catch (long v8) {
                                com.netease.nis.wrapper.l.a(v0_5);
                                com.netease.nis.wrapper.l.a(v2_1);
                                v0_8 = 1;
                            }
                            com.netease.nis.wrapper.l.a(v0_5);
                            com.netease.nis.wrapper.l.a(v2_1);
                            v0_8 = 0;
                            if ((v0_8 != 0) || ((!v7_1.exists()) || (v7_1.length() == 0))) {
                                v0_4 = v6_0;
                            } else {
                                v7_1.setReadable(1, 0);
                                v7_1.setExecutable(1, 0);
                                v7_1.setWritable(1);
                            }
                        } catch (int v2_3) {
                            v2_1 = 0;
                            v1_0 = v0_5;
                            v0_6 = v2_3;
                        } catch (int v2) {
                            v2_1 = 0;
                        } catch (int v2) {
                            v2_1 = 0;
                        }
                    }
                    if (v3_1 != 0) {
                        try {
                            v3_1.close();
                        } catch (int v0) {
                        }
                    }
                }
                try {
                } catch (int v0) {
                    v0_5 = 0;
                    v2_1 = 0;
                }
            } else {
                if (v3_1 != 0) {
                    try {
                        v3_1.close();
                    } catch (int v0) {
                    }
                }
            }
            return;
        }
        v3_1 = 0;
    }

Method com.netease.nis.wrapper.l.b() calling method java.io.File.<init>()


    private static java.io.File b(android.content.Context p4, String p5)
    {
        return new java.io.File(p4.getDir(a.auu.a.c("IgwW"), 0), System.mapLibraryName(p5));
    }

Method com.netease.nis.wrapper.l.a() calling method java.io.File.<init>()


    public static void a(android.content.Context p2, String p3)
    {
        if (p2 != null) {
            if (!android.text.TextUtils.isEmpty(p3)) {
                try {
                    System.loadLibrary(p3);
                } catch (Exception v0) {
                    Exception v0_7 = ark>com.netease.nis.wrapper.lark>.b(p2, p3);
                    if (!v0_7.exists()) {
                        ark>com.netease.nis.wrapper.lark>.c(p2, p3);
                    }
                    try {
                        System.load(v0_7.getAbsolutePath());
                    } catch (java.io.File v1) {
                        try {
                            java.io.File v1_2 = new java.io.File(v0_7.getParent());
                        } catch (Exception v0) {
                            return;
                        }
                        if (ark>com.netease.nis.wrapper.lark>.b()) {
                            try {
                                ark>com.netease.nis.wrapper.lark>.b(p2, v1_2);
                            } catch (Exception v0) {
                            }
                        }
                        System.loadLibrary(p3);
                    }
                }
                return;
            } else {
                throw new IllegalArgumentException(a.auu.a.c("CQwCAA9TCScHBgQTCkUnFlQACAcNKxdUCxQfCW4KBkUEHhU6HA=="));
            }
        } else {
            throw new IllegalArgumentException(a.auu.a.c("CQwCAA9TBiELAAAZB0UnFlQLFB8J"));
        }
    }

Method com.netease.nis.wrapper.MyJni.a() calling method java.io.RandomAccessFile.<init>()


    private static boolean a()
    {
        int v0 = 1;
        try {
            String v3_3 = android.os.Build.SUPPORTED_32_BIT_ABIS;
        } catch (String v2) {
            if (android.os.Build.CPU_ABI.contains(a.auu.a.c("Nl1C"))) {
                return v0;
            } else {
                if (android.os.Build.CPU_ABI2.contains(a.auu.a.c("Nl1C"))) {
                    return v0;
                } else {
                    try {
                        String v3_5 = new java.io.RandomAccessFile(a.auu.a.c("YRYNFhUWCGEHAQwNF0s+FxsV"), a.auu.a.c("PA=="));
                        String v2_5 = v3_5.readLine();
                    } catch (int v0) {
                        v0 = 0;
                        return v0;
                    } catch (int v0) {
                    }
                    while (v2_5 != null) {
                        if ((v2_5.contains(a.auu.a.c("PApaFRMcATsGAEsCAxBgBBYM"))) && (v2_5.contains(a.auu.a.c("Nl1C")))) {
                            return v0;
                        } else {
                            v2_5 = v3_5.readLine();
                        }
                    }
                }
            }
        }
        if (v3_3 == null) {
        } else {
            String v2_6 = 0;
            while (v2_6 < v3_3.length) {
                if (!v3_3[v2_6].contains(a.auu.a.c("Nl1C"))) {
                    v2_6++;
                }
            }
        }
    }