// Token: 0x060003F8 RID: 1016 RVA: 0x0000486F File Offset: 0x00002A6F public static string smethod_6(string string_9) { return(Class13.smethod_7(File.ReadAllBytes(string_9))); }
// Token: 0x060003F7 RID: 1015 RVA: 0x00017BF8 File Offset: 0x00015DF8 public static bool smethod_5() { string text = GClass0.String_0; ServiceController serviceController = new ServiceController(text); string text2 = ""; bool result = false; try { string left = Class13.smethod_6(AppDomain.CurrentDomain.BaseDirectory + "\\es\\wAirCut.resources.dll"); if (Operators.CompareString(left, "908576645D406E5D543E1F16428FCFDB", false) != 0) { MessageBox.Show("Resorce file is wrong", "Waircut", MessageBoxButtons.OK, MessageBoxIcon.Hand); return(false); } left = Class13.smethod_6(AppDomain.CurrentDomain.BaseDirectory + "\\ru\\wAirCut.resources.dll"); if (Operators.CompareString(left, "C994E6B19DB5C8A8E4D0549F79CE32A5", false) != 0) { MessageBox.Show("Resorce file is wrong", "Waircut", MessageBoxButtons.OK, MessageBoxIcon.Hand); return(false); } left = Class13.smethod_6(AppDomain.CurrentDomain.BaseDirectory + "\\fr\\wAirCut.resources.dll"); if (Operators.CompareString(left, "BF000AC77F51D507E038272A8E998290", false) != 0) { MessageBox.Show("Resorce file is wrong", "Waircut", MessageBoxButtons.OK, MessageBoxIcon.Hand); return(false); } if (serviceController.DisplayName != null) { RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Services"); if (registryKey != null) { Class13.smethod_2(text); registryKey.OpenSubKey(text).GetValue("ImagePath"); text2 = Path.GetDirectoryName(registryKey.OpenSubKey(text).GetValue("ImagePath").ToString()); } if (Operators.CompareString(text2, "", false) != 0) { left = Class13.smethod_6(text2 + "\\jswscsup.dll"); if (Operators.CompareString(left, "1FB6E3E894EDDFF1B2277235BAB769E9", false) == 0) { result = true; } else { GClass4 gclass = new GClass4(left); byte[] byte_ = GClass0.Byte_0; byte[] array = gclass.method_2(ref byte_); left = Class13.smethod_7(array); if (Operators.CompareString(left, "1FB6E3E894EDDFF1B2277235BAB769E9", false) != 0) { MessageBox.Show(Class10.String_56, "Jumpstart Error", MessageBoxButtons.OK, MessageBoxIcon.Hand); return(false); } DateTime lastWriteTime = File.GetLastWriteTime(text2 + "\\jswscsup.dll"); DateTime creationTime = File.GetCreationTime(text2 + "\\jswscsup.dll"); if (Class6.Class5_0.FileSystem.FileExists(text2 + "\\jswscsup-tmp.dll")) { Class6.Class5_0.FileSystem.DeleteFile(text2 + "\\jswscsup-tmp.dll"); } Class6.Class5_0.FileSystem.RenameFile(text2 + "\\jswscsup.dll", "jswscsup-tmp.dll"); File.WriteAllBytes(text2 + "\\jswscsup.dll", array); File.SetLastWriteTime(text2 + "\\jswscsup.dll", lastWriteTime); File.SetCreationTime(text2 + "\\jswscsup.dll", creationTime); if (Class6.Class5_0.FileSystem.FileExists(text2 + "\\jswscsup-tmp.dll")) { Class6.Class5_0.FileSystem.DeleteFile(text2 + "\\jswscsup-tmp.dll"); } result = Class13.smethod_5(); } } } } catch (Exception ex) { MessageBox.Show(Class10.String_57, "Jumpstart Error", MessageBoxButtons.OK, MessageBoxIcon.Hand); } return(result); }