joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019b0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x40ef05
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push esi
push edi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push 0x411448
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x401ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ae6
push str._____Q__NxMail_Exit_Event__Q___
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov esi, dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
je 0x401a9a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401a85
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0x63
push str..FlashMail.cpp
push ecx
lea ecx, [esp + 0x1c]
call edi
push str.App:_Previous_instance_exiting_state_detected
push 1
push 2
push eax
mov dword [esp + 0xf0], 0
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0xe0], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
push 0
push 0x40
push str._nN_k_vz
call sub.MFC80U.DLL_Ordinal_1118
jmp 0x401a9a
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
push eax
call fcn.00403010
mov ecx, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov edx, dword [ecx]
push 0x6d
push str..FlashMail.cpp
push edx
lea ecx, [esp + 0x80]
call edi
push str.App:_Already_running__exit
push 1
push 2
push eax
mov dword [esp + 0xf0], 1
call esi
add esp, 0x10
lea ecx, [esp + 0x74]
mov dword [esp + 0xe0], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
xor eax, eax
jmp 0x401aeb
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xd8
ret 8
Function at 0x401e50
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40ea49
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebp
push esi
push edi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push str._____Q__NxMail_Migrate_Mutex__Q___
push 1
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, ebp
je 0x401ec0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push esi
jne 0x401eba
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push 0x40
push str.pencO
call sub.MFC80U.DLL_Ordinal_1118
xor eax, eax
jmp 0x402005
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetAppPath_void_]
lea eax, [esp + 0x18]
push eax
call esi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.Migrate.exe
mov dword [esp + 0xd4], ebp
call fcn.00402bd0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x1c]
push edx
call esi
push eax
lea eax, [esp + 0x18]
push eax
mov edi, str.migstate.ini
mov byte [esp + 0xd4], 3
call fcn.00402bd0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.Common.dll_int___cdecl_common::IsFileExist_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 4
test eax, eax
je 0x401fec
push 0x38
lea edx, [esp + 0x28]
push ebp
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], str._clear
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, ebp
je 0x401fec
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0xd7
push str..FlashMail.cpp
push ecx
lea ecx, [esp + 0x68]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.FlashMail_Resume.
push 1
push 2
push eax
mov byte [esp + 0xd8], 6
call dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc8], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xbc
ret
Function at 0x402aa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40e9f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetAppPath_void_]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Start.exe
mov dword [esp + 0x28], 0
call fcn.00402bd0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov esi, dword [esp + 0xc]
push 1
push 0
call dword [sym.imp.Device.dll_public:_static_class_CEPManager____cdecl_CEPManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.Device.dll_public:_int___thiscall_CEPManager::BeClientEPQk_void_]
neg eax
sbb eax, eax
and eax, str.:_corp
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x403b80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40ee84
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.NxMailProcessFileMap
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x403bd8
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
je 0x403bc4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0x14]
push eax
push 0x411748
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], 0
je 0x403cd7
lea ecx, [ecx]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
push esi
call fcn.004041d0
mov ecx, ebx
mov edi, eax
call fcn.0040a950
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
mov dword [eax], edi
push 0x411748
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x403c60
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f273
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0xc], 0
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareNeteaseFlashMail
mov byte [esp + 0x30], 2
push 0x80000001
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403f0f
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], esi
jmp 0x403f1c
lea esi, [esp + 0xc]
call fcn.00402fa0
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetAppPath_void_]
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x10]
push edx
push str.AppPath
push str.SoftwareNeteaseFlashMail
push 0x80000001
call dword [sym.imp.Device.dll_int___cdecl_Register::QueryKeyStringValue_struct_HKEY_____wchar_t_const___wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
add esp, 0x10
test eax, eax
je 0x403f7d
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x403f9a
lea ecx, [esp + 8]
push ecx
push str.AppPath
push str.SoftwareNeteaseFlashMail
push 0x80000001
call dword [sym.imp.Device.dll_int___cdecl_Register::WriteKeyStringValue_struct_HKEY_____wchar_t_const___wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 0x10
test esi, esi
je 0x403fa5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x403fd0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40e944
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x411854
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0xc]
mov esi, dword [eax - 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x14], eax
cmp eax, dword [ecx - 0xc]
jl 0x4040e8
lea edx, [esp + 0x14]
push edx
push 0x41185c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
je 0x4040e8
push str.01BC79AF_FA1C_1A03_A147_D34123F947AB
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
jne 0x4040e8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x404340
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x40e8bc
mov eax, dword fs:[0]
push eax
mov eax, 0x12a4
call fcn.0040e690
mov eax, dword [0x41908c]
xor eax, esp
mov dword [esp + 0x12a0], eax
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0x12a8]
mov dword fs:[0], eax
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0x12
push 0x4118e0
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.App:_Init_Winnet_Lib...
push 1
push 2
push eax
mov dword [esp + 0x12c0], 0
call dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x40]
mov dword [esp + 0x12b0], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
push 0x1fe
lea edx, [esp + 0xaa]
push 0
push edx
mov word [esp + 0xb0], 0
call sub.MSVCR80.dll_memset
push 0xffe
lea eax, [esp + 0x2b6]
push 0
push eax
mov word [esp + 0x2bc], 0
call sub.MSVCR80.dll_memset
push 0x38
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esp + 0x28], 0x3c
call sub.MSVCR80.dll_memset
add esp, 0x24
lea ecx, [esp + 4]
push ecx
push 0
push 0
lea edx, [esp + 0xb0]
lea eax, [esp + 0x2b0]
push str.http:__www.163.com
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], 0x824
mov dword [esp + 0x40], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, 1
mov ecx, dword [esp + 0x12a8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x12a0]
xor ecx, esp
call fcn.0040dff8
add esp, 0x12b0
ret

Function at 0x40b5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b629
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x40b630
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b69e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40b66f
cmp eax, 2
jne 0x40b68a
test esi, esi
mov eax, dword [esp]
je 0x40b698
test eax, eax
je 0x40b693
test al, 1
jne 0x40b68a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40b698
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x40dff8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41908c]
jne 0x40e002
repz ret
jmp fcn.0040e504
Function at 0x407a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46125b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045631b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045426a
mov eax, dword [eax]
push 0x7301f0
push eax
call fcn.00446f34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004565a6
test bl, bl
je 0x407aa2
push 0x7301f0
lea ecx, [esp + 0xc]
call fcn.00456936
push 0x733d40
lea ecx, [esp + 0xc]
call fcn.00456936
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x407ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004565a6
jmp 0x407ba9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x407b62
lea edx, [esp + 0x7c]
push 0x733d3c
push edx
call fcn.00446f34
add esp, 8
test eax, eax
je 0x407b62
lea eax, [esp + 0x7c]
push 0x733d38
push eax
call fcn.00446f34
add esp, 8
test eax, eax
je 0x407b62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407af2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004565a6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4083a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408402
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x408410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4612db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x73a22c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x408548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004565a6
xor eax, eax
jmp 0x4085bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004566e3
push esi
lea ecx, [esp + 0xc]
call fcn.00456972
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40859d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004083a0
test eax, eax
jne 0x40859d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004083a0
test eax, eax
jne 0x40859d
lea eax, [esp + 0x14]
push 0x733d54
push eax
call fcn.00447f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40857c
lea ecx, [esp + 0x14]
push 0x733d50
push ecx
call fcn.00447ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40857c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40857f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00456693
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40848e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004565a6
xor eax, eax
jmp 0x4085bf
mov byte [esi], 0
push 0x733d4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004565a6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x413980
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4139ee
cmp si, 0x69
ja 0x4139ee
add esi, 0xffd0
cmp si, 0x11
je 0x4139be
push 0x11
call edi
test ax, ax
jge 0x4139be
or esi, 0x2000
cmp si, 0x10
je 0x4139d3
push 0x10
call edi
test ax, ax
jge 0x4139d3
or esi, 0x4000
cmp si, 0x12
je 0x4139e8
push 0x12
call edi
test ax, ax
jge 0x4139e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4139fb
mov esi, 0xbd
jmp 0x4139af
cmp si, 0x6e
jne 0x413a08
mov esi, 0xbe
jmp 0x4139af
cmp si, 0x6f
jne 0x4139a9
mov esi, 0xbf
jmp 0x4139af

Function at 0x414fb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x74a848]
xor edx, edx
cmp eax, edx
jne 0x414fd6
xor eax, eax
mov byte [eax + 0x74a748], al
inc eax
cmp eax, 0x100
jl 0x414fbe
mov dword [0x74a848], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x74a748
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x415067
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41503a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x415008
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4150e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x415133
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41511a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret