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

100 lines
4.0 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 \u0005;
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace \u0003
{
internal sealed class \u0004 : Control
{
[NonSerialized]
internal static \u0002 \u0001;
private int \u0001 = 99;
private Bitmap \u0001 = \u0006.\u0003(\u0004.\u0001(667));
private Bitmap \u0002 = \u0006.\u0003(\u0004.\u0001(676));
private Timer \u0001 = new Timer();
private float \u0001 = 1f;
private float \u0002 = 1f;
protected override void OnVisibleChanged([In] EventArgs obj0)
{
\u0094\u0005.\u0005\u0002((object) this, obj0);
if (\u009E\u0005.\u0017\u0008((object) this))
return;
this.\u0003(\u009E\u0005.\u009A((object) this));
}
private void \u0003([In] bool obj0)
{
\u000E\u0003.\u007E\u0099\u0002((object) this.\u0001, obj0);
this.\u0001 = 0;
\u0087\u0005.\u007E\u0008\u0002((object) this);
}
protected override void OnResize([In] EventArgs obj0)
{
\u009C\u0002.\u0095((object) this, new Size(\u008E\u0005.\u008A\u0004(250f * this.\u0001), \u008E\u0005.\u008A\u0004(42f * 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 Dispose([In] bool obj0)
{
if (obj0 && this.\u0001 != null)
\u0087\u0005.\u007E\u0088\u0008((object) this.\u0001);
\u000E\u0003.\u0001\u0002((object) this, obj0);
}
protected override void OnPaint([In] PaintEventArgs obj0)
{
\u0088\u0005.\u0006\u0002((object) this, obj0);
if (this.\u0002 != null)
\u0097\u0003.\u007E\u008F\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), (Image) this.\u0002, new Rectangle(0, 0, \u008E\u0005.\u008A\u0004(250f * this.\u0001), \u008E\u0005.\u008A\u0004(42f * this.\u0002)), new Rectangle(0, 0, 250, 42), GraphicsUnit.Pixel);
if (this.\u0001 == null || this.\u0001 <= 0)
return;
\u009D\u0002.\u007E\u0091\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), new Rectangle(\u008E\u0005.\u008A\u0004(46f * this.\u0001), 0, \u008E\u0005.\u008A\u0004(165f * this.\u0001), \u008E\u0005.\u008A\u0004(34f * this.\u0002)));
\u0080\u0004.\u007E\u0090\u0008((object) \u0099\u0002.\u007E\u0015\u0002((object) obj0), (Image) this.\u0001, new Rectangle(\u008E\u0005.\u008A\u0004((float) (this.\u0001 - 6) * this.\u0001), \u008E\u0005.\u008A\u0004(16f * this.\u0002), \u008E\u0005.\u008A\u0004(40f * this.\u0001), \u008E\u0005.\u008A\u0004(12f * this.\u0002)), 0, 0, 40, 12, GraphicsUnit.Pixel);
}
private void \u0003([In] object obj0, [In] EventArgs obj1)
{
this.\u0001 += 11;
if (this.\u0001 > 198)
goto label_2;
label_1:
\u0087\u0005.\u007E\u0008\u0002((object) this);
return;
label_2:
this.\u0001 = 0;
goto label_1;
}
public \u0004()
{
this.\u0001.Interval = 85;
\u001F\u0005.\u007E\u0098\u0002((object) this.\u0001, new EventHandler(this.\u0003));
\u009C\u0002.\u0095((object) this, new Size(250, 42));
\u000E\u0003.\u0097((object) this, false);
\u008D\u0003.\u0011\u0002((object) this, ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
}
static \u0004() => \u0001.\u0003.\u0003();
}
}