MalwareSourceCode/MSIL/Virus/Win32/S/Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975/_0006/_0002.cs
2022-08-18 06:28:56 -05:00

378 lines
17 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Decompiled with JetBrains decompiler
// Type: .
// Assembly: a5b7ee8e-cbdf-4eff-9144-efd0c433f3fe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 97CE9FDF-0921-44CB-AE13-1E9A2A550F0F
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975.exe
using \u0001;
using \u0003;
using \u0004;
using \u0005;
using \u0006;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
namespace \u0006
{
internal sealed class \u0002 : Form
{
[NonSerialized]
internal static \u0002 \u0001;
private \u0003.\u0006 \u0001;
private \u0002 \u0001;
private Thread \u0001;
private CheckBox \u0001 = new CheckBox();
private Label \u0001 = new Label();
private Button \u0001 = new Button();
private Button \u0002 = new Button();
private Label \u0002 = new Label();
private \u0003.\u0003 \u0001 = new \u0003.\u0003();
private Panel \u0001 = new Panel();
private Panel \u0002 = new Panel();
private Button \u0003 = new Button();
private \u0003.\u0004 \u0001 = new \u0003.\u0004();
private \u0005.\u0001 \u0001 = new \u0005.\u0001(\u0002.\u0001(4334));
private \u0005.\u0001 \u0002 = new \u0005.\u0001(\u0002.\u0001(4371));
private \u0005.\u0001 \u0003 = new \u0005.\u0001(\u0002.\u0001(4400));
private \u0005.\u0001 \u0004 = new \u0005.\u0001(\u0002.\u0001(4429));
private Button \u0004 = new Button();
private Button \u0005 = new Button();
private \u0004.\u0001 \u0001 = new \u0004.\u0001(string.Format(\u0002.\u0001(4482), (object) \u0002.\u0001(4304)));
private \u0004.\u0001 \u0002 = new \u0004.\u0001(string.Format(\u0002.\u0001(4571), (object) \u0002.\u0001(4304), (object) \u0002.\u0001(4003)));
private \u0005.\u0004 \u0001 = new \u0005.\u0004();
private Button \u0006 = new Button();
private void \u0003()
{
\u0087\u0005.\u007E\u0012\u0002((object) this.\u0001);
\u0087\u0005.\u007E\u0012\u0002((object) this.\u0002);
\u0087\u0005.\u0012\u0002((object) this);
this.\u0001.\u0003(\u0005.\u0005.\u0002);
this.\u0002.\u0003(\u0005.\u0005.\u0002);
\u0098\u0005.\u007E\u0081((object) this.\u0001, AnchorStyles.Bottom | AnchorStyles.Left);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0001, FlatStyle.System);
\u0098\u0002.\u007E\u0092((object) this.\u0001, new Point(22, 98));
\u009C\u0002.\u007E\u0095((object) this.\u0001, new Size(226, 16));
\u0004\u0004.\u007E\u0096((object) this.\u0001, 13);
\u0096\u0004.\u007E\u0099((object) this.\u0001, \u0002.\u0001(3864));
\u001F\u0005.\u007E\u001A\u0002((object) this.\u0001, new EventHandler(this.\u0007));
\u0098\u0005.\u007E\u0081((object) this.\u0001, AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
\u0095\u0003.\u007E\u008E\u0002((object) this.\u0001, FlatStyle.System);
\u000F\u0004.\u007E\u008C((object) this.\u0001, new Font(\u0002.\u0001(3925), 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0));
\u0098\u0002.\u007E\u0092((object) this.\u0001, new Point(20, 124));
\u009C\u0002.\u007E\u0095((object) this.\u0001, new Size(381, 16));
\u0096\u0004.\u007E\u0099((object) this.\u0001, \u0086\u0005.\u0092\u0003(\u0002.\u0001(3954), (object) \u0002.\u0001(4003)));
\u0098\u0005.\u007E\u0081((object) this.\u0001, AnchorStyles.Bottom | AnchorStyles.Right);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0001, FlatStyle.System);
\u009C\u0002.\u007E\u0095((object) this.\u0001, new Size(75, 24));
\u0098\u0002.\u007E\u0092((object) this.\u0001, new Point(400 - \u008A\u0005.\u007E\u009C((object) this.\u0001), 205));
\u0004\u0004.\u007E\u0096((object) this.\u0001, 4);
\u0096\u0004.\u007E\u0099((object) this.\u0001, \u0002.\u0001(4016));
\u001F\u0005.\u007E\u009D((object) this.\u0001, new EventHandler(this.\u0004));
\u0098\u0005.\u007E\u0081((object) this.\u0002, AnchorStyles.Bottom | AnchorStyles.Right);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0002, FlatStyle.System);
\u009C\u0002.\u007E\u0095((object) this.\u0002, new Size(105, 24));
\u0098\u0002.\u007E\u0092((object) this.\u0002, new Point(\u008A\u0005.\u007E\u0090((object) this.\u0001) - \u008A\u0005.\u007E\u009C((object) this.\u0002) - 6, 205));
\u0004\u0004.\u007E\u0096((object) this.\u0002, 3);
\u0096\u0004.\u007E\u0099((object) this.\u0002, \u0002.\u0001(4033));
\u001F\u0005.\u007E\u009D((object) this.\u0002, new EventHandler(this.\u0003));
\u0098\u0005.\u007E\u0081((object) this.\u0006, AnchorStyles.Bottom | AnchorStyles.Right);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0006, FlatStyle.System);
\u009C\u0002.\u007E\u0095((object) this.\u0006, new Size(64, 24));
\u0098\u0002.\u007E\u0092((object) this.\u0006, new Point(\u008A\u0005.\u007E\u0090((object) this.\u0002) - \u008A\u0005.\u007E\u009C((object) this.\u0006) - 6, 205));
\u0004\u0004.\u007E\u0096((object) this.\u0006, 14);
\u0096\u0004.\u007E\u0099((object) this.\u0006, \u0002.\u0001(4058));
\u000E\u0003.\u007E\u009B((object) this.\u0006, false);
\u001F\u0005.\u007E\u009D((object) this.\u0006, new EventHandler(this.\u0010));
\u0098\u0005.\u007E\u0081((object) this.\u0002, AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
\u0095\u0003.\u007E\u008E\u0002((object) this.\u0002, FlatStyle.System);
\u0098\u0002.\u007E\u0092((object) this.\u0002, new Point(20, 140));
\u009C\u0002.\u007E\u0095((object) this.\u0002, new Size(381, 55));
\u0096\u0004.\u007E\u0099((object) this.\u0002, \u0086\u0005.\u0092\u0003(\u0002.\u0001(4067), (object) \u0002.\u0001(4003)));
\u0098\u0005.\u007E\u0081((object) this.\u0001, AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
\u0098\u0002.\u007E\u0092((object) this.\u0001, new Point(20, 69));
\u009C\u0002.\u007E\u0095((object) this.\u0001, new Size(381, 13));
\u0098\u0005.\u007E\u0081((object) this.\u0003, AnchorStyles.Bottom | AnchorStyles.Right);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0003, FlatStyle.System);
\u009C\u0002.\u007E\u0095((object) this.\u0003, new Size(80, 24));
\u0098\u0002.\u007E\u0092((object) this.\u0003, new Point(400 - \u008A\u0005.\u007E\u009C((object) this.\u0003), 205));
\u0004\u0004.\u007E\u0096((object) this.\u0003, 7);
\u0096\u0004.\u007E\u0099((object) this.\u0003, \u0002.\u0001(4277));
\u001F\u0005.\u007E\u009D((object) this.\u0003, new EventHandler(this.\u0005));
\u0098\u0005.\u007E\u0081((object) this.\u0004, AnchorStyles.Bottom | AnchorStyles.Right);
\u000E\u0003.\u007E\u008A((object) this.\u0004, false);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0004, FlatStyle.System);
\u009C\u0002.\u007E\u0095((object) this.\u0004, new Size(80, 24));
\u0098\u0002.\u007E\u0092((object) this.\u0004, new Point(\u008A\u0005.\u007E\u0090((object) this.\u0003) - \u008A\u0005.\u007E\u009C((object) this.\u0004) - 6, 205));
\u0004\u0004.\u007E\u0096((object) this.\u0004, 6);
\u0096\u0004.\u007E\u0099((object) this.\u0004, \u0002.\u0001(4290));
\u001F\u0005.\u007E\u009D((object) this.\u0004, new EventHandler(this.\u0006));
\u0098\u0005.\u007E\u0081((object) this.\u0005, AnchorStyles.Bottom | AnchorStyles.Right);
\u0095\u0003.\u007E\u0016\u0002((object) this.\u0005, FlatStyle.System);
\u0098\u0002.\u007E\u0092((object) this.\u0005, \u0089\u0005.\u007E\u0091((object) this.\u0004));
\u009C\u0002.\u007E\u0095((object) this.\u0005, \u0002\u0004.\u007E\u0094((object) this.\u0004));
\u0004\u0004.\u007E\u0096((object) this.\u0005, 5);
\u0096\u0004.\u007E\u0099((object) this.\u0005, \u0002.\u0001(4295));
\u000E\u0003.\u007E\u009B((object) this.\u0005, false);
\u001F\u0005.\u007E\u009D((object) this.\u0005, new EventHandler(this.\u000F));
\u0098\u0002.\u007E\u0092((object) this.\u0001, new Point(87, 146));
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0001, 24, 72, 368, 16);
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0002, 24, 96, 368, 16);
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0003, 24, 120, 368, 16);
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0004, 24, 144, 368, 16);
\u0098\u0005.\u007E\u0081((object) this.\u0001, AnchorStyles.Bottom | AnchorStyles.Left);
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0001, 6, 450, 120, 32);
\u0019\u0003.\u007E\u0014\u0002((object) \u0093\u0003.\u007E\u0087((object) this.\u0001), new Control[8]
{
(Control) this.\u0006,
(Control) this.\u0001,
(Control) this.\u0001,
(Control) this.\u0001,
(Control) this.\u0002,
(Control) this.\u0002,
(Control) this.\u0001,
(Control) this.\u0001
});
\u009C\u0002.\u007E\u0095((object) this.\u0001, new Size(413, 240));
\u0004\u0004.\u007E\u0096((object) this.\u0001, 0);
\u0019\u0003.\u007E\u0014\u0002((object) \u0093\u0003.\u007E\u0087((object) this.\u0002), new Control[9]
{
(Control) this.\u0003,
(Control) this.\u0004,
(Control) this.\u0005,
(Control) this.\u0001,
(Control) this.\u0002,
(Control) this.\u0001,
(Control) this.\u0002,
(Control) this.\u0003,
(Control) this.\u0004
});
\u009C\u0002.\u007E\u0095((object) this.\u0002, new Size(413, 240));
\u0004\u0004.\u007E\u0096((object) this.\u0002, 2);
\u000E\u0003.\u007E\u009B((object) this.\u0002, false);
\u009C\u0002.\u007E\u001E\u0002((object) this, new Size(5, 13));
\u009C\u0002.\u0080\u0002((object) this, new Size(434, 488));
\u000E\u0003.\u0081\u0002((object) this, false);
\u0019\u0003.\u007E\u0014\u0002((object) \u0093\u0003.\u0087((object) this), new Control[3]
{
(Control) this.\u0001,
(Control) this.\u0001,
(Control) this.\u0002
});
\u0083\u0003.\u001F\u0002((object) this, FormBorderStyle.FixedSingle);
\u000E\u0003.\u0086\u0002((object) this, false);
\u000E\u0003.\u0084\u0002((object) this, false);
\u000E\u0003.\u0083\u0002((object) this, false);
\u0012\u0003.\u0088\u0002((object) this, FormStartPosition.CenterScreen);
\u0096\u0004.\u007E\u0099((object) this, \u0002.\u0001(4304));
if (\u008A\u0005.\u007E\u0084\u0003((object) \u0003\u0006.\u007E\u0098((object) this)) == 0)
\u0096\u0004.\u007E\u0099((object) this, \u0002.\u0001(4313));
try
{
\u000E\u0003.\u0089\u0002((object) this, true);
}
catch
{
}
\u000E\u0003.\u007E\u000E\u0002((object) this.\u0001, false);
\u000E\u0003.\u007E\u000E\u0002((object) this.\u0002, false);
\u000E\u0003.\u000E\u0002((object) this, false);
\u0087\u0005.\u007E\u009E((object) this.\u0005);
\u009C\u0002.\u0087\u0002((object) this, new Size(419, 264));
\u0007\u0003.\u007E\u0089((object) this.\u0002, DockStyle.Fill);
\u0007\u0003.\u007E\u0089((object) this.\u0001, DockStyle.Fill);
}
private void \u0003([In] object obj0, [In] EventArgs obj1)
{
try
{
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
\u000E\u0003.\u007E\u009B((object) this.\u0002, true);
\u000E\u0003.\u007E\u009B((object) this.\u0001, true);
if (this.\u0001 == null)
return;
this.\u0003(new ThreadStart(this.\u0004));
}
catch
{
}
}
private void \u0003([In] ThreadStart obj0)
{
this.\u0001 = new Thread(obj0);
\u0087\u0005.\u007E\u0094\u0005((object) this.\u0001);
}
private void \u0004([In] object obj0, [In] EventArgs obj1) => \u0087\u0005.\u008A\u0002((object) this);
private void \u0005([In] object obj0, [In] EventArgs obj1)
{
try
{
if (this.\u0001 != null)
\u0087\u0005.\u007E\u0095\u0005((object) this.\u0001);
}
catch
{
}
\u0087\u0005.\u008A\u0002((object) this);
}
private void \u0006([In] object obj0, [In] EventArgs obj1) => \u0087\u0005.\u008A\u0002((object) this);
private void \u0007([In] object obj0, [In] EventArgs obj1) => this.\u0001.\u0003(\u009E\u0005.\u007E\u0019\u0002((object) this.\u0001));
private void \u0003([In] object obj0, [In] \u0004.\u0003 obj1)
{
try
{
// ISSUE: method pointer
object obj = \u0090\u0002.\u0003\u0002((object) this, (Delegate) new \u0002((object) this, __methodptr(\u0004)), new object[2]
{
obj0,
(object) obj1
});
}
catch (InvalidOperationException ex)
{
}
}
private void \u0008([In] object obj0, [In] EventArgs obj1)
{
try
{
// ISSUE: method pointer
object obj = \u0090\u0002.\u0003\u0002((object) this, (Delegate) new EventHandler((object) this, __methodptr(\u000E)), new object[2]
{
obj0,
(object) obj1
});
}
catch (InvalidOperationException ex)
{
}
}
protected override void OnClosing([In] CancelEventArgs obj0)
{
if (this.\u0001 != null && \u009E\u0005.\u007E\u0096\u0005((object) this.\u0001))
\u0087\u0005.\u007E\u0095\u0005((object) this.\u0001);
\u0011\u0005.\u008B\u0002((object) this, obj0);
}
private void \u0004([In] object obj0, [In] \u0004.\u0003 obj1)
{
switch (obj1.\u0003())
{
case \u0002.\u0001:
if (obj1.\u0003())
{
this.\u0001.\u0003(obj1.\u0003());
\u000E\u0003.\u007E\u009B((object) this.\u0005, true);
int num = \u009E\u0005.\u007E\u0002\u0002((object) this.\u0005) ? 1 : 0;
break;
}
this.\u0001.\u0004();
break;
case \u0002.\u0002:
if (obj1.\u0003())
{
this.\u0002.\u0003(obj1.\u0003());
\u000E\u0003.\u007E\u009B((object) this.\u0005, true);
int num = \u009E\u0005.\u007E\u0002\u0002((object) this.\u0005) ? 1 : 0;
break;
}
this.\u0001.\u0005();
this.\u0002.\u0004();
break;
case \u0002.\u0003:
if (obj1.\u0003())
{
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
this.\u0003.\u0003(obj1.\u0003());
\u000E\u0003.\u007E\u009B((object) this.\u0005, true);
int num = \u009E\u0005.\u007E\u0002\u0002((object) this.\u0005) ? 1 : 0;
break;
}
this.\u0002.\u0005();
this.\u0003.\u0004();
\u000E\u0003.\u007E\u009B((object) this.\u0001, true);
break;
case \u0002.\u0004:
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
this.\u0003.\u0005();
this.\u0004.\u0005();
\u000E\u0003.\u007E\u008A((object) this.\u0004, true);
int num1 = \u009E\u0005.\u007E\u0002\u0002((object) this.\u0004) ? 1 : 0;
\u000E\u0003.\u007E\u008A((object) this.\u0003, false);
break;
}
}
private void \u000E([In] object obj0, [In] EventArgs obj1) => \u0087\u0005.\u008A\u0002((object) this);
private void \u000F([In] object obj0, [In] EventArgs obj1)
{
\u000E\u0003.\u007E\u009B((object) this.\u0005, false);
this.\u0001.\u0003();
this.\u0002.\u0003();
this.\u0003.\u0003();
if (this.\u0001 == null)
return;
this.\u0003(new ThreadStart(this.\u0004));
}
private void \u0004() => this.\u0001.\u0007();
private void \u0010([In] object obj0, [In] EventArgs obj1)
{
if (this.\u0001 == null)
return;
this.\u0003(new ThreadStart(this.\u0001.\u0006));
}
public \u0002([In] \u0003.\u0006 obj0, [In] \u0002 obj1)
{
this.\u0003();
int height = this.Height;
this.\u0001 = obj1;
this.\u0001 = obj0;
this.\u0001.Text = obj1.\u0003().Message;
int num1 = height + (\u008A\u0005.\u007E\u008E((object) this.\u0001) - \u008A\u0005.\u008D((object) this));
if (!obj1.\u0005())
{
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
num1 -= \u008A\u0005.\u007E\u008E((object) this.\u0001);
}
if (num1 > \u008A\u0005.\u008E((object) this))
\u0004\u0004.\u008F((object) this, num1);
if (obj1.\u0003())
{
obj0.\u0003(new EventHandler(this.\u0008));
\u000E\u0003.\u007E\u009B((object) this.\u0006, true);
if (\u008A\u0005.\u007E\u0090((object) this.\u0006) < \u008A\u0005.\u007E\u0093((object) this.\u0001))
\u000E\u0003.\u007E\u009B((object) this.\u0001, false);
}
if (!obj1.\u0004())
{
\u000E\u0003.\u007E\u008A((object) this.\u0002, false);
if (\u009E\u0005.\u007E\u0084((object) this.\u0001))
{
int num2 = \u009E\u0005.\u007E\u0002\u0002((object) this.\u0001) ? 1 : 0;
}
}
obj0.\u0003(new \u0002(this.\u0003));
}
static \u0002() => \u0001.\u0003.\u0003();
}
}