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); } }
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); } }
private void imethod_0(BinaryWriter A_0) { A_0.Write((uint)0xfffe0001); A_0.Write(0xa03); A_0.Write(uint.MaxValue); A_0.Write(this.guid_0.ToByteArray()); Class627.smethod_5(A_0, this.string_3); ((this.class451_1 == null) ? new Class451("") : this.class451_1).method_2(A_0, false); Class627.smethod_5(A_0, ""); A_0.Write(0x71b239f4); A_0.Write(0); A_0.Write(0); A_0.Write(0); }
private void method_7() { Class1132 class2 = new Class1132(Guid.Empty); foreach (KeyValuePair <string, DocOleObject> pair in this.class928_0.document_0.DocOleObjects) { string key = pair.Key; DocOleObject obj2 = pair.Value; Class1089 class3 = Class627.smethod_1(Class627.smethod_7(obj2.Interface49.get_ObjectType()), obj2.Interface49.get_ObjectType(), obj2, obj2.Interface49.get_DisplayAsIcon()); class2.method_0().method_2(key, smethod_0(class3)); } if (class2.method_0().Count > 0) { this.memoryStream_0 = new MemoryStream(); class2.method_5(this.memoryStream_0); } }
internal Class553(Class1089 A_0) { MemoryStream input = A_0.method_4(BookmarkStart.b("〰瀲娴娶䤸琺弼唾", 11)); if (input != null) { BinaryReader reader = new BinaryReader(input); this.int_1 = reader.ReadInt32(); this.int_2 = reader.ReadInt32(); this.byte_0 = reader.ReadBytes(4); this.guid_0 = new Guid(reader.ReadBytes(0x10)); this.string_3 = Class627.smethod_2(reader); this.class451_1 = new Class451(reader, false); this.string_0 = Class627.smethod_2(reader); if (Class567.smethod_46(reader, 4) && (reader.ReadInt32() == 0x71b239f4)) { this.string_1 = Class1029.smethod_6(reader); this.class451_0 = new Class451(reader, true); this.string_2 = Class1029.smethod_6(reader); } } }
internal static ShapeObject smethod_1(Interface50 A_0) { int num = 13; string str = ""; string str2 = ""; string str3 = ""; string str4 = ""; string str5 = ""; string str6 = ""; Class394 class2 = A_0.imethod_1(); while (class2.method_19()) { string str7 = class2.method_3(); string key = class2.method_1(); if (key != null) { int num2; if (Class1160.dictionary_11 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10); dictionary1.Add(BookmarkStart.b("圲吴䌶堸", num), 0); dictionary1.Add(BookmarkStart.b("娲儴", num), 1); dictionary1.Add(BookmarkStart.b("崲吴娶尸", num), 2); dictionary1.Add(BookmarkStart.b("倲头嘶䨸䠺吼嬾", num), 3); dictionary1.Add(BookmarkStart.b("䀲崴嘶䤸帺吼嬾", num), 4); dictionary1.Add(BookmarkStart.b("倲头嘶䨸䠺", num), 5); dictionary1.Add(BookmarkStart.b("䐲", num), 6); dictionary1.Add(BookmarkStart.b("嬲", num), 7); dictionary1.Add(BookmarkStart.b("刲头帶常唺", num), 8); dictionary1.Add(BookmarkStart.b("娲攴制䬸䠺吼䰾㕀ፂ㝄⡆㥈⹊㽌㭎⡐ᅒ㑔ざ", num), 9); Class1160.dictionary_11 = dictionary1; } if (Class1160.dictionary_11.TryGetValue(key, out num2)) { switch (num2) { case 0: str = str7; break; case 2: str2 = str7; break; case 3: str6 = str7; break; case 4: str3 = str7; break; case 6: str4 = str7; break; case 7: str5 = str7; break; } } } } ShapeObject obj2 = (ShapeObject)A_0.imethod_8(str3); if (obj2 == null) { obj2 = new ShapeObject(A_0.imethod_0()); obj2.SetShapeType(ShapeType.OleControl); obj2.TextWrappingStyle = TextWrappingStyle.Inline; } if (!string.IsNullOrEmpty(str4)) { obj2.method_37(Class509.smethod_2(Class1041.smethod_12(str4))); } if (!string.IsNullOrEmpty(str5)) { obj2.method_39(Class509.smethod_2(Class1041.smethod_12(str5))); } Class1132 class3 = null; if (str.StartsWith(BookmarkStart.b("眲琴挶砸ĺ尼伾ㅀ⽂ⱄ⑆⡈㽊⁎㽐籒ⵔ穖㙘㝚㡜ぞ͠ॢdѦᵨ偪⽬≰㙲䍴䍶啸", num))) { byte[] buffer2 = Convert.FromBase64String(str.Substring(BookmarkStart.b("眲琴挶砸ĺ尼伾ㅀ⽂ⱄ⑆⡈㽊⁎㽐籒ⵔ穖㙘㝚㡜ぞ͠ॢdѦᵨ偪⽬≰㙲䍴䍶啸", num).Length)); if (str6.StartsWith(BookmarkStart.b("瀲礴搶瀸缺ܼ", num))) { str6 = str6.Substring(BookmarkStart.b("瀲礴搶瀸缺ܼ", num).Length); } Guid guid = !string.IsNullOrEmpty(str6) ? new Guid(str6) : Guid.Empty; class3 = new Class1132(new Class1089(guid)); class3.method_0().method_2(BookmarkStart.b("〲稴琶愸缺簼款@", num), new MemoryStream(buffer2)); } else { byte[] buffer = A_0.imethod_3(str); if (buffer != null) { class3 = new Class1132(new MemoryStream(buffer)); } } if (class3 != null) { Class627.smethod_6(class3.method_0(), new Class221(str2)); Class627.smethod_6(class3.method_0(), new Class320(OdtPersist1.Ocx | OdtPersist1.RecomposeOnResize, OdtPersist2.QueriedEmf, OdtClipboardFormat.Metafile)); } return(obj2); }
internal Class553(string A_0) { this.guid_0 = Class627.smethod_7(A_0); this.string_3 = ""; this.class451_1 = new Class451(""); }
internal void method_81(Class1089 A_0) { Class1132 class2 = new Class1132(A_0); MemoryStream stream = new MemoryStream(); class2.method_5(stream); byte[] buffer = new byte[stream.Length]; stream.Position = 0L; stream.Read(buffer, 0, buffer.Length); this.class1116_0 = new Class1116(buffer, BookmarkStart.b("礥", 0) + this.Interface49.get_OleStorageName()); Class1089 class3 = new Class1089(); class3.method_3(BookmarkStart.b("礥", 0) + this.Interface49.get_OleStorageName(), A_0); class2 = new Class1132(class3); MemoryStream stream2 = new MemoryStream(); class2.method_5(stream2); this.stream_0 = stream2; this.stream_0.Position = 0L; if (A_0.Contains(string_12)) { MemoryStream stream3 = A_0.method_4(string_12); stream3.Position = 0L; byte[] buffer2 = new byte[stream3.Length]; stream3.Read(buffer2, 0, buffer2.Length); using (MemoryStream stream4 = new MemoryStream(buffer2)) { byte[] buffer4 = new byte[6]; stream4.Read(buffer4, 0, buffer4.Length); this.Interface49.set_DisplayAsIcon((buffer4[0] & 0x40) == 0x40); stream4.Flush(); } } if (A_0.Contains(string_9)) { Stream stream5 = A_0.method_4(string_9); stream5.Position = 0L; byte[] buffer3 = new byte[stream5.Length]; stream5.Read(buffer3, 0, buffer3.Length); using (BinaryReader reader = new BinaryReader(new MemoryStream(buffer3))) { reader.ReadInt32(); reader.ReadInt32(); reader.ReadBytes(4); new Guid(reader.ReadBytes(0x10)); Class627.smethod_2(reader); new Class451(reader, false); string str = Class627.smethod_2(reader); if (!string.IsNullOrEmpty(str) && (str.Length > 0)) { this.Interface49.set_ObjectType(str); } if (((reader.BaseStream.Length - reader.BaseStream.Position) >= 4L) && (reader.ReadInt32() == 0x71b239f4)) { this.method_82(reader); new Class451(reader, true); this.method_82(reader); } } } }