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

134 lines
5.2 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 \u0005;
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace \u0005
{
internal sealed class \u0001 : Control
{
[NonSerialized]
internal static \u0002 \u0001;
private Label \u0001 = new Label();
private Image \u0001;
private bool \u0001;
private Timer \u0001 = new Timer();
private bool \u0002 = true;
private string \u0001 = string.Empty;
private float \u0001 = 1f;
private float \u0002 = 1f;
[SpecialName]
public override string get_Text() => \u0003\u0006.\u0098((object) this);
[SpecialName]
public override void set_Text([In] string obj0)
{
\u0096\u0004.\u0099((object) this, obj0);
\u0087\u0005.\u007E\u0008\u0002((object) this);
}
public void \u0003()
{
\u000E\u0003.\u007E\u0099\u0002((object) this.\u0001, false);
this.\u0001 = (Image) null;
this.\u0001 = false;
this.\u0001 = string.Empty;
\u0087\u0005.\u007E\u0008\u0002((object) this);
\u0004\u0004.\u008F((object) this, 16);
}
public void \u0004()
{
\u000E\u0003.\u007E\u0099\u0002((object) this.\u0001, true);
this.\u0001 = (Image) \u0006.\u0003(\u0005.\u0001.\u0001(3243));
this.\u0001 = true;
\u0087\u0005.\u007E\u0008\u0002((object) this);
}
public void \u0005() => this.\u0003(string.Empty);
public void \u0003([In] string obj0)
{
this.\u0001 = obj0;
\u000E\u0003.\u007E\u0099\u0002((object) this.\u0001, false);
this.\u0001 = (Image) \u0006.\u0003(\u008A\u0005.\u007E\u0084\u0003((object) obj0) > 0 ? \u0005.\u0001.\u0001(3261) : \u0005.\u0001.\u0001(3256));
this.\u0002 = true;
this.\u0001 = true;
if (\u008A\u0005.\u007E\u0084\u0003((object) obj0) > 0)
\u0004\u0004.\u008F((object) this, 100);
\u0087\u0005.\u007E\u0008\u0002((object) this);
}
protected override void OnResize([In] EventArgs obj0)
{
\u0082\u0004.\u007E\u0010\u0002((object) this.\u0001, \u008E\u0005.\u008A\u0004(22f * this.\u0001), \u008E\u0005.\u008A\u0004(this.\u0002), \u008A\u0005.\u009C((object) this) - \u008E\u0005.\u008A\u0004(22f * this.\u0001), \u008A\u0005.\u008E((object) this) - \u008E\u0005.\u008A\u0004(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);
if (\u009E\u0005.\u0017\u0008((object) this))
{
this.\u0001 = (Image) \u0006.\u0003(\u0005.\u0001.\u0001(3243));
this.\u0001 = true;
}
if (this.\u0001 != null && this.\u0002)
\u0097\u0003.\u007E\u008F\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), this.\u0001, new Rectangle(0, 0, \u008E\u0005.\u008A\u0004(16f * this.\u0001), \u008E\u0005.\u008A\u0004(16f * this.\u0002)), new Rectangle(0, 0, 16, 16), GraphicsUnit.Pixel);
if (this.\u0001)
\u0096\u0004.\u007E\u0099((object) this.\u0001, \u008A\u0005.\u007E\u0084\u0003((object) this.\u0001) > 0 ? \u009B\u0004.\u0097\u0003(\u0003\u0006.\u0098((object) this), \u0005.\u0001.\u0001(3270), this.\u0001, \u0005.\u0001.\u0001(3275)) : \u0003\u0006.\u0098((object) this));
else
\u0096\u0004.\u007E\u0099((object) this.\u0001, string.Empty);
}
public \u0001()
{
\u0004\u0004.\u007E\u009A\u0002((object) this.\u0001, 250);
\u001F\u0005.\u007E\u0098\u0002((object) this.\u0001, new EventHandler(this.\u0003));
\u0095\u0003.\u007E\u008E\u0002((object) this.\u0001, FlatStyle.System);
\u001C\u0003.\u007E\u0013\u0002((object) \u0093\u0003.\u0087((object) this), (Control) this.\u0001);
\u008D\u0003.\u0011\u0002((object) this, ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
\u000E\u0003.\u0097((object) this, false);
}
public \u0001([In] string obj0)
: this()
{
\u0096\u0004.\u0099((object) this, \u0010\u0003.\u0095\u0003(\u0005.\u0001.\u0001(3280), obj0));
}
protected override void Dispose([In] bool obj0)
{
if (obj0 && this.\u0001 != null)
\u0087\u0005.\u007E\u0088\u0008((object) this.\u0001);
\u000E\u0003.\u0001\u0002((object) this, obj0);
}
private void \u0003([In] object obj0, [In] EventArgs obj1)
{
this.\u0002 = !this.\u0002;
\u0087\u0005.\u007E\u0008\u0002((object) this);
}
static \u0001() => \u0003.\u0003();
}
}