joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46de60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x46de7c
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x46de8d
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x46de9b
push edi
call fcn.0046e280
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.0046dc60
add esp, 0x10
test eax, eax
je 0x46dec3
pop edi
pop esi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push 0x84
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x46dee2
pop edi
pop esi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call sub.MFC42.DLL_operatornew
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x46df1b
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x46df69
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0046c9e0
add esp, 4
test eax, eax
jne 0x46df69
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x46df96
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x46dfa2
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
neg cl
sbb ecx, ecx
mov dword [ebx], 0x12345678
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], 0x34567890
je 0x46dfe3
mov al, byte [ebp]
test al, al
je 0x46dfe3
push eax
push ebx
call fcn.0046c730
add esp, 8
inc ebp
jne 0x46dfcf
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
pop ebp
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x46e3c0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x46e4a2
cmp dword [ebp + 4], 0xffffffff
jne 0x46e4a2
push ebx
lea ebx, [ebp + 0x13c]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + ebp + 0x13b]
cmp cl, 0x5c
je 0x46e432
cmp cl, 0x2f
je 0x46e432
mov edi, 0x50e174
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edi, 1
pop ebx
jne 0x46e45e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x46e45e
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
push esi
call fcn.0046cf00
add esp, 0x10
test eax, eax
jne 0x46e481
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.0046d4d0
add esp, 4
mov dword [ebp], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x46eaa0
Capabilities:
Create directory

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x214]
mov al, byte [esi]
test al, al
je 0x46eb72
push ebx
push ebp
push edi
mov ebx, esi
mov ecx, esi
cmp al, 0x2f
je 0x46eac7
cmp al, 0x5c
jne 0x46eac9
mov ebx, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46eabf
mov ebp, dword [esp + 0x21c]
cmp ebx, esi
mov edx, ebx
je 0x46eb0c
mov eax, ebx
lea edi, [esp + 0x10]
sub eax, esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.0046eaa0
add esp, 8
lea edx, [ebx + 1]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x118]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x208
ret
Function at 0x49ff60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b99a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004a0d90
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], edx
je 0x4a000b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a0002
cmp al, 0xff
je 0x4a0002
dec al
mov byte [ecx], al
jmp 0x4a000b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4a003c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a0033
cmp al, 0xff
je 0x4a0033
dec al
mov byte [ecx], al
jmp 0x4a003c
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x404e34
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404ff0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404e95
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40500c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f07
xor eax, eax
push ebp
push 0x404f00
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404c8c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404ee9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40502c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f07
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404fe8
cmp byte [ebp - 0xd], 0
jne 0x404f49
cmp byte [ebp - 0x12], 0
je 0x404fe8
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404f62
dec ebx
cmp byte [ebx], 0x2e
je 0x404f71
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404f61
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404fe8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404f9e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404fe8
cmp byte [ebp - 0xd], 0
je 0x404fe8
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404fe8
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4087b4
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 0x4087ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call int.00403a08
jmp 0x4087f6
mov eax, ebx
mov edx, esi
call fcn.00403974
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41401c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x414062
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00413f80
mov eax, dword [ebp - 4]
call fcn.00403d64
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414069
lea eax, [ebp - 4]
call fcn.00403920
ret

Function at 0x41425c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4142e9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4142a6
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call int.00403a08
jmp 0x4142d3
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x4142ba
lea eax, [ebp - 4]
call fcn.00403920
jmp 0x4142c9
lea edx, [ebp - 4]
call fcn.0041412c
test ebx, ebx
je 0x4142c9
dec ebx
jmp 0x4142ab
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4142f0
lea eax, [ebp - 4]
call fcn.00403920
ret

Function at 0x4142f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00408144
add esp, 0x104
pop ebx
ret

Function at 0x4174dc
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 0x4174e2
ret

Function at 0x419840
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 0x419891
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419878
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419868
jmp 0x419891
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 0x419879
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420dfc
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x445f1c], 0
sete dl
or al, dl
jne 0x420f3c
mov eax, dword [0x445f20]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x445f1c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x420f0b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x445f1c]
call fcn.0040d410
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x420f03
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x420f03
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x420f03
mov eax, dword [ebp - 0x14]
call fcn.00429040
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x420f03
push ebp
call fcn.00420db8
pop ecx
test al, al
jne 0x420f03
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x420ebf
mov eax, dword [ebp - 0x14]
call fcn.004279cc
dec eax
jle 0x420f03
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call int.00402e8c
cmp byte [ebp - 1], 0
je 0x420f03
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x420f03
mov edx, dword [ebp - 0x14]
mov eax, dword [0x445f20]
call fcn.00420604
inc edi
dec esi
jne 0x420e52
mov eax, dword [0x445f20]
cmp dword [eax + 8], 0
jle 0x420f23
mov eax, dword [0x445f20]
call fcn.00420694
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x420f3c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00420c20
pop ecx
test al, al
jne 0x420f3c
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 0x421b40
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
push 0
mov eax, dword [esp + 8]
sub eax, edi
push eax
mov eax, dword [esp + 8]
sub eax, esi
push eax
jae 0x421b4d
inc ebx
dec eax
invalid
Function at 0x4269d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x426a09
je 0x426a63
sub eax, 7
je 0x426a2a
dec eax
je 0x426a54
sub eax, 0x17
je 0x426b08
jmp 0x426b46
add eax, 0xffffff00
sub eax, 9
jb 0x426af4
add eax, 0xffffff09
sub eax, 0xb
jb 0x426abc
jmp 0x426b46
mov eax, ebx
call fcn.00438500
mov edi, eax
test edi, edi
je 0x426ba6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x426baf
jmp 0x426ba6
test byte [ebx + 0x44], 0x20
jne 0x426baf
jmp 0x426ba6
mov edx, esi
mov eax, ebx
call fcn.004240a4
cmp dword [esi + 0xc], 0xffffffff
jne 0x426baf
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004068e8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00422bf0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004268b0
test eax, eax
je 0x426baf
mov dword [esi + 0xc], 1
jmp 0x426baf
mov edx, esi
mov eax, ebx
call fcn.00426944
test al, al
je 0x426ba6
cmp dword [esi + 0xc], 0
jne 0x426baf
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00429040
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x426baf
mov eax, ebx
call fcn.00423740
test al, al
jne 0x426baf
jmp 0x426ba6
mov eax, ebx
call fcn.00429040
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426ba6
cmp dword [0x444790], 0
je 0x426ba6
mov eax, dword [0x444790]
cmp ebx, dword [eax + 0x24]
jne 0x426ba6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x444790]
call fcn.00423fd8
jmp 0x426ba6
mov eax, dword [0x445ee4]
cmp byte [eax + 0x20], 0
je 0x426ba6
mov eax, dword [0x445ee4]
cmp dword [eax + 0x1c], 0
je 0x426ba6
mov eax, dword [esi]
mov edx, dword [0x445ee4]
cmp eax, dword [edx + 0x1c]
jne 0x426ba6
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00438444
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call int.00402e8c
jmp 0x426baf
mov edx, esi
mov eax, ebx
call fcn.004240a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427070
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42708c
cmp dword [esi + 4], 0
je 0x4270b9
test byte [ebx + 0x45], 1
jne 0x4270ab
mov eax, ebx
call fcn.00426014
test eax, eax
jne 0x4270ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4271c9
mov edx, esi
mov eax, ebx
call fcn.00426ce8
jmp 0x4271c9
push 0
call fcn.0040652c
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call fcn.0040622c
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call fcn.00406234
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406354
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4271c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429040
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00423fd8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00427070
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429040
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4271c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406354
mov eax, dword [ebp - 4]
push eax
call fcn.00406274
mov eax, dword [ebp - 8]
push eax
call fcn.0040627c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d078
Capabilities:
Encode data using xor

Disassembly:
das
xchg ecx, eax
adc dword [ebx], 0x5832c5e2
pop eax
mov dword [esi], esi
outsb dx, byte [esi]
stc
out dx, eax
mov dl, 0x6c
pop esi
mov bh, 0xe4
mov byte [0xe03ca0ec], al
and edi, dword [ecx + 0x2f94492b]
xchg edi, eax
imul ebp, dword [edi + 0x50], 0x73e40295
inc ebx
mov esi, 0xb7911857
outsd dx, dword [esi]
popfd
sbb bh, byte [ebx + 0x78c58c82]
mov eax, edx
xor eax, 0x241856e9
mov dh, 0x2a
in al, dx
push 0x52
invalid
Function at 0x430820
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403920
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43086f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b50
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43821c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x445f7c
cmp dword [edi], 0
jne 0x438298
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x445f78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x444924
mov ecx, 2
call fcn.004027e8
mov edx, 0x4381f4
lea eax, [esi + 5]
call fcn.00438214
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00438214
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 0x43826d
mov dword [0x445f78], 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 0x4383b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438404]
test si, 4
je 0x4383c8
or bl, 1
test si, 8
je 0x4383d2
or bl, 4
test si, 1
je 0x4383dc
or bl, 8
test si, 2
je 0x4383e6
or bl, 0x10
test si, 0x10
je 0x4383f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4383ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x438408
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438440]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438421
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438430
or bl, 4
test esi, 0x20000000
je 0x43843b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret