Example #1
0
 private static void smethod_2(string A_0, Interface61 A_1)
 {
     foreach (string str2 in A_1.imethod_9())
     {
         smethod_3(A_0, str2, A_1);
     }
     foreach (string str3 in A_1.imethod_10())
     {
         string path = Path.Combine(A_0, str3);
         Directory.CreateDirectory(path);
         using (Interface61 interface2 = A_1.imethod_5(str3))
         {
             smethod_2(path, interface2);
         }
     }
 }
Example #2
0
    private void method_5(Interface61 A_0)
    {
        int num = 7;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("弬䀮帰䜲", num));
        }
        using (Interface61 interface2 = A_0.imethod_4(BookmarkStart.b("⬬欮倰䜲吴搶䤸娺帼娾㉀", num)))
        {
            this.method_8(interface2);
            this.method_7(interface2);
            this.method_6(interface2);
            this.method_9(interface2);
        }
    }
Example #3
0
    private int method_6(Interface61 A_0)
    {
        int num    = 0x10;
        int num2   = 0;
        int index  = 0;
        int length = A_0.imethod_9().Length;

        while (index < length)
        {
            string str = A_0.imethod_9().GetValue(index).ToString();
            if ((((str != BookmarkStart.b("㜵眷嘹夻", num)) && (str != BookmarkStart.b("㔵眷堹嘻眽⸿⑁⭃", num))) && ((str != BookmarkStart.b("㜵笷唹儻丽༿⁁⹃", num)) && (str != BookmarkStart.b("㔵琷匹刻唽िⱁ≃⥅", num)))) && (((str != BookmarkStart.b("㜵眷嘹夻༽瀿ు╃㉅ⅇ㱉⥋", num)) && (str != BookmarkStart.b("㔵紷樹渻眽฿ᙁ", num))) && (str != BookmarkStart.b("㐵眷嘹夻渽㈿❁㝃癅硇穉", num))))
            {
                num2++;
            }
            index++;
        }
        return(num2);
    }
Example #4
0
    private byte[] method_14(MemoryStream A_0, DocOleObject A_1, string A_2)
    {
        Class1004   class2     = new Class1004(A_0);
        Interface61 interface2 = class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("愭刯報儳唵䰷樹医儽ⰿ", 8));
        Class1004   class3     = new Class1004();

        class3.Interface51.imethod_0().imethod_12(interface2);
        Interface61 interface3 = class3.Interface51.imethod_0().imethod_5(BookmarkStart.b("愭刯報儳唵䰷樹医儽ⰿ", 8));

        if (interface2.imethod_7(A_2))
        {
            interface3 = interface3.imethod_5(A_2);
        }
        else
        {
            interface3 = interface3.imethod_4(A_2);
        }
        class2.System.IDisposable.Dispose();
        foreach (Class297 class5 in class3.Interface51.imethod_1().method_0())
        {
            if (A_1.dictionary_0.ContainsKey(class5.method_0()))
            {
                class5.method_13(A_1.dictionary_0[class5.method_0()]);
            }
        }
        A_1.dictionary_0.Clear();
        Class1004 class4 = new Class1004(A_1.stream_1);

        A_1.stream_1.Position = 0L;
        for (int i = 0; i < class4.Interface51.imethod_0().imethod_9().Length; i++)
        {
            Stream1 stream  = class4.Interface51.imethod_0().imethod_0(class4.Interface51.imethod_0().imethod_9()[i]);
            Stream1 stream2 = interface3.imethod_2(class4.Interface51.imethod_0().imethod_9()[i]);
            stream.vmethod_0(stream2);
            stream2.Flush();
            stream2.Close();
            stream.Close();
        }
        class4.System.IDisposable.Dispose();
        class3.Interface51.imethod_2();
        byte[] buffer = (class3.method_4() as MemoryStream).ToArray();
        class3.System.IDisposable.Dispose();
        return(buffer);
    }
Example #5
0
    internal void method_2(Interface61 A_0)
    {
        int num = 0;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("唥尧䔩師伭圯圱", num));
        }
        this.interface61_0 = A_0;
        using (Stream stream = A_0.imethod_0(BookmarkStart.b("挥䘧䤩師圭䀯䘱崳夵嘷猹刻堽⼿", num)))
        {
            this.class62_0 = new Class62(stream);
        }
        using (Interface61 interface2 = A_0.imethod_5(BookmarkStart.b("‥氧䬩堫伭振䈱唳唵崷䤹", num)))
        {
            this.method_7(interface2);
            this.method_6(interface2);
        }
    }
Example #6
0
    internal void method_1(Interface61 A_0)
    {
        int num = 11;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䈰䜲娴䔶堸尺堼", num));
        }
        this.interface61_0 = A_0;
        using (Stream stream = A_0.imethod_0(BookmarkStart.b("琰崲嘴䔶䀸䬺䤼嘾⹀ⵂౄ⥆⽈⑊", num)))
        {
            this.class540_0 = new Class540(stream);
        }
        using (Interface61 interface2 = A_0.imethod_5(BookmarkStart.b("㜰眲吴䌶堸栺䴼帾≀♂㙄", num)))
        {
            this.method_6(interface2);
            this.method_5(interface2);
        }
    }
Example #7
0
 private static void smethod_3(string A_0, string A_1, Interface61 A_2)
 {
     byte[] buffer = new byte[0x8000];
     using (Stream stream = A_2.imethod_0(A_1))
     {
         if (A_1[0] < ' ')
         {
             A_1 = A_1.Substring(1);
         }
         using (FileStream stream2 = new FileStream(Path.Combine(A_0, A_1), FileMode.Create, FileAccess.Write, FileShare.None))
         {
             int num;
             while ((num = stream.Read(buffer, 0, 0x8000)) > 0)
             {
                 stream2.Write(buffer, 0, num);
             }
         }
     }
 }
Example #8
0
    private void method_1(Stream A_0, Interface61 A_1, string A_2)
    {
        SHA1 sha = new SHA1Managed();

        using (Stream1 stream = A_1.imethod_2(BookmarkStart.b("欭帯儱䘳伵䠷丹唻儽⸿ୁ⩃⁅❇", 8)))
        {
            Class62 class2 = new Class62();
            class2.method_1(0x40004);
            class2.method_3(0x40);
            Class187 class3 = class2.method_4().method_0();
            this.method_3(class3);
            class3.method_15(this.method_10(class3.method_0()));
            Class190 class4 = class2.method_4().method_4().method_0();
            this.method_4(class4);
            class4.method_17(this.method_10(class4.method_2()));
            byte[] buffer  = this.method_10(class4.method_2());
            byte[] buffer2 = new byte[] { 0xfe, 0xa7, 210, 0x76, 0x3b, 0x4b, 0x9e, 0x79 };
            byte[] buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer2, class4.method_6() >> 3, class4.method_0());
            class4.method_19(this.method_11(buffer, class4.method_4(), buffer3, class4.method_16()));
            byte[] buffer4 = new byte[] { 0xd7, 170, 15, 0x6d, 0x30, 0x61, 0x34, 0x4e };
            buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer4, class4.method_6() >> 3, class4.method_0());
            class4.method_21(this.method_11(sha.ComputeHash(buffer), class4.method_4(), buffer3, class4.method_16()));
            byte[] buffer5 = this.method_10(class3.method_4() / 8);
            byte[] buffer6 = new byte[] { 20, 110, 11, 0xe7, 0xab, 0xac, 0xd0, 0xd6 };
            buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer6, class4.method_6() >> 3, class4.method_0());
            class4.method_23(this.method_11(buffer5, class4.method_4(), buffer3, class4.method_16()));
            Class188 class5  = class2.method_4().method_2();
            byte[]   buffer7 = new byte[] { 0x5f, 0xb2, 0xad, 1, 12, 0xb9, 0xe1, 0xf6 };
            byte[]   buffer8 = sha.ComputeHash(this.class299_0.method_12(class3.method_14(), buffer7));
            buffer8 = this.class299_0.method_13(buffer8, class3.method_2(), 0);
            byte[] buffer9 = this.method_10(class3.method_6());
            class5.method_1(this.method_11(buffer9, class3.method_2(), buffer5, buffer8));
            byte[]   buffer10 = this.method_2(A_0, A_1, class3, buffer5);
            HMACSHA1 hmacsha  = new HMACSHA1 {
                Key = this.class299_0.method_13(buffer9, class3.method_6(), 0)
            };
            byte[] buffer11 = new byte[] { 160, 0x67, 0x7f, 2, 0xb2, 0x2c, 0x84, 0x33 };
            byte[] buffer12 = sha.ComputeHash(this.class299_0.method_12(class3.method_14(), buffer11));
            buffer12 = this.class299_0.method_13(buffer12, class3.method_2(), 0);
            class5.method_3(this.method_11(hmacsha.ComputeHash(buffer10), class3.method_2(), buffer5, buffer12));
            class2.method_5(stream);
        }
    }
Example #9
0
    public void imethod_12(Interface61 A_0)
    {
        int       num    = 9;
        Class1005 class2 = A_0 as Class1005;

        if (class2 == null)
        {
            throw new NotImplementedException(BookmarkStart.b("氮帰䌲䰴帶圸尺ᴼ崾⑀㝂㉄≆ⱈ╊浌⭎㡐㕒㍔㉖⭘㹚㍜⭞䅠ၢᅤࡦ᭨੪੬੮兰ݲ౴ݶᱸࡺ嵼ᙾꎂﶈꮊメ殺ﲘ爵얠", num));
        }
        string str = A_0.imethod_11();

        if (this.imethod_7(str))
        {
            this.Interface61.imethod_6(str);
        }
        using (Class1005 class3 = this.imethod_4(str) as Class1005)
        {
            class2.interface40_0.imethod_4(0, IntPtr.Zero, IntPtr.Zero, class3.interface40_0);
        }
    }
Example #10
0
    private void method_5(Interface61 A_0)
    {
        int num = 14;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("倳圵䰷嬹漻丽ℿ⅁⅃㕅", num));
        }
        Class876 class2 = new Class876();
        Class362 item   = new Class362();
        Class541 class4 = new Class541(0, BookmarkStart.b("焳堵嬷䠹䔻丽㐿❁⁃ᙅ⥇⥉❋⽍㝏㝑", num));

        class2.method_0().Add(item);
        item.method_0().Add(class4);
        item.method_2(BookmarkStart.b("朳䈵䨷唹刻夽Կⱁ❃㑅ㅇ㩉㡋❍㽏㱑ၓ㝕ⱗ㭙ཛ⹝şšţ", num));
        using (Stream1 stream = A_0.imethod_2(BookmarkStart.b("瀳圵䰷嬹漻丽ℿ⅁⅃୅⥇㩉", num)))
        {
            class2.method_1(stream);
        }
    }
Example #11
0
    private void method_9(Interface61 A_0)
    {
        int num = 6;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䠫伭䐯匱朳䘵夷夹夻䴽", num));
        }
        Class876 class2 = new Class876();
        Class362 item   = new Class362();
        Class541 class4 = new Class541(0, BookmarkStart.b("椫䀭匯䀱䴳䘵䰷弹堻渽ℿ⅁⽃❅⽇⽉", num));

        class2.method_0().Add(item);
        item.method_0().Add(class4);
        item.method_2(BookmarkStart.b("缫娭䈯崱娳儵紷吹弻䰽㤿㉁ぃ⽅❇⑉ࡋ⽍⑏㍑ݓ♕㥗㥙㥛", num));
        using (Stream1 stream = A_0.imethod_2(BookmarkStart.b("栫伭䐯匱朳䘵夷夹夻猽ℿ㉁", num)))
        {
            class2.method_1(stream);
        }
    }
Example #12
0
    internal void method_0(Stream A_0, string A_1, Interface61 A_2)
    {
        int num = 5;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("伪䰬嬮倰", num));
        }
        if ((A_1 != null) && (A_1.Length != 0))
        {
            byte[] buffer = this.method_6(A_2, A_1);
            this.method_1(A_2);
            using (Stream1 stream = A_2.imethod_2(BookmarkStart.b("渪䌬䰮䌰䨲䔴䌶尸强洼帾≀⡂⑄⁆ⱈ", num)))
            {
                byte[] bytes = BitConverter.GetBytes(A_0.Length);
                stream.Write(bytes, 0, 8);
                this.method_9(A_0, buffer, stream);
                return;
            }
        }
        throw new ArgumentOutOfRangeException(BookmarkStart.b("嬪䰬尮䈰䐲娴䔶崸", num));
    }
Example #13
0
    internal Class1116(byte[] A_0, string A_1)
    {
        int num = 15;

        this.string_21 = string.Empty;
        this.string_22 = string.Empty;
        if ((A_0 != null) && (A_0.Length != 0))
        {
            if (((A_0.Length > 2) && (A_0[0] == 2)) && (A_0[1] == 0))
            {
                this.byte_0          = this.method_7(A_0);
                this.oleObjectType_0 = OleObjectType.Package;
            }
            else
            {
                MemoryStream stream = new MemoryStream(A_0);
                Class1004    class2 = new Class1004(stream);
                if (class2.Interface51.imethod_0().imethod_7(BookmarkStart.b("稴唶匸帺帼䬾ᅀⱂ⩄⭆", num)))
                {
                    Interface61 interface2 = class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("稴唶匸帺帼䬾ᅀⱂ⩄⭆", num));
                    if (interface2.imethod_7(A_1))
                    {
                        interface2 = interface2.imethod_5(A_1);
                        this.method_4(interface2);
                    }
                }
                else if (class2.Interface51.imethod_0().imethod_7(A_1))
                {
                    Interface61 interface3 = class2.Interface51.imethod_0().imethod_5(A_1);
                    this.method_4(interface3);
                }
                else if (class2.Interface51.imethod_0().imethod_7(BookmarkStart.b("㘴砶嬸儺琼儾❀ⱂ", num)) || class2.Interface51.imethod_0().imethod_7(BookmarkStart.b("㐴砶唸帺", num)))
                {
                    this.method_4(class2.Interface51.imethod_0());
                }
            }
        }
    }
Example #14
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);
    }
Example #15
0
 public void imethod_12(Interface61 A_0)
 {
     this.class1069_0.imethod_12(A_0);
 }