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); } }
public void imethod_12(Interface61 A_0) { Interface61 interface2 = this.imethod_4(A_0.imethod_11()); if (A_0 is Class664) { (interface2 as Class664).method_0().Interface59.imethod_0().method_13((A_0 as Class664).method_0().Interface59.imethod_0().method_12()); } string[] strArray2 = A_0.imethod_9(); int index = 0; int length = strArray2.Length; while (index < length) { using (Stream1 stream = A_0.imethod_0(strArray2[index])) { interface2.imethod_13(stream); } index++; } string[] strArray = A_0.imethod_10(); int num3 = 0; int num4 = strArray.Length; while (num3 < num4) { using (Interface61 interface3 = A_0.imethod_5(strArray[num3])) { interface2.imethod_12(interface3); } num3++; } }
private void method_6(Interface61 A_0) { int num = 0; List <Class362> list = this.class876_0.method_0(); if (list.Count != 1) { throw new Exception(BookmarkStart.b("漥䘧尩䴫䈭夯嘱ᐳ刵夷丹崻", num)); } string str = list[0].method_1(); string str2 = null; using (Interface61 interface3 = A_0.imethod_5(BookmarkStart.b("戥䤧帩䴫紭䀯匱圳匵焷吹娻儽", num))) { using (Stream stream = interface3.imethod_0(str)) { List <string> list2 = new Class300(stream).method_0(); if (list2.Count != 1) { throw new Exception(BookmarkStart.b("漥䘧尩䴫䈭夯嘱ᐳ刵夷丹崻", num)); } str2 = list2[0]; } } using (Interface61 interface2 = A_0.imethod_5(BookmarkStart.b("爥娧䬩䈫崭嘯崱䘳嬵焷吹娻儽", num))) { using (Interface61 interface4 = interface2.imethod_5(str2)) { this.method_8(interface4); } } }
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); } }
private void method_5(Interface61 A_0) { int num = 13; List <Class362> list = this.class876_0.method_0(); if (list.Count != 1) { throw new Exception(BookmarkStart.b("稲嬴䄶堸场吼嬾慀❂⑄㍆⡈", num)); } string str = list[0].method_1(); string str2 = null; using (Interface61 interface3 = A_0.imethod_5(BookmarkStart.b("眲吴䌶堸栺䴼帾≀♂ౄ⥆⽈⑊", num))) { using (Stream stream = interface3.imethod_0(str)) { List <string> list2 = new Class300(stream).method_0(); if (list2.Count != 1) { throw new Exception(BookmarkStart.b("稲嬴䄶堸场吼嬾慀❂⑄㍆⡈", num)); } str2 = list2[0]; } } using (Interface61 interface2 = A_0.imethod_5(BookmarkStart.b("朲䜴嘶圸䠺嬼倾㍀⹂ౄ⥆⽈⑊", num))) { using (Interface61 interface4 = interface2.imethod_5(str2)) { this.method_7(interface4); } } }
private byte[] method_5(Interface61 A_0) { int num = 6; MemoryStream stream = new MemoryStream(); Stream12 stream2 = Stream12.smethod_2(); int num2 = this.method_6(A_0); int index = 0; int length = A_0.imethod_9().Length; while (true) { if (index >= length) { stream2.Flush(); if (stream2.Length > 0L) { long num1 = stream2.Length; stream2.method_17(stream); stream2.Close(); stream2.Dispose(); return(stream.ToArray()); } stream2.Close(); stream2.Dispose(); stream.Dispose(); return(null); } 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)))) { Stream1 stream3 = A_0.imethod_0(str); if ((num2 == 1) || (str.ToLower() == BookmarkStart.b("簫伭匯失唳儵崷", num).ToLower())) { byte[] buffer = new byte[stream3.Length]; stream3.Read(buffer, 0, buffer.Length); stream3.Flush(); stream3.Close(); A_0.Dispose(); stream2.Close(); stream2.Dispose(); return(buffer); } stream2.method_15(stream3.method_0()); byte[] buffer2 = new byte[stream3.Length]; stream3.Read(buffer2, 0, buffer2.Length); stream2.Write(buffer2, 0, buffer2.Length); try { stream2.Flush(); } catch { } stream2.Close(); stream3.Close(); } index++; } }
private void method_8(Interface61 A_0) { using (Stream stream = A_0.imethod_0(BookmarkStart.b("㈳昵䨷匹儻弽㈿㭁", 14))) { new Class610(stream); new Class1072(stream); } }
private void method_7(Interface61 A_0) { using (Stream stream = A_0.imethod_0(BookmarkStart.b("⨫縭䈯嬱夳圵䨷䌹", 6))) { new Class610(stream); new Class1072(stream); } }
private void method_7(Interface61 A_0) { int num = 14; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("倳圵䰷嬹漻丽ℿ⅁⅃㕅", num)); } using (Stream1 stream = A_0.imethod_0(BookmarkStart.b("瀳圵䰷嬹漻丽ℿ⅁⅃⥇㩉", num))) { this.class876_0 = new Class876(stream); } }
private void method_6(Interface61 A_0) { int num = 13; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("圲吴䌶堸栺䴼帾≀♂㙄", num)); } using (Stream1 stream = A_0.imethod_0(BookmarkStart.b("眲吴䌶堸栺䴼帾≀♂ࡄ♆㥈", num))) { this.class876_0 = new Class876(stream); } }
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); } }
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); } }
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); } } } }