joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408fb6
test eax, edx
je 0x408fb9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408f79
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408f9f
add ecx, 4
js 0x408f8f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408f9c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408fc5
test edx, edx
jne 0x408f6c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c424
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 0x40c45d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405218
jmp 0x40c466
mov eax, ebx
mov edx, esi
call fcn.0040517c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c470
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 0x40c492
movzx eax, byte [esp]
jmp 0x40c494
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cb24
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
add byte [eax + eax], al
add byte [ebp - 0x17b7dbb4], cl
invalid
invalid
invalid
jmp dword [ecx + 0x46dd54]
cmp byte [eax], 0
je 0x40cba0
mov eax, dword [0x46db0c]
call fcn.00403778
call fcn.00403090
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409b2c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40cbe8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cbd6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46dab0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4707f8]
call fcn.00406540
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 0x40d4a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d57e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004051c0
lea eax, [ebp - 4]
call fcn.00405610
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055b8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d568
mov eax, ebx
call fcn.00402f34
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d561
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055b8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d54b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d590
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d54b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d568
mov eax, dword [ebp - 0x10]
call fcn.00402f50
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d585
lea eax, [ebp - 4]
call fcn.00405128
ret

Function at 0x41febc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41ff0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041fbf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41ff23
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41ff2c
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.0041fbf8
dec esi
jne 0x41ff4e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4216e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4729f0
cmp dword [edi], 0
jne 0x42175c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4729ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46cb10
mov ecx, 2
call fcn.00403130
mov edx, 0x4216b8
lea eax, [esi + 5]
call fcn.004216d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004216d8
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 0x421731
mov dword [0x4729ec], 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 0x422524
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004055b8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42257c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46deac]
mov dl, 1
mov eax, dword [0x422030]
call fcn.0040cce4
call fcn.00404aa0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00422138
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42370c
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 0x423712
ret
Function at 0x432488
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x4324a9
test edi, 0x40000
je 0x4324c3
test bl, bl
jne 0x432544
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x432544
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4324f6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x43250b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x43251a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x43252b
cmp byte [esp + 2], 0
je 0x432544
cmp byte [esp + 2], 0
je 0x43253c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x432544
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4327e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x43280e
mov eax, esp
push eax
push 0x4327b0
call sub.user32.dll_EnumWindows
jmp 0x432821
mov eax, esp
push eax
push 0x432790
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4328c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43291c]
test si, 4
je 0x4328dd
or bl, 1
test si, 8
je 0x4328e7
or bl, 4
test si, 1
je 0x4328f1
or bl, 8
test si, 2
je 0x4328fb
or bl, 0x10
test si, 0x10
je 0x432905
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432914
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x432920
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43295c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43293a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432949
or bl, 4
test esi, 0x20000000
je 0x432954
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43a9c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43a9da
add esp, 0xfffffff0
call fcn.00404550
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420000
mov eax, dword [0x46dab8]
mov dword [eax + 4], ebx
mov dword [eax], 0x43ad6c
mov eax, dword [0x46dac4]
mov dword [eax + 4], ebx
mov dword [eax], 0x43ad78
mov eax, ebx
call fcn.0043ad84
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x43622c
push eax
push 0
push 0
mov eax, dword [0x46dc40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422a38]
call fcn.0042428c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422a38]
call fcn.0042428c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422a38]
call fcn.0042428c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043b1fc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b0cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b0cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b0cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43ab17
call fcn.004045a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43aeb0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b05b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43b03c
mov dl, 1
mov eax, dword [0x416ba4]
call fcn.004041fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405128
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43b02b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045a400
test al, al
je 0x43b01e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x43b06c
lea eax, [ebp - 0x254]
call fcn.0040a208
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43b01e
xor eax, eax
push ebp
push 0x43b017
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43b0a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43b000
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405398
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43b000
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b01e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43af21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b80c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b062
lea eax, [ebp - 0x260]
call fcn.00405128
ret

Function at 0x43b9d4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x472bec]
cmp byte [eax + 0xad], 0
jne 0x43ba45
cmp dword [0x472c08], 0
jne 0x43ba06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43b990
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472c08], eax
cmp dword [0x472c04], 0
jne 0x43ba21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472c04], eax
cmp dword [0x472c0c], 0
jne 0x43ba45
push esp
push 0
push 0
push 0x43b934
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x472c0c], eax
pop edx
ret
Function at 0x43bc48
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43bc5f
add esp, 0xfffffff0
call fcn.00404550
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420000
mov eax, dword [0x46dc24]
cmp word [eax + 2], 0
jne 0x43bc87
mov eax, dword [0x46dc24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043d830
mov eax, dword [0x46dd04]
cmp word [eax + 2], 0
jne 0x43bca1
mov eax, dword [0x46dd04]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043da3c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416480]
call fcn.004041fc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x423548]
call fcn.0042abf0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x43be58
mov eax, dword [0x46db24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042afc4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x43e100
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46db24]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040da60
test eax, eax
je 0x43bda8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409b80
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da94
test eax, eax
je 0x43bdbc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405398
mov byte [ebx + 0xd4], 0
push ebx
push 0x43d3c4
call fcn.0042179c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46d9ec]
cmp byte [eax], 0
jne 0x43be0d
mov eax, ebx
call fcn.0043bf9c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0043e314
mov eax, ebx
call fcn.0043ee78
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43be4d
call fcn.004045a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c21c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x43c2bb
cmp dword [ebx + 0x94], 0
jne 0x43c2b5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43c1a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43c2b5
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43c27b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43c2b5
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418d0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43c28a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43c4d4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x472bec]
cmp dword [eax + 0x30], 0
je 0x43c631
test bl, bl
jne 0x43c582
cmp dword [esi + 0x9c], 0
jne 0x43c577
mov eax, esi
call fcn.0043ecf4
push eax
push 0x43c400
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x43c548
mov eax, dword [0x472bec]
call fcn.0043f3d4
test al, al
je 0x43c548
mov eax, dword [0x472c10]
call fcn.00406298
mov edi, eax
cmp edi, 0
jl 0x43c548
push 0
mov eax, dword [0x472c10]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x43c532
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x43c577
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x43c557
inc dword [esi + 0x9c]
jmp 0x43c631
cmp dword [esi + 0x9c], 0
jle 0x43c631
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x43c631
cmp dword [esi + 0x44], 0
je 0x43c5dd
mov eax, dword [0x472bec]
call fcn.0043f3d4
test al, al
je 0x43c5dd
mov eax, dword [0x472c10]
call fcn.00406298
mov edi, eax
cmp edi, 0
jl 0x43c5dd
push 5
mov eax, dword [0x472c10]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x43c5c7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x43c60c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x43c5ec
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x472c10
mov ecx, 1
mov edx, dword [0x43c3e0]
call fcn.0040644c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x43d118
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x43d182
mov eax, ebx
call fcn.0043f3d4
test al, al
jne 0x43d182
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405218
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x43d16f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x43d18f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040517c
jmp 0x43d18f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040517c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x43e4f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43e566
mov eax, esi
call fcn.004550e4
test al, al
je 0x43e566
mov eax, dword [ebx + 0x84]
call fcn.00454d70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43e566
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43e55a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454d70
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cbec
jmp 0x43e566
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0043e334
pop esi
pop ebx
ret

Function at 0x440490
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.00405128
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4404de
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.00405398
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4455c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4456f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x422090]
call fcn.00422160
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4456c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00422200
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405398
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x445708
call fcn.00405440
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00422264
lea ecx, [ebp - 4]
mov edx, 0x445744
mov eax, dword [ebp - 0xc]
call fcn.004224ac
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040ea90
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4456ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x445750
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x46d500]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4456b3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4457a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4457e7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4457ca
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4457db
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4457e7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret