joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41677c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4272e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040a9e0
mov dword [ebp - 0x14], eax
cmp dword [0x429ca8], edi
jne 0x41686d
push 0x800
push edi
push 0x422294
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4167fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41694d
push 0x422294
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41694d
push 0x424a18
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41694d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x429ca8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x429cac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x429cb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429cb8], eax
test eax, eax
je 0x41686a
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429cb4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416892
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416885
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4168a7
push 4
pop eax
jmp 0x41694f
cmp dword [ebp - 0x14], edi
je 0x4168a7
push dword [0x429ca8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41688c
mov eax, dword [0x429cb4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x416905
cmp dword [0x429cb8], esi
je 0x416905
push eax
call ebx
push dword [0x429cb8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416905
test eax, eax
je 0x416905
call ecx
test eax, eax
je 0x4168fa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4168fa
test byte [ebp - 8], 1
jne 0x416905
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x416935
mov eax, dword [0x429cac]
cmp eax, esi
je 0x416932
push eax
call ebx
test eax, eax
je 0x416932
call eax
mov edi, eax
test edi, edi
je 0x416932
mov eax, dword [0x429cb0]
cmp eax, esi
je 0x416932
push eax
call ebx
test eax, eax
je 0x416932
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x429ca8]
call ebx
test eax, eax
je 0x41694d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41694f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407000
leave
ret
Function at 0x4178a7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040d6f0
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4178df
xor eax, eax
jmp 0x41790b
cmp esi, dword [ebp - 4]
je 0x417908
cmp dword [ebp + 0xc], 0
je 0x417908
push dword [edi + 0x9c]
call fcn.004174b5
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040ac96
pop ecx
pop ecx
cmp esi, eax
je 0x4178db
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4019d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x401a8c
cmp byte [esi + 0x3d], 0
je 0x401a8c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x401a7a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x401a41
sub eax, 1
je 0x401a45
sub eax, 2
jne 0x401a7a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a86
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x401a63
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x401a7a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a86
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a86
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00403a86
mov esp, ebp
pop ebp
ret
Function at 0x403430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404a70
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
test eax, eax
je 0x40357f
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0x14
mov ebx, eax
lea eax, [ebp - 0x120]
push 0x103
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x120]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4034b8
mov eax, dword [str.drivers_]
mov esi, ebx
mov dword [ecx], eax
mov eax, dword [0x405530]
mov dword [ecx + 4], eax
mov ax, word [0x405534]
mov word [ecx + 8], ax
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4034e0
lea edi, [ebp - 0x120]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034f0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x120]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x403510
mov eax, dword [str..exe]
mov dword [ecx], eax
mov al, byte [0x40553c]
push 1
push 0x40
mov byte [ecx + 4], al
lea eax, [ebp - 0x120]
push 0x20
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004013a0
cmp dword [ebp - 0x188], 0
mov dword [ebp - 4], 0
je 0x403574
mov ecx, dword [ebp - 0x124]
push 0
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
lea ecx, [ebp - 0x1d8]
sub eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea ecx, [ebp - 0x1d8]
call fcn.004017d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403a86
mov esp, ebp
pop ebp
ret
Function at 0x4035b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x4035d1
jl 0x4035c7
test esi, esi
jne 0x4035d1
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4035e8
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
pop ebp
ret 0xc
push edi
mov edi, esi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
test eax, eax
je 0x40361e
cmp eax, dword [ebp + 0xc]
mov ecx, ebx
cmovb esi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push esi
push eax
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
add dword [ebp + 8], esi
add esp, 0xc
mov ecx, ebx
sub edi, esi
push esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x40368d
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebx + 0x3c]
cmp eax, ecx
jne 0x403646
push dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov ecx, ebx
push eax
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, edi
cmp edi, 0xfff
jbe 0x40367b
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x40368d
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x403655
test ecx, ecx
je 0x40368d
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
pop ebp
ret 0xc
Function at 0x4036a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4036c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x403730
jg 0x4036eb
test esi, esi
je 0x403730
test ecx, ecx
jl 0x40376a
jg 0x4036f5
test eax, eax
je 0x40376a
cmp edi, ecx
jg 0x403705
jl 0x4036ff
cmp esi, eax
jae 0x403705
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [ebp + 8]
test edi, edi
jl 0x403757
jg 0x40373d
test esi, esi
je 0x403757
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x403757
push ecx
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
jmp 0x40373d

Function at 0x40430e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40434d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40434d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40434d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40434d
cmp dword [ecx + 0x74], 0xe
jbe 0x40434d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4033a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46000c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40343c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40341c
xor eax, eax
push ebp
push 0x403415
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403458
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40341c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46000c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46000c], ax
mov esp, ebp
pop ebp
ret

Function at 0x40410c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x462048], 0
je 0x40416d
cmp word [0x46221c], 0xd7b2
jne 0x404135
cmp dword [0x462224], 0
jbe 0x404135
mov eax, 0x462218
call dword [0x462234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x460054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404194
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46001c], 0
jne 0x404189
push 0
push 0x460074
push 0x460054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x462049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404288
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40b090
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b0c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043fc
jmp 0x40b0d2
mov eax, ebx
mov edx, esi
call fcn.00404360
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b0dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b0fd
mov al, byte [esp]
jmp 0x40b0ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b784
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b5fc
mov eax, dword [0x4610cc]
cmp byte [eax], 0
je 0x40b7f1
mov eax, dword [0x460ef0]
call fcn.00402cc0
call fcn.00402894
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004089e0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b838
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b827
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x460ea8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462714]
call fcn.00405a28
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c528
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c58c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404574
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408700
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c593
lea eax, [ebp - 0xc]
call fcn.0040430c
ret

Function at 0x422154
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00421fac
dec esi
jne 0x422176
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4232a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x462a24
cmp dword [edi], 0
jne 0x42331c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x462a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4605f4
mov ecx, 2
call fcn.00402928
mov edx, 0x423278
lea eax, [esi + 5]
call fcn.00423298
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423298
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4232f1
mov dword [0x462a20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424508
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42450e
ret

Function at 0x42698c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4269dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4269c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4269b4
jmp 0x4269dd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4269c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433620
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43356c
call sub.user32.dll_EnumWindows
ret

Function at 0x433744
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4337c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00433190
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x433769
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432de8
cmp dword [ebp - 4], 0
je 0x4337ab
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047bc
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4337c8
lea eax, [ebp - 4]
call fcn.0040430c
ret

Function at 0x436560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x462bb4], 0
je 0x4366af
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x461070]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4366af
mov eax, dword [0x462bb8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x462bb4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43667e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x462bb4]
call fcn.00419fbc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436676
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436676
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436676
mov eax, dword [ebp - 0x14]
call fcn.0043f19c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436676
push ebp
call fcn.0043651c
pop ecx
test al, al
jne 0x436676
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436632
mov eax, dword [ebp - 0x14]
call fcn.0043dd30
dec eax
jle 0x436676
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403730
cmp byte [ebp - 1], 0
je 0x436676
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436676
mov edx, dword [ebp - 0x14]
mov eax, dword [0x462bb8]
call fcn.00435ce4
inc edi
dec ebx
jne 0x4365c5
mov eax, dword [0x462bb8]
cmp dword [eax + 8], 0
jle 0x436696
mov eax, dword [0x462bb8]
call fcn.00435d74
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4366af
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436384
pop ecx
test al, al
jne 0x4366af
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439c78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x439cc4
mov eax, esi
call fcn.0044f8bc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439cc4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439cc4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x439e03
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439d04
cmp eax, 0x108
ja 0x439d04
mov eax, esi
call fcn.0044f8bc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439dfa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x439e03
jmp 0x439dfa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439de3
cmp eax, 0x20a
ja 0x439de3
test byte [esi + 0x50], 0x80
jne 0x439d36
sub eax, 0x203
je 0x439d33
sub eax, 3
je 0x439d33
sub eax, 3
jne 0x439d36
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439d4a
dec eax
je 0x439d5f
dec eax
je 0x439d7c
dec eax
je 0x439d5f
jmp 0x439d83
mov ecx, ebx
mov eax, dword [0x461070]
mov eax, dword [eax]
mov edx, esi
call fcn.00458f08
jmp 0x439dfa
cmp byte [esi + 0x5d], 1
jne 0x439d75
mov eax, esi
mov si, 0xffed
call fcn.00403730
jmp 0x439e03
or word [esi + 0x54], 1
jmp 0x439dfa
and word [esi + 0x54], 0xfffe
jmp 0x439dfa
mov eax, dword [0x462b70]
cmp byte [eax + 0x20], 0
je 0x439dfa
mov eax, dword [0x462b70]
cmp dword [eax + 0x1c], 0
je 0x439dfa
mov eax, dword [ebx]
mov edx, dword [0x462b70]
cmp eax, dword [edx + 0x1c]
jne 0x439dfa
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044f800
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403730
jmp 0x439e03
cmp eax, 0xb00b
jne 0x439dfa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438598
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret