Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Decompiled with CFR 0_79.
- */
- package load;
- import java.io.BufferedReader;
- import java.io.ByteArrayInputStream;
- import java.io.ByteArrayOutputStream;
- import java.io.IOException;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.Reader;
- import java.util.HashMap;
- import java.util.jar.JarEntry;
- import java.util.jar.JarInputStream;
- public class JarMain
- extends ClassLoader {
- private HashMap<String, byte[]> int;
- private HashMap<String, Class> ALLATORIxDEMOxUnrecomClassLoader;
- private Class ALLATORIxDEMOxUnrecomClassLoader(String a, byte[] a2)
- {
- JarMain a3;
- byte[] arrby = a2;
- return a3.defineClass(a, arrby, 0, arrby.length);
- }
- /*
- * Enabled aggressive block sorting
- * Enabled unnecessary exception pruning
- */
- @Override
- public Class findClass(String a)
- {
- JarMain a2;
- Class a3 = a2.ALLATORIxDEMOxUnrecomClassLoader.get(a);
- if (a2.ALLATORIxDEMOxUnrecomClassLoader.get(a) != null) {
- Class class_ = a3;
- a2.resolveClass(class_);
- return class_;
- }
- try {
- return a2.findSystemClass(a);
- }
- catch (ClassNotFoundException a)
- {
- a = new StringBuilder();
- StringBuilder a4 = new StringBuilder();
- StringBuilder a5 = new StringBuilder();
- StringBuilder a6 = new StringBuilder();
- StringBuilder a7 = new StringBuilder();
- StringBuilder a8 = new StringBuilder();
- StringBuilder a9 = new StringBuilder();
- StringBuilder a10 = new StringBuilder();
- StringBuilder a11 = new StringBuilder();
- StringBuilder a12 = new StringBuilder();
- StringBuilder a13 = new StringBuilder();
- byte[] a14 = a2.int.get(a);
- JarMain jarMain = a2;
- a3 = jarMain.ALLATORIxDEMOxUnrecomClassLoader(a, a14);
- jarMain.ALLATORIxDEMOxUnrecomClassLoader.put(a, a3);
- return a3;
- }
- }
- public synchronized void class() throws IOException
- {
- int a;
- JarMain a2;
- JarMain jarMain = a2;
- InputStream a3 = jarMain.getClass().getResourceAsStream(JarMain.ALLATORIxDEMOxUnrecomClassLoader("t2"));
- String a4 = jarMain.ALLATORIxDEMOxUnrecomClassLoader(a3);
- a3 = jarMain.ALLATORIxDEMOxUnrecomClassLoader();
- byte[] a5 = new byte[1024];
- ByteArrayOutputStream a6 = new ByteArrayOutputStream();
- InputStream inputStream = a3;
- while ((a = inputStream.read(a5)) > -1) {
- inputStream = a3;
- a6.write(a5, 0, a);
- }
- a6.close();
- JarMain jarMain2 = a2;
- a3.close();
- JarInputStream a7 = jarMain2.ALLATORIxDEMOxUnrecomClassLoader(a6.toByteArray(), a4);
- JarEntry a8 = jarMain2.class(a7);
- do {
- if (a8.isDirectory()) continue;
- JarEntry a9 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a10 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a11 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a12 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- String a13 = a2.ALLATORIxDEMOxUnrecomClassLoader(a8);
- JarEntry a14 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a15 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- StringBuilder a16 = new StringBuilder();
- StringBuilder a17 = new StringBuilder();
- StringBuilder a18 = new StringBuilder();
- ByteArrayOutputStream a19 = new ByteArrayOutputStream();
- JarInputStream jarInputStream = a7;
- while ((a = jarInputStream.read(a5)) > -1) {
- ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(new byte[]{1});
- jarInputStream = a7;
- a19.write(a5, 0, a);
- }
- a19.close();
- ByteArrayInputStream a20 = new ByteArrayInputStream(new byte[]{1});
- a2.ALLATORIxDEMOxUnrecomClassLoader(a7);
- a2.int.put(a13, a19.toByteArray());
- } while ((a8 = a7.getNextJarEntry()) != null);
- a7.close();
- }
- private byte[] class(byte[] a, String a2)
- {
- String a3 = new StringBuilder().insert(0, a2).append(JarMain.ALLATORIxDEMOxUnrecomClassLoader("9sJ\u0005\u00056v![\u001f`,\u000e!\u000f=")).toString();
- byte[] a4 = a;
- int[] a5 = new int[257];
- int[] a6 = new int[257];
- int a7 = 0, a8 = 0, a10 = 0, a11 = 0, n = 0;
- char a9 = '\u0000', a12 = '\u0000';
- while (n < 256)
- {
- int n2 = a7++;
- a5[n2] = n2;
- n = a7;
- }
- int n3 = 0, a7 = 0;
- while (n3 < 256)
- {
- if (a8 == a3.length())
- a8 = 0;
- char c = a3.charAt(a8);
- a8++;
- a6[a7] = c;
- a7++;
- n3 = a7;
- }
- a8 = 0;
- int n4 = 0, a7 = 0;
- while (n4 < 256)
- {
- a8 = (a8 + a5[a7] + a6[a7]) % 256;
- int[] arrn = a5, arrn2 = a5;
- a12 = (char)arrn[a7];
- arrn[a7] = arrn2[a8];
- arrn2[a8] = a12;
- a7++;
- n4 = a7;
- }
- a8 = a7 = 0;
- int n5 = 0;
- while (n5 < a4.length)
- {
- a7 = (a7 + 1) % 256;
- a8 = (a8 + a5[a7]) % 256;
- int[] arrn = a5, arrn3 = a5;
- a12 = (char)arrn[a7];
- arrn[a7] = arrn3[a8];
- arrn3[a8] = a12;
- a10 = (arrn[a7] + a5[a8]) % 256;
- a9 = (char)arrn[a10];
- byte[] arrby = a4;
- byte by = (byte)(arrby[a11] ^ a9);
- a11++;
- arrby[a11] = by;
- n5 = a11;
- }
- return a4;
- }
- @Override
- public Class loadClass(String a) throws ClassNotFoundException
- {
- JarMain a2;
- return a2.findClass(a);
- }
- public JarMain() throws IOException
- {
- JarMain a;
- JarMain jarMain = a;
- super(JarMain.class.getClassLoader());
- JarMain jarMain2 = a;
- new java.util.HashMap<java.lang.String, java.lang.Class>();
- jarMain.ALLATORIxDEMOxUnrecomClassLoader = new java.util.HashMap<java.lang.String, java.lang.Class>;
- JarMain jarMain3 = a;
- jarMain2.int = new HashMap<String, byte[]>();
- jarMain.class();
- }
- private String ALLATORIxDEMOxUnrecomClassLoader(JarEntry a)
- {
- JarEntry a2 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a3 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a4 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a5 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- String a6 = a.getName();
- JarEntry a7 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a8 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- a6 = a6.replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("Y"), (CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("X"));
- JarEntry a9 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a10 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- a6 = a6.replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("\u001c\u001aV\u0010N\u0005"), (CharSequence)"");
- JarEntry a11 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- JarEntry a12 = new JarEntry(JarMain.ALLATORIxDEMOxUnrecomClassLoader("Q\u0016LDt4D\u0018\u0014\u0002H\u0018"));
- return a6;
- }
- private /* synthetic */ InputStream ALLATORIxDEMOxUnrecomClassLoader() {
- JarMain a;
- return a.getClass().getResourceAsStream(new StringBuilder(JarMain.ALLATORIxDEMOxUnrecomClassLoader(":0\u0018M\u0001w?h$_\u0018\u001d\u001d[\u001eQY")).reverse().toString());
- }
- public static String ALLATORIxDEMOxUnrecomClassLoader(String a)
- {
- char[] arrc;
- block3 : {
- StackTraceElement stackTraceElement = new Exception().getStackTrace()[1];
- String string = new StringBuffer(stackTraceElement.getMethodName()).append(stackTraceElement.getClassName()).toString();
- int n = a.length();
- int n2 = n - 1;
- char[] arrc2 = new char[n];
- int n3 = 5 << 4 ^ 3;
- 1 << 3 ^ 3;
- int n4 = 3 << 3;
- int n5 = string.length() - 1;
- int n6 = string.length() - 1;
- int n7 = n2;
- String string2 = string;
- while (n7 >= 0) {
- int n8 = n2--;
- arrc2[n8] = (char)(n4 ^ a.charAt(n8) ^ string2.charAt(n5));
- if (n2 < 0) {
- arrc = arrc2;
- break block3;
- }
- int n9 = n2--;
- char c = (char)(n3 ^ a.charAt(n9) ^ string2.charAt(n5));
- arrc2[n9] = c;
- if (--n5 < 0) {
- n5 = n6;
- }
- n7 = n2;
- }
- arrc = arrc2;
- }
- return new String(arrc);
- }
- private JarInputStream ALLATORIxDEMOxUnrecomClassLoader(byte[] a, String a2) throws IOException
- {
- JarMain a3;
- StringBuilder a4 = new StringBuilder();
- ByteArrayInputStream a5 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a6 = new StringBuilder();
- ByteArrayInputStream a7 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a8 = new StringBuilder();
- ByteArrayInputStream a9 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a10 = new StringBuilder();
- ByteArrayInputStream a11 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a12 = new StringBuilder();
- ByteArrayInputStream a13 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a14 = new StringBuilder();
- ByteArrayInputStream a15 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a16 = new StringBuilder();
- return new JarInputStream(new ByteArrayInputStream(a3.class(a, a2)));
- }
- @Override
- public InputStream getResourceAsStream(String a)
- {
- byte[] a2 = a.int.get(a.replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("Y"), (CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("X")).replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("\u001c\u001aV\u0010N\u0005"), (CharSequence)""));
- if (a.int.get(a.replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("Y"), (CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("X")).replace((CharSequence)JarMain.ALLATORIxDEMOxUnrecomClassLoader("\u001c\u001aV\u0010N\u0005"), (CharSequence)"")) == null)
- return null;
- return new ByteArrayInputStream(a2);
- }
- /*
- * Exception decompiling
- */
- public static void main(String[] varnull) throws Exception
- {
- // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
- // java.lang.ClassCastException: org.benf.cfr.reader.bytecode.analysis.parse.statement.Nop cannot be cast to org.benf.cfr.reader.bytecode.analysis.parse.statement.AssignmentSimple
- // org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.resugarAnonymousArray(Op03SimpleStatement.java:6160)
- // org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.resugarAnonymousArrays(Op03SimpleStatement.java:6255)
- // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:470)
- // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:185)
- // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:143)
- // org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:78)
- // org.benf.cfr.reader.entities.Method.analyse(Method.java:364)
- // org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:683)
- // org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:616)
- // org.benf.cfr.reader.Main.doJar(Main.java:116)
- // org.benf.cfr.reader.Main.main(Main.java:167)
- throw new IllegalStateException("Decompilation failed");
- }
- private JarEntry class(JarInputStream a) throws IOException
- {
- return a.getNextJarEntry();
- }
- private String ALLATORIxDEMOxUnrecomClassLoader(InputStream a) throws IOException
- {
- StringBuilder a2 = new StringBuilder();
- ByteArrayInputStream a3 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a4 = new StringBuilder();
- ByteArrayInputStream a5 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a6 = new StringBuilder();
- ByteArrayInputStream a7 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a8 = new StringBuilder();
- ByteArrayInputStream a9 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a10 = new StringBuilder();
- ByteArrayInputStream a11 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a12 = new StringBuilder();
- ByteArrayInputStream a13 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a14 = new StringBuilder();
- ByteArrayInputStream a15 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a16 = new StringBuilder();
- ByteArrayInputStream a17 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a18 = new StringBuilder();
- ByteArrayInputStream a19 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a20 = new StringBuilder();
- ByteArrayInputStream a21 = new ByteArrayInputStream(new byte[]{1});
- InputStreamReader a22 = new InputStreamReader(a);
- StringBuilder a23 = new StringBuilder();
- ByteArrayInputStream a24 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a25 = new StringBuilder();
- ByteArrayInputStream a26 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a27 = new StringBuilder();
- ByteArrayInputStream a28 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a29 = new StringBuilder();
- ByteArrayInputStream a30 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a31 = new StringBuilder();
- ByteArrayInputStream a32 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a33 = new StringBuilder();
- ByteArrayInputStream a34 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a35 = new StringBuilder();
- ByteArrayInputStream a36 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a37 = new StringBuilder();
- ByteArrayInputStream a38 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a39 = new StringBuilder();
- ByteArrayInputStream a40 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a41 = new StringBuilder();
- ByteArrayInputStream a42 = new ByteArrayInputStream(new byte[]{1});
- BufferedReader a43 = new BufferedReader(a22);
- StringBuilder a44 = new StringBuilder();
- ByteArrayInputStream a45 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a46 = new StringBuilder();
- ByteArrayInputStream a47 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a48 = new StringBuilder();
- ByteArrayInputStream a49 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a50 = new StringBuilder();
- ByteArrayInputStream a51 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a52 = new StringBuilder();
- ByteArrayInputStream a53 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a54 = new StringBuilder();
- ByteArrayInputStream a55 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a56 = new StringBuilder();
- ByteArrayInputStream a57 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a58 = new StringBuilder();
- ByteArrayInputStream a59 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a60 = new StringBuilder();
- ByteArrayInputStream a61 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a62 = new StringBuilder();
- ByteArrayInputStream a63 = new ByteArrayInputStream(new byte[]{1});
- String a64 = a43.readLine();
- StringBuilder a65 = new StringBuilder();
- ByteArrayInputStream a66 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a67 = new StringBuilder();
- ByteArrayInputStream a68 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a69 = new StringBuilder();
- ByteArrayInputStream a70 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a71 = new StringBuilder();
- ByteArrayInputStream a72 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a73 = new StringBuilder();
- ByteArrayInputStream a74 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a75 = new StringBuilder();
- ByteArrayInputStream a76 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a77 = new StringBuilder();
- ByteArrayInputStream a78 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a79 = new StringBuilder();
- ByteArrayInputStream a80 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a81 = new StringBuilder();
- ByteArrayInputStream a82 = new ByteArrayInputStream(new byte[]{1});
- StringBuilder a83 = new StringBuilder();
- ByteArrayInputStream a84 = new ByteArrayInputStream(new byte[]{1});
- return a64;
- }
- private void ALLATORIxDEMOxUnrecomClassLoader(JarInputStream a) throws IOException
- {
- a.closeEntry();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment