Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //LFSPro Launcher 1.5.3.7
- //25.11.98 whose birthday it is?
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Net.NetworkInformation;
- using System.Reflection;
- using System.Runtime.CompilerServices;
- using System.Security.Cryptography;
- using System.Text;
- using System.Timers;
- using System.Windows.Forms;
- using Bunifu.Framework.UI;
- using BunifuAnimatorNS;
- using LFSProLauncher.Properties;
- using Microsoft.Win32;
- using WindowsFormsControlLibrary1;
- namespace LFSProLauncher
- {
- // Token: 0x02000003 RID: 3
- public class LFSPro : Form
- {
- // Token: 0x06000005 RID: 5 RVA: 0x000020A4 File Offset: 0x000002A4
- public LFSPro()
- {
- this.d();
- this.ad.Visible = false;
- this.e = this.e.OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", true);
- this.f = this.f.OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", true);
- this.g();
- this.h();
- ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
- this.i();
- this.h.Enabled = false;
- this.h.Elapsed += this.a;
- this.i.Enabled = true;
- this.i.Elapsed += this.b;
- base.Shown += this.s;
- base.FormClosing += this.a;
- }
- // Token: 0x06000006 RID: 6 RVA: 0x00002208 File Offset: 0x00000408
- private void u(object A_0, EventArgs A_1)
- {
- this.a(null, null);
- }
- // Token: 0x06000007 RID: 7 RVA: 0x00002214 File Offset: 0x00000414
- private void t(object A_0, EventArgs A_1)
- {
- bool flag = this.v.Width == 50;
- if (flag)
- {
- this.v.Visible = false;
- this.v.Width = 190;
- this.t.Width = 567;
- this.o.ShowSync(this.v, false, null);
- this.p.ShowSync(this.ad, false, null);
- this.a2.Width -= 140;
- }
- else
- {
- this.ad.Visible = false;
- this.v.Visible = false;
- this.v.Width = 50;
- this.t.Width = 707;
- this.o.ShowSync(this.v, false, null);
- this.a2.Width += 140;
- }
- }
- // Token: 0x06000008 RID: 8 RVA: 0x00002310 File Offset: 0x00000510
- private void a(object A_0, FormClosingEventArgs A_1)
- {
- try
- {
- string value = LFSPro.StringCipher.Decrypt("L9Do4RfEARKgVoHUOmuzI6W3ceb5EkQHZzmSYfUKeESbvfiQh4Z1tsyg6ZjibA1wAnhjxIipbqIY5DnZCMGwOamGPaEx8Yq5aEX8bxPtSPEgD4w+tv827rk/aG65xt9B", "251198"); //Taskkill /IM x86Wachdog.dll /F
- string value2 = LFSPro.StringCipher.Decrypt("Nmcj8uI3k77AATYCJk1O8OiWVQFJfeb6VA/SkiWXFG9h/QlieVMru2lkCtPkDkEOS0GZNtLdlEmRuV8dfnM17LRULw0Qd9L+h6+ppKny3VAIttUeIoK2SlQ5njIkTNJh", "251198"); //Taskkill /IM x86Wachdog.dll /F
- string value3 = LFSPro.StringCipher.Decrypt("/NHc6JDbMl87BcexmKgU/UV2yqcb1vNXUJNGP0npSJNZxIELGMU2Dt6QcTJTSyxiYH+xDTSgq2be45deTN/Ct6sT9WdUIpPH957Z4IH+padKBCZbXRhTV/dN4LnGi+BK", "251198"); //Taskkill /IM x86Wachdog.dll /F
- Process process = new Process();
- process.StartInfo.FileName = "cmd.exe";
- process.StartInfo.RedirectStandardInput = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.StandardInput.WriteLine(value);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value2);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value3);
- process.StandardInput.Flush();
- process.StandardInput.Close();
- process.WaitForExit();
- Console.WriteLine(process.StandardOutput.ReadToEnd());
- }
- catch
- {
- }
- Environment.Exit(1);
- Application.Exit();
- }
- // Token: 0x06000009 RID: 9 RVA: 0x00002438 File Offset: 0x00000638
- private void i()
- {
- try
- {
- bool flag = Directory.Exists("data\\pic") && Directory.Exists("data\\skins");
- if (flag)
- {
- this.d = true;
- }
- else
- {
- MessageBox.Show("Please move the launcher and its files to a valid Live for Speed folder");
- }
- }
- catch
- {
- }
- }
- // Token: 0x0600000A RID: 10 RVA: 0x00002494 File Offset: 0x00000694
- private void h()
- {
- try
- {
- string value = NetworkInterface.GetAllNetworkInterfaces().Where(new Func<NetworkInterface, bool>(LFSPro.<>c.<>9.a)).Select(new Func<NetworkInterface, string>(LFSPro.<>c.<>9.b)).FirstOrDefault<string>();
- string text = Convert.ToString(value);
- bool flag = text.Length < 3;
- if (flag)
- {
- text = "NOADDFOUND";
- }
- WebBrowser webBrowser = new WebBrowser();
- webBrowser.Navigate(new Uri(string.Concat(new string[]
- {
- "http://lfspro.net/query/lfspro_launcher_register.php?Username=",
- this.am.Text,
- "&Password=",
- this.ao.Text,
- "&Checksum=",
- text,
- "&Version=",
- Assembly.GetExecutingAssembly().GetName().Version.ToString()
- })));
- }
- catch (Exception ex)
- {
- }
- }
- // Token: 0x0600000B RID: 11 RVA: 0x000025A0 File Offset: 0x000007A0
- private void b(object A_0, ElapsedEventArgs A_1)
- {
- try
- {
- this.h();
- }
- catch
- {
- }
- }
- // Token: 0x0600000C RID: 12 RVA: 0x000025D0 File Offset: 0x000007D0
- private void g()
- {
- try
- {
- string text = this.e.GetValue("ProUsername").ToString();
- bool flag = text == null;
- if (flag)
- {
- this.e.CreateSubKey("ProUsername");
- this.e.SetValue("ProUsername", "Username");
- this.e.CreateSubKey("ProPassword");
- this.e.SetValue("ProPassword", "Password");
- this.e.CreateSubKey("ProMessage");
- this.e.SetValue("ProMessage", "1");
- }
- else
- {
- this.am.Text = this.e.GetValue("ProUsername").ToString();
- this.ao.Text = this.e.GetValue("ProPassword").ToString();
- }
- }
- catch
- {
- this.e.CreateSubKey("ProUsername");
- this.e.SetValue("ProUsername", "Username");
- this.e.CreateSubKey("ProPassword");
- this.e.SetValue("ProPassword", "Password");
- this.e.CreateSubKey("ProMessage");
- this.e.SetValue("ProMessage", "1");
- }
- }
- // Token: 0x0600000D RID: 13 RVA: 0x00002748 File Offset: 0x00000948
- private void a(string A_0, string A_1)
- {
- try
- {
- this.e.OpenSubKey("ProUsername", true);
- this.e.SetValue("ProUsername", A_0);
- this.e.OpenSubKey("ProPassword", true);
- this.e.SetValue("ProPassword", A_1);
- }
- catch
- {
- }
- }
- // Token: 0x0600000E RID: 14 RVA: 0x000027B8 File Offset: 0x000009B8
- private void s(object A_0, EventArgs A_1)
- {
- try
- {
- this.f();
- this.e();
- }
- catch
- {
- }
- }
- // Token: 0x0600000F RID: 15 RVA: 0x000027F0 File Offset: 0x000009F0
- private void f()
- {
- string text = "";
- try
- {
- WebBrowser webBrowser = new WebBrowser();
- webBrowser.Navigate(new Uri("http://www.lfspro.net/query/lfspro_version.php"));
- while (webBrowser.ReadyState != WebBrowserReadyState.Complete)
- {
- Application.DoEvents();
- }
- text = webBrowser.Document.Body.InnerHtml.ToString();
- }
- catch (WebException ex)
- {
- }
- bool flag = !text.Equals(Assembly.GetExecutingAssembly().GetName().Version.ToString());
- if (flag)
- {
- bool flag2 = MessageBox.Show("A new version is available. You must download to keep playing on LFSPro. Download now?", "Update Available", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk) == DialogResult.Yes;
- if (flag2)
- {
- try
- {
- string value = LFSPro.StringCipher.Decrypt("L9Do4RfEARKgVoHUOmuzI6W3ceb5EkQHZzmSYfUKeESbvfiQh4Z1tsyg6ZjibA1wAnhjxIipbqIY5DnZCMGwOamGPaEx8Yq5aEX8bxPtSPEgD4w+tv827rk/aG65xt9B", "251198"); //Taskkill /IM x86Wachdog.dll /F
- string value2 = LFSPro.StringCipher.Decrypt("Nmcj8uI3k77AATYCJk1O8OiWVQFJfeb6VA/SkiWXFG9h/QlieVMru2lkCtPkDkEOS0GZNtLdlEmRuV8dfnM17LRULw0Qd9L+h6+ppKny3VAIttUeIoK2SlQ5njIkTNJh", "251198"); //Taskkill /IM x86Wachdog.dll /F
- string value3 = LFSPro.StringCipher.Decrypt("AXKDqtODZRsh+ktGSecWTChRC29z2qpCSo6Dh/QkdGBaFF40VdvvtJgKXzOMBcOwcXLmPbpOqNhDV11QjwTRx8F+kirBdMHak2kmH0w51q3292yL6ktKHphPJ9pFhRhV", "251198"); //Taskkill /IM x86Wachdog.dll /F
- Process process = new Process();
- process.StartInfo.FileName = "cmd.exe";
- process.StartInfo.RedirectStandardInput = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.StandardInput.WriteLine(value);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value2);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value3);
- process.StandardInput.Flush();
- process.StandardInput.Close();
- process.WaitForExit();
- Console.WriteLine(process.StandardOutput.ReadToEnd());
- this.doUpdateLauncher();
- this.af.Visible = false;
- this.t.Visible = true;
- }
- catch (Exception ex2)
- {
- }
- }
- else
- {
- base.Close();
- }
- }
- }
- // Token: 0x06000010 RID: 16 RVA: 0x00002A10 File Offset: 0x00000C10
- public void doUpdateLauncher()
- {
- try
- {
- this.a = new BackgroundWorker();
- this.a.WorkerReportsProgress = true;
- this.a.WorkerSupportsCancellation = true;
- this.a.DoWork += this.a;
- this.a.RunWorkerCompleted += this.a;
- this.a.RunWorkerAsync();
- }
- catch
- {
- }
- }
- // Token: 0x06000011 RID: 17 RVA: 0x00002A98 File Offset: 0x00000C98
- private void a(object A_0, DoWorkEventArgs A_1)
- {
- try
- {
- this.u.Visible = true;
- string fullPath = Path.GetFullPath("./");
- string fileToDownloadLink = "https://www.lfspro.net/query/__" + Assembly.GetExecutingAssembly().GetName().Name + ".exe";
- string pathToSaveFile = fullPath + "tmp.bin";
- this.startDownloadExtras1("http://lfspro.net/query/__CruiseTweak.dll", "CruiseTweak.dll");
- this.startDownload(fileToDownloadLink, pathToSaveFile);
- }
- catch
- {
- }
- }
- // Token: 0x06000012 RID: 18 RVA: 0x00002B1C File Offset: 0x00000D1C
- public void startDownload(string fileToDownloadLink, string PathToSaveFile)
- {
- try
- {
- using (this.b = new WebClient())
- {
- this.u.Text = "Downloading New Launcher";
- Application.DoEvents();
- this.b.DownloadProgressChanged += this.a;
- this.b.DownloadFileCompleted += this.a;
- this.b.DownloadFileAsync(new Uri(fileToDownloadLink), PathToSaveFile);
- }
- }
- catch (WebException ex)
- {
- MessageBox.Show(ex.ToString());
- Application.Exit();
- }
- }
- // Token: 0x06000013 RID: 19 RVA: 0x00002BDC File Offset: 0x00000DDC
- public void startDownloadExtras1(string fileToDownloadLink, string PathToSaveFile)
- {
- try
- {
- using (this.b = new WebClient())
- {
- this.b.DownloadFileAsync(new Uri(fileToDownloadLink), PathToSaveFile);
- }
- }
- catch (WebException ex)
- {
- MessageBox.Show(ex.ToString());
- Application.Exit();
- }
- }
- // Token: 0x06000014 RID: 20 RVA: 0x00002C54 File Offset: 0x00000E54
- public void startDownloadExtras2(string fileToDownloadLink, string PathToSaveFile)
- {
- try
- {
- using (this.b = new WebClient())
- {
- this.b.DownloadFileAsync(new Uri(fileToDownloadLink), PathToSaveFile);
- }
- }
- catch (WebException ex)
- {
- MessageBox.Show(ex.ToString());
- Application.Exit();
- }
- }
- // Token: 0x06000015 RID: 21 RVA: 0x00002CCC File Offset: 0x00000ECC
- public void startDownloadExtras3(string fileToDownloadLink, string PathToSaveFile)
- {
- try
- {
- using (this.b = new WebClient())
- {
- this.b.DownloadFileAsync(new Uri(fileToDownloadLink), PathToSaveFile);
- }
- }
- catch (WebException ex)
- {
- MessageBox.Show(ex.ToString());
- Application.Exit();
- }
- }
- // Token: 0x06000016 RID: 22 RVA: 0x00002D44 File Offset: 0x00000F44
- private void a(object A_0, RunWorkerCompletedEventArgs A_1)
- {
- try
- {
- bool cancelled = A_1.Cancelled;
- if (!cancelled)
- {
- bool flag = A_1.Error != null;
- if (flag)
- {
- MessageBox.Show(A_1.Error.Message);
- Application.Exit();
- }
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000017 RID: 23 RVA: 0x00002DA0 File Offset: 0x00000FA0
- private void a(object A_0, DownloadProgressChangedEventArgs A_1)
- {
- try
- {
- this.t.Value = A_1.ProgressPercentage;
- }
- catch
- {
- }
- }
- // Token: 0x06000018 RID: 24 RVA: 0x00002DDC File Offset: 0x00000FDC
- private void a(object A_0, AsyncCompletedEventArgs A_1)
- {
- try
- {
- bool cancelled = A_1.Cancelled;
- if (cancelled)
- {
- this.b.CancelAsync();
- MessageBox.Show(A_1.Error.ToString());
- Application.Exit();
- }
- else
- {
- bool flag = A_1.Error != null;
- if (flag)
- {
- this.b.CancelAsync();
- MessageBox.Show(A_1.Error.ToString());
- Application.Exit();
- }
- else
- {
- this.b.CancelAsync();
- this.UpdateApplication();
- }
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000019 RID: 25 RVA: 0x00002E80 File Offset: 0x00001080
- public void UpdateApplication()
- {
- try
- {
- string format = "/C Choice /C Y /N /D Y /T 4 & DEL /F /Q \"{0}\" & Choice /C Y /N /D Y /T 2 & MOVE /Y \"{1}\" \"{2}\" & Start \"\" /D \"{3}\" \"{4}\" {5}";
- string text = Path.GetFullPath("./") + Assembly.GetExecutingAssembly().GetName().Name + ".exe";
- string text2 = Path.GetFullPath("./") + "tmp.bin";
- string text3 = Path.GetFullPath("./") + Assembly.GetExecutingAssembly().GetName().Name + ".exe";
- Process.Start(new ProcessStartInfo
- {
- Arguments = string.Format(format, new object[]
- {
- text,
- text2,
- text3,
- Path.GetDirectoryName(text3),
- Path.GetFileName(text3),
- ""
- }),
- WindowStyle = ProcessWindowStyle.Hidden,
- CreateNoWindow = true,
- FileName = "cmd.exe"
- });
- Application.Exit();
- }
- catch
- {
- }
- }
- // Token: 0x0600001A RID: 26 RVA: 0x00002F78 File Offset: 0x00001178
- private void r(object A_0, EventArgs A_1)
- {
- try
- {
- Process.Start("https://www.youtube.com/channel/UChCXDTWsZ2wKj4SPki6n3_w");
- this.af.Visible = false;
- }
- catch
- {
- }
- }
- // Token: 0x0600001B RID: 27 RVA: 0x00002FB8 File Offset: 0x000011B8
- private void q(object A_0, EventArgs A_1)
- {
- try
- {
- Process.Start("https://www.facebook.com/groups/1993225994222622/");
- this.af.Visible = false;
- }
- catch
- {
- }
- }
- // Token: 0x0600001C RID: 28 RVA: 0x00002FF8 File Offset: 0x000011F8
- private void p(object A_0, EventArgs A_1)
- {
- try
- {
- Process.Start("https://www.lfspro.net/");
- this.af.Visible = false;
- }
- catch
- {
- }
- }
- // Token: 0x0600001D RID: 29 RVA: 0x00003038 File Offset: 0x00001238
- private void o(object A_0, EventArgs A_1)
- {
- try
- {
- Process.Start("https://discord.gg/qeu2m6A/ ");
- this.af.Visible = false;
- }
- catch
- {
- }
- }
- // Token: 0x0600001E RID: 30 RVA: 0x00003078 File Offset: 0x00001278
- private void n(object A_0, EventArgs A_1)
- {
- try
- {
- string value = "Taskkill /IM LFS.exe /F";
- Process process = new Process();
- process.StartInfo.FileName = "cmd.exe";
- process.StartInfo.RedirectStandardInput = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.StandardInput.WriteLine(value);
- process.StandardInput.Flush();
- process.StandardInput.Close();
- process.WaitForExit();
- Console.WriteLine(process.StandardOutput.ReadToEnd());
- base.Invoke(new Action(this.c));
- base.Invoke(new Action(this.b));
- base.Invoke(new Action(this.a));
- base.Invoke(new Action(LFSPro.<>c.<>9.a));
- }
- catch
- {
- }
- }
- // Token: 0x0600001F RID: 31 RVA: 0x00003194 File Offset: 0x00001394
- private void m(object A_0, EventArgs A_1)
- {
- try
- {
- base.Invoke(new Action(LFSPro.<>c.<>9.b));
- }
- catch
- {
- }
- }
- // Token: 0x06000020 RID: 32 RVA: 0x000031E4 File Offset: 0x000013E4
- private void l(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = !this.af.Visible;
- if (flag)
- {
- this.ak.Visible = false;
- this.o.ShowSync(this.af, false, null);
- this.af.Visible = true;
- }
- else
- {
- this.o.Hide(this.af, false, null);
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000021 RID: 33 RVA: 0x00003268 File Offset: 0x00001468
- private void k(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = !this.ak.Visible;
- if (flag)
- {
- this.au.Visible = false;
- this.ak.Visible = false;
- this.af.Visible = false;
- this.ak.Visible = true;
- }
- else
- {
- this.ak.Visible = false;
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000022 RID: 34 RVA: 0x000032E8 File Offset: 0x000014E8
- private void j(object A_0, EventArgs A_1)
- {
- try
- {
- this.e();
- }
- catch
- {
- }
- }
- // Token: 0x06000023 RID: 35 RVA: 0x00003318 File Offset: 0x00001518
- private void i(object A_0, EventArgs A_1)
- {
- try
- {
- this.ak.Visible = false;
- }
- catch
- {
- }
- }
- // Token: 0x06000024 RID: 36 RVA: 0x0000334C File Offset: 0x0000154C
- private void h(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = this.ao.TextLength >= 8 && this.am.TextLength >= 3;
- if (flag)
- {
- this.au.Visible = false;
- this.ak.Visible = false;
- this.af.Visible = false;
- this.a2.Navigate("http://lfspro.net/query/lfspro_launcher_mycruise.php?username=" + this.am.Text + "&password=" + this.ao.Text);
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000025 RID: 37 RVA: 0x000033F4 File Offset: 0x000015F4
- private void g(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = this.ao.TextLength >= 8 && this.am.TextLength >= 3;
- if (flag)
- {
- this.af.Visible = false;
- this.a2.Navigate("http://lfspro.net/query/lfspro_launcher_mycars.php?username=" + this.am.Text + "&password=" + this.ao.Text);
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000026 RID: 38 RVA: 0x00003484 File Offset: 0x00001684
- private void f(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = !this.au.Visible;
- if (flag)
- {
- this.af.Visible = false;
- this.ak.Visible = false;
- this.au.Visible = false;
- this.o.ShowSync(this.au, false, null);
- }
- else
- {
- this.au.Visible = false;
- }
- }
- catch
- {
- }
- }
- // Token: 0x06000027 RID: 39 RVA: 0x0000350C File Offset: 0x0000170C
- private void e(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = Directory.Exists("data\\skins");
- if (flag)
- {
- string[] array = new string[]
- {
- "UF1_PROTAXI",
- "XFG_PROTAXI",
- "XRG_PROTAXI",
- "RB4_PROTAXI",
- "XRT_PROTAXI",
- "FXO_PROTAXI",
- "RAC_PROTAXI",
- "FZ5_PROTAXI"
- };
- int num = 8;
- this.u.Visible = true;
- this.u.Text = "Deleting Old Skins";
- for (int i = 0; i < num; i++)
- {
- bool flag2 = File.Exists("data\\skins\\" + array[i] + ".jpg") || File.Exists("data\\skins\\" + array[i] + ".JPG");
- if (flag2)
- {
- try
- {
- File.Delete("data\\skins\\" + array[i] + ".jpg");
- }
- catch
- {
- File.Delete("data\\skins\\" + array[i] + ".JPG");
- }
- }
- bool flag3 = File.Exists("data\\skins_dds\\" + array[i] + ".dds");
- if (flag3)
- {
- File.Delete("data\\skins_dds\\" + array[i] + ".dds");
- }
- }
- for (int j = 0; j < num; j++)
- {
- bool flag4 = !File.Exists("data\\skins\\" + array[j] + ".jpg") && !File.Exists("data\\skins\\" + array[j] + ".JPG");
- if (flag4)
- {
- string text = array[j].Substring(0, 3);
- Clipboard.SetText(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }));
- using (WebClient webClient = new WebClient())
- {
- this.u.Text = "Downloading: " + array[j] + ".JPG";
- this.t.Visible = true;
- this.t.Value += 100 / num;
- Application.DoEvents();
- webClient.DownloadFile(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }), "data\\skins\\" + array[j] + ".JPG");
- }
- }
- }
- this.u.Text = "Taxi Skins Downloaded";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- else
- {
- this.u.Text = "Skins Folder Missing";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- }
- catch (Exception ex)
- {
- }
- }
- // Token: 0x06000028 RID: 40 RVA: 0x00003858 File Offset: 0x00001A58
- private void d(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = Directory.Exists("data\\skins");
- if (flag)
- {
- string[] array = new string[]
- {
- "XFG_PROPMERJ",
- "XRT_PROPMERJ",
- "FXO_PROPMERJ",
- "FXO_PROPRF",
- "RB4_PROPMERJ",
- "FZ5_PROPMERJ",
- "FZ5_PROPRF",
- "XFR_PROPMERJ",
- "FXR_PROPRF",
- "FXR_PROPMERJ",
- "FZR_PROPMERJ",
- "FZR_PROPRF"
- };
- int num = 12;
- this.u.Visible = true;
- this.u.Text = "Deleting Old Skins";
- for (int i = 0; i < num; i++)
- {
- bool flag2 = File.Exists("data\\skins\\" + array[i] + ".jpg") || File.Exists("data\\skins\\" + array[i] + ".JPG");
- if (flag2)
- {
- try
- {
- File.Delete("data\\skins\\" + array[i] + ".jpg");
- }
- catch
- {
- File.Delete("data\\skins\\" + array[i] + ".JPG");
- }
- }
- bool flag3 = File.Exists("data\\skins_dds\\" + array[i] + ".dds");
- if (flag3)
- {
- File.Delete("data\\skins_dds\\" + array[i] + ".dds");
- }
- }
- for (int j = 0; j < num; j++)
- {
- bool flag4 = !File.Exists("data\\skins\\" + array[j] + ".jpg") && !File.Exists("data\\skins\\" + array[j] + ".JPG");
- if (flag4)
- {
- string text = array[j].Substring(0, 3);
- Clipboard.SetText(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }));
- using (WebClient webClient = new WebClient())
- {
- this.u.Text = "Downloading: " + array[j] + ".JPG";
- this.t.Visible = true;
- this.t.Value += 100 / num;
- Application.DoEvents();
- webClient.DownloadFile(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }), "data\\skins\\" + array[j] + ".JPG");
- }
- }
- }
- this.u.Text = "Police Skins Downloaded";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- else
- {
- this.u.Text = "Skins Folder Missing";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- }
- catch (Exception ex)
- {
- }
- }
- // Token: 0x06000029 RID: 41 RVA: 0x00003BC8 File Offset: 0x00001DC8
- private void c(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = Directory.Exists("data\\skins");
- if (flag)
- {
- string[] array = new string[]
- {
- "FXO_PROSAMU",
- "FXR_PROSAMU",
- "FZ5_PROSAMU",
- "FZR_PROSAMU",
- "RAC_PROSAMU",
- "RB4_PROSAMU",
- "UFR_PROSAMU",
- "XRR_PROSAMU",
- "XRT_PROSAMU"
- };
- int num = 9;
- this.u.Visible = true;
- this.u.Text = "Deleting Old Skins";
- for (int i = 0; i < num; i++)
- {
- bool flag2 = File.Exists("data\\skins\\" + array[i] + ".jpg") || File.Exists("data\\skins\\" + array[i] + ".JPG");
- if (flag2)
- {
- try
- {
- File.Delete("data\\skins\\" + array[i] + ".jpg");
- }
- catch
- {
- File.Delete("data\\skins\\" + array[i] + ".JPG");
- }
- }
- bool flag3 = File.Exists("data\\skins_dds\\" + array[i] + ".dds");
- if (flag3)
- {
- File.Delete("data\\skins_dds\\" + array[i] + ".dds");
- }
- }
- for (int j = 0; j < num; j++)
- {
- bool flag4 = !File.Exists("data\\skins\\" + array[j] + ".jpg") && !File.Exists("data\\skins\\" + array[j] + ".JPG");
- if (flag4)
- {
- string text = array[j].Substring(0, 3);
- Clipboard.SetText(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }));
- using (WebClient webClient = new WebClient())
- {
- this.u.Text = "Downloading: " + array[j] + ".JPG";
- this.t.Visible = true;
- this.t.Value += 100 / num;
- Application.DoEvents();
- webClient.DownloadFile(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }), "data\\skins\\" + array[j] + ".JPG");
- }
- }
- }
- this.u.Text = "Rescue Skins Downloaded";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- else
- {
- this.u.Text = "Skins Folder Missing";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- }
- catch
- {
- }
- }
- // Token: 0x0600002A RID: 42 RVA: 0x00003F1C File Offset: 0x0000211C
- private void b(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = Directory.Exists("data\\skins");
- if (flag)
- {
- string[] array = new string[]
- {
- "UF1_PROCLEAN"
- };
- int num = 1;
- this.u.Visible = true;
- this.u.Text = "Deleting Old Skins";
- for (int i = 0; i < num; i++)
- {
- bool flag2 = File.Exists("data\\skins\\" + array[i] + ".jpg") || File.Exists("data\\skins\\" + array[i] + ".JPG");
- if (flag2)
- {
- try
- {
- File.Delete("data\\skins\\" + array[i] + ".jpg");
- }
- catch
- {
- File.Delete("data\\skins\\" + array[i] + ".JPG");
- }
- }
- bool flag3 = File.Exists("data\\skins_dds\\" + array[i] + ".dds");
- if (flag3)
- {
- File.Delete("data\\skins_dds\\" + array[i] + ".dds");
- }
- }
- for (int j = 0; j < num; j++)
- {
- bool flag4 = !File.Exists("data\\skins\\" + array[j] + ".jpg") && !File.Exists("data\\skins\\" + array[j] + ".JPG");
- if (flag4)
- {
- string text = array[j].Substring(0, 3);
- Clipboard.SetText(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }));
- using (WebClient webClient = new WebClient())
- {
- this.u.Text = "Downloading: " + array[j] + ".JPG";
- this.t.Visible = true;
- this.t.Value += 100 / num;
- Application.DoEvents();
- webClient.DownloadFile(string.Concat(new string[]
- {
- "http://skins.lfspro.net/",
- text,
- "/512/",
- array[j],
- ".JPG"
- }), "data\\skins\\" + array[j] + ".JPG");
- }
- }
- }
- this.u.Text = "Other Skins Downloaded";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- else
- {
- this.u.Text = "Skins Folder Missing";
- this.t.Visible = false;
- this.t.Value = 0;
- }
- }
- catch
- {
- }
- }
- // Token: 0x0600002B RID: 43 RVA: 0x00004230 File Offset: 0x00002430
- private void a(object A_0, EventArgs A_1)
- {
- try
- {
- bool flag = !this.h.Enabled;
- if (flag)
- {
- bool flag2 = this.am.TextLength >= 3 && this.ao.TextLength >= 8;
- if (flag2)
- {
- Process.Start(new ProcessStartInfo("CruiseTweak.dll")
- {
- Arguments = this.am.Text.Replace(" ", "$") + " " + this.ao.Text.Replace(" ", "$"),
- UseShellExecute = false
- });
- this.c = true;
- this.h.Enabled = true;
- this.h.Start();
- }
- else
- {
- MessageBox.Show("Please update your username and password on Options tab!");
- }
- }
- else
- {
- this.c = false;
- this.h.Enabled = false;
- this.h.Stop();
- this.ag.BackColor = Color.Transparent;
- string value = "Taskkill /IM x86Watchdog.dll /F";
- string value2 = "Taskkill /IM x64Watchdog.dll /F";
- string value3 = "Taskkill /IM CruiseTweak.dll /F";
- Process process = new Process();
- process.StartInfo.FileName = "cmd.exe";
- process.StartInfo.RedirectStandardInput = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.StandardInput.WriteLine(value);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value2);
- process.StandardInput.Flush();
- process.StandardInput.WriteLine(value3);
- process.StandardInput.Flush();
- process.StandardInput.Close();
- process.WaitForExit();
- Console.WriteLine(process.StandardOutput.ReadToEnd());
- }
- }
- catch
- {
- }
- }
- // Token: 0x0600002C RID: 44 RVA: 0x00004454 File Offset: 0x00002654
- private void a(object A_0, ElapsedEventArgs A_1)
- {
- try
- {
- bool flag = this.c;
- if (flag)
- {
- this.ag.BackColor = Color.FromArgb(128, 255, 128);
- bool flag2 = false;
- Process[] processes = Process.GetProcesses();
- foreach (Process process in processes)
- {
- bool flag3 = process.ProcessName.ToString().Contains("CruiseTweak");
- if (flag3)
- {
- flag2 = true;
- }
- }
- bool flag4 = !flag2;
- if (flag4)
- {
- Application.Exit();
- Environment.Exit(1);
- }
- }
- else
- {
- this.ag.BackColor = Color.Transparent;
- }
- }
- catch
- {
- }
- }
- // Token: 0x0600002D RID: 45 RVA: 0x00004520 File Offset: 0x00002720
- private void e()
- {
- try
- {
- string value = NetworkInterface.GetAllNetworkInterfaces().Where(new Func<NetworkInterface, bool>(LFSPro.<>c.<>9.c)).Select(new Func<NetworkInterface, string>(LFSPro.<>c.<>9.d)).FirstOrDefault<string>();
- string text = Convert.ToString(value);
- bool flag = text.Length < 3;
- if (flag)
- {
- text = "NOADDFOUND";
- }
- WebBrowser webBrowser = new WebBrowser();
- webBrowser.Navigate(new Uri(string.Concat(new string[]
- {
- "http://lfspro.net/query/lfspro_launcher_register.php?Username=",
- this.am.Text,
- "&Password=",
- this.ao.Text,
- "&Checksum=",
- text,
- "&Version=",
- Assembly.GetExecutingAssembly().GetName().Version.ToString()
- })));
- while (webBrowser.ReadyState != WebBrowserReadyState.Complete)
- {
- Application.DoEvents();
- }
- string text2 = webBrowser.Document.Body.InnerHtml.ToString();
- bool flag2 = text2.Contains("User OK");
- if (flag2)
- {
- this.ab.Enabled = true;
- this.aa.Enabled = true;
- this.ak.Visible = false;
- this.a(this.am.Text, this.ao.Text);
- this.h();
- }
- else
- {
- MessageBox.Show("Username not found. Please fill your Username and LFSPro Password (not the website password) then click SAVE");
- this.ak.Visible = true;
- }
- }
- catch (Exception ex)
- {
- }
- }
- // Token: 0x0600002E RID: 46 RVA: 0x000046E8 File Offset: 0x000028E8
- protected override void Dispose(bool disposing)
- {
- bool flag = disposing && this.j != null;
- if (flag)
- {
- this.j.Dispose();
- }
- base.Dispose(disposing);
- }
- // Token: 0x0600002F RID: 47 RVA: 0x00004720 File Offset: 0x00002920
- private void d()
- {
- this.j = new Container();
- Animation animation = new Animation();
- Animation animation2 = new Animation();
- Animation animation3 = new Animation();
- Animation animation4 = new Animation();
- ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(LFSPro));
- this.k = new BunifuElipse(this.j);
- this.l = new Panel();
- this.ae = new Panel();
- this.q = new PictureBox();
- this.r = new BunifuCustomLabel();
- this.m = new BunifuImageButton();
- this.n = new BunifuDragControl(this.j);
- this.p = new BunifuTransition(this.j);
- this.s = new Panel();
- this.ak = new Panel();
- this.a5 = new BunifuCustomLabel();
- this.ar = new BunifuFlatButton();
- this.aq = new BunifuFlatButton();
- this.an = new BunifuCustomLabel();
- this.ao = new BunifuCustomTextbox();
- this.ap = new BunifuCustomLabel();
- this.am = new BunifuCustomTextbox();
- this.al = new BunifuCustomLabel();
- this.u = new BunifuCustomLabel();
- this.t = new BunifuProgressBar();
- this.au = new Panel();
- this.a3 = new BunifuFlatButton();
- this.a4 = new BunifuCustomLabel();
- this.az = new BunifuFlatButton();
- this.a0 = new BunifuCustomLabel();
- this.ax = new BunifuFlatButton();
- this.ay = new BunifuCustomLabel();
- this.av = new BunifuFlatButton();
- this.aw = new BunifuCustomLabel();
- this.a2 = new WebBrowser();
- this.ad = new PictureBox();
- this.ac = new BunifuImageButton();
- this.ab = new BunifuFlatButton();
- this.aa = new BunifuFlatButton();
- this.z = new BunifuFlatButton();
- this.y = new BunifuFlatButton();
- this.x = new BunifuFlatButton();
- this.w = new BunifuFlatButton();
- this.v = new Panel();
- this.@as = new BunifuFlatButton();
- this.af = new Panel();
- this.at = new BunifuFlatButton();
- this.ah = new BunifuFlatButton();
- this.ai = new BunifuFlatButton();
- this.ag = new BunifuFlatButton();
- this.o = new BunifuTransition(this.j);
- this.aj = new BunifuTransition(this.j);
- this.a1 = new BunifuTransition(this.j);
- this.a6 = new BunifuCustomLabel();
- this.l.SuspendLayout();
- ((ISupportInitialize)this.q).BeginInit();
- this.m.BeginInit();
- this.s.SuspendLayout();
- this.ak.SuspendLayout();
- this.au.SuspendLayout();
- ((ISupportInitialize)this.ad).BeginInit();
- this.ac.BeginInit();
- this.v.SuspendLayout();
- this.af.SuspendLayout();
- base.SuspendLayout();
- this.k.ElipseRadius = 5;
- this.k.TargetControl = this;
- this.l.BackColor = Color.FromArgb(0, 207, 232);
- this.l.Controls.Add(this.ae);
- this.l.Controls.Add(this.q);
- this.l.Controls.Add(this.r);
- this.l.Controls.Add(this.m);
- this.a1.SetDecoration(this.l, 0);
- this.p.SetDecoration(this.l, 0);
- this.o.SetDecoration(this.l, 0);
- this.aj.SetDecoration(this.l, 0);
- this.l.Dock = DockStyle.Top;
- this.l.Location = new Point(0, 0);
- this.l.Name = "header";
- this.l.Size = new Size(770, 34);
- this.l.TabIndex = 1;
- this.a1.SetDecoration(this.ae, 0);
- this.p.SetDecoration(this.ae, 0);
- this.o.SetDecoration(this.ae, 0);
- this.aj.SetDecoration(this.ae, 0);
- this.ae.Location = new Point(53, 31);
- this.ae.Name = "panel2";
- this.ae.Size = new Size(105, 473);
- this.ae.TabIndex = 3;
- this.aj.SetDecoration(this.q, 0);
- this.a1.SetDecoration(this.q, 0);
- this.o.SetDecoration(this.q, 0);
- this.p.SetDecoration(this.q, 0);
- this.q.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image");
- this.q.Location = new Point(3, 2);
- this.q.Name = "pictureBox1";
- this.q.Size = new Size(30, 30);
- this.q.SizeMode = PictureBoxSizeMode.Zoom;
- this.q.TabIndex = 4;
- this.q.TabStop = false;
- this.r.AutoSize = true;
- this.aj.SetDecoration(this.r, 0);
- this.o.SetDecoration(this.r, 0);
- this.a1.SetDecoration(this.r, 0);
- this.p.SetDecoration(this.r, 0);
- this.r.Font = new Font("Century Gothic", 12f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.r.ForeColor = Color.White;
- this.r.Location = new Point(30, 7);
- this.r.Name = "bunifuCustomLabel1";
- this.r.Size = new Size(134, 21);
- this.r.TabIndex = 3;
- this.r.Text = "LFSPro Launcher";
- this.m.BackColor = Color.Transparent;
- this.a1.SetDecoration(this.m, 0);
- this.o.SetDecoration(this.m, 0);
- this.p.SetDecoration(this.m, 0);
- this.aj.SetDecoration(this.m, 0);
- this.m.Image = Resources.Close_Window_48px;
- this.m.ImageActive = null;
- this.m.Location = new Point(737, 2);
- this.m.Name = "bunifuImageButton2";
- this.m.Size = new Size(30, 30);
- this.m.SizeMode = PictureBoxSizeMode.Zoom;
- this.m.TabIndex = 2;
- this.m.TabStop = false;
- this.m.Zoom = 20;
- this.m.Click += this.u;
- this.n.Fixed = true;
- this.n.Horizontal = true;
- this.n.TargetControl = this.l;
- this.n.Vertical = true;
- this.p.AnimationType = 8;
- this.p.Cursor = null;
- animation.AnimateOnlyDifferences = true;
- animation.BlindCoeff = (PointF)componentResourceManager.GetObject("animation3.BlindCoeff");
- animation.LeafCoeff = 0f;
- animation.MaxTime = 1f;
- animation.MinTime = 0f;
- animation.MosaicCoeff = (PointF)componentResourceManager.GetObject("animation3.MosaicCoeff");
- animation.MosaicShift = (PointF)componentResourceManager.GetObject("animation3.MosaicShift");
- animation.MosaicSize = 0;
- animation.Padding = new Padding(0);
- animation.RotateCoeff = 0f;
- animation.RotateLimit = 0f;
- animation.ScaleCoeff = (PointF)componentResourceManager.GetObject("animation3.ScaleCoeff");
- animation.SlideCoeff = (PointF)componentResourceManager.GetObject("animation3.SlideCoeff");
- animation.TimeCoeff = 0f;
- animation.TransparencyCoeff = 1f;
- this.p.DefaultAnimation = animation;
- this.p.Interval = 3;
- this.p.MaxAnimationTime = 100;
- this.s.Controls.Add(this.ak);
- this.s.Controls.Add(this.u);
- this.s.Controls.Add(this.t);
- this.s.Controls.Add(this.au);
- this.s.Controls.Add(this.a2);
- this.a1.SetDecoration(this.s, 0);
- this.p.SetDecoration(this.s, 0);
- this.o.SetDecoration(this.s, 0);
- this.aj.SetDecoration(this.s, 0);
- this.s.Dock = DockStyle.Fill;
- this.s.Location = new Point(50, 34);
- this.s.Name = "panel1";
- this.s.Size = new Size(720, 470);
- this.s.TabIndex = 2;
- this.ak.Controls.Add(this.a5);
- this.ak.Controls.Add(this.ar);
- this.ak.Controls.Add(this.aq);
- this.ak.Controls.Add(this.an);
- this.ak.Controls.Add(this.ao);
- this.ak.Controls.Add(this.ap);
- this.ak.Controls.Add(this.am);
- this.ak.Controls.Add(this.al);
- this.a1.SetDecoration(this.ak, 0);
- this.p.SetDecoration(this.ak, 0);
- this.o.SetDecoration(this.ak, 0);
- this.aj.SetDecoration(this.ak, 0);
- this.ak.Location = new Point(6, 6);
- this.ak.Name = "options";
- this.ak.Size = new Size(707, 400);
- this.ak.TabIndex = 5;
- this.ak.Visible = false;
- this.a5.AutoSize = true;
- this.aj.SetDecoration(this.a5, 0);
- this.o.SetDecoration(this.a5, 0);
- this.a1.SetDecoration(this.a5, 0);
- this.p.SetDecoration(this.a5, 0);
- this.a5.Font = new Font("Century Gothic", 7f);
- this.a5.ForeColor = Color.Silver;
- this.a5.Location = new Point(96, 73);
- this.a5.Name = "bunifuCustomLabel3";
- this.a5.Size = new Size(272, 15);
- this.a5.TabIndex = 12;
- this.a5.Text = "Use the LFSPro Password, NOT the website password";
- this.ar.Activecolor = Color.Red;
- this.ar.BackColor = Color.FromArgb(255, 128, 128);
- this.ar.BackgroundImageLayout = ImageLayout.Stretch;
- this.ar.BorderRadius = 0;
- this.ar.ButtonText = " Cancel";
- this.ar.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ar, 0);
- this.o.SetDecoration(this.ar, 0);
- this.p.SetDecoration(this.ar, 0);
- this.aj.SetDecoration(this.ar, 0);
- this.ar.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ar.Iconcolor = Color.Transparent;
- this.ar.Iconimage = (Image)componentResourceManager.GetObject("optionsCancel.Iconimage");
- this.ar.Iconimage_right = null;
- this.ar.Iconimage_right_Selected = null;
- this.ar.Iconimage_Selected = null;
- this.ar.IconMarginLeft = 0;
- this.ar.IconMarginRight = 0;
- this.ar.IconRightVisible = true;
- this.ar.IconRightZoom = 0.0;
- this.ar.IconVisible = true;
- this.ar.IconZoom = 60.0;
- this.ar.IsTab = false;
- this.ar.Location = new Point(194, 343);
- this.ar.Name = "optionsCancel";
- this.ar.Normalcolor = Color.FromArgb(255, 128, 128);
- this.ar.OnHovercolor = Color.Red;
- this.ar.OnHoverTextColor = Color.White;
- this.ar.selected = false;
- this.ar.Size = new Size(180, 45);
- this.ar.TabIndex = 11;
- this.ar.Text = " Cancel";
- this.ar.TextAlign = ContentAlignment.MiddleLeft;
- this.ar.Textcolor = Color.White;
- this.ar.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ar.Click += this.i;
- this.aq.Activecolor = Color.Lime;
- this.aq.BackColor = Color.FromArgb(128, 255, 128);
- this.aq.BackgroundImageLayout = ImageLayout.Stretch;
- this.aq.BorderRadius = 0;
- this.aq.ButtonText = " Save";
- this.aq.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.aq, 0);
- this.o.SetDecoration(this.aq, 0);
- this.p.SetDecoration(this.aq, 0);
- this.aj.SetDecoration(this.aq, 0);
- this.aq.DisabledColor = Color.FromArgb(255, 128, 128);
- this.aq.Iconcolor = Color.Transparent;
- this.aq.Iconimage = (Image)componentResourceManager.GetObject("optionsSave.Iconimage");
- this.aq.Iconimage_right = null;
- this.aq.Iconimage_right_Selected = null;
- this.aq.Iconimage_Selected = null;
- this.aq.IconMarginLeft = 0;
- this.aq.IconMarginRight = 0;
- this.aq.IconRightVisible = true;
- this.aq.IconRightZoom = 0.0;
- this.aq.IconVisible = true;
- this.aq.IconZoom = 60.0;
- this.aq.IsTab = false;
- this.aq.Location = new Point(8, 343);
- this.aq.Name = "optionsSave";
- this.aq.Normalcolor = Color.FromArgb(128, 255, 128);
- this.aq.OnHovercolor = Color.Lime;
- this.aq.OnHoverTextColor = Color.White;
- this.aq.selected = false;
- this.aq.Size = new Size(180, 45);
- this.aq.TabIndex = 10;
- this.aq.Text = " Save";
- this.aq.TextAlign = ContentAlignment.MiddleLeft;
- this.aq.Textcolor = Color.Gray;
- this.aq.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.aq.Click += this.j;
- this.an.AutoSize = true;
- this.aj.SetDecoration(this.an, 0);
- this.o.SetDecoration(this.an, 0);
- this.a1.SetDecoration(this.an, 0);
- this.p.SetDecoration(this.an, 0);
- this.an.Font = new Font("Century Gothic", 7f);
- this.an.ForeColor = Color.White;
- this.an.Location = new Point(3, 53);
- this.an.Name = "optionsPassword";
- this.an.Size = new Size(89, 15);
- this.an.TabIndex = 9;
- this.an.Text = "LFSPro Password";
- this.ao.BackColor = Color.FromArgb(55, 55, 55);
- this.ao.BorderColor = Color.SeaGreen;
- this.ao.BorderStyle = BorderStyle.FixedSingle;
- this.aj.SetDecoration(this.ao, 0);
- this.a1.SetDecoration(this.ao, 0);
- this.o.SetDecoration(this.ao, 0);
- this.p.SetDecoration(this.ao, 0);
- this.ao.ForeColor = Color.Gray;
- this.ao.Location = new Point(96, 50);
- this.ao.MaxLength = 45;
- this.ao.Name = "txtOptPassword";
- this.ao.PasswordChar = '*';
- this.ao.ShortcutsEnabled = false;
- this.ao.Size = new Size(163, 20);
- this.ao.TabIndex = 8;
- this.ap.AutoSize = true;
- this.aj.SetDecoration(this.ap, 0);
- this.o.SetDecoration(this.ap, 0);
- this.a1.SetDecoration(this.ap, 0);
- this.p.SetDecoration(this.ap, 0);
- this.ap.Font = new Font("Century Gothic", 7f);
- this.ap.ForeColor = Color.White;
- this.ap.Location = new Point(34, 28);
- this.ap.Name = "optionsUsername";
- this.ap.Size = new Size(58, 15);
- this.ap.TabIndex = 7;
- this.ap.Text = "Username";
- this.am.BackColor = Color.FromArgb(55, 55, 55);
- this.am.BorderColor = Color.SeaGreen;
- this.am.BorderStyle = BorderStyle.FixedSingle;
- this.aj.SetDecoration(this.am, 0);
- this.a1.SetDecoration(this.am, 0);
- this.o.SetDecoration(this.am, 0);
- this.p.SetDecoration(this.am, 0);
- this.am.ForeColor = Color.Gray;
- this.am.Location = new Point(96, 25);
- this.am.MaxLength = 45;
- this.am.Name = "txtOptUsername";
- this.am.ShortcutsEnabled = false;
- this.am.Size = new Size(163, 20);
- this.am.TabIndex = 6;
- this.al.AutoSize = true;
- this.aj.SetDecoration(this.al, 0);
- this.o.SetDecoration(this.al, 0);
- this.a1.SetDecoration(this.al, 0);
- this.p.SetDecoration(this.al, 0);
- this.al.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.al.ForeColor = Color.White;
- this.al.Location = new Point(5, 5);
- this.al.Name = "bunifuCustomLabel2";
- this.al.Size = new Size(104, 17);
- this.al.TabIndex = 5;
- this.al.Text = "LFSPro Account:";
- this.u.AutoSize = true;
- this.aj.SetDecoration(this.u, 0);
- this.o.SetDecoration(this.u, 0);
- this.a1.SetDecoration(this.u, 0);
- this.p.SetDecoration(this.u, 0);
- this.u.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.u.ForeColor = Color.White;
- this.u.Location = new Point(6, 426);
- this.u.Name = "downloadAction";
- this.u.Size = new Size(104, 17);
- this.u.TabIndex = 4;
- this.u.Text = "LFSPro Launcher";
- this.u.Visible = false;
- this.t.BackColor = Color.Silver;
- this.t.BorderRadius = 5;
- this.aj.SetDecoration(this.t, 0);
- this.p.SetDecoration(this.t, 0);
- this.o.SetDecoration(this.t, 0);
- this.a1.SetDecoration(this.t, 0);
- this.t.Location = new Point(6, 444);
- this.t.MaximumValue = 100;
- this.t.Name = "downloadBar";
- this.t.ProgressColor = Color.FromArgb(0, 207, 232);
- this.t.Size = new Size(707, 20);
- this.t.TabIndex = 1;
- this.t.Value = 0;
- this.t.Visible = false;
- this.au.Controls.Add(this.a3);
- this.au.Controls.Add(this.a4);
- this.au.Controls.Add(this.az);
- this.au.Controls.Add(this.a0);
- this.au.Controls.Add(this.ax);
- this.au.Controls.Add(this.ay);
- this.au.Controls.Add(this.av);
- this.au.Controls.Add(this.aw);
- this.a1.SetDecoration(this.au, 0);
- this.p.SetDecoration(this.au, 0);
- this.o.SetDecoration(this.au, 0);
- this.aj.SetDecoration(this.au, 0);
- this.au.Location = new Point(6, 6);
- this.au.Name = "skins";
- this.au.Size = new Size(707, 400);
- this.au.TabIndex = 12;
- this.au.Visible = false;
- this.a3.Activecolor = Color.Lime;
- this.a3.BackColor = Color.FromArgb(128, 255, 128);
- this.a3.BackgroundImageLayout = ImageLayout.Stretch;
- this.a3.BorderRadius = 0;
- this.a3.ButtonText = " Download";
- this.a3.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.a3, 0);
- this.o.SetDecoration(this.a3, 0);
- this.p.SetDecoration(this.a3, 0);
- this.aj.SetDecoration(this.a3, 0);
- this.a3.DisabledColor = Color.FromArgb(255, 128, 128);
- this.a3.Iconcolor = Color.Transparent;
- this.a3.Iconimage = (Image)componentResourceManager.GetObject("skinsDownloadOther.Iconimage");
- this.a3.Iconimage_right = null;
- this.a3.Iconimage_right_Selected = null;
- this.a3.Iconimage_Selected = null;
- this.a3.IconMarginLeft = 0;
- this.a3.IconMarginRight = 0;
- this.a3.IconRightVisible = true;
- this.a3.IconRightZoom = 0.0;
- this.a3.IconVisible = true;
- this.a3.IconZoom = 60.0;
- this.a3.IsTab = false;
- this.a3.Location = new Point(9, 244);
- this.a3.Name = "skinsDownloadOther";
- this.a3.Normalcolor = Color.FromArgb(128, 255, 128);
- this.a3.OnHovercolor = Color.Lime;
- this.a3.OnHoverTextColor = Color.White;
- this.a3.selected = false;
- this.a3.Size = new Size(180, 45);
- this.a3.TabIndex = 16;
- this.a3.Text = " Download";
- this.a3.TextAlign = ContentAlignment.MiddleLeft;
- this.a3.Textcolor = Color.Gray;
- this.a3.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.a3.Click += this.b;
- this.a4.AutoSize = true;
- this.aj.SetDecoration(this.a4, 0);
- this.o.SetDecoration(this.a4, 0);
- this.a1.SetDecoration(this.a4, 0);
- this.p.SetDecoration(this.a4, 0);
- this.a4.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.a4.ForeColor = Color.White;
- this.a4.Location = new Point(9, 224);
- this.a4.Name = "lblskinsOthers";
- this.a4.Size = new Size(73, 17);
- this.a4.TabIndex = 15;
- this.a4.Text = "Other Skins";
- this.az.Activecolor = Color.FromArgb(255, 128, 128);
- this.az.BackColor = Color.FromArgb(255, 128, 128);
- this.az.BackgroundImageLayout = ImageLayout.Stretch;
- this.az.BorderRadius = 0;
- this.az.ButtonText = " Download";
- this.az.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.az, 0);
- this.o.SetDecoration(this.az, 0);
- this.p.SetDecoration(this.az, 0);
- this.aj.SetDecoration(this.az, 0);
- this.az.DisabledColor = Color.FromArgb(255, 128, 128);
- this.az.Iconcolor = Color.Transparent;
- this.az.Iconimage = (Image)componentResourceManager.GetObject("skinsDownloadRescue.Iconimage");
- this.az.Iconimage_right = null;
- this.az.Iconimage_right_Selected = null;
- this.az.Iconimage_Selected = null;
- this.az.IconMarginLeft = 0;
- this.az.IconMarginRight = 0;
- this.az.IconRightVisible = true;
- this.az.IconRightZoom = 0.0;
- this.az.IconVisible = true;
- this.az.IconZoom = 60.0;
- this.az.IsTab = false;
- this.az.Location = new Point(9, 171);
- this.az.Name = "skinsDownloadRescue";
- this.az.Normalcolor = Color.FromArgb(255, 128, 128);
- this.az.OnHovercolor = Color.Red;
- this.az.OnHoverTextColor = Color.White;
- this.az.selected = false;
- this.az.Size = new Size(180, 45);
- this.az.TabIndex = 14;
- this.az.Text = " Download";
- this.az.TextAlign = ContentAlignment.MiddleLeft;
- this.az.Textcolor = Color.Gray;
- this.az.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.az.Click += this.c;
- this.a0.AutoSize = true;
- this.aj.SetDecoration(this.a0, 0);
- this.o.SetDecoration(this.a0, 0);
- this.a1.SetDecoration(this.a0, 0);
- this.p.SetDecoration(this.a0, 0);
- this.a0.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.a0.ForeColor = Color.White;
- this.a0.Location = new Point(9, 151);
- this.a0.Name = "lblskinsRescue";
- this.a0.Size = new Size(82, 17);
- this.a0.TabIndex = 13;
- this.a0.Text = "Rescue Skins";
- this.ax.Activecolor = Color.FromArgb(192, 192, 255);
- this.ax.BackColor = Color.LightSkyBlue;
- this.ax.BackgroundImageLayout = ImageLayout.Stretch;
- this.ax.BorderRadius = 0;
- this.ax.ButtonText = " Download";
- this.ax.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ax, 0);
- this.o.SetDecoration(this.ax, 0);
- this.p.SetDecoration(this.ax, 0);
- this.aj.SetDecoration(this.ax, 0);
- this.ax.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ax.Iconcolor = Color.Transparent;
- this.ax.Iconimage = (Image)componentResourceManager.GetObject("skinsDownloadPolice.Iconimage");
- this.ax.Iconimage_right = null;
- this.ax.Iconimage_right_Selected = null;
- this.ax.Iconimage_Selected = null;
- this.ax.IconMarginLeft = 0;
- this.ax.IconMarginRight = 0;
- this.ax.IconRightVisible = true;
- this.ax.IconRightZoom = 0.0;
- this.ax.IconVisible = true;
- this.ax.IconZoom = 60.0;
- this.ax.IsTab = false;
- this.ax.Location = new Point(9, 98);
- this.ax.Name = "skinsDownloadPolice";
- this.ax.Normalcolor = Color.LightSkyBlue;
- this.ax.OnHovercolor = Color.DodgerBlue;
- this.ax.OnHoverTextColor = Color.White;
- this.ax.selected = false;
- this.ax.Size = new Size(180, 45);
- this.ax.TabIndex = 12;
- this.ax.Text = " Download";
- this.ax.TextAlign = ContentAlignment.MiddleLeft;
- this.ax.Textcolor = Color.Gray;
- this.ax.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ax.Click += this.d;
- this.ay.AutoSize = true;
- this.aj.SetDecoration(this.ay, 0);
- this.o.SetDecoration(this.ay, 0);
- this.a1.SetDecoration(this.ay, 0);
- this.p.SetDecoration(this.ay, 0);
- this.ay.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ay.ForeColor = Color.White;
- this.ay.Location = new Point(9, 78);
- this.ay.Name = "lblskinsPolice";
- this.ay.Size = new Size(76, 17);
- this.ay.TabIndex = 11;
- this.ay.Text = "Police Skins";
- this.av.Activecolor = Color.Yellow;
- this.av.BackColor = Color.FromArgb(255, 255, 128);
- this.av.BackgroundImageLayout = ImageLayout.Stretch;
- this.av.BorderRadius = 0;
- this.av.ButtonText = " Download";
- this.av.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.av, 0);
- this.o.SetDecoration(this.av, 0);
- this.p.SetDecoration(this.av, 0);
- this.aj.SetDecoration(this.av, 0);
- this.av.DisabledColor = Color.FromArgb(255, 128, 128);
- this.av.Iconcolor = Color.Transparent;
- this.av.Iconimage = (Image)componentResourceManager.GetObject("skinsDownloadTaxi.Iconimage");
- this.av.Iconimage_right = null;
- this.av.Iconimage_right_Selected = null;
- this.av.Iconimage_Selected = null;
- this.av.IconMarginLeft = 0;
- this.av.IconMarginRight = 0;
- this.av.IconRightVisible = true;
- this.av.IconRightZoom = 0.0;
- this.av.IconVisible = true;
- this.av.IconZoom = 60.0;
- this.av.IsTab = false;
- this.av.Location = new Point(9, 25);
- this.av.Name = "skinsDownloadTaxi";
- this.av.Normalcolor = Color.FromArgb(255, 255, 128);
- this.av.OnHovercolor = Color.Yellow;
- this.av.OnHoverTextColor = Color.Black;
- this.av.selected = false;
- this.av.Size = new Size(180, 45);
- this.av.TabIndex = 10;
- this.av.Text = " Download";
- this.av.TextAlign = ContentAlignment.MiddleLeft;
- this.av.Textcolor = Color.Gray;
- this.av.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.av.Click += this.e;
- this.aw.AutoSize = true;
- this.aj.SetDecoration(this.aw, 0);
- this.o.SetDecoration(this.aw, 0);
- this.a1.SetDecoration(this.aw, 0);
- this.p.SetDecoration(this.aw, 0);
- this.aw.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.aw.ForeColor = Color.White;
- this.aw.Location = new Point(9, 5);
- this.aw.Name = "lblskinsTaxi";
- this.aw.Size = new Size(61, 17);
- this.aw.TabIndex = 5;
- this.aw.Text = "Taxi Skins";
- this.o.SetDecoration(this.a2, 0);
- this.p.SetDecoration(this.a2, 0);
- this.a1.SetDecoration(this.a2, 0);
- this.aj.SetDecoration(this.a2, 0);
- this.a2.IsWebBrowserContextMenuEnabled = false;
- this.a2.Location = new Point(6, 6);
- this.a2.MinimumSize = new Size(20, 20);
- this.a2.Name = "webBrowser1";
- this.a2.ScriptErrorsSuppressed = true;
- this.a2.ScrollBarsEnabled = false;
- this.a2.Size = new Size(707, 400);
- this.a2.TabIndex = 0;
- this.a2.TabStop = false;
- this.a2.Url = new Uri("http://lfspro.net/query/lfspro_launcher_news.html", UriKind.Absolute);
- this.a2.WebBrowserShortcutsEnabled = false;
- this.aj.SetDecoration(this.ad, 0);
- this.a1.SetDecoration(this.ad, 0);
- this.o.SetDecoration(this.ad, 0);
- this.p.SetDecoration(this.ad, 0);
- this.ad.Image = Resources.logo_lfspro;
- this.ad.Location = new Point(3, 6);
- this.ad.Name = "logo";
- this.ad.Size = new Size(141, 61);
- this.ad.SizeMode = PictureBoxSizeMode.Zoom;
- this.ad.TabIndex = 0;
- this.ad.TabStop = false;
- this.ac.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
- this.ac.BackColor = Color.Transparent;
- this.a1.SetDecoration(this.ac, 0);
- this.o.SetDecoration(this.ac, 0);
- this.p.SetDecoration(this.ac, 0);
- this.aj.SetDecoration(this.ac, 0);
- this.ac.Image = Resources.Menu_48px;
- this.ac.ImageActive = null;
- this.ac.Location = new Point(17, 6);
- this.ac.Name = "bunifuImageButton1";
- this.ac.Size = new Size(30, 30);
- this.ac.SizeMode = PictureBoxSizeMode.Zoom;
- this.ac.TabIndex = 1;
- this.ac.TabStop = false;
- this.ac.Zoom = 20;
- this.ac.Click += this.t;
- this.ab.Activecolor = Color.Transparent;
- this.ab.BackColor = Color.Transparent;
- this.ab.BackgroundImageLayout = ImageLayout.Stretch;
- this.ab.BorderRadius = 0;
- this.ab.ButtonText = " Play Live for Speed";
- this.ab.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ab, 0);
- this.o.SetDecoration(this.ab, 0);
- this.p.SetDecoration(this.ab, 0);
- this.aj.SetDecoration(this.ab, 0);
- this.ab.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ab.Enabled = false;
- this.ab.Iconcolor = Color.Transparent;
- this.ab.Iconimage = (Image)componentResourceManager.GetObject("btnStartLFS.Iconimage");
- this.ab.Iconimage_right = null;
- this.ab.Iconimage_right_Selected = null;
- this.ab.Iconimage_Selected = null;
- this.ab.IconMarginLeft = 0;
- this.ab.IconMarginRight = 0;
- this.ab.IconRightVisible = true;
- this.ab.IconRightZoom = 0.0;
- this.ab.IconVisible = true;
- this.ab.IconZoom = 60.0;
- this.ab.IsTab = false;
- this.ab.Location = new Point(5, 73);
- this.ab.Name = "btnStartLFS";
- this.ab.Normalcolor = Color.Transparent;
- this.ab.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.ab.OnHoverTextColor = Color.White;
- this.ab.selected = false;
- this.ab.Size = new Size(180, 45);
- this.ab.TabIndex = 2;
- this.ab.Text = " Play Live for Speed";
- this.ab.TextAlign = ContentAlignment.MiddleLeft;
- this.ab.Textcolor = Color.Gray;
- this.ab.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ab.Click += this.m;
- this.aa.Activecolor = Color.Transparent;
- this.aa.BackColor = Color.Transparent;
- this.aa.BackgroundImageLayout = ImageLayout.Stretch;
- this.aa.BorderRadius = 0;
- this.aa.ButtonText = " LFSPro Cruise";
- this.aa.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.aa, 0);
- this.o.SetDecoration(this.aa, 0);
- this.p.SetDecoration(this.aa, 0);
- this.aj.SetDecoration(this.aa, 0);
- this.aa.DisabledColor = Color.FromArgb(255, 128, 128);
- this.aa.Enabled = false;
- this.aa.Iconcolor = Color.Transparent;
- this.aa.Iconimage = (Image)componentResourceManager.GetObject("btnCruiseTweak.Iconimage");
- this.aa.Iconimage_right = null;
- this.aa.Iconimage_right_Selected = null;
- this.aa.Iconimage_Selected = null;
- this.aa.IconMarginLeft = 0;
- this.aa.IconMarginRight = 0;
- this.aa.IconRightVisible = true;
- this.aa.IconRightZoom = 0.0;
- this.aa.IconVisible = true;
- this.aa.IconZoom = 60.0;
- this.aa.IsTab = false;
- this.aa.Location = new Point(5, 121);
- this.aa.Name = "btnCruiseTweak";
- this.aa.Normalcolor = Color.Transparent;
- this.aa.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.aa.OnHoverTextColor = Color.White;
- this.aa.selected = false;
- this.aa.Size = new Size(180, 45);
- this.aa.TabIndex = 4;
- this.aa.Text = " LFSPro Cruise";
- this.aa.TextAlign = ContentAlignment.MiddleLeft;
- this.aa.Textcolor = Color.Gray;
- this.aa.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.aa.Click += this.l;
- this.z.Activecolor = Color.Transparent;
- this.z.BackColor = Color.Transparent;
- this.z.BackgroundImageLayout = ImageLayout.Stretch;
- this.z.BorderRadius = 0;
- this.z.ButtonText = " Forum";
- this.z.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.z, 0);
- this.o.SetDecoration(this.z, 0);
- this.p.SetDecoration(this.z, 0);
- this.aj.SetDecoration(this.z, 0);
- this.z.DisabledColor = Color.Gray;
- this.z.Iconcolor = Color.Transparent;
- this.z.Iconimage = (Image)componentResourceManager.GetObject("btnForum.Iconimage");
- this.z.Iconimage_right = null;
- this.z.Iconimage_right_Selected = null;
- this.z.Iconimage_Selected = null;
- this.z.IconMarginLeft = 0;
- this.z.IconMarginRight = 0;
- this.z.IconRightVisible = true;
- this.z.IconRightZoom = 0.0;
- this.z.IconVisible = true;
- this.z.IconZoom = 60.0;
- this.z.IsTab = false;
- this.z.Location = new Point(5, 169);
- this.z.Name = "btnForum";
- this.z.Normalcolor = Color.Transparent;
- this.z.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.z.OnHoverTextColor = Color.White;
- this.z.selected = false;
- this.z.Size = new Size(180, 45);
- this.z.TabIndex = 5;
- this.z.Text = " Forum";
- this.z.TextAlign = ContentAlignment.MiddleLeft;
- this.z.Textcolor = Color.Gray;
- this.z.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.z.Click += this.p;
- this.y.Activecolor = Color.Transparent;
- this.y.BackColor = Color.Transparent;
- this.y.BackgroundImageLayout = ImageLayout.Stretch;
- this.y.BorderRadius = 0;
- this.y.ButtonText = " Facebook";
- this.y.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.y, 0);
- this.o.SetDecoration(this.y, 0);
- this.p.SetDecoration(this.y, 0);
- this.aj.SetDecoration(this.y, 0);
- this.y.DisabledColor = Color.Gray;
- this.y.Iconcolor = Color.Transparent;
- this.y.Iconimage = (Image)componentResourceManager.GetObject("btnFacebook.Iconimage");
- this.y.Iconimage_right = null;
- this.y.Iconimage_right_Selected = null;
- this.y.Iconimage_Selected = null;
- this.y.IconMarginLeft = 0;
- this.y.IconMarginRight = 0;
- this.y.IconRightVisible = true;
- this.y.IconRightZoom = 0.0;
- this.y.IconVisible = true;
- this.y.IconZoom = 60.0;
- this.y.IsTab = false;
- this.y.Location = new Point(5, 217);
- this.y.Name = "btnFacebook";
- this.y.Normalcolor = Color.Transparent;
- this.y.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.y.OnHoverTextColor = Color.White;
- this.y.selected = false;
- this.y.Size = new Size(180, 45);
- this.y.TabIndex = 6;
- this.y.Text = " Facebook";
- this.y.TextAlign = ContentAlignment.MiddleLeft;
- this.y.Textcolor = Color.Gray;
- this.y.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.y.Click += this.q;
- this.x.Activecolor = Color.Transparent;
- this.x.BackColor = Color.Transparent;
- this.x.BackgroundImageLayout = ImageLayout.Stretch;
- this.x.BorderRadius = 0;
- this.x.ButtonText = " YouTube";
- this.x.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.x, 0);
- this.o.SetDecoration(this.x, 0);
- this.p.SetDecoration(this.x, 0);
- this.aj.SetDecoration(this.x, 0);
- this.x.DisabledColor = Color.Gray;
- this.x.Iconcolor = Color.Transparent;
- this.x.Iconimage = (Image)componentResourceManager.GetObject("btnYoutube.Iconimage");
- this.x.Iconimage_right = null;
- this.x.Iconimage_right_Selected = null;
- this.x.Iconimage_Selected = null;
- this.x.IconMarginLeft = 0;
- this.x.IconMarginRight = 0;
- this.x.IconRightVisible = true;
- this.x.IconRightZoom = 0.0;
- this.x.IconVisible = true;
- this.x.IconZoom = 60.0;
- this.x.IsTab = false;
- this.x.Location = new Point(5, 265);
- this.x.Name = "btnYoutube";
- this.x.Normalcolor = Color.Transparent;
- this.x.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.x.OnHoverTextColor = Color.White;
- this.x.selected = false;
- this.x.Size = new Size(180, 45);
- this.x.TabIndex = 7;
- this.x.Text = " YouTube";
- this.x.TextAlign = ContentAlignment.MiddleLeft;
- this.x.Textcolor = Color.Gray;
- this.x.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.x.Click += this.r;
- this.w.Activecolor = Color.Transparent;
- this.w.BackColor = Color.Transparent;
- this.w.BackgroundImageLayout = ImageLayout.Stretch;
- this.w.BorderRadius = 0;
- this.w.ButtonText = " Options";
- this.w.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.w, 0);
- this.o.SetDecoration(this.w, 0);
- this.p.SetDecoration(this.w, 0);
- this.aj.SetDecoration(this.w, 0);
- this.w.DisabledColor = Color.Gray;
- this.w.Iconcolor = Color.Transparent;
- this.w.Iconimage = (Image)componentResourceManager.GetObject("btnOptions.Iconimage");
- this.w.Iconimage_right = null;
- this.w.Iconimage_right_Selected = null;
- this.w.Iconimage_Selected = null;
- this.w.IconMarginLeft = 0;
- this.w.IconMarginRight = 0;
- this.w.IconRightVisible = true;
- this.w.IconRightZoom = 0.0;
- this.w.IconVisible = true;
- this.w.IconZoom = 60.0;
- this.w.IsTab = false;
- this.w.Location = new Point(5, 361);
- this.w.Name = "btnOptions";
- this.w.Normalcolor = Color.Transparent;
- this.w.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.w.OnHoverTextColor = Color.White;
- this.w.selected = false;
- this.w.Size = new Size(180, 45);
- this.w.TabIndex = 8;
- this.w.Text = " Options";
- this.w.TextAlign = ContentAlignment.MiddleLeft;
- this.w.Textcolor = Color.Gray;
- this.w.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.w.Click += this.k;
- this.v.BackColor = Color.FromArgb(32, 32, 32);
- this.v.Controls.Add(this.a6);
- this.v.Controls.Add(this.@as);
- this.v.Controls.Add(this.w);
- this.v.Controls.Add(this.x);
- this.v.Controls.Add(this.y);
- this.v.Controls.Add(this.z);
- this.v.Controls.Add(this.aa);
- this.v.Controls.Add(this.ab);
- this.v.Controls.Add(this.ac);
- this.v.Controls.Add(this.ad);
- this.a1.SetDecoration(this.v, 0);
- this.p.SetDecoration(this.v, 0);
- this.o.SetDecoration(this.v, 0);
- this.aj.SetDecoration(this.v, 0);
- this.v.Dock = DockStyle.Left;
- this.v.Location = new Point(0, 34);
- this.v.Name = "menu";
- this.v.Size = new Size(50, 470);
- this.v.TabIndex = 0;
- this.@as.Activecolor = Color.Transparent;
- this.@as.BackColor = Color.Transparent;
- this.@as.BackgroundImageLayout = ImageLayout.Stretch;
- this.@as.BorderRadius = 0;
- this.@as.ButtonText = " Discord";
- this.@as.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.@as, 0);
- this.o.SetDecoration(this.@as, 0);
- this.p.SetDecoration(this.@as, 0);
- this.aj.SetDecoration(this.@as, 0);
- this.@as.DisabledColor = Color.Gray;
- this.@as.Iconcolor = Color.Transparent;
- this.@as.Iconimage = (Image)componentResourceManager.GetObject("btnDiscord.Iconimage");
- this.@as.Iconimage_right = null;
- this.@as.Iconimage_right_Selected = null;
- this.@as.Iconimage_Selected = null;
- this.@as.IconMarginLeft = 0;
- this.@as.IconMarginRight = 0;
- this.@as.IconRightVisible = true;
- this.@as.IconRightZoom = 0.0;
- this.@as.IconVisible = true;
- this.@as.IconZoom = 60.0;
- this.@as.IsTab = false;
- this.@as.Location = new Point(5, 313);
- this.@as.Name = "btnDiscord";
- this.@as.Normalcolor = Color.Transparent;
- this.@as.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.@as.OnHoverTextColor = Color.White;
- this.@as.selected = false;
- this.@as.Size = new Size(180, 45);
- this.@as.TabIndex = 9;
- this.@as.Text = " Discord";
- this.@as.TextAlign = ContentAlignment.MiddleLeft;
- this.@as.Textcolor = Color.Gray;
- this.@as.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.@as.Click += this.o;
- this.af.BackColor = Color.FromArgb(60, 60, 60);
- this.af.Controls.Add(this.at);
- this.af.Controls.Add(this.ah);
- this.af.Controls.Add(this.ai);
- this.af.Controls.Add(this.ag);
- this.a1.SetDecoration(this.af, 0);
- this.p.SetDecoration(this.af, 0);
- this.o.SetDecoration(this.af, 0);
- this.aj.SetDecoration(this.af, 0);
- this.af.Dock = DockStyle.Left;
- this.af.Location = new Point(50, 34);
- this.af.Name = "subpanelCruise";
- this.af.Size = new Size(155, 470);
- this.af.TabIndex = 3;
- this.af.Visible = false;
- this.at.Activecolor = Color.Transparent;
- this.at.BackColor = Color.Transparent;
- this.at.BackgroundImageLayout = ImageLayout.Stretch;
- this.at.BorderRadius = 0;
- this.at.ButtonText = " Download Skins";
- this.at.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.at, 0);
- this.o.SetDecoration(this.at, 0);
- this.p.SetDecoration(this.at, 0);
- this.aj.SetDecoration(this.at, 0);
- this.at.DisabledColor = Color.FromArgb(255, 128, 128);
- this.at.Iconcolor = Color.Transparent;
- this.at.Iconimage = (Image)componentResourceManager.GetObject("bunifuFlatButton2.Iconimage");
- this.at.Iconimage_right = null;
- this.at.Iconimage_right_Selected = null;
- this.at.Iconimage_Selected = null;
- this.at.IconMarginLeft = 0;
- this.at.IconMarginRight = 0;
- this.at.IconRightVisible = true;
- this.at.IconRightZoom = 0.0;
- this.at.IconVisible = true;
- this.at.IconZoom = 60.0;
- this.at.IsTab = false;
- this.at.Location = new Point(-3, 51);
- this.at.Name = "bunifuFlatButton2";
- this.at.Normalcolor = Color.Transparent;
- this.at.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.at.OnHoverTextColor = Color.White;
- this.at.selected = false;
- this.at.Size = new Size(180, 45);
- this.at.TabIndex = 8;
- this.at.Text = " Download Skins";
- this.at.TextAlign = ContentAlignment.MiddleLeft;
- this.at.Textcolor = Color.Gray;
- this.at.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.at.Click += this.f;
- this.ah.Activecolor = Color.Transparent;
- this.ah.BackColor = Color.Transparent;
- this.ah.BackgroundImageLayout = ImageLayout.Stretch;
- this.ah.BorderRadius = 0;
- this.ah.ButtonText = " My Cars";
- this.ah.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ah, 0);
- this.o.SetDecoration(this.ah, 0);
- this.p.SetDecoration(this.ah, 0);
- this.aj.SetDecoration(this.ah, 0);
- this.ah.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ah.Iconcolor = Color.Transparent;
- this.ah.Iconimage = (Image)componentResourceManager.GetObject("cruiseUCL.Iconimage");
- this.ah.Iconimage_right = null;
- this.ah.Iconimage_right_Selected = null;
- this.ah.Iconimage_Selected = null;
- this.ah.IconMarginLeft = 0;
- this.ah.IconMarginRight = 0;
- this.ah.IconRightVisible = true;
- this.ah.IconRightZoom = 0.0;
- this.ah.IconVisible = true;
- this.ah.IconZoom = 60.0;
- this.ah.IsTab = false;
- this.ah.Location = new Point(-3, 147);
- this.ah.Name = "cruiseUCL";
- this.ah.Normalcolor = Color.Transparent;
- this.ah.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.ah.OnHoverTextColor = Color.White;
- this.ah.selected = false;
- this.ah.Size = new Size(180, 45);
- this.ah.TabIndex = 7;
- this.ah.Text = " My Cars";
- this.ah.TextAlign = ContentAlignment.MiddleLeft;
- this.ah.Textcolor = Color.Gray;
- this.ah.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ah.Click += this.g;
- this.ai.Activecolor = Color.Transparent;
- this.ai.BackColor = Color.Transparent;
- this.ai.BackgroundImageLayout = ImageLayout.Stretch;
- this.ai.BorderRadius = 0;
- this.ai.ButtonText = " My Cruise";
- this.ai.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ai, 0);
- this.o.SetDecoration(this.ai, 0);
- this.p.SetDecoration(this.ai, 0);
- this.aj.SetDecoration(this.ai, 0);
- this.ai.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ai.Iconcolor = Color.Transparent;
- this.ai.Iconimage = (Image)componentResourceManager.GetObject("cruiseMyCruise.Iconimage");
- this.ai.Iconimage_right = null;
- this.ai.Iconimage_right_Selected = null;
- this.ai.Iconimage_Selected = null;
- this.ai.IconMarginLeft = 0;
- this.ai.IconMarginRight = 0;
- this.ai.IconRightVisible = true;
- this.ai.IconRightZoom = 0.0;
- this.ai.IconVisible = true;
- this.ai.IconZoom = 60.0;
- this.ai.IsTab = false;
- this.ai.Location = new Point(-3, 99);
- this.ai.Name = "cruiseMyCruise";
- this.ai.Normalcolor = Color.Transparent;
- this.ai.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.ai.OnHoverTextColor = Color.White;
- this.ai.selected = false;
- this.ai.Size = new Size(180, 45);
- this.ai.TabIndex = 6;
- this.ai.Text = " My Cruise";
- this.ai.TextAlign = ContentAlignment.MiddleLeft;
- this.ai.Textcolor = Color.Gray;
- this.ai.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ai.Click += this.h;
- this.ag.Activecolor = Color.Transparent;
- this.ag.BackColor = Color.Transparent;
- this.ag.BackgroundImageLayout = ImageLayout.Stretch;
- this.ag.BorderRadius = 0;
- this.ag.ButtonText = " Enable Cruise Tweak";
- this.ag.Cursor = Cursors.Hand;
- this.a1.SetDecoration(this.ag, 0);
- this.o.SetDecoration(this.ag, 0);
- this.p.SetDecoration(this.ag, 0);
- this.aj.SetDecoration(this.ag, 0);
- this.ag.DisabledColor = Color.FromArgb(255, 128, 128);
- this.ag.Iconcolor = Color.Transparent;
- this.ag.Iconimage = (Image)componentResourceManager.GetObject("cruiseTweak.Iconimage");
- this.ag.Iconimage_right = null;
- this.ag.Iconimage_right_Selected = null;
- this.ag.Iconimage_Selected = null;
- this.ag.IconMarginLeft = 0;
- this.ag.IconMarginRight = 0;
- this.ag.IconRightVisible = true;
- this.ag.IconRightZoom = 0.0;
- this.ag.IconVisible = true;
- this.ag.IconZoom = 60.0;
- this.ag.IsTab = false;
- this.ag.Location = new Point(-3, 3);
- this.ag.Name = "cruiseTweak";
- this.ag.Normalcolor = Color.Transparent;
- this.ag.OnHovercolor = Color.FromArgb(0, 207, 232);
- this.ag.OnHoverTextColor = Color.White;
- this.ag.selected = false;
- this.ag.Size = new Size(180, 45);
- this.ag.TabIndex = 5;
- this.ag.Text = " Enable Cruise Tweak";
- this.ag.TextAlign = ContentAlignment.MiddleLeft;
- this.ag.Textcolor = Color.Gray;
- this.ag.TextFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.ag.Click += this.a;
- this.o.AnimationType = 1;
- this.o.Cursor = null;
- animation2.AnimateOnlyDifferences = true;
- animation2.BlindCoeff = (PointF)componentResourceManager.GetObject("animation2.BlindCoeff");
- animation2.LeafCoeff = 0f;
- animation2.MaxTime = 1f;
- animation2.MinTime = 0f;
- animation2.MosaicCoeff = (PointF)componentResourceManager.GetObject("animation2.MosaicCoeff");
- animation2.MosaicShift = (PointF)componentResourceManager.GetObject("animation2.MosaicShift");
- animation2.MosaicSize = 0;
- animation2.Padding = new Padding(50);
- animation2.RotateCoeff = 1f;
- animation2.RotateLimit = 0f;
- animation2.ScaleCoeff = (PointF)componentResourceManager.GetObject("animation2.ScaleCoeff");
- animation2.SlideCoeff = (PointF)componentResourceManager.GetObject("animation2.SlideCoeff");
- animation2.TimeCoeff = 0f;
- animation2.TransparencyCoeff = 1f;
- this.o.DefaultAnimation = animation2;
- this.o.Interval = 100;
- this.o.MaxAnimationTime = 35000;
- this.o.TimeStep = 1f;
- this.aj.AnimationType = 2;
- this.aj.Cursor = null;
- animation3.AnimateOnlyDifferences = true;
- animation3.BlindCoeff = (PointF)componentResourceManager.GetObject("animation4.BlindCoeff");
- animation3.LeafCoeff = 0f;
- animation3.MaxTime = 1f;
- animation3.MinTime = 0f;
- animation3.MosaicCoeff = (PointF)componentResourceManager.GetObject("animation4.MosaicCoeff");
- animation3.MosaicShift = (PointF)componentResourceManager.GetObject("animation4.MosaicShift");
- animation3.MosaicSize = 0;
- animation3.Padding = new Padding(0);
- animation3.RotateCoeff = 0f;
- animation3.RotateLimit = 0f;
- animation3.ScaleCoeff = (PointF)componentResourceManager.GetObject("animation4.ScaleCoeff");
- animation3.SlideCoeff = (PointF)componentResourceManager.GetObject("animation4.SlideCoeff");
- animation3.TimeCoeff = 0f;
- animation3.TransparencyCoeff = 0f;
- this.aj.DefaultAnimation = animation3;
- this.aj.Interval = 100;
- this.aj.MaxAnimationTime = 35000;
- this.aj.TimeStep = 0.1f;
- this.a1.AnimationType = 8;
- this.a1.Cursor = null;
- animation4.AnimateOnlyDifferences = true;
- animation4.BlindCoeff = (PointF)componentResourceManager.GetObject("animation1.BlindCoeff");
- animation4.LeafCoeff = 0f;
- animation4.MaxTime = 1f;
- animation4.MinTime = 0f;
- animation4.MosaicCoeff = (PointF)componentResourceManager.GetObject("animation1.MosaicCoeff");
- animation4.MosaicShift = (PointF)componentResourceManager.GetObject("animation1.MosaicShift");
- animation4.MosaicSize = 0;
- animation4.Padding = new Padding(0);
- animation4.RotateCoeff = 0f;
- animation4.RotateLimit = 0f;
- animation4.ScaleCoeff = (PointF)componentResourceManager.GetObject("animation1.ScaleCoeff");
- animation4.SlideCoeff = (PointF)componentResourceManager.GetObject("animation1.SlideCoeff");
- animation4.TimeCoeff = 0f;
- animation4.TransparencyCoeff = 1f;
- this.a1.DefaultAnimation = animation4;
- this.a6.AutoSize = true;
- this.aj.SetDecoration(this.a6, 0);
- this.o.SetDecoration(this.a6, 0);
- this.a1.SetDecoration(this.a6, 0);
- this.p.SetDecoration(this.a6, 0);
- this.a6.Font = new Font("Century Gothic", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
- this.a6.ForeColor = Color.DimGray;
- this.a6.Location = new Point(3, 443);
- this.a6.Name = "lblVersion";
- this.a6.Size = new Size(44, 17);
- this.a6.TabIndex = 13;
- this.a6.Text = "V1.5.3";
- this.a6.Visible = false;
- base.AutoScaleDimensions = new SizeF(6f, 13f);
- base.AutoScaleMode = AutoScaleMode.Font;
- this.BackColor = Color.FromArgb(55, 55, 55);
- base.ClientSize = new Size(770, 504);
- base.Controls.Add(this.af);
- base.Controls.Add(this.s);
- base.Controls.Add(this.v);
- base.Controls.Add(this.l);
- this.aj.SetDecoration(this, 0);
- this.a1.SetDecoration(this, 0);
- this.p.SetDecoration(this, 0);
- this.o.SetDecoration(this, 0);
- base.FormBorderStyle = FormBorderStyle.None;
- base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
- base.Name = "LFSPro";
- this.Text = "Form1";
- this.l.ResumeLayout(false);
- this.l.PerformLayout();
- ((ISupportInitialize)this.q).EndInit();
- this.m.EndInit();
- this.s.ResumeLayout(false);
- this.s.PerformLayout();
- this.ak.ResumeLayout(false);
- this.ak.PerformLayout();
- this.au.ResumeLayout(false);
- this.au.PerformLayout();
- ((ISupportInitialize)this.ad).EndInit();
- this.ac.EndInit();
- this.v.ResumeLayout(false);
- this.v.PerformLayout();
- this.af.ResumeLayout(false);
- base.ResumeLayout(false);
- }
- // Token: 0x06000030 RID: 48 RVA: 0x000095EB File Offset: 0x000077EB
- [CompilerGenerated]
- private void c()
- {
- this.g = this.e.GetValue("ProductId").ToString();
- }
- // Token: 0x06000031 RID: 49 RVA: 0x00009608 File Offset: 0x00007808
- [CompilerGenerated]
- private void b()
- {
- this.f.CreateSubKey("ProductId");
- }
- // Token: 0x06000032 RID: 50 RVA: 0x0000961B File Offset: 0x0000781B
- [CompilerGenerated]
- private void a()
- {
- this.f.SetValue("ProductId", this.g);
- }
- // Token: 0x04000003 RID: 3
- private BackgroundWorker a;
- // Token: 0x04000004 RID: 4
- private WebClient b = new WebClient();
- // Token: 0x04000005 RID: 5
- private bool c = false;
- // Token: 0x04000006 RID: 6
- private bool d = false;
- // Token: 0x04000007 RID: 7
- private RegistryKey e = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
- // Token: 0x04000008 RID: 8
- private RegistryKey f = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32);
- // Token: 0x04000009 RID: 9
- private string g = "";
- // Token: 0x0400000A RID: 10
- private System.Timers.Timer h = new System.Timers.Timer(2000.0);
- // Token: 0x0400000B RID: 11
- private System.Timers.Timer i = new System.Timers.Timer(1200000.0);
- // Token: 0x0400000C RID: 12
- private IContainer j = null;
- // Token: 0x0400000D RID: 13
- private BunifuElipse k;
- // Token: 0x0400000E RID: 14
- private Panel l;
- // Token: 0x0400000F RID: 15
- private BunifuImageButton m;
- // Token: 0x04000010 RID: 16
- private BunifuDragControl n;
- // Token: 0x04000011 RID: 17
- private BunifuTransition o;
- // Token: 0x04000012 RID: 18
- private BunifuTransition p;
- // Token: 0x04000013 RID: 19
- private PictureBox q;
- // Token: 0x04000014 RID: 20
- private BunifuCustomLabel r;
- // Token: 0x04000015 RID: 21
- private Panel s;
- // Token: 0x04000016 RID: 22
- private BunifuProgressBar t;
- // Token: 0x04000017 RID: 23
- private BunifuCustomLabel u;
- // Token: 0x04000018 RID: 24
- private Panel v;
- // Token: 0x04000019 RID: 25
- private BunifuFlatButton w;
- // Token: 0x0400001A RID: 26
- private BunifuFlatButton x;
- // Token: 0x0400001B RID: 27
- private BunifuFlatButton y;
- // Token: 0x0400001C RID: 28
- private BunifuFlatButton z;
- // Token: 0x0400001D RID: 29
- private BunifuFlatButton aa;
- // Token: 0x0400001E RID: 30
- private BunifuFlatButton ab;
- // Token: 0x0400001F RID: 31
- private BunifuImageButton ac;
- // Token: 0x04000020 RID: 32
- private PictureBox ad;
- // Token: 0x04000021 RID: 33
- private Panel ae;
- // Token: 0x04000022 RID: 34
- private Panel af;
- // Token: 0x04000023 RID: 35
- private BunifuFlatButton ag;
- // Token: 0x04000024 RID: 36
- private BunifuFlatButton ah;
- // Token: 0x04000025 RID: 37
- private BunifuFlatButton ai;
- // Token: 0x04000026 RID: 38
- private BunifuTransition aj;
- // Token: 0x04000027 RID: 39
- private Panel ak;
- // Token: 0x04000028 RID: 40
- private BunifuCustomLabel al;
- // Token: 0x04000029 RID: 41
- private BunifuCustomTextbox am;
- // Token: 0x0400002A RID: 42
- private BunifuCustomLabel an;
- // Token: 0x0400002B RID: 43
- private BunifuCustomTextbox ao;
- // Token: 0x0400002C RID: 44
- private BunifuCustomLabel ap;
- // Token: 0x0400002D RID: 45
- private BunifuFlatButton aq;
- // Token: 0x0400002E RID: 46
- private BunifuFlatButton ar;
- // Token: 0x0400002F RID: 47
- private BunifuFlatButton @as;
- // Token: 0x04000030 RID: 48
- private BunifuFlatButton at;
- // Token: 0x04000031 RID: 49
- private Panel au;
- // Token: 0x04000032 RID: 50
- private BunifuFlatButton av;
- // Token: 0x04000033 RID: 51
- private BunifuCustomLabel aw;
- // Token: 0x04000034 RID: 52
- private BunifuFlatButton ax;
- // Token: 0x04000035 RID: 53
- private BunifuCustomLabel ay;
- // Token: 0x04000036 RID: 54
- private BunifuFlatButton az;
- // Token: 0x04000037 RID: 55
- private BunifuCustomLabel a0;
- // Token: 0x04000038 RID: 56
- private BunifuTransition a1;
- // Token: 0x04000039 RID: 57
- private WebBrowser a2;
- // Token: 0x0400003A RID: 58
- private BunifuFlatButton a3;
- // Token: 0x0400003B RID: 59
- private BunifuCustomLabel a4;
- // Token: 0x0400003C RID: 60
- private BunifuCustomLabel a5;
- // Token: 0x0400003D RID: 61
- private BunifuCustomLabel a6;
- // Token: 0x02000007 RID: 7
- public static class StringCipher
- {
- // Token: 0x0600003E RID: 62 RVA: 0x000099C0 File Offset: 0x00007BC0
- public static string Decrypt(string cipherText, string passPhrase)
- {
- byte[] array = Convert.FromBase64String(cipherText);
- byte[] salt = array.Take(32).ToArray<byte>();
- byte[] rgbIV = array.Skip(32).Take(32).ToArray<byte>();
- byte[] array2 = array.Skip(64).Take(array.Length - 64).ToArray<byte>();
- string @string;
- using (Rfc2898DeriveBytes rfc2898DeriveBytes = new Rfc2898DeriveBytes(passPhrase, salt, 1000))
- {
- byte[] bytes = rfc2898DeriveBytes.GetBytes(32);
- using (RijndaelManaged rijndaelManaged = new RijndaelManaged())
- {
- rijndaelManaged.BlockSize = 256;
- rijndaelManaged.Mode = CipherMode.CBC;
- rijndaelManaged.Padding = PaddingMode.PKCS7;
- using (ICryptoTransform cryptoTransform = rijndaelManaged.CreateDecryptor(bytes, rgbIV))
- {
- using (MemoryStream memoryStream = new MemoryStream(array2))
- {
- using (CryptoStream cryptoStream = new CryptoStream(memoryStream, cryptoTransform, CryptoStreamMode.Read))
- {
- byte[] array3 = new byte[array2.Length];
- int count = cryptoStream.Read(array3, 0, array3.Length);
- memoryStream.Close();
- cryptoStream.Close();
- @string = Encoding.UTF8.GetString(array3, 0, count);
- }
- }
- }
- }
- }
- return @string;
- }
- // Token: 0x04000045 RID: 69
- private const int a = 256;
- // Token: 0x04000046 RID: 70
- private const int b = 1000;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement