Exemplo n.º 1
0
    internal void method_12(string A_0)
    {
        this.byte_0 = Guid.NewGuid().ToByteArray();
        this.method_19(A_0);
        this.method_26();
        Buffer.BlockCopy(this.byte_0, 0, this.byte_1, 0, 0x10);
        this.byte_1[0x10] = 0x80;
        Array.Clear(this.byte_1, 0x11, 0x2f);
        this.byte_1[0x38] = 0x80;
        Class611 class2 = new Class611();

        class2.method_4(this.byte_1, 0x40);
        class2.method_6();
        Buffer.BlockCopy(class2.method_3(), 0, this.byte_2, 0, 0x10);
        this.method_21(0);
        this.method_27(this.byte_1, 0x10);
        this.method_27(this.byte_2, 0x10);
        this.memoryStream_0          = this.method_15(this.memoryStream_0);
        this.memoryStream_0.Position = 0L;
        this.memoryStream_0.WriteByte(1);
        this.memoryStream_0.WriteByte(0);
        this.memoryStream_0.WriteByte(1);
        this.memoryStream_0.WriteByte(0);
        this.memoryStream_0.Write(this.byte_0, 0, 0x10);
        this.memoryStream_0.Write(this.byte_1, 0, 0x10);
        this.memoryStream_0.Write(this.byte_2, 0, 0x10);
        this.memoryStream_2 = this.method_15(this.memoryStream_2);
        if (this.memoryStream_1 != null)
        {
            this.memoryStream_1 = this.method_15(this.memoryStream_1);
        }
        this.method_14();
    }
Exemplo n.º 2
0
    private bool method_23()
    {
        this.method_26();
        this.method_21(0);
        this.method_27(this.byte_1, 0x10);
        this.method_27(this.byte_2, 0x10);
        this.byte_1[0x10] = 0x80;
        Array.Clear(this.byte_1, 0x11, 0x2f);
        this.byte_1[0x38] = 0x80;
        Class611 class2 = new Class611();

        class2.method_4(this.byte_1, 0x40);
        class2.method_6();
        return(this.method_22(class2.method_3(), this.byte_2, 0x10));
    }
Exemplo n.º 3
0
    private void method_21(uint A_0)
    {
        Class611 class2 = new Class611();

        byte[] dst = new byte[0x40];
        Buffer.BlockCopy(this.class611_0.method_3(), 0, dst, 0, 5);
        dst[5]    = (byte)(A_0 & 0xff);
        dst[6]    = (byte)((A_0 >> 8) & 0xff);
        dst[7]    = (byte)((A_0 >> 0x10) & 0xff);
        dst[8]    = (byte)((A_0 >> 0x18) & 0xff);
        dst[9]    = 0x80;
        dst[0x38] = 0x48;
        class2.method_4(dst, 0x40);
        class2.method_6();
        this.method_20(class2.method_3());
    }
Exemplo n.º 4
0
    private void method_26()
    {
        Class611 class2 = new Class611();

        class2.method_4(this.byte_3, 0x40);
        class2.method_6();
        this.class611_0 = new Class611();
        int dstOffset = 0;
        int srcOffset = 0;
        int count     = 5;

        while (dstOffset != 0x10)
        {
            if ((0x40 - dstOffset) < 5)
            {
                count = 0x40 - dstOffset;
            }
            Buffer.BlockCopy(class2.method_3(), srcOffset, this.byte_3, dstOffset, count);
            dstOffset += count;
            if (dstOffset == 0x40)
            {
                this.class611_0.method_4(this.byte_3, 0x40);
                srcOffset = count;
                count     = 5 - count;
                dstOffset = 0;
            }
            else
            {
                srcOffset = 0;
                count     = 5;
                Buffer.BlockCopy(this.byte_0, 0, this.byte_3, dstOffset, 0x10);
                dstOffset += 0x10;
            }
        }
        this.byte_3[0x10] = 0x80;
        Array.Clear(this.byte_3, 0x11, 0x2f);
        this.byte_3[0x38] = 0x80;
        this.byte_3[0x39] = 10;
        this.class611_0.method_4(this.byte_3, 0x40);
        this.class611_0.method_6();
    }
Exemplo n.º 5
0
    public void method_8(ref MemoryStream A_0, string A_1, ref byte[] A_2, ref byte[] A_3, ref byte[] A_4)
    {
        this.byte_0 = A_2;
        this.method_19(A_1);
        this.method_26();
        Buffer.BlockCopy(this.byte_0, 0, this.byte_1, 0, 0x10);
        this.byte_1[0x10] = 0x80;
        Array.Clear(this.byte_1, 0x11, 0x2f);
        this.byte_1[0x38] = 0x80;
        Class611 class2 = new Class611();

        class2.method_4(this.byte_1, 0x40);
        class2.method_6();
        Buffer.BlockCopy(class2.method_3(), 0, this.byte_2, 0, 0x10);
        this.method_21(0);
        this.method_27(this.byte_1, 0x10);
        this.method_27(this.byte_2, 0x10);
        A_0 = this.method_15(A_0);
        A_2 = this.byte_0;
        A_3 = this.byte_1;
        A_4 = this.byte_2;
    }