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); } } }
private byte[] method_2(Stream A_0, Interface61 A_1, Class187 A_2, byte[] A_3) { byte[] bytes = BitConverter.GetBytes(A_0.Length); SHA1 sha = new SHA1Managed(); using (Stream1 stream = A_1.imethod_2(BookmarkStart.b("漩䈫䴭䈯䬱䐳䈵崷帹氻弽⌿⥁╃ⅅⵇ", 4))) { int num = (int)(A_0.Length / 0x1000L); if ((A_0.Length % 0x1000L) != 0L) { num++; } for (int i = 0; i < num; i++) { int count = Math.Min(0x1000, ((int)A_0.Length) - (i * 0x1000)); byte[] buffer = new byte[count]; byte[] buffer3 = new byte[count]; A_0.Read(buffer, 0, count); byte[] buffer4 = sha.ComputeHash(this.class299_0.method_12(A_2.method_14(), BitConverter.GetBytes(i))); buffer3 = this.method_11(buffer, A_2.method_2(), A_3, buffer4); bytes = this.class299_0.method_12(bytes, buffer3); } stream.Write(bytes, 0, bytes.Length); } return(bytes); }
public override void Write(string?value) { lock (_lock) { Stream1.Write(value); Stream2.Write(value); } }
public override void Write(char[] buffer, int index, int count) { lock (_lock) { Stream1.Write(buffer, index, count); Stream2.Write(buffer, index, count); } }
public override void Write(char value) { lock (_lock) { Stream1.Write(value); Stream2.Write(value); } }
public override void Write(byte[] buffer, int offset, int count) { if (position >= Stream1.Length) { Stream2.Write(buffer, offset - (int)Stream1.Length, count); } else { Stream1.Write(buffer, offset, count); } }
private void method_40(string A_0, MemoryStream A_1) { if (this.bool_0) { using (Stream1 stream = this.interface51_0.imethod_0().imethod_2(A_0)) { stream.Write(A_1.GetBuffer(), 0, (int)A_1.Length); return; } } this.stream12_0.method_15(A_0); this.stream12_0.Write(A_1.GetBuffer(), 0, (int)A_1.Length); this.stream12_0.Close(); }
internal void method_0(Stream1 A_0) { int num = 0; byte[] buffer = new byte[20]; Class364.smethod_8(buffer, ref num, this.int_7); Class364.smethod_8(buffer, ref num, this.int_8); Class364.smethod_8(buffer, ref num, this.int_9); Class364.smethod_8(buffer, ref num, this.int_10); if (this.oleLinkType_0 == OleLinkType.Embed) { Class364.smethod_8(buffer, ref num, this.int_11); A_0.Write(buffer, 0, buffer.Length); } }
private void method_41() { int num = 0; if (this.bool_0) { using (Stream1 stream = this.interface51_0.imethod_0().imethod_2(BookmarkStart.b("✥欧䔩䄫席缯倱帳", num))) { stream.Write(this.byte_0, 0, this.byte_0.Length); return; } } this.stream12_0.method_15(BookmarkStart.b("✥欧䔩䄫席缯倱帳", num)); this.stream12_0.Write(this.byte_0, 0, this.byte_0.Length); this.stream12_0.Close(); }
public virtual void vmethod_0(Stream1 A_0) { int num2; int num = 10; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䌯䘱䘳匵夷圹", num)); } byte[] buffer = new byte[0x8000]; long position = this.Position; while ((num2 = this.Read(buffer, 0, 0x8000)) > 0) { A_0.Write(buffer, 0, num2); } }
public void imethod_13(Stream1 A_0) { int num2; int num = 8; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("崭䐯䀱儳圵唷渹医紽⼿㉁㵃", num)); } Stream1 stream = this.imethod_2(A_0.method_0()); byte[] buffer = new byte[0x8000]; long position = A_0.Position; A_0.Position = 0L; while ((num2 = A_0.Read(buffer, 0, 0x8000)) > 0) { stream.Write(buffer, 0, num2); } A_0.Position = position; }
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)); }