// Token: 0x060029FC RID: 10748 RVA: 0x000A1588 File Offset: 0x0009F788 private static bool smethod_8(IntPtr handle, uint processId, IntPtr currentProcess, bool remote, out string token) { Class494 @class = null; Class522 class2 = null; bool result; try { if (remote) { @class = Class265.OpenProcess(Enum72.flag_0, true, processId); if (Class265.DuplicateHandle(@class.DangerousGetHandle(), handle, currentProcess, out class2, 0, false, Enum130.flag_1)) { handle = class2.DangerousGetHandle(); } } result = Class471.smethod_9(handle, out token); } finally { if (@class != null) { @class.Close(); } if (class2 != null) { class2.Close(); } } return(result); }
internal Class540(Stream A_0) { this.class494_0 = new Class494(); this.class709_0 = new Class709(); this.class299_0 = new Class299(); byte[] buffer = new byte[4]; this.int_0 = this.class299_0.method_1(A_0, buffer); if (this.method_3() == 2) { this.int_1 = this.class299_0.method_1(A_0, buffer); this.class494_0.method_22(A_0); this.class709_0.method_8(A_0); } else { this.class709_0.method_9(A_0, true); } }
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); }
private MemoryStream method_17(MemoryStream A_0) { byte[] buffer = new byte[0x10]; MemoryStream stream = new MemoryStream(); long length = A_0.Length; int num2 = 0; A_0.Position = 0L; uint num3 = 0; using (Class945 class2 = new Class945(this.class540_0)) { Class709 class3 = this.class540_0.method_7(); Class494 class4 = this.class540_0.method_6(); IntPtr ptr = class2.method_2(this.string_0, class3.method_0(), num3, class4.method_12()); while (num2 < length) { for (int i = A_0.Read(buffer, 0, 0x10); i < 0x10; i++) { buffer[i] = 1; } buffer = class2.method_1(ptr, buffer); stream.Write(buffer, 0, 0x10); num2 += 0x10; if ((num2 % 0x200) == 0) { num3++; Class946.CryptDestroyKey(ptr); ptr = class2.method_2(this.string_0, class3.method_0(), num3, class4.method_12()); } } Class946.CryptDestroyKey(ptr); } stream.Position = 0L; return(stream); }
public override void Visit(Class494 c) { }
public abstract void Visit(Class494 c);
internal Class540() { this.class494_0 = new Class494(); this.class709_0 = new Class709(); this.class299_0 = new Class299(); }