// Token: 0x06000061 RID: 97 RVA: 0x00007628 File Offset: 0x00005828 public static void CreateList() { Broadcaster.object_0.m_QueueTests.Items.Add("unbanning..."); Application.DoEvents(); Application.DoEvents(); try { File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\save.dat"); Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted"); Application.DoEvents(); } catch { Console.ForegroundColor = ConsoleColor.Red; Application.DoEvents(); Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted"); Application.DoEvents(); } try { File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\log.txt"); Broadcaster.object_0.m_QueueTests.Items.Add("Log.txt deleted"); Application.DoEvents(); } catch { Console.ForegroundColor = ConsoleColor.Red; Broadcaster.object_0.m_QueueTests.Items.Add("log.txt deleted"); Application.DoEvents(); } try { Broadcaster.smethod_9(); Broadcaster.object_0.m_QueueTests.Items.Add(Broadcaster.string_0 + "deleted"); Application.DoEvents(); } catch { Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER"); Application.DoEvents(); } Console.ForegroundColor = ConsoleColor.Magenta; try { Broadcaster.smethod_8(); Broadcaster.object_0.m_QueueTests.Items.Add("Deleted " + Broadcaster.string_1); Application.DoEvents(); } catch { Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER \\ Software \\ Microsoft"); Application.DoEvents(); } try { Broadcaster.smethod_12(); Broadcaster.smethod_13(); Broadcaster.RevertList(); List <string> list = new List <string>(); foreach (NetworkInterface networkInterface in NetworkInterface.GetAllNetworkInterfaces().Where(new Func <NetworkInterface, bool>(Broadcaster.ProcessToken.importerToken.FindDescriptor)).OrderByDescending(new Func <NetworkInterface, long>(Broadcaster.ProcessToken.importerToken.SetupDescriptor))) { list.Add(networkInterface.Name); } Console.ForegroundColor = ConsoleColor.Magenta; Console.ForegroundColor = ConsoleColor.Red; foreach (string string_ in list) { Broadcaster.smethod_14(false, string_); } Broadcaster.object_0.m_QueueTests.Items.Add("Restarting all active connections..." + "\r\n"); Thread.Sleep(1000); foreach (string string_2 in list) { Broadcaster.smethod_14(true, string_2); } Console.ForegroundColor = ConsoleColor.Green; Broadcaster.object_0.m_QueueTests.Items.Add("Active connection" + "\r\n"); try { if (File.Exists("config.txt")) { Console.ForegroundColor = ConsoleColor.Blue; Console.Write("VPN..." + "\r\n"); Process.Start(File.ReadAllText("config.txt")); } } catch { Console.ForegroundColor = ConsoleColor.Red; Console.Write("config.txt error" + "\r\n"); } } catch (Exception ex) { Broadcaster.object_0.m_QueueTests.Items.Add("Error: " + ex.Message); Application.DoEvents(); } Thread.Sleep(1000); Console.ForegroundColor = ConsoleColor.Cyan; Broadcaster.object_0.m_QueueTests.Items.Add("Done!"); Application.DoEvents(); Broadcaster.PopWorker(null); Broadcaster.string_1 = null; Broadcaster.string_0 = null; }
// Token: 0x06000062 RID: 98 RVA: 0x00007ADC File Offset: 0x00005CDC public static void CalcList() { Broadcaster.object_0.m_QueueTests.Items.Add("unbanning..."); Application.DoEvents(); Application.DoEvents(); try { File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\save.dat"); Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted"); Application.DoEvents(); } catch { Console.ForegroundColor = ConsoleColor.Red; Application.DoEvents(); Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted"); Application.DoEvents(); } try { File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\log.txt"); Broadcaster.object_0.m_QueueTests.Items.Add("Log.txt deleted"); Application.DoEvents(); } catch { Console.ForegroundColor = ConsoleColor.Red; Broadcaster.object_0.m_QueueTests.Items.Add("log.txt deleted"); Application.DoEvents(); } try { Broadcaster.smethod_9(); Broadcaster.object_0.m_QueueTests.Items.Add(Broadcaster.string_0 + "deleted"); Application.DoEvents(); } catch { Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER"); Application.DoEvents(); } Console.ForegroundColor = ConsoleColor.Magenta; try { Broadcaster.smethod_8(); Broadcaster.object_0.m_QueueTests.Items.Add("Deleted " + Broadcaster.string_1); Application.DoEvents(); } catch { Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER \\ Software \\ Microsoft"); Application.DoEvents(); } try { Broadcaster.smethod_12(); Broadcaster.smethod_13(); } catch (Exception ex) { Broadcaster.object_0.m_QueueTests.Items.Add("Error: " + ex.Message); Application.DoEvents(); } Thread.Sleep(1000); Console.ForegroundColor = ConsoleColor.Cyan; Broadcaster.object_0.m_QueueTests.Items.Add("Registry Done!"); Application.DoEvents(); Broadcaster.PopWorker(null); Broadcaster.string_1 = null; Broadcaster.string_0 = null; }