joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b60
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 + 0x1f8], 0
je 0x449b7c
cmp dword [esi + 4], 0
je 0x449ba9
test byte [ebx + 0x55], 1
jne 0x449b9b
mov eax, ebx
call fcn.00448700
test eax, eax
jne 0x449b9b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x449cb9
mov edx, esi
mov eax, ebx
call fcn.00449684
jmp 0x449cb9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x449cb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b9d0
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.0044639c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00449b60
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.0044b9d0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449cb9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45038c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x586df8]
cmp byte [eax + 0xc], 0
je 0x4504f9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4504f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x587b98], 0
jne 0x4503e0
push 0x450500
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450508
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587b98], eax
cmp dword [0x581d68], 0
jne 0x4504db
push 0x450518
call sub.kernel32.dll_LoadLibraryA
mov dword [0x581d68], eax
cmp dword [0x581d68], 0
je 0x4504db
push 0x450524
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587b9c], eax
push 0x450534
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587ba0], eax
push 0x450548
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587ba4], eax
push 0x450560
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587ba8], eax
push 0x450578
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bac], eax
push 0x45058c
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bb0], eax
push 0x4505a4
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bb4], eax
push 0x4505bc
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bb8], eax
push 0x4505d8
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bbc], eax
push 0x4505e4
mov eax, dword [0x581d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x587bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4504f9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4548c0
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.00404b94
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45490f
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.00404e04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c2cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c31c]
test si, 4
je 0x45c2e0
or bl, 1
test si, 8
je 0x45c2ea
or bl, 4
test si, 1
je 0x45c2f4
or bl, 8
test si, 2
je 0x45c2fe
or bl, 0x10
test si, 0x10
je 0x45c308
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c317
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45c320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c358]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c339
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c348
or bl, 4
test esi, 0x20000000
je 0x45c353
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x462a1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x462a2e
add esp, 0xfffffff0
call fcn.0040409c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420270
mov eax, dword [0x58686c]
mov dword [eax + 4], ebx
mov dword [eax], 0x462dc0
mov eax, dword [0x586878]
mov dword [eax + 4], ebx
mov dword [eax], 0x462dcc
mov eax, ebx
call fcn.00462dd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403d34
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403d34
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403d34
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403d34
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403d34
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, 0x45f1f0
push eax
push 0
push 0
mov eax, dword [0x586a94]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421cf4]
call fcn.004234fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421cf4]
call fcn.004234fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421cf4]
call fcn.004234fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463324
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4631a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4631a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4631a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462b6b
call fcn.004040f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462f88
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 0x463133
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463114
mov dl, 1
mov eax, dword [0x4178a4]
call fcn.00403d34
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b94
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463103
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.004506ec
test al, al
je 0x4630f6
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, 0x463144
lea eax, [ebp - 0x254]
call fcn.0040a938
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4630f6
xor eax, eax
push ebp
push 0x4630ef
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 0x46317c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4630d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e04
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 0x4630d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4630f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462ff9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bda8
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 0x46313a
lea eax, [ebp - 0x260]
call fcn.00404b94
ret

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

Disassembly:
push ecx
mov eax, dword [0x587be4]
cmp byte [eax + 0xa5], 0
jne 0x463b35
cmp dword [0x587bfc], 0
jne 0x463af6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463a80
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x587bfc], eax
cmp dword [0x587bf8], 0
jne 0x463b11
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x587bf8], eax
cmp dword [0x587c00], 0
jne 0x463b35
push esp
push 0
push 0
push 0x463a24
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x587c00], eax
pop edx
ret
Function at 0x4641f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x587be4]
cmp dword [eax + 0x30], 0
je 0x4642a2
cmp dword [ebx + 0x94], 0
jne 0x46429c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464188
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46429c
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 0x464262
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46429c
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.00419914
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464271
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464e18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x464e4d
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.00404c84
jmp 0x464e5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404be8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465f94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465fd5
mov eax, esi
call fcn.0044bcd4
test al, al
je 0x465fd5
mov eax, dword [ebx + 0x84]
call fcn.0044b9d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465fd5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b9d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46a560
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46a58e
mov eax, ebx
call fcn.0046b014
cmp dword [ebx + 0x40], 0
je 0x46a587
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46a5ff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46a5f1
cmp dword [ebx + 8], 0
je 0x46a5b0
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 0x46a5c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46a5f1
cmp dword [ebx + 8], 0
je 0x46a5a3
cmp eax, 3
je 0x46a5d5
dec eax
jne 0x46a5a3
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 0x46a5a3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46a5a3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46a61d
cmp dword [ebx + 0x14], 0xcc
je 0x46a61d
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.0046a628
pop ebx
ret
Function at 0x47eb8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x587cc0
test esi, esi
jne 0x47eba6
xor eax, eax
jmp 0x47eca8
cmp dword [ebp], 0
jne 0x47ebb1
call fcn.0047eb1c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x47ec81
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x47ebbd
test edi, edi
jbe 0x47eca3
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x47ec85
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x494784
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4947f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5858c0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4947df
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00494774
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x494470]
call fcn.0049481c
mov dword [0x585924], eax
mov eax, dword [ebp - 4]
call fcn.00494724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4947fc
lea eax, [ebp - 8]
call fcn.00406b24
ret
Function at 0x4ca380
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.004034d0
lea eax, [esp + 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x4ca589
push 0
push 0x4ca594
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4ca589
push 0
push 0x4ca5a4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4ca589
push 0
push 0x4ca5b4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4ca589
push 0
push 0x4ca5c4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4ca589
push 0
push 0
push 0x418
push esi
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x4ca589
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x4ca589
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebp, eax
test ebp, ebp
je 0x4ca589
push 0x40
push 0x1000
push 0x1000
push 0
push ebp
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x4ca589
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x4ca571
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push esi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4ca567
lea eax, [esp + 0x14]
push eax
push 0x18
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4ca567
test byte [esp + 0x55], 0xd
jne 0x4ca567
mov al, byte [esp + 0x54]
and al, 8
cmp al, 8
je 0x4ca567
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x64]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4ca567
cmp dword [esp + 0x14], 0
je 0x4ca567
mov eax, dword [0x586b7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
cmp eax, dword [esp + 0x10]
jne 0x4ca567
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push esi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x4ca544
lea eax, [esp + 0x14]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0x14], 0
je 0x4ca571
lea eax, [esp + 0x18]
push eax
push esi
call sub.user32.dll_GetWindowRect
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.004073a0
jmp 0x4ca571
cmp edi, dword [esp + 4]
jl 0x4ca491
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push ebp
call sub.kernel32.dll_VirtualFreeEx
push ebp
call sub.kernel32.dll_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4da894
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
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 dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004d7de0
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.00533ffc
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x4da9d4
cmp edi, dword [ebp - 0x1c]
jge 0x4da9d4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004d83f0
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4da910
mov ebx, esi
sar ebx, 1
jns 0x4da910
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x4da929
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4da929
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4da9d4
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x4da946
cmp eax, dword [ebp - 8]
jle 0x4da946
mov dword [ebp - 0xc], 1
jmp 0x4da9d4
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4da957
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4da9d4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x4da973
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4da973
mov dword [ebp - 0xc], 5
jmp 0x4da9d4
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x4da9a3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x4da9a3
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4da99a
mov dword [ebp - 0xc], 4
jmp 0x4da9d4
mov dword [ebp - 0xc], 2
jmp 0x4da9d4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x4da9d4
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4da9d4
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4da9cd
mov dword [ebp - 0xc], 4
jmp 0x4da9d4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4da9e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
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 edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004d7de0
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00534010
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x4dab1c
cmp edi, dword [ebp - 0x1c]
jge 0x4dab1c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004d83f0
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4daa58
mov ebx, esi
sar ebx, 1
jns 0x4daa58
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x4daa71
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4daa71
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4dab1c
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x4daa8e
cmp eax, dword [ebp + 8]
jle 0x4daa8e
mov dword [ebp - 8], 1
jmp 0x4dab1c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4daa9f
mov dword [ebp - 8], 0xffffffff
jmp 0x4dab1c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x4daabb
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x4daabb
mov dword [ebp - 8], 5
jmp 0x4dab1c
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4daaeb
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x4daaeb
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4daae2
mov dword [ebp - 8], 4
jmp 0x4dab1c
mov dword [ebp - 8], 2
jmp 0x4dab1c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x4dab1c
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4dab1c
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4dab15
mov dword [ebp - 8], 4
jmp 0x4dab1c
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4