MalwareSourceCode/MSIL/Trojan/Win32/L/Trojan.Win32.Llac.aamy-d1153c91831872cfeacf510426d9b4752eab5933102816559dcd2628b12a7253/_0003/_0001.cs
2022-08-18 06:28:56 -05:00

98 lines
3.1 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: 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 System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace \u0003
{
internal sealed class \u0001 : Control
{
private int \u0001 = 99;
private Bitmap \u0001 = \u0005.\u0005.\u0003("data");
private Bitmap \u0002 = \u0005.\u0005.\u0003("network");
private Timer \u0001 = new Timer();
private float \u0001 = 1f;
private float \u0002 = 1f;
protected override void OnVisibleChanged([In] EventArgs obj0)
{
base.OnVisibleChanged(obj0);
if (this.DesignMode)
return;
this.\u0003(this.Visible);
}
private void \u0003([In] bool obj0)
{
this.\u0001.Enabled = obj0;
this.\u0001 = 0;
this.Refresh();
}
protected override void OnResize([In] EventArgs obj0)
{
this.Size = new Size(Convert.ToInt32(250f * this.\u0001), Convert.ToInt32(42f * 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 Dispose([In] bool obj0)
{
if (obj0 && this.\u0001 != null)
goto label_2;
label_1:
base.Dispose(obj0);
return;
label_2:
this.\u0001.Dispose();
goto label_1;
}
protected override void OnPaint([In] PaintEventArgs obj0)
{
base.OnPaint(obj0);
if (this.\u0002 != null)
obj0.Graphics.DrawImage((Image) this.\u0002, new Rectangle(0, 0, Convert.ToInt32(250f * this.\u0001), Convert.ToInt32(42f * this.\u0002)), new Rectangle(0, 0, 250, 42), GraphicsUnit.Pixel);
if (this.\u0001 == null || this.\u0001 <= 0)
return;
obj0.Graphics.SetClip(new Rectangle(Convert.ToInt32(46f * this.\u0001), 0, Convert.ToInt32(165f * this.\u0001), Convert.ToInt32(34f * this.\u0002)));
obj0.Graphics.DrawImage((Image) this.\u0001, new Rectangle(Convert.ToInt32((float) (this.\u0001 - 6) * this.\u0001), Convert.ToInt32(16f * this.\u0002), Convert.ToInt32(40f * this.\u0001), Convert.ToInt32(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:
this.Refresh();
return;
label_2:
this.\u0001 = 0;
goto label_1;
}
public \u0001()
{
this.\u0001.Interval = 85;
this.\u0001.Tick += new EventHandler(this.\u0003);
this.Size = new Size(250, 42);
this.TabStop = false;
this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
}
}
}