コード例 #1
0
    private uint method_7(Stream A_0, bool A_1, out int A_2)
    {
        bool flag;

        A_2 = 0;
        if (A_0.Length == 0L)
        {
            return(0xfffffffe);
        }
        Class916 class2 = (flag = this.class522_0.method_2(A_0.Length) || A_1) ? this.class917_0 : this.class916_0;
        Stream   stream = flag ? this.stream_0 : this.memoryStream_0;
        int      num3   = flag ? 0x200 : 0x40;
        uint     num    = Class967.smethod_1(stream.Position, flag);

        A_0.Position = 0L;
        Class567.smethod_8(A_0, stream);
        Class567.smethod_6(stream, num3);
        A_2 = Class567.smethod_4(A_0.Length, num3);
        for (uint i = 1; i < ((long)A_2); i++)
        {
            class2.method_5(num + i);
        }
        class2.method_5(0xfffffffe);
        return(num);
    }
コード例 #2
0
    private void method_4(Stream A_0)
    {
        BinaryReader reader = this.method_5();

        if (reader != null)
        {
            Class555 class2 = new Class555(reader);
            if (class2.int_1 == 2)
            {
                switch (class2.int_2)
                {
                case 1:
                case 2:
                    return;

                case 3:
                {
                    byte[] buffer = new byte[class2.int_3];
                    reader.Read(buffer, 0, buffer.Length);
                    A_0.Write(buffer, 0, buffer.Length);
                    return;
                }
                }
            }
            else
            {
                this.method_9().Position = 4L;
                Class567.smethod_8(this.method_9(), A_0);
            }
        }
    }
コード例 #3
0
 public void method_0(string A_0)
 {
     using (Stream stream = File.Create(A_0))
     {
         this.memoryStream_0.Position = 0L;
         Class567.smethod_8(this.memoryStream_0, stream);
         this.memoryStream_0.Position = 0L;
     }
 }
コード例 #4
0
    public static int smethod_4(Stream A_0, MemoryStream A_1, CompressionMethod A_2)
    {
        int position = (int)A_1.Position;

        using (Stream stream = smethod_6(A_2, A_1, CompressionMode.Compress))
        {
            Class567.smethod_8(A_0, stream);
        }
        return(((int)A_1.Position) - position);
    }
コード例 #5
0
    private void method_6(Stream A_0, string A_1)
    {
        int          num    = 7;
        MemoryStream stream = null;
        Class1089    class2 = null;

        if (A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ樸区堼娾㕀浂組", 7)))
        {
            Stream stream2 = this.class1089_0[BookmarkStart.b("稬䀮䌰堲圴堶嘸债", num)] as MemoryStream;
            Class627.smethod_9(stream2);
        }
        else if (A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ樸区堼娾㕀浂瑄畆", num)))
        {
            stream = new MemoryStream();
            Class627.smethod_8(this.class1089_0[BookmarkStart.b("紬丮到堲吴倶尸", num)] as MemoryStream, stream);
        }
        else if (!A_1.StartsWith(BookmarkStart.b("稬䀮䌰圲᬴猶嘸堺䠼刾⑀ⵂㅄ楆硈祊", num)) && !A_1.StartsWith(BookmarkStart.b("紬䀮䘰嘲䜴朶嘸刺匼䬾潀၂ⵄ⡆㹈敊籌絎", num)))
        {
            if ((!A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ瘸䬺堼儾Հⱂ♄㉆⑈⹊⍌㭎ɐ⍒❔㉖㡘㽚⹜㝞Ѡ٢ᅤ", num)) && !A_1.StartsWith(BookmarkStart.b("稬䀮䌰圲᬴砶䤸帺匼笾⹀⁂い⩆ⱈ╊㥌᭎㑐⭒⅔", num))) && !A_1.StartsWith(BookmarkStart.b("紬䀮䘰嘲䜴朶嘸刺匼䬾潀ూ㕄≆❈ཊ≌ⱎ⑐㹒ご㥖ⵘ୚⽜㩞በ٢୤፦ࡨὪѬnὰ", num)))
            {
                if (A_1.StartsWith(BookmarkStart.b("戬娮䔰弲娴堶券ᔺ笼嘾ⵀ♂ф㍆㵈⩊⹌❎", num)))
                {
                    stream = this.class1089_0[BookmarkStart.b("氬嬮䔰刲嘴弶稸吺匼䬾⑀ⵂㅄ㑆", num)] as MemoryStream;
                }
                else if (A_1.StartsWith(BookmarkStart.b("氬䰮䌰尲瀴伶娸区ጼ笾⹀⁂い⩆ⱈ╊㥌", num)))
                {
                    stream = this.class1089_0[BookmarkStart.b("測怮缰朲瀴礶洸栺", num)] as MemoryStream;
                }
                else if (A_1.StartsWith(BookmarkStart.b("怬丮堰弲破䐶常稺䤼䬾", num)) || A_1.StartsWith(BookmarkStart.b("戬娮䔰弲娴堶券ᔺ瀼䰾♀ɂㅄ㍆⡈⡊╌", num)))
                {
                    class2 = this.class1089_0[BookmarkStart.b("怬渮愰稲破制䨸䠺尼堾⑀", num)] as Class1089;
                }
            }
            else
            {
                stream = this.class1089_0[BookmarkStart.b("栬䈮匰嘲儴匶尸强爼嬾❀", num)] as MemoryStream;
            }
        }
        else
        {
            stream = this.class1089_0[BookmarkStart.b("紬丮到堲吴倶尸", num)] as MemoryStream;
        }
        if (stream != null)
        {
            stream.Position = 0L;
            Class567.smethod_8(stream, A_0);
        }
        else
        {
            smethod_0(A_0, (class2 != null) ? class2 : this.class1089_0);
        }
    }
コード例 #6
0
    internal void method_6(Stream A_0)
    {
        int num = 0x11;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䐶䴸䤺堼帾ⱀ", num));
        }
        using (Stream stream = this.method_4())
        {
            Class567.smethod_8(stream, A_0);
        }
    }
コード例 #7
0
    public static byte[] smethod_1(Stream A_0, int A_1, CompressionMethod A_2)
    {
        if (A_1 == 0)
        {
            A_1 = (int)A_0.Length;
        }
        MemoryStream stream2 = new MemoryStream(A_1);

        using (Stream stream = smethod_6(A_2, A_0, CompressionMode.Decompress))
        {
            Class567.smethod_8(stream, stream2);
        }
        return(stream2.ToArray());
    }
コード例 #8
0
    internal override void vmethod_2(Stream A_0, string A_1)
    {
        int num = 5;

        if ((((this.string_1 == BookmarkStart.b("䨪崬弮崰娲嘴嘶䴸刺刼儾湀㕂⭄⍆杈⑊㵌⩎㽐⭒㡔㭖㽘㑚⽜㉞`ᝢᙤ䩦٨൪୬ٮተᙲᅴᡶ᩸๺ၼ᩾ꮄ麗力ﶔﲘ辠킢춤슦첨\udfaa", 5)) || (this.string_1 == BookmarkStart.b("䨪崬弮崰娲嘴嘶䴸刺刼儾湀㕂⭄⍆杈♊㹌扎㑐⭒㙔㉖㕘畚⹜㝞Ѡ٢ᅤ䥦Ѩ੪๬ᵮṰ㙲᭴ᙶ᭸᝺᡼᭾꾀늂랄", num))) || (this.string_1 == BookmarkStart.b("䨪崬弮崰娲嘴嘶䴸刺刼儾湀㕂⭄⍆杈⑊㵌⩎㽐⭒㡔㭖㽘㑚⽜㉞`ᝢᙤ䩦٨൪୬ٮተᙲᅴᡶ᩸๺ၼ᩾ꮄ麗力ﶔﲘ辠힢삤쪦\ud9a8\uc7aa첬\udbae\ud4b0", num))) || (this.string_1 == BookmarkStart.b("䨪崬弮崰娲嘴嘶䴸刺刼儾湀㕂⭄⍆杈♊㹌扎㑐⭒㙔㉖㕘畚⥜㩞ౠ።।٦ᵨ๪䍬ɮၰၲݴᡶ㱸ᕺᱼᵾꦆ뢈릊", num)))
        {
            Class627.smethod_8(this.stream_0, A_0);
        }
        else
        {
            this.stream_0.Position = 0L;
            Class567.smethod_8(this.stream_0, A_0);
        }
    }
コード例 #9
0
    public void method_7(string A_0)
    {
        Stream stream = File.Create(A_0);

        try
        {
            this.stream_0.Position = 0L;
            Class567.smethod_8(this.stream_0, stream);
            this.stream_0.Position = 0L;
        }
        finally
        {
            this.stream_0.Close();
        }
    }
コード例 #10
0
    public static Stream smethod_1(string A_0)
    {
        if (!Class736.smethod_5(A_0))
        {
            return(File.OpenRead(A_0));
        }
        WebResponse  response = WebRequest.Create(A_0).GetResponse();
        MemoryStream stream   = new MemoryStream();

        using (Stream stream2 = response.GetResponseStream())
        {
            Class567.smethod_8(stream2, stream);
        }
        stream.Position = 0L;
        return(stream);
    }
コード例 #11
0
    internal Class426(BinaryReader A_0)
    {
        int          num    = 8;
        MemoryStream stream = new MemoryStream();

        Class567.smethod_8(A_0.BaseStream, stream);
        Class394 class2 = new Class394(stream);
        string   str    = class2.method_1();

        while (class2.method_9(str))
        {
            string str2 = class2.method_1();
            if (str2 == null)
            {
                goto Label_00DB;
            }
            if (str2 != BookmarkStart.b("䔭唯䬱瀳圵䰷嬹", num))
            {
                if (!(str2 == BookmarkStart.b("䨭儯䘱唳缵嘷丹夻夽㈿⭁ぃ㽅", num)))
                {
                    if (!(str2 == BookmarkStart.b("䔭唯䬱焳堵嬷䠹䔻丽㐿ⵁ㙃㕅", num)) && !(str2 == BookmarkStart.b("䔭唯䬱焳堵嬷䠹䔻丽㐿ⵁ㙃", num)))
                    {
                        if (!(str2 == BookmarkStart.b("䬭帯儱䘳伵䠷丹夻娽ି❁㵃", num)))
                        {
                            goto Label_00DB;
                        }
                        this.class425_0 = new Class425(class2);
                    }
                }
                else
                {
                    this.method_11(class2);
                }
            }
            else
            {
                this.method_10(class2);
            }
        }
        return;

Label_00DB:
        throw new InvalidOperationException(BookmarkStart.b("笭帯失娳夵伷吹᰻䨽ℿ╁摃⡅⥇❉⥋恍", num));
    }
コード例 #12
0
    public static void smethod_3(Stream A_0, Stream A_1, ICryptoTransform A_2)
    {
        CryptoStream stream = new CryptoStream(A_0, A_2, CryptoStreamMode.Read);

        Class567.smethod_8(stream, A_1);
    }