Exemplo n.º 1
0
    internal void method_4(Interface61 A_0)
    {
        int num = 0x11;

        if (A_0.imethod_3(BookmarkStart.b("㘶瘸场堼", 0x11)))
        {
            Stream1 stream = A_0.imethod_0(BookmarkStart.b("㘶瘸场堼", num));
            this.class365_0 = new Class365(stream);
            stream.Flush();
            stream.Close();
        }
        if (A_0.imethod_3(BookmarkStart.b("㐶瘸夺圼瘾⽀╂⩄", num)))
        {
            Stream1 stream2 = A_0.imethod_0(BookmarkStart.b("㐶瘸夺圼瘾⽀╂⩄", num));
            this.class371_0 = new Class371(stream2);
            stream2.Flush();
            stream2.Close();
        }
        if (A_0.imethod_3(BookmarkStart.b("㘶稸吺值伾เ⅂⽄", num)))
        {
            Stream1 stream5 = A_0.imethod_0(BookmarkStart.b("㘶稸吺值伾เ⅂⽄", num));
            this.class369_0 = new Class369(stream5);
            stream5.Flush();
            stream5.Close();
        }
        if (A_0.imethod_3(BookmarkStart.b("㐶甸刺匼吾ࡀⵂ⍄⡆", num)))
        {
            Stream1 stream4 = A_0.imethod_0(BookmarkStart.b("㐶甸刺匼吾ࡀⵂ⍄⡆", num));
            this.class368_0 = new Class368(stream4);
            stream4.Flush();
            stream4.Close();
        }
        if (A_0.imethod_3(BookmarkStart.b("㘶瘸场堼฾煀ൂ⑄㍆⁈㵊⡌", num)))
        {
            Stream1 stream3 = A_0.imethod_0(BookmarkStart.b("㘶瘸场堼฾煀ൂ⑄㍆⁈㵊⡌", num));
            byte[]  buffer  = new byte[stream3.Length];
            stream3.Read(buffer, 0, buffer.Length);
            if (buffer.Length > 0)
            {
                if (this.method_1() == OleObjectType.Package)
                {
                    this.byte_0 = this.method_7(buffer);
                }
                else
                {
                    int num2 = 0;
                    int num3 = Class364.smethod_1(buffer, ref num2);
                    this.byte_0 = Class364.smethod_5(buffer, num3, ref num2);
                }
            }
            stream3.Flush();
            stream3.Close();
        }
        else
        {
            this.byte_0 = this.method_5(A_0);
        }
    }
Exemplo n.º 2
0
    internal EncrytionType method_0(Interface61 A_0)
    {
        int           num  = 13;
        EncrytionType none = EncrytionType.None;

        if (!A_0.imethod_3(BookmarkStart.b("瘲嬴吶䬸䈺䴼䬾⡀ⱂ⭄ๆ❈ⵊ≌", 13)) || !A_0.imethod_7(BookmarkStart.b("㔲焴嘶䴸娺渼伾⁀⁂⁄㑆", num)))
        {
            return(none);
        }
        using (Stream stream = A_0.imethod_0(BookmarkStart.b("瘲嬴吶䬸䈺䴼䬾⡀ⱂ⭄ๆ❈ⵊ≌", num)))
        {
            byte[] buffer = new byte[4];
            int    num2   = this.method_1(stream, buffer);
            stream.Position = 0L;
            switch (num2)
            {
            case 0x20003:
            case 0x20004:
                return(EncrytionType.Standard);
            }
            if (num2 == 0x40004)
            {
                none = EncrytionType.Agile;
            }
            return(none);
        }
    }