public void imethod_13(Stream1 A_0) { string str = A_0.method_0(); using (Stream1 stream = this.Interface61.imethod_3(str) ? this.Interface61.imethod_0(str) : this.imethod_2(A_0.method_0())) { stream.SetLength(0L); A_0.vmethod_0(stream); } }
public void Process(double t) { var n1 = Stream1.Process(t); var n2 = Stream2.Process(t); if (!frequency.ContainsKey(n1 + n2)) { frequency[n1 + n2] = 0; } frequency[n1 + n2]++; }
public void Process(double time) { var n1 = Stream1.Process(time); var n2 = Stream2.Process(time); if (!Frequency.ContainsKey(n1 + n2)) { Frequency[n1 + n2] = 0; } Frequency[n1 + n2]++; }
private MemoryStream method_44(string A_0) { byte[] buffer = null; using (Stream1 stream = this.interface51_0.imethod_0().imethod_0(A_0)) { int length = (int)stream.Length; buffer = new byte[length]; stream.Read(buffer, 0, length); } return(new MemoryStream(buffer)); }
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); } }
internal Stream method_1() { int num = 0; if (this.byte_0 == null) { throw new InvalidOperationException(BookmarkStart.b("漥䘧䤩䌫尭䈯圱圳䈵ᠷ䨹崻䴽㌿㕁⭃㑅ⱇ摉", num)); } MemoryStream stream2 = new MemoryStream(); Class187 class2 = this.class62_0.method_4().method_0(); bool flag = this.method_0(); HashAlgorithm algorithm = null; if (flag) { algorithm = new SHA512Managed(); } else { algorithm = new SHA1Managed(); } using (Stream1 stream = this.interface61_0.imethod_0(BookmarkStart.b("挥䘧䤩師圭䀯䘱儳刵样嬹弻唽ℿ╁⅃", num))) { byte[] buffer = new byte[8]; stream.Read(buffer, 0, 8); int count = BitConverter.ToInt32(buffer, 0); int num3 = count % class2.method_2(); int num4 = (num3 > 0) ? ((count + class2.method_2()) - num3) : count; byte[] buffer3 = new byte[num4]; stream.Read(buffer3, 0, num4); byte[] buffer4 = this.class299_0.method_12(buffer, buffer3); if (!this.method_4(buffer4)) { throw new Exception(BookmarkStart.b("挥䘧䤩師圭䀯䘱儳刵ᠷ䨹崻崽⬿⍁⍃⍅桇⍉㽋湍㥏㱑≓㝕㑗㍙㡛", num)); } byte[] dst = new byte[count]; int num6 = ((num4 % 0x1000) == 0) ? (num4 / 0x1000) : ((num4 / 0x1000) + 1); for (int i = 0; i < num6; i++) { int num7 = Math.Min(0x1000, num4 - (i * 0x1000)); byte[] buffer5 = new byte[num7]; byte[] src = new byte[num7]; Buffer.BlockCopy(buffer3, i * 0x1000, buffer5, 0, num7); byte[] buffer7 = algorithm.ComputeHash(this.class299_0.method_12(class2.method_14(), BitConverter.GetBytes(i))); src = this.method_5(buffer5, class2.method_2(), this.byte_0, buffer7, num7); num7 = (i == (num6 - 1)) ? (num7 - (num4 - count)) : num7; Buffer.BlockCopy(src, 0, dst, i * 0x1000, num7); } stream2.Write(dst, 0, count); stream2.Position = 0L; } return(stream2); }
private void method_2(Interface61 A_0) { int num = 8; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䨭儯䘱唳攵䠷嬹弻嬽㌿", num)); } using (Stream1 stream = A_0.imethod_2(BookmarkStart.b("砭唯䀱䜳張圷吹", num))) { new Class666().method_8(stream); } }
internal Class369(Stream1 A_0) { this.string_0 = string.Empty; this.string_1 = string.Empty; this.string_2 = string.Empty; this.uint_1 = 0x71b239f4; this.string_3 = string.Empty; this.string_4 = string.Empty; this.string_5 = string.Empty; byte[] buffer = new byte[A_0.Length]; A_0.Read(buffer, 0, buffer.Length); this.vmethod_0(buffer, 0); }
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); } }
protected override void Dispose(bool disposing) { lock (_lock) { if (disposing) { Stream1.Dispose(); Stream2.Dispose(); } } base.Dispose(disposing); }
private void method_6(Interface61 A_0) { int num = 0x12; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("尷嬹䠻弽ጿ㉁╃╅ⵇ㥉", num)); } using (Stream1 stream = A_0.imethod_2(BookmarkStart.b("渷弹主䴽⤿ⵁ⩃", num))) { new Class666().method_8(stream); } }
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(); }
private void method_8(Interface61 A_0) { int num = 11; using (Interface61 interface2 = A_0.imethod_4(BookmarkStart.b("田刲䄴嘶樸䬺尼尾⑀ੂ⭄ⅆ♈", 11))) { using (Stream1 stream = interface2.imethod_2(BookmarkStart.b("戰䜲䜴堶圸尺砼儾≀ㅂ㱄㝆㵈≊≌ⅎᕐ㉒⅔㙖⭚㱜㱞Ѡ", num))) { Class300 class2 = new Class300(); class2.method_0().Add(BookmarkStart.b("戰䜲䜴堶圸尺砼儾≀ㅂ㱄㝆㵈≊≌ⅎՐ⅒㑔㥖⩘㵚㉜ⵞౠ", num)); class2.method_1(stream); } } }
private void method_4(Interface61 A_0) { int num = 8; using (Interface61 interface2 = A_0.imethod_4(BookmarkStart.b("樭儯䘱唳攵䠷嬹弻嬽िⱁ≃⥅", 8))) { using (Stream1 stream = interface2.imethod_2(BookmarkStart.b("紭䐯䀱嬳堵強缹刻崽㈿㭁㑃㉅ⅇ╉≋੍ㅏ♑㕓Օ⡗㭙㽛㭝", num))) { Class300 class2 = new Class300(); class2.method_0().Add(BookmarkStart.b("紭䐯䀱嬳堵強缹刻崽㈿㭁㑃㉅ⅇ╉≋ᩍ≏㍑㩓╕㹗㕙⹛㍝", num)); class2.method_1(stream); } } }
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 override int ReadByte() { int value; if (position >= Stream1.Length) { value = Stream2.ReadByte(); } else { value = Stream1.ReadByte(); } position++; return(value); }
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); } }
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); }
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); } }
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); } }
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); } }
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; }
public override int Read(byte[] buffer, int offset, int count) { int bytesRead; if (position >= Stream1.Length) { bytesRead = Stream2.Read(buffer, offset, count); } else if (count > Stream1.Length) { bytesRead = Stream1.Read(buffer, offset, (int)Stream1.Length); bytesRead += Stream2.Read(buffer, (int)Stream1.Length, count - (int)Stream1.Length); } else { bytesRead = Stream1.Read(buffer, offset, count); } position += bytesRead; return(bytesRead); }
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)); }
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); }
// Token: 0x06001AC6 RID: 6854 RVA: 0x0004F6D8 File Offset: 0x0004D8D8 public static void smethod_0(Stream inStream, Stream outStream, bool isStreamOwner) { if (inStream != null && outStream != null) { try { using (Stream1 stream = new Stream1(inStream)) { stream.IsStreamOwner = isStreamOwner; stream.smethod_5(outStream, new byte[4096]); } return; } finally { if (isStreamOwner) { outStream.Close(); } } } throw new Exception("Null Stream"); }
public override void Flush() { Stream1.Flush(); Stream2.Flush(); }
public void imethod_13(Stream1 A_0) { this.class1069_0.imethod_13(A_0); }