internal bool method_2(string A_0)
    {
        Class709 class2 = this.class540_0.method_7();

        this.byte_0 = this.method_3(A_0, class2);
        return(this.byte_0 != null);
    }
 private byte[] method_3(string A_0, Class709 A_1)
 {
     byte[] buffer  = A_1.method_0();
     byte[] buffer2 = this.class299_0.method_7(A_0, buffer, 0x10);
     byte[] buffer3 = this.method_4(A_1.method_2(), buffer2);
     this.method_4(A_1.method_4(), buffer2);
     new SHA1Managed().ComputeHash(buffer3);
     return(buffer2);
 }
 internal Class540(Stream A_0)
 {
     this.class494_0 = new Class494();
     this.class709_0 = new Class709();
     this.class299_0 = new Class299();
     byte[] buffer = new byte[4];
     this.int_0 = this.class299_0.method_1(A_0, buffer);
     if (this.method_3() == 2)
     {
         this.int_1 = this.class299_0.method_1(A_0, buffer);
         this.class494_0.method_22(A_0);
         this.class709_0.method_8(A_0);
     }
     else
     {
         this.class709_0.method_9(A_0, true);
     }
 }
Exemple #4
0
    internal bool method_0(string A_0)
    {
        Class709 class2 = this.class540_0.method_7();
        IntPtr   ptr    = this.method_2(A_0, class2.method_0(), 0, this.class540_0.method_6().method_12());

        byte[] buffer  = this.method_1(ptr, class2.method_2());
        byte[] buffer2 = this.method_1(ptr, class2.method_4());
        Class946.CryptDestroyKey(ptr);
        byte[] buffer3 = new SHA1Managed().ComputeHash(buffer);
        int    index   = 0;
        int    length  = buffer2.Length;

        while (index < length)
        {
            if (buffer2[index] != buffer3[index])
            {
                return(false);
            }
            index++;
        }
        return(true);
    }
Exemple #5
0
    private byte[] method_6(Interface61 A_0, string A_1)
    {
        int num = 0;

        byte[] buffer  = this.method_7(0x10);
        byte[] buffer2 = this.class299_0.method_7(A_1, buffer, 0x10);
        byte[] buffer3 = this.method_7(0x10);
        SHA1   sha     = new SHA1Managed();

        using (Stream1 stream = A_0.imethod_2(BookmarkStart.b("挥䘧䤩師圭䀯䘱崳夵嘷猹刻堽⼿", 0)))
        {
            Class540 class2 = new Class540();
            class2.method_1(0x20003);
            class2.method_5(0x24);
            Class494 class3 = class2.method_6();
            class3.method_1(0x24);
            class3.method_9(0x660e);
            class3.method_11(0x8004);
            class3.method_13(0x80);
            class3.method_15(0x18);
            class3.method_17(0);
            class3.method_19(0);
            class3.method_21(BookmarkStart.b("欥䄧䤩師䄭䌯崱刳䈵ᠷ缹刻嘽ℿⱁ❃⍅ⱇ橉ṋᵍᅏ牑㕓㡕㱗穙ᵛ᭝㍟䉡❣ᑥᅧᩩᡫŭᝯqᕳٵၷ፹ύ幽큿ﲍ낏몑쒓\ud99f\ud2a1솣辥", num));
            Class709 class4 = class2.method_7();
            class4.method_1(buffer);
            class4.method_3(this.method_8(buffer3, buffer2));
            byte[] buffer4 = sha.ComputeHash(buffer3);
            int    num2    = buffer4.Length % 0x10;
            class4.method_7(buffer4.Length);
            if (num2 != 0)
            {
                buffer4 = this.class299_0.method_12(buffer4, new byte[0x10 - num2]);
            }
            class4.method_5(this.method_8(buffer4, buffer2));
            class2.method_8(stream);
        }
        return(buffer2);
    }
Exemple #6
0
    private MemoryStream method_17(MemoryStream A_0)
    {
        byte[]       buffer = new byte[0x10];
        MemoryStream stream = new MemoryStream();
        long         length = A_0.Length;
        int          num2   = 0;

        A_0.Position = 0L;
        uint num3 = 0;

        using (Class945 class2 = new Class945(this.class540_0))
        {
            Class709 class3 = this.class540_0.method_7();
            Class494 class4 = this.class540_0.method_6();
            IntPtr   ptr    = class2.method_2(this.string_0, class3.method_0(), num3, class4.method_12());
            while (num2 < length)
            {
                for (int i = A_0.Read(buffer, 0, 0x10); i < 0x10; i++)
                {
                    buffer[i] = 1;
                }
                buffer = class2.method_1(ptr, buffer);
                stream.Write(buffer, 0, 0x10);
                num2 += 0x10;
                if ((num2 % 0x200) == 0)
                {
                    num3++;
                    Class946.CryptDestroyKey(ptr);
                    ptr = class2.method_2(this.string_0, class3.method_0(), num3, class4.method_12());
                }
            }
            Class946.CryptDestroyKey(ptr);
        }
        stream.Position = 0L;
        return(stream);
    }
 internal Class540()
 {
     this.class494_0 = new Class494();
     this.class709_0 = new Class709();
     this.class299_0 = new Class299();
 }