MalwareSourceCode/MSIL/Constructor/Win32/B/Constructor.Win32.BAT.q-08ee2f8c3aa3c7eab228bd2f1b4a63e07fd7671a3929619d4d3486bad87f8200/My/MyApplication.cs

87 lines
2.8 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: blue_batch_virus_maker_v_2._4.My.MyApplication
// Assembly: blue batch virus maker v 2.4, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2DAFA7DD-2FE8-4FC2-9A4A-71538C37F4F9
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Constructor.Win32.BAT.q-08ee2f8c3aa3c7eab228bd2f1b4a63e07fd7671a3929619d4d3486bad87f8200.exe
using Microsoft.VisualBasic.ApplicationServices;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace blue_batch_virus_maker_v_2._4.My
{
[EditorBrowsable(EditorBrowsableState.Never)]
[GeneratedCode("MyTemplate", "10.0.0.0")]
internal class MyApplication : WindowsFormsApplicationBase
{
private static List<WeakReference> __ENCList = new List<WeakReference>();
[DebuggerNonUserCode]
static MyApplication()
{
}
[DebuggerNonUserCode]
private static void __ENCAddToList(object value)
{
lock (MyApplication.__ENCList)
{
if (MyApplication.__ENCList.Count == MyApplication.__ENCList.Capacity)
{
int index1 = 0;
int num = checked (MyApplication.__ENCList.Count - 1);
int index2 = 0;
while (index2 <= num)
{
if (MyApplication.__ENCList[index2].IsAlive)
{
if (index2 != index1)
MyApplication.__ENCList[index1] = MyApplication.__ENCList[index2];
checked { ++index1; }
}
checked { ++index2; }
}
MyApplication.__ENCList.RemoveRange(index1, checked (MyApplication.__ENCList.Count - index1));
MyApplication.__ENCList.Capacity = MyApplication.__ENCList.Count;
}
MyApplication.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
}
}
[STAThread]
[DebuggerHidden]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
internal static void Main(string[] Args)
{
try
{
Application.SetCompatibleTextRenderingDefault(WindowsFormsApplicationBase.UseCompatibleTextRendering);
}
finally
{
}
MyProject.Application.Run(Args);
}
[DebuggerStepThrough]
public MyApplication()
: base(AuthenticationMode.Windows)
{
MyApplication.__ENCAddToList((object) this);
this.IsSingleInstance = false;
this.EnableVisualStyles = true;
this.SaveMySettingsOnExit = true;
this.ShutdownStyle = ShutdownMode.AfterMainFormCloses;
}
[DebuggerStepThrough]
protected override void OnCreateMainForm() => this.MainForm = (Form) MyProject.Forms.Form1;
}
}