Esempio n. 1
0
        private byte[] method_93(byte[] A_0)
        {
            int num = 0x10;

            if ((A_0 == null) || ((A_0 != null) && (A_0.Length == 0)))
            {
                return(A_0);
            }
            Class1004 class3 = null;

            using (MemoryStream stream = new MemoryStream(A_0))
            {
                using (Class1004 class2 = new Class1004(stream))
                {
                    if (((Array.IndexOf <string>(class2.Interface51.imethod_0().imethod_10(), BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", num)) != -1) && (Array.IndexOf <string>(class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", num)).imethod_10(), BookmarkStart.b("椵", num) + this.string_13) != -1)) && (Array.IndexOf <string>(class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", num)).imethod_5(BookmarkStart.b("椵", num) + this.string_13).imethod_9(), BookmarkStart.b("㔵眷堹嘻眽⸿⑁⭃", num)) != -1))
                    {
                        using (Stream1 stream2 = class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", num)).imethod_5(BookmarkStart.b("椵", num) + this.string_13).imethod_0(BookmarkStart.b("㔵眷堹嘻眽⸿⑁⭃", num)))
                        {
                            byte[] buffer = Class371.smethod_13(this.Interface49.get_LinkType(), this.OleObjectType, this.Interface49.get_DisplayAsIcon());
                            stream2.Write(buffer, 0, buffer.Length);
                            stream2.Flush();
                            class3 = new Class1004();
                            class3.Interface51.imethod_0().imethod_12(class2.Interface51.imethod_0().imethod_5(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", num)));
                            this.method_95(class2, class3);
                            class2.System.IDisposable.Dispose();
                            class3.Interface51.imethod_2();
                            A_0 = (class3.method_4() as MemoryStream).ToArray();
                            class3.System.IDisposable.Dispose();
                        }
                    }
                    return(A_0);
                }
            }
        }
Esempio n. 2
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);
    }
Esempio n. 3
0
    public Class939(Class1004 A_0, Stream A_1, Class357 A_2, Class938 A_3)
    {
        int num5 = 3;

        this.list_0 = new List <int>();
        this.list_1 = new List <int>();
        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("伨䈪䄬䨮", num5));
        }
        if (A_1 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("娨弪弬䨮倰帲", num5));
        }
        this.stream_0 = A_0.method_4();
        List <int> list  = A_2.method_0();
        int        count = A_3.method_5();

        this.ushort_0 = A_3.method_9();
        byte[] buffer = new byte[count];
        int[]  dst    = new int[count >> 2];
        this.int_0 = 0x200;
        int num2 = 0;
        int num3 = list.Count;

        while (num2 < num3)
        {
            int num4 = list[num2];
            if (num4 >= 0)
            {
                A_0.method_9(buffer, 0, num4, A_3);
                Buffer.BlockCopy(buffer, 0, dst, 0, count);
                this.list_0.AddRange(dst);
            }
            num2++;
        }
    }