Пример #1
0
 public static void smethod_0()
 {
     Class24.class23_0 = null;
     Class24.class23_1 = null;
     Class24.class23_2 = null;
     Class24.class23_3 = null;
     Class24.class25_0 = null;
     Class24.class25_1 = null;
 }
Пример #2
0
 public static void smethod_1(string string_2)
 {
     RSAKey.init("(zB0F6]1(6RCw70lGQY7hA`uORr=5eE8AT<Dsa%@2>{ImO1Cs~3vi\"7&'oQ=j,H");
     Class24.string_0 = RSAKey.GetKeys(Class1.string_3);
     if (Class1.string_10 == "" && Class1.string_11 == "")
     {
         Class24.class23_4 = new Class23(Class24.string_0[0], 16);
         Class24.class23_5 = new Class23(Class24.string_0[1], 16);
     }
     else
     {
         Class24.class23_4 = new Class23(Class1.string_10, 16);
         Class24.class23_5 = new Class23(Class1.string_11, 16);
     }
     Class24.int_0 = Class24.smethod_7();
     Class24.string_1 = string_2;
     string text = Class6.smethod_3("url.prefix", false) + "/gamedata/supersecret?token=";
     if (Class1.string_9 != "")
     {
         text = Class1.string_9;
     }
     WebRequest webRequest = WebRequest.Create(text + string_2);
     webRequest.Headers[HttpRequestHeader.Cookie] = Class1.string_0;
     ((HttpWebRequest)webRequest).UserAgent = Class1.string_1;
     WebResponse response = webRequest.GetResponse();
     Image original = Image.FromStream(response.GetResponseStream());
     Bitmap bitmap = new Bitmap(original);
     int width = bitmap.Width;
     int height = bitmap.Height;
     Debug.WriteLine(text);
     int num = 0;
     byte[] array = new byte[width * height * 4];
     for (int i = 0; i < height; i++)
     {
         for (int j = 0; j < width; j++)
         {
             int num2 = bitmap.GetPixel(j, i).ToArgb();
             array[num++] = (byte)(num2 >> 24 & 255);
             array[num++] = (byte)(num2 >> 16 & 255);
             array[num++] = (byte)(num2 >> 8 & 255);
             array[num++] = (byte)(num2 & 255);
         }
     }
     string text2 = Class24.smethod_6(Class24.smethod_5(array), string_2);
     int num3 = (int)text2[0];
     text2 = text2.Substring(1);
     string value = text2.Substring(0, num3);
     text2 = text2.Substring(num3);
     int length = (int)text2[0];
     text2 = text2.Substring(1);
     string value2 = text2.Substring(0, length);
     Class24.class23_0 = new Class23(value, 10);
     Class24.class23_1 = new Class23(value2, 10);
     Class24.smethod_4();
 }
Пример #3
0
 public Class23 method_2()
 {
     Class23 result;
        if ((this.uint_0[499] & 2147483648u) != 0u)
        {
        result = Class23.smethod_14(this);
        }
        else
        {
        result = new Class23(this);
        }
        return result;
 }
Пример #4
0
 private static void smethod_4()
 {
     Class24.class23_2 = new Class23(Class24.smethod_10(), 16);
     Debug.WriteLine(Class24.class23_0);
     Debug.WriteLine(Class24.class23_1);
     Class23 @class = Class24.class23_1.method_5(Class24.class23_2, Class24.class23_0);
     Class23 class2 = new Class23(Class24.smethod_8(Encoding.Default.GetBytes(@class.method_3(10)), Class24.int_0));
     Class24.class23_3 = class2.method_5(Class24.class23_5, Class24.class23_4);
 }
Пример #5
0
 public static Class23[] smethod_30(Class23 class23_0, Class23 class23_1, Class23 class23_2, Class23 class23_3)
 {
     Class23[] result;
        if (class23_2.int_2 == 1 && class23_2.uint_0[0] == 0u)
        {
        result = new Class23[]
        {
            Class23.smethod_2(0),
            Class23.smethod_24(Class23.smethod_2(2), class23_3),
            Class23.smethod_24(Class23.smethod_2(1), class23_3)
        };
        }
        else
        {
        Class23 @class = new Class23();
        int num = class23_3.int_2 << 1;
        @class.uint_0[num] = 1u;
        @class.int_2 = num + 1;
        @class = Class23.smethod_23(@class, class23_3);
        int num2 = 0;
        int i = 0;
        IL_C3:
        while (i < class23_2.int_2)
        {
            uint num3 = 1u;
            for (int j = 0; j < 32; j++)
            {
                if ((class23_2.uint_0[i] & num3) != 0u)
                {
                    i = class23_2.int_2;
                    IL_BD:
                    i++;
                    goto IL_C3;
                }
                num3 = (uint)num3 << 1;
                num2++;
            }
           // goto IL_BD;
        }
        Class23 class23_4 = Class23.smethod_11(class23_2, num2);
        result = Class23.smethod_31(class23_0, class23_1, class23_4, class23_3, @class, num2);
        }
        return result;
 }
Пример #6
0
 public static int smethod_28(Class23 class23_0, Class23 class23_1)
 {
     if ((class23_1.uint_0[0] & 1u) == 0u)
        {
        throw new ArgumentException("Jacobi defined only for odd integers.");
        }
        if (Class23.smethod_19(class23_0, class23_1))
        {
        class23_0 = Class23.smethod_24(class23_0, class23_1);
        }
        int result;
        if (class23_0.int_2 == 1 && class23_0.uint_0[0] == 0u)
        {
        result = 0;
        }
        else
        {
        if (class23_0.int_2 == 1 && class23_0.uint_0[0] == 1u)
        {
            result = 1;
        }
        else
        {
            if (Class23.smethod_18(class23_0, Class23.smethod_2(0)))
            {
                if ((Class23.smethod_6(class23_1, Class23.smethod_2(1)).uint_0[0] & 2u) == 0u)
                {
                    result = Class23.smethod_28(Class23.smethod_14(class23_0), class23_1);
                }
                else
                {
                    result = -Class23.smethod_28(Class23.smethod_14(class23_0), class23_1);
                }
            }
            else
            {
                int num = 0;
                int i = 0;
                IL_10C:
                while (i < class23_0.int_2)
                {
                    uint num2 = 1u;
                    for (int j = 0; j < 32; j++)
                    {
                        if ((class23_0.uint_0[i] & num2) != 0u)
                        {
                            i = class23_0.int_2;
                            IL_108:
                            i++;
                            goto IL_10C;
                        }
                        num2 = (uint)num2 << 1;
                        num++;
                    }
                   // goto IL_108;
                }
                Class23 @class = Class23.smethod_11(class23_0, num);
                int num3 = 1;
                if ((num & 1) != 0 && ((class23_1.uint_0[0] & 7u) == 3u || (class23_1.uint_0[0] & 7u) == 5u))
                {
                    num3 = -1;
                }
                if ((class23_1.uint_0[0] & 3u) == 3u && (@class.uint_0[0] & 3u) == 3u)
                {
                    num3 = -num3;
                }
                if (@class.int_2 == 1 && @class.uint_0[0] == 1u)
                {
                    result = num3;
                }
                else
                {
                    result = num3 * Class23.smethod_28(Class23.smethod_24(class23_1, @class), @class);
                }
            }
        }
        }
        return result;
 }
Пример #7
0
 public static Class23 smethod_24(Class23 class23_0, Class23 class23_1)
 {
     Class23 class23_2 = new Class23();
        Class23 @class = new Class23(class23_0);
        int num = 499;
        bool flag = false;
        if ((class23_0.uint_0[499] & 2147483648u) != 0u)
        {
        class23_0 = Class23.smethod_14(class23_0);
        flag = true;
        }
        if ((class23_1.uint_0[num] & 2147483648u) != 0u)
        {
        class23_1 = Class23.smethod_14(class23_1);
        }
        Class23 result;
        if (Class23.smethod_18(class23_0, class23_1))
        {
        result = @class;
        }
        else
        {
        if (class23_1.int_2 == 1)
        {
            Class23.smethod_22(class23_0, class23_1, class23_2, @class);
        }
        else
        {
            Class23.smethod_21(class23_0, class23_1, class23_2, @class);
        }
        if (flag)
        {
            result = Class23.smethod_14(@class);
        }
        else
        {
            result = @class;
        }
        }
        return result;
 }
Пример #8
0
 public static bool smethod_18(Class23 class23_0, Class23 class23_1)
 {
     int num = 499;
        bool result;
        if ((class23_0.uint_0[499] & 2147483648u) != 0u && (class23_1.uint_0[num] & 2147483648u) == 0u)
        {
        result = true;
        }
        else
        {
        if ((class23_0.uint_0[num] & 2147483648u) == 0u && (class23_1.uint_0[num] & 2147483648u) != 0u)
        {
            result = false;
        }
        else
        {
            int num2 = (class23_0.int_2 > class23_1.int_2) ? class23_0.int_2 : class23_1.int_2;
            num = num2 - 1;
            while (num >= 0 && class23_0.uint_0[num] == class23_1.uint_0[num])
            {
                num--;
            }
            result = (num >= 0 && class23_0.uint_0[num] < class23_1.uint_0[num]);
        }
        }
        return result;
 }
Пример #9
0
 private static void smethod_22(Class23 class23_0, Class23 class23_1, Class23 class23_2, Class23 class23_3)
 {
     uint[] array = new uint[500];
        int num = 0;
        int i;
        for (i = 0; i < 500; i++)
        {
        class23_3.uint_0[i] = class23_0.uint_0[i];
        }
        class23_3.int_2 = class23_0.int_2;
        while (class23_3.int_2 > 1 && class23_3.uint_0[class23_3.int_2 - 1] == 0u)
        {
        class23_3.int_2--;
        }
        ulong num2 = (ulong)class23_1.uint_0[0];
        int num3 = class23_3.int_2 - 1;
        ulong num4 = (ulong)class23_3.uint_0[num3];
        if (num4 >= num2)
        {
        ulong num5 = num4 / num2;
        array[num++] = (uint)num5;
        class23_3.uint_0[num3] = (uint)(num4 % num2);
        }
        num3--;
        while (num3 >= 0)
        {
        num4 = ((uint)((ulong)class23_3.uint_0[num3 + 1]) << 32) + (ulong)class23_3.uint_0[num3];
        ulong num5 = num4 / num2;
        array[num++] = (uint)num5;
        class23_3.uint_0[num3 + 1] = 0u;
        class23_3.uint_0[num3--] = (uint)(num4 % num2);
        }
        class23_2.int_2 = num;
        int j = 0;
        i = class23_2.int_2 - 1;
        while (i >= 0)
        {
        class23_2.uint_0[j] = array[i];
        i--;
        j++;
        }
        while (j < 500)
        {
        class23_2.uint_0[j] = 0u;
        j++;
        }
        while (class23_2.int_2 > 1 && class23_2.uint_0[class23_2.int_2 - 1] == 0u)
        {
        class23_2.int_2--;
        }
        if (class23_2.int_2 == 0)
        {
        class23_2.int_2 = 1;
        }
        while (class23_3.int_2 > 1 && class23_3.uint_0[class23_3.int_2 - 1] == 0u)
        {
        class23_3.int_2--;
        }
 }
Пример #10
0
 private static void smethod_21(Class23 class23_0, Class23 class23_1, Class23 class23_2, Class23 class23_3)
 {
     uint[] array = new uint[500];
        int num = class23_0.int_2 + 1;
        uint[] array2 = new uint[num];
        uint num2 = 2147483648u;
        uint num3 = class23_1.uint_0[class23_1.int_2 - 1];
        int num4 = 0;
        int num5 = 0;
        while (num2 != 0u && (num3 & num2) == 0u)
        {
        num4++;
        num2 >>= 1;
        }
        for (int i = 0; i < class23_0.int_2; i++)
        {
        array2[i] = class23_0.uint_0[i];
        }
        Class23.smethod_10(array2, num4);
        class23_1 = Class23.smethod_9(class23_1, num4);
        int j = num - class23_1.int_2;
        int num6 = num - 1;
        ulong num7 = (ulong)class23_1.uint_0[class23_1.int_2 - 1];
        ulong num8 = (ulong)class23_1.uint_0[class23_1.int_2 - 2];
        int num9 = class23_1.int_2 + 1;
        uint[] array3 = new uint[num9];
        while (j > 0)
        {
        ulong num10 = ((uint)((ulong)array2[num6]) << 32) + (ulong)array2[num6 - 1];
        ulong num11 = num10 / num7;
        ulong num12 = num10 % num7;
        bool flag = false;
        while (!flag)
        {
            flag = true;
            if (num11 == 4294967296uL || num11 * num8 > ((uint)num12 << 32) + (ulong)array2[num6 - 2])
            {
                num11 -= 1uL;
                num12 += num7;
                if (num12 < 4294967296uL)
                {
                    flag = false;
                }
            }
        }
        for (int k = 0; k < num9; k++)
        {
            array3[k] = array2[num6 - k];
        }
        Class23 @class = new Class23(array3);
        Class23 class2 = Class23.smethod_8(class23_1, Class23.smethod_0((long)num11));
        while (Class23.smethod_17(class2, @class))
        {
            num11 -= 1uL;
            class2 = Class23.smethod_6(class2, class23_1);
        }
        Class23 class3 = Class23.smethod_6(@class, class2);
        for (int k = 0; k < num9; k++)
        {
            array2[num6 - k] = class3.uint_0[class23_1.int_2 - k];
        }
        array[num5++] = (uint)num11;
        num6--;
        j--;
        }
        class23_2.int_2 = num5;
        int l = 0;
        int num13 = class23_2.int_2 - 1;
        while (num13 >= 0)
        {
        class23_2.uint_0[l] = array[num13];
        num13--;
        l++;
        }
        while (l < 500)
        {
        class23_2.uint_0[l] = 0u;
        l++;
        }
        while (class23_2.int_2 > 1 && class23_2.uint_0[class23_2.int_2 - 1] == 0u)
        {
        class23_2.int_2--;
        }
        if (class23_2.int_2 == 0)
        {
        class23_2.int_2 = 1;
        }
        class23_3.int_2 = Class23.smethod_12(array2, num4);
        for (l = 0; l < class23_3.int_2; l++)
        {
        class23_3.uint_0[l] = array2[l];
        }
        while (l < 500)
        {
        class23_3.uint_0[l] = 0u;
        l++;
        }
 }
Пример #11
0
 public Class23 method_7(Class23 class23_0)
 {
     Class23 @class;
        if ((this.uint_0[499] & 2147483648u) != 0u)
        {
        @class = Class23.smethod_14(this);
        }
        else
        {
        @class = this;
        }
        Class23 class2;
        if ((class23_0.uint_0[499] & 2147483648u) != 0u)
        {
        class2 = Class23.smethod_14(class23_0);
        }
        else
        {
        class2 = class23_0;
        }
        Class23 class3 = class2;
        while (@class.int_2 > 1 || (@class.int_2 == 1 && @class.uint_0[0] != 0u))
        {
        class3 = @class;
        @class = Class23.smethod_24(class2, @class);
        class2 = class3;
        }
        return class3;
 }
Пример #12
0
 public Class23 method_5(Class23 class23_0, Class23 class23_1)
 {
     if ((class23_0.uint_0[499] & 2147483648u) != 0u)
        {
        throw new ArithmeticException("Positive exponents only.");
        }
        Class23 @class = Class23.smethod_2(1);
        bool flag = false;
        Class23 class2;
        if ((this.uint_0[499] & 2147483648u) != 0u)
        {
        class2 = Class23.smethod_24(Class23.smethod_14(this), class23_1);
        flag = true;
        }
        else
        {
        class2 = Class23.smethod_24(this, class23_1);
        }
        if ((class23_1.uint_0[499] & 2147483648u) != 0u)
        {
        class23_1 = Class23.smethod_14(class23_1);
        }
        Class23 class3 = new Class23();
        int num = class23_1.int_2 << 1;
        class3.uint_0[num] = 1u;
        class3.int_2 = num + 1;
        class3 = Class23.smethod_23(class3, class23_1);
        int num2 = class23_0.method_9();
        int num3 = 0;
        Class23 result;
        for (int i = 0; i < class23_0.int_2; i++)
        {
        uint num4 = 1u;
        int j = 0;
        while (j < 32)
        {
            if ((class23_0.uint_0[i] & num4) != 0u)
            {
                @class = this.method_6(Class23.smethod_8(@class, class2), class23_1, class3);
            }
            num4 = (uint)num4 << 1;
            class2 = this.method_6(Class23.smethod_8(class2, class2), class23_1, class3);
            if (class2.int_2 != 1 || class2.uint_0[0] != 1u)
            {
                num3++;
                if (num3 == num2)
                {
                    break;
                }
                j++;
            }
            else
            {
                if (flag && (class23_0.uint_0[0] & 1u) != 0u)
                {
                    result = Class23.smethod_14(@class);
                    return result;
                }
                result = @class;
                return result;
            }
        }
        }
        if (flag && (class23_0.uint_0[0] & 1u) != 0u)
        {
        result = Class23.smethod_14(@class);
        return result;
        }
        result = @class;
        return result;
 }
Пример #13
0
 public string method_3(int int_3)
 {
     if (int_3 < 2 || int_3 > 36)
        {
        throw new ArgumentException("Radix must be >= 2 and <= 36");
        }
        string text = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        string text2 = "";
        Class23 @class = this;
        bool flag = false;
        if ((@class.uint_0[499] & 2147483648u) != 0u)
        {
        flag = true;
        try
        {
            @class = Class23.smethod_14(@class);
        }
        catch (Exception)
        {
        }
        }
        Class23 class2 = new Class23();
        Class23 class3 = new Class23();
        Class23 class23_ = new Class23((long)int_3);
        if (@class.int_2 == 1 && @class.uint_0[0] == 0u)
        {
        text2 = "0";
        }
        else
        {
        while (@class.int_2 > 1 || (@class.int_2 == 1 && @class.uint_0[0] != 0u))
        {
            Class23.smethod_22(@class, class23_, class2, class3);
            if (class3.uint_0[0] < 10u)
            {
                text2 = class3.uint_0[0] + text2;
            }
            else
            {
                text2 = text[(int)(class3.uint_0[0] - 10u)] + text2;
            }
            @class = class2;
        }
        if (flag)
        {
            text2 = "-" + text2;
        }
        }
        return text2;
 }
Пример #14
0
 public Class23 method_26()
 {
     uint num = (uint)this.method_9();
        if ((num & 1u) != 0u)
        {
        num = (num >> 1) + 1u;
        }
        else
        {
        num >>= 1;
        }
        uint num2 = num >> 5;
        byte b = (byte)(num & 31u);
        Class23 @class = new Class23();
        uint num3;
        if (b == 0)
        {
        num3 = 2147483648u;
        }
        else
        {
        num3 = (uint)(1 << (int)(b & 31));
        num2 += 1u;
        }
        @class.int_2 = (int)num2;
        for (int num4 = (int)(num2 - 1u); num4 >= 0; num4--)
        {
        while (num3 != 0u)
        {
            @class.uint_0[num4] ^= num3;
            if (Class23.smethod_17(@class.method_24(3), this))
            {
                @class.uint_0[num4] ^= num3;
            }
            num3 >>= 1;
        }
        num3 = 2147483648u;
        }
        return @class;
 }
Пример #15
0
 public Class23 method_20(Class23 class23_0)
 {
     Class23[] array = new Class23[]
        {
        Class23.smethod_2(0),
        Class23.smethod_2(1)
        };
        Class23[] array2 = new Class23[2];
        Class23[] array3 = new Class23[]
        {
        Class23.smethod_2(0),
        Class23.smethod_2(0)
        };
        int num = 0;
        Class23 class23_ = class23_0;
        Class23 @class = this;
        while (@class.int_2 > 1 || (@class.int_2 == 1 && @class.uint_0[0] != 0u))
        {
        Class23 class2 = new Class23();
        Class23 class3 = new Class23();
        if (num > 1)
        {
            Class23 class4 = Class23.smethod_24(Class23.smethod_6(array[0], Class23.smethod_8(array[1], array2[0])), class23_0);
            array[0] = array[1];
            array[1] = class4;
        }
        if (@class.int_2 == 1)
        {
            Class23.smethod_22(class23_, @class, class2, class3);
        }
        else
        {
            Class23.smethod_21(class23_, @class, class2, class3);
        }
        array2[0] = array2[1];
        array3[0] = array3[1];
        array2[1] = class2;
        array3[1] = class3;
        class23_ = @class;
        @class = class3;
        num++;
        }
        if (array3[0].int_2 > 1 || (array3[0].int_2 == 1 && array3[0].uint_0[0] != 1u))
        {
        throw new ArithmeticException("No inverse!");
        }
        Class23 class5 = Class23.smethod_24(Class23.smethod_6(array[0], Class23.smethod_8(array[1], array2[0])), class23_0);
        if ((class5.uint_0[499] & 2147483648u) != 0u)
        {
        class5 = Class23.smethod_4(class5, class23_0);
        }
        return class5;
 }
Пример #16
0
 public static Class23 smethod_14(Class23 class23_0)
 {
     Class23 result;
        if (class23_0.int_2 == 1 && class23_0.uint_0[0] == 0u)
        {
        result = new Class23();
        }
        else
        {
        Class23 @class = new Class23(class23_0);
        for (int i = 0; i < 500; i++)
        {
            @class.uint_0[i] = ~class23_0.uint_0[i];
        }
        long num = 1L;
        int num2 = 0;
        while (num != 0L && num2 < 500)
        {
            long num3 = (long)((ulong)@class.uint_0[num2]);
            num3 += 1L;
            @class.uint_0[num2] = (uint)unchecked(num3 & (long)((ulong)-1));
            num = (int)num3 >> 32;
            num2++;
        }
        if ((class23_0.uint_0[499] & 2147483648u) == (@class.uint_0[499] & 2147483648u))
        {
            throw new ArithmeticException("Overflow in negation.\n");
        }
        @class.int_2 = 500;
        while (@class.int_2 > 1 && @class.uint_0[@class.int_2 - 1] == 0u)
        {
            @class.int_2--;
        }
        result = @class;
        }
        return result;
 }
Пример #17
0
 public static bool smethod_16(Class23 class23_0, Class23 class23_1)
 {
     return !class23_0.Equals(class23_1);
 }
Пример #18
0
 private static Class23[] smethod_31(Class23 class23_0, Class23 class23_1, Class23 class23_2, Class23 class23_3, Class23 class23_4, int int_3)
 {
     Class23[] array = new Class23[3];
        if ((class23_2.uint_0[0] & 1u) == 0u)
        {
        throw new ArgumentException("Argument k must be odd.");
        }
        int num = class23_2.method_9();
        uint num2 = (uint)(1 << ((num & 31) - 1 & 31));
        Class23 @class = Class23.smethod_24(Class23.smethod_2(2), class23_3);
        Class23 class2 = Class23.smethod_24(Class23.smethod_2(1), class23_3);
        Class23 class3 = Class23.smethod_24(class23_0, class23_3);
        Class23 class4 = class2;
        bool flag = true;
        for (int i = class23_2.int_2 - 1; i >= 0; i--)
        {
        while (num2 != 0u && (i != 0 || num2 != 1u))
        {
            if ((class23_2.uint_0[i] & num2) != 0u)
            {
                class4 = Class23.smethod_24(Class23.smethod_8(class4, class3), class23_3);
                @class = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(@class, class3), Class23.smethod_8(class23_0, class2)), class23_3);
                class3 = class23_3.method_6(Class23.smethod_8(class3, class3), class23_3, class23_4);
                class3 = Class23.smethod_24(Class23.smethod_6(class3, Class23.smethod_9(Class23.smethod_8(class2, class23_1), 1)), class23_3);
                if (flag)
                {
                    flag = false;
                }
                else
                {
                    class2 = class23_3.method_6(Class23.smethod_8(class2, class2), class23_3, class23_4);
                }
                class2 = Class23.smethod_24(Class23.smethod_8(class2, class23_1), class23_3);
            }
            else
            {
                class4 = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(class4, @class), class2), class23_3);
                class3 = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(@class, class3), Class23.smethod_8(class23_0, class2)), class23_3);
                @class = class23_3.method_6(Class23.smethod_8(@class, @class), class23_3, class23_4);
                @class = Class23.smethod_24(Class23.smethod_6(@class, Class23.smethod_9(class2, 1)), class23_3);
                if (flag)
                {
                    class2 = Class23.smethod_24(class23_1, class23_3);
                    flag = false;
                }
                else
                {
                    class2 = class23_3.method_6(Class23.smethod_8(class2, class2), class23_3, class23_4);
                }
            }
            num2 >>= 1;
        }
        num2 = 2147483648u;
        }
        class4 = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(class4, @class), class2), class23_3);
        @class = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(@class, class3), Class23.smethod_8(class23_0, class2)), class23_3);
        if (flag)
        {
        flag = false;
        }
        else
        {
        class2 = class23_3.method_6(Class23.smethod_8(class2, class2), class23_3, class23_4);
        }
        class2 = Class23.smethod_24(Class23.smethod_8(class2, class23_1), class23_3);
        for (int i = 0; i < int_3; i++)
        {
        class4 = Class23.smethod_24(Class23.smethod_8(class4, @class), class23_3);
        @class = Class23.smethod_24(Class23.smethod_6(Class23.smethod_8(@class, @class), Class23.smethod_9(class2, 1)), class23_3);
        if (flag)
        {
            class2 = Class23.smethod_24(class23_1, class23_3);
            flag = false;
        }
        else
        {
            class2 = class23_3.method_6(Class23.smethod_8(class2, class2), class23_3, class23_4);
        }
        }
        array[0] = class4;
        array[1] = @class;
        array[2] = class2;
        return array;
 }
Пример #19
0
 public static bool smethod_20(Class23 class23_0, Class23 class23_1)
 {
     return Class23.smethod_15(class23_0, class23_1) || Class23.smethod_18(class23_0, class23_1);
 }
Пример #20
0
 private bool method_14(Class23 class23_0)
 {
     long num = 5L;
        long num2 = -1L;
        long num3 = 0L;
        bool flag = false;
        bool result;
        while (!flag)
        {
        int num4 = Class23.smethod_28(Class23.smethod_0(num), class23_0);
        if (num4 != -1)
        {
            if (num4 != 0 || !Class23.smethod_18(Class23.smethod_0(Math.Abs(num)), class23_0))
            {
                if (num3 == 20L)
                {
                    Class23 @class = class23_0.method_25();
                    if (Class23.smethod_15(Class23.smethod_8(@class, @class), class23_0))
                    {
                        result = false;
                        return result;
                    }
                }
                num = (Math.Abs(num) + 2L) * num2;
                num2 = -num2;
                goto IL_82;
            }
            result = false;
            return result;
        }
        flag = true;
        IL_82:
        num3 += 1L;
        }
        long num5 = (int)(1L - num) >> 2;
        Class23 class2 = Class23.smethod_4(class23_0, Class23.smethod_2(1));
        int num6 = 0;
        int i = 0;
        IL_F0:
        while (i < class2.int_2)
        {
        uint num7 = 1u;
        for (int j = 0; j < 32; j++)
        {
            if ((class2.uint_0[i] & num7) != 0u)
            {
                i = class2.int_2;
                IL_EA:
                i++;
                goto IL_F0;
            }
            num7 = (uint)num7 << 1;
            num6++;
        }
       // goto IL_EA;
        continue;
        }
        Class23 class23_ = Class23.smethod_11(class2, num6);
        Class23 class3 = new Class23();
        int num8 = class23_0.int_2 << 1;
        class3.uint_0[num8] = 1u;
        class3.int_2 = num8 + 1;
        class3 = Class23.smethod_23(class3, class23_0);
        Class23[] array = Class23.smethod_31(Class23.smethod_2(1), Class23.smethod_0(num5), class23_, class23_0, class3, 0);
        bool flag2 = false;
        if ((array[0].int_2 == 1 && array[0].uint_0[0] == 0u) || (array[1].int_2 == 1 && array[1].uint_0[0] == 0u))
        {
        flag2 = true;
        }
        for (int j = 1; j < num6; j++)
        {
        if (!flag2)
        {
            array[1] = class23_0.method_6(Class23.smethod_8(array[1], array[1]), class23_0, class3);
            array[1] = Class23.smethod_24(Class23.smethod_6(array[1], Class23.smethod_9(array[2], 1)), class23_0);
            if (array[1].int_2 == 1 && array[1].uint_0[0] == 0u)
            {
                flag2 = true;
            }
        }
        array[2] = class23_0.method_6(Class23.smethod_8(array[2], array[2]), class23_0, class3);
        }
        if (flag2)
        {
        Class23 class4 = class23_0.method_7(Class23.smethod_0(num5));
        if (class4.int_2 == 1 && class4.uint_0[0] == 1u)
        {
            if ((array[2].uint_0[499] & 2147483648u) != 0u)
            {
                Class23[] array2;
                (array2 = array)[2] = Class23.smethod_4(array2[2], class23_0);
            }
            Class23 class5 = Class23.smethod_24(Class23.smethod_0(num5 * (long)Class23.smethod_28(Class23.smethod_0(num5), class23_0)), class23_0);
            if ((class5.uint_0[499] & 2147483648u) != 0u)
            {
                class5 = Class23.smethod_4(class5, class23_0);
            }
            if (Class23.smethod_16(array[2], class5))
            {
                flag2 = false;
            }
        }
        }
        result = flag2;
        return result;
 }
Пример #21
0
 public static Class23 smethod_27(Class23 class23_0, Class23 class23_1)
 {
     Class23 @class = new Class23();
        int num = (class23_0.int_2 > class23_1.int_2) ? class23_0.int_2 : class23_1.int_2;
        for (int i = 0; i < num; i++)
        {
        uint num2 = class23_0.uint_0[i] ^ class23_1.uint_0[i];
        @class.uint_0[i] = num2;
        }
        @class.int_2 = 500;
        while (@class.int_2 > 1 && @class.uint_0[@class.int_2 - 1] == 0u)
        {
        @class.int_2--;
        }
        return @class;
 }
Пример #22
0
 private Class23 method_6(Class23 class23_0, Class23 class23_1, Class23 class23_2)
 {
     int num = class23_1.int_2;
        int num2 = num + 1;
        int num3 = num - 1;
        Class23 @class = new Class23();
        int i = num3;
        int num4 = 0;
        while (i < class23_0.int_2)
        {
        @class.uint_0[num4] = class23_0.uint_0[i];
        i++;
        num4++;
        }
        @class.int_2 = class23_0.int_2 - num3;
        if (@class.int_2 <= 0)
        {
        @class.int_2 = 1;
        }
        Class23 class2 = Class23.smethod_8(@class, class23_2);
        Class23 class3 = new Class23();
        i = num2;
        num4 = 0;
        while (i < class2.int_2)
        {
        class3.uint_0[num4] = class2.uint_0[i];
        i++;
        num4++;
        }
        class3.int_2 = class2.int_2 - num2;
        if (class3.int_2 <= 0)
        {
        class3.int_2 = 1;
        }
        Class23 class4 = new Class23();
        int num5 = (class23_0.int_2 > num2) ? num2 : class23_0.int_2;
        for (i = 0; i < num5; i++)
        {
        class4.uint_0[i] = class23_0.uint_0[i];
        }
        class4.int_2 = num5;
        Class23 class5 = new Class23();
        for (i = 0; i < class3.int_2; i++)
        {
        if (class3.uint_0[i] != 0u)
        {
            ulong num6 = 0uL;
            int num7 = i;
            num4 = 0;
            while (num4 < class23_1.int_2 && num7 < num2)
            {
                ulong num8 = (ulong)class3.uint_0[i] * (ulong)class23_1.uint_0[num4] + (ulong)class5.uint_0[num7] + num6;
                class5.uint_0[num7] = (uint)unchecked(num8 & (ulong)-1);
                num6 = (uint)num8 >> 32;
                num4++;
                num7++;
            }
            if (num7 < num2)
            {
                class5.uint_0[num7] = (uint)num6;
            }
        }
        }
        class5.int_2 = num2;
        while (class5.int_2 > 1 && class5.uint_0[class5.int_2 - 1] == 0u)
        {
        class5.int_2--;
        }
        class4 = Class23.smethod_6(class4, class5);
        if ((class4.uint_0[499] & 2147483648u) != 0u)
        {
        Class23 class6 = new Class23();
        class6.uint_0[num2] = 1u;
        class6.int_2 = num2 + 1;
        class4 = Class23.smethod_4(class4, class6);
        }
        while (Class23.smethod_19(class4, class23_1))
        {
        class4 = Class23.smethod_6(class4, class23_1);
        }
        return class4;
 }
Пример #23
0
 public static Class23 smethod_29(int int_3, int int_4, Class31 class31_0)
 {
     Class23 @class = new Class23();
        bool flag = false;
        while (!flag)
        {
        @class.method_8(int_3, class31_0);
        @class.uint_0[0] |= 1u;
        flag = @class.method_15(int_4);
        }
        return @class;
 }
Пример #24
0
 public Class23(Class23 bi)
 {
     this.uint_0 = new uint[500];
        this.int_2 = bi.int_2;
        for (int i = 0; i < this.int_2; i++)
        {
        this.uint_0[i] = bi.uint_0[i];
        }
 }
Пример #25
0
    private static string smethod_10()
    {
        int i = 10;
        string text = null;
        string text2 = null;
        string text3 = null;
        while (i > 0)
        {
            text = Class24.smethod_9(34);
            Class23 @class = new Class23(text, 16);
            string text4 = Class24.class23_1.method_5(@class, Class24.class23_0).ToString();
            if (text4.Length >= 64)
            {
                text2 = text4;
                text3 = text;
            IL_75:

                string result;
                if (text != text3)
                {
                    result = text3;
                }
                else
                {
                    result = text;
                }
                return result;
            }
            if (text2 == null || text4.Length > text2.Length)
            {
                text2 = text4;
                text3 = text;
            }
            i--;
        }
        string result2;
        if (text != text3)
        {
            result2 = text3;
        }
        else
        {
            result2 = text;
        }
        return result2;
    }
Пример #26
0
 public Class23(string value, int radix)
 {
     Class23 class23_ = new Class23(1L);
        Class23 @class = new Class23();
        value = value.ToUpper().Trim();
        int num = 0;
        if (value[0] == '-')
        {
        num = 1;
        }
        for (int i = value.Length - 1; i >= num; i--)
        {
        int num2 = (int)value[i];
        if (num2 >= 48 && num2 <= 57)
        {
            num2 -= 48;
        }
        else
        {
            if (num2 >= 65 && num2 <= 90)
            {
                num2 = num2 - 65 + 10;
            }
            else
            {
                num2 = 9999999;
            }
        }
        if (num2 >= radix)
        {
            throw new ArithmeticException("Invalid string in constructor.");
        }
        if (value[0] == '-')
        {
            num2 = -num2;
        }
        @class = Class23.smethod_4(@class, Class23.smethod_8(class23_, Class23.smethod_2(num2)));
        if (i - 1 >= num)
        {
            class23_ = Class23.smethod_8(class23_, Class23.smethod_2(radix));
        }
        }
        if (value[0] == '-')
        {
        if ((@class.uint_0[499] & 2147483648u) == 0u)
        {
            throw new ArithmeticException("Negative underflow in constructor.");
        }
        }
        else
        {
        if ((@class.uint_0[499] & 2147483648u) != 0u)
        {
            throw new ArithmeticException("Positive overflow in constructor.");
        }
        }
        this.uint_0 = new uint[500];
        for (int i = 0; i < @class.int_2; i++)
        {
        this.uint_0[i] = @class.uint_0[i];
        }
        this.int_2 = @class.int_2;
 }
Пример #27
0
 public static Class23 smethod_11(Class23 class23_0, int int_3)
 {
     Class23 @class = new Class23(class23_0);
        @class.int_2 = Class23.smethod_12(@class.uint_0, int_3);
        if ((class23_0.uint_0[499] & 2147483648u) != 0u)
        {
        int num;
        for (num = 499; num >= @class.int_2; num--)
        {
            @class.uint_0[num] = 4294967295u;
        }
        uint num2 = 2147483648u;
        num = 0;
        while (num < 32 && (@class.uint_0[@class.int_2 - 1] & num2) == 0u)
        {
            @class.uint_0[@class.int_2 - 1] |= num2;
            num2 >>= 1;
            num++;
        }
        @class.int_2 = 500;
        }
        return @class;
 }
Пример #28
0
 public static Class23 smethod_13(Class23 class23_0)
 {
     Class23 @class = new Class23(class23_0);
        for (int i = 0; i < 500; i++)
        {
        @class.uint_0[i] = ~class23_0.uint_0[i];
        }
        @class.int_2 = 500;
        while (@class.int_2 > 1 && @class.uint_0[@class.int_2 - 1] == 0u)
        {
        @class.int_2--;
        }
        return @class;
 }
Пример #29
0
 public static void smethod_2(string string_2)
 {
     try
     {
         Class24.class25_0 = new Class25();
         Class23 @class = new Class23(string_2, 10);
         string text = @class.method_5(Class24.class23_2, Class24.class23_0).method_3(16).ToLower();
         Class24.class25_0.method_0(Class26.smethod_1(text));
         while (!Class24.class25_0.bool_0)
         {
         }
     }
     catch
     {
         AlertError alertError = new AlertError();
         alertError.method_0("Exploit error", "Try again! Failure exploiting!");
         alertError.ShowDialog();
     }
 }
Пример #30
0
 public Class23 method_19(int int_3, Class31 class31_0)
 {
     bool flag = false;
        Class23 @class = new Class23();
        while (!flag)
        {
        @class.method_8(int_3, class31_0);
        Class23 class2 = @class.method_7(this);
        if (class2.int_2 == 1 && class2.uint_0[0] == 1u)
        {
            flag = true;
        }
        }
        return @class;
 }