joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4baf88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb10d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x589190]
cmp byte [eax], 0
jne 0x4bafe7
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404d70
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042acd8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004054d0
jmp 0x4bb0e5
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004054e0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4bb01e
mov eax, dword [ebp - 0xc]
call fcn.004052f4
jmp 0x4bb0e5
mov eax, dword [ebp - 0x10]
dec eax
sub eax, 2
jb 0x4bb058
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xf
lea eax, [ebp - 0x24]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x5892e4]
call fcn.0040702c
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x42a5c0]
call fcn.0040e6e8
call fcn.00404444
cmp dword [ebp - 0x14], 1
jne 0x4bb065
mov dword [ebp - 0x14], 2
mov edx, dword [ebp - 0x14]
shr edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405860
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004054e0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004054e0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4bb0d1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xf
lea eax, [ebp - 0x24]
push eax
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [0x5896a4]
call fcn.0040702c
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x42a5c0]
call fcn.0040e6e8
call fcn.00404444
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004054e0
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00405460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb114
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404af0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404af0
ret
Function at 0x4c3c1c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c3c4a
mov eax, ebx
call fcn.004c46d0
cmp dword [ebx + 0x40], 0
je 0x4c3c43
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c3cbb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c3cad
cmp dword [ebx + 8], 0
je 0x4c3c6c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c3c7e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c3cad
cmp dword [ebx + 8], 0
je 0x4c3c5f
cmp eax, 3
je 0x4c3c91
dec eax
jne 0x4c3c5f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c3c5f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c3c5f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c3cd9
cmp dword [ebx + 0x14], 0xcc
je 0x4c3cd9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c3ce4
pop ebx
ret

Function at 0x4d4c38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4d4c5b
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4d4c6e
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4d4ce4
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, 1
mov edx, dword [ebp - 8]
dec eax
test edx, edx
je 0x4d4c85
cmp eax, dword [edx - 4]
jb 0x4d4c8a
call fcn.00403a58
inc eax
lea eax, [edx + eax - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4d4cc8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
xor eax, edx
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx]
xor eax, edx
mov dword [ebp - 0x18], eax
add dword [ebp - 0x1c], 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x4d4ca3
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
pop edx
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jns 0x4d4ce1
call fcn.00403a58
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4ec53c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x4e2cac]
call fcn.004063f0
add esp, 4
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov ecx, 1
mov edx, dword [0x4e2ccc]
call fcn.004063f0
add esp, 4
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x14
mov ecx, 1
mov edx, dword [0x4e2cec]
call fcn.004063f0
add esp, 4
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ee5cc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ec5c2
mov eax, dword [ebp - 0xc]
push eax
push 0x4eb9c0
call sub.user32.dll_EnumWindows
jmp 0x4ec5d4
mov eax, dword [ebp - 0xc]
push eax
push 0x4eb9c0
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00406234
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4ed63c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2100]
call fcn.00435050
call fcn.0040c804
mov eax, dword [ebp - 4]
fsub qword [eax + 0x20e0]
fld xword [0x4ed724]
fcompp
wait
fnstsw ax
sahf
ja 0x4ed6b5
push 0
mov eax, dword [ebp - 4]
add eax, 0x20d0
mov ecx, 1
mov edx, dword [0x4e2cac]
call fcn.004063f0
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x20c4
push eax
push 0x4ebedc
call sub.user32.dll_EnumWindows
call fcn.0040c804
mov eax, dword [ebp - 4]
fstp qword [eax + 0x20e0]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20d0]
call fcn.00406234
sub eax, 1
jno 0x4ed6cd
call fcn.00403a60
test eax, eax
jl 0x4ed70c
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20d0]
test edx, edx
je 0x4ed6f1
cmp eax, dword [edx - 4]
jb 0x4ed6f6
call fcn.00403a58
mov eax, dword [edx + eax*4]
cmp eax, dword [ebp - 8]
jne 0x4ed704
mov byte [ebp - 9], 1
jmp 0x4ed70c
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4ed6dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2100]
call fcn.00435058
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4f1244
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test byte [ebp + 9], 2
jne 0x4f12a3
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4f12a3
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetFocus
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
mov esp, ebp
pop ebp
ret 4
Function at 0x4fde6c
Capabilities:
Log keystrokes via application hook
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3ac], 0
je 0x4fdff8
cmp byte [ebp - 5], 0
je 0x4fdf97
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.005463e4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004f10e8
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetAsyncKeyState
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x4fdeae
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x4fdef5
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004fdffc
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetAsyncKeyState
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x92
jne 0x4fdecd
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jne 0x4fdec8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3ac], 1
jne 0x4fdf1f
push 1
call sub.user32.dll_BlockInput
jmp 0x4fdf8b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3b4], 0
je 0x4fdf37
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3b4], 1
jne 0x4fdf55
push 0
mov eax, dword [0x58c7f8]
push eax
mov eax, 0x4fdd7c
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x3a4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3b4], 0
je 0x4fdf6d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3b4], 2
jne 0x4fdf8b
push 0
mov eax, dword [0x58c7f8]
push eax
mov eax, 0x4fddd8
push eax
push 0xe
call sub.user32.dll_SetWindowsHookExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x3a8], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f10e8
jmp 0x4fdff8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3ac], 1
jne 0x4fdfac
push 0
call sub.user32.dll_BlockInput
jmp 0x4fdff8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3a4], 0
je 0x4fdfc7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
push eax
call sub.user32.dll_UnhookWindowsHookEx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3a4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3a8], 0
je 0x4fdfed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a8]
push eax
call sub.user32.dll_UnhookWindowsHookEx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3a8], edx
mov esp, ebp
pop ebp
ret
Function at 0x4ff188
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
cmp dword [0x588d08], 0
jne 0x4ff2ae
push 0x7f8a
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d08], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d0c], eax
push 0x7f03
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d10], eax
push 0x7f89
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d14], eax
push 0x7f8b
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d18], eax
push 0x7f01
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d1c], eax
push 0x7f81
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d20], eax
push 0x7f88
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d24], eax
push 0x7f80
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d28], eax
push 0x7f86
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d2c], eax
push 0x7f83
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d30], eax
push 0x7f85
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d34], eax
push 0x7f82
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d38], eax
push 0x7f84
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d3c], eax
push 0x7f04
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d40], eax
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x588d44], eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetCursor
mov dword [ebp - 0x1c], eax
push 0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_AttachThreadInput
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xf
jbe 0x4ff30f
call fcn.00403a58
mov eax, dword [eax*4 + 0x588d08]
cmp eax, dword [ebp - 0x1c]
jne 0x4ff32d
mov eax, dword [ebp - 0xc]
add eax, 1
jno 0x4ff328
call fcn.00403a60
mov dword [ebp - 8], eax
jmp 0x4ff350
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x4ff302
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4ff350
imul eax, dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], eax
jno 0x4ff350
call fcn.00403a60
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x500768
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x5007b8
lea eax, [ebp - 0x14]
push eax
push 0x5007bc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov esp, ebp
pop ebp
ret

Function at 0x500b98
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x1d], 0xcc
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, eax
jl 0x500c9c
inc edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x500bda
call fcn.00403a58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x21b4]
xor edx, edx
div dword [ebp - 0x44]
mul dword [ebp - 0x44]
jae 0x500bf6
call fcn.00403a60
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x80
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtectEx
test eax, eax
je 0x500cad
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp - 0x14]
cmp eax, 0xd
jbe 0x500c2e
call fcn.00403a58
mov edx, dword [ebp + 8]
lea eax, [edx + eax - 0x12]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x500c43
call fcn.00403a58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x21b4]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x500cad
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x500c75
call fcn.00403a58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x21b4]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x500cad
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x500bcd
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FlushInstructionCache
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x50145c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2190], 0
jne 0x50161b
push 0x501620
call sub.kernel32.dll_LoadLibraryA
mov edx, dword [ebp - 4]
mov dword [edx + 0x2190], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2190], 0
je 0x50161b
push 0x501638
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2134], eax
push 0x501644
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2138], eax
push 0x501654
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x213c], eax
push 0x501674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2140], eax
push 0x50168c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2144], eax
push 0x5016a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2148], eax
push 0x5016d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x214c], eax
push 0x5016e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2150], eax
push 0x5016f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2154], eax
push 0x501718
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2158], eax
push 0x501730
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x215c], eax
push 0x501744
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2190]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2160], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2134], 0
je 0x501607
mov eax, dword [ebp - 4]
call dword [eax + 0x2134]
push 0x50
call sub.kernel32.dll_Sleep_1
mov edx, 0x50
mov eax, dword [ebp - 4]
call fcn.005463e4
pop ecx
pop ebp
ret

Function at 0x50a7fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetKeyState
movsx eax, ax
test eax, 0xfffffff0
je 0x50a823
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x519de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b54
xor eax, eax
push ebp
push 0x519f65
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.0047fddc
xor eax, eax
push ebp
push 0x519f30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x30]
sub eax, 1
jno 0x519e3d
call fcn.00403a60
test eax, eax
jl 0x519f15
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0047fddc
mov eax, dword [ebp - 0x18]
and eax, 2
cmp eax, 2
jne 0x519f09
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0047fddc
lea eax, [ebp - 0x14]
call fcn.00406ae0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.0047fddc
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0047fddc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.00409d2c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00405614
jne 0x519f09
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00519d48
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
lea esi, [ebp - 0x34]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00519c24
pop ecx
jmp 0x519f15
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x519e50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519f37
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x5463e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub eax, 1
jno 0x5463fe
call fcn.00403a60
test eax, eax
jl 0x546428
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
push 0
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x589484]
mov eax, dword [eax]
call fcn.004743d8
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x54640d
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x21b0]
jne 0x5464d0
push 1
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x546452
mov eax, dword [ebp - 4]
mov byte [eax + 0x2248], 1
push 2
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x546468
mov eax, dword [ebp - 4]
mov byte [eax + 0x2249], 1
push 4
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x54647e
mov eax, dword [ebp - 4]
mov byte [eax + 0x224a], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e65], 0
je 0x5464d0
call fcn.0040c804
fstp qword [ebp - 0x18]
wait
push dword [0x588d90]
push dword [0x588d8c]
call fcn.0047c6bc
mov ebx, eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0047c6bc
cmp bx, ax
je 0x5464d0
mov eax, dword [ebp - 0x18]
mov dword [0x588d8c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x588d90], eax
mov eax, dword [ebp - 4]
call fcn.0052afa8
pop ebx
mov esp, ebp
pop ebp
ret