// 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 \u0005; using System; using System.Drawing; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Forms; namespace \u0004 { internal sealed class \u0001 : Control { [NonSerialized] internal static \u0002 \u0001; private Label \u0001 = new Label(); private Image \u0001; private Icon \u0001; private Bitmap \u0001; private \u0005.\u0005 \u0001; private float \u0001 = 1f; private float \u0002 = 1f; [SpecialName] public void \u0003([In] \u0005.\u0005 obj0) { if (this.\u0001 == obj0) return; this.\u0001 = obj0; switch (this.\u0001) { case \u0005.\u0005.\u0002: this.\u0001 = \u0006.\u0003(\u0004.\u0001.\u0001(2974)); break; case \u0005.\u0005.\u0003: this.\u0001 = \u0006.\u0003(\u0004.\u0001.\u0001(2987)); break; default: this.\u0001 = (Bitmap) null; break; } \u0087\u0005.\u007E\u0008\u0002((object) this); } [SpecialName] public override string get_Text() => \u0003\u0006.\u007E\u0098((object) this.\u0001); [SpecialName] public override void set_Text([In] string obj0) => \u0096\u0004.\u007E\u0099((object) this.\u0001, obj0); protected override void Dispose([In] bool obj0) { if (obj0) goto label_7; label_6: \u000E\u0003.\u0001\u0002((object) this, obj0); return; label_7: if (this.\u0001 != null) { \u0087\u0005.\u007E\u0093\u0008((object) this.\u0001); this.\u0001 = (Icon) null; } if (this.\u0001 != null) { \u0087\u0005.\u007E\u0088\u0008((object) this.\u0001); this.\u0001 = (Image) null; } if (this.\u0001 != null) { \u0087\u0005.\u007E\u0088\u0008((object) this.\u0001); this.\u0001 = (Bitmap) null; goto label_6; } else goto label_6; } protected override void OnResize([In] EventArgs obj0) { \u0082\u0004.\u007E\u0010\u0002((object) this.\u0001, \u008E\u0005.\u008A\u0004(13f * this.\u0001), \u008E\u0005.\u008A\u0004(15f * this.\u0002), \u008A\u0005.\u009C((object) this) - \u008E\u0005.\u008A\u0004(69f * this.\u0001), \u008A\u0005.\u008E((object) this) - \u008E\u0005.\u008A\u0004(18f * this.\u0002)); \u0094\u0005.\u0007\u0002((object) this, obj0); } protected override void ScaleCore([In] float obj0, [In] float obj1) { this.\u0001 = obj0; this.\u0002 = obj1; \u0013\u0004.\u000F\u0002((object) this, obj0, obj1); \u0094\u0005.\u007E\u0007\u0002((object) this, EventArgs.Empty); } protected override void OnPaint([In] PaintEventArgs obj0) { \u0088\u0005.\u0006\u0002((object) this, obj0); \u008E\u0002.\u007E\u008C\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), \u0001\u0003.\u0001\u000E(), 0, \u0002\u0004.\u0086((object) this).Height - 2, \u0002\u0004.\u0086((object) this).Width, \u0002\u0004.\u0086((object) this).Height - 2); \u008E\u0002.\u007E\u008C\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), \u0001\u0003.\u0002\u000E(), 0, \u0002\u0004.\u0086((object) this).Height - 1, \u0002\u0004.\u0086((object) this).Width, \u0002\u0004.\u0086((object) this).Height - 1); Rectangle rectangle = new Rectangle(\u0002\u0004.\u0086((object) this).Width - \u008E\u0005.\u008A\u0004(48f * this.\u0001), \u008E\u0005.\u008A\u0004(11f * this.\u0002), \u008E\u0005.\u008A\u0004(32f * this.\u0001), \u008E\u0005.\u008A\u0004(32f * this.\u0002)); if (this.\u0001 != null) { \u0097\u0003.\u007E\u008F\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), this.\u0001, rectangle, new Rectangle(0, 0, 32, 32), GraphicsUnit.Pixel); } else { if (this.\u0001 == null) return; \u009C\u0004.\u007E\u008E\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), this.\u0001, rectangle); if (this.\u0001 == null) return; \u0097\u0003.\u007E\u008F\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), (Image) this.\u0001, new Rectangle(rectangle.Right - \u008E\u0005.\u008A\u0004(12f * this.\u0001), rectangle.Bottom - \u008E\u0005.\u008A\u0004(12f * this.\u0002), \u008E\u0005.\u008A\u0004(16f * this.\u0001), \u008E\u0005.\u008A\u0004(16f * this.\u0002)), new Rectangle(0, 0, 16, 16), GraphicsUnit.Pixel); } } protected override void OnFontChanged([In] EventArgs obj0) { try { \u000F\u0004.\u007E\u008C((object) this.\u0001, new Font(\u001A\u0004.\u007E\u008B((object) this), FontStyle.Bold)); \u0094\u0005.\u0004\u0002((object) this, obj0); } catch { } } public \u0001() { try { \u0095\u0003.\u007E\u008E\u0002((object) this.\u0001, FlatStyle.System); \u000F\u0004.\u007E\u008C((object) this.\u0001, new Font(\u001A\u0004.\u007E\u008B((object) this), FontStyle.Bold)); } catch { } \u001C\u0003.\u007E\u0013\u0002((object) \u0093\u0003.\u0087((object) this), (Control) this.\u0001); \u009F\u0002.\u007E\u0082((object) this, \u0099\u0004.\u009F\u0008()); \u000E\u0003.\u0097((object) this, false); \u0007\u0003.\u007E\u0089((object) this, DockStyle.Top); \u0004\u0004.\u008F((object) this, 58); \u008D\u0003.\u0011\u0002((object) this, ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true); this.\u0001 = \u0003.\u0003(); \u0094\u0005.\u007E\u0007\u0002((object) this, EventArgs.Empty); } public \u0001([In] string obj0) : this() { \u0096\u0004.\u007E\u0099((object) this.\u0001, obj0); } static \u0001() => \u0003.\u0003(); } }