joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x4399b4]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439991
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4399a1
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x4399ab
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x441e70
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x441e82
add esp, 0xfffffff0
call fcn.00403ad4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004266e8
mov eax, dword [0x49118c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4423e8
mov eax, dword [0x49119c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x442408
mov eax, dword [ebp - 4]
call fcn.00442428
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418844]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418844]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x418844]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x418844]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x418844]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x43d540
push eax
push 0
push 0
mov eax, dword [0x49139c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428c84]
call fcn.0042a2ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x428c84]
call fcn.0042a2ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x428c84]
call fcn.0042a2ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00442984
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4427c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4427c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4427c8
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x44200a
call fcn.00403b2c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x442578
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44274c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44272a
mov dl, 1
mov eax, dword [0x418ea8]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045e8
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jno 0x4425e3
call fcn.004036b0
test eax, eax
jl 0x442713
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0045b89c
test al, al
je 0x442707
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x44275c
lea eax, [ebp - 0x25c]
call fcn.0040a474
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x442707
xor eax, eax
push ebp
push 0x442700
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x442794
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4426e9
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404858
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4426e9
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442707
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4425f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041f130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442753
lea eax, [ebp - 0x268]
call fcn.004045e8
ret
Function at 0x443368
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x492b18]
cmp byte [eax + 0xa5], 0
jne 0x4433df
cmp dword [0x492b30], 0
jne 0x44339d
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x443324
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x492b30], eax
cmp dword [0x492b2c], 0
jne 0x4433b8
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x492b2c], eax
cmp dword [0x492b34], 0
jne 0x4433df
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4432c4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x492b34], eax
pop ecx
pop ebp
ret

Function at 0x4434a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00443440
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4434c9
xor eax, eax
call fcn.00443478
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4434e3
mov al, 1
call fcn.00443478
mov esp, ebp
pop ebp
ret

Function at 0x443bc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x492b18]
cmp dword [eax + 0x30], 0
je 0x443ca3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x443c92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x443b48
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x443c92
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x443c43
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x443c59
call fcn.004036b0
cmp eax, 0
jl 0x443c92
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041bcc8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x443c61
mov eax, dword [ebp - 4]
add dword [eax + 0x94], 1
jno 0x443ca3
call fcn.004036b0
mov esp, ebp
pop ebp
ret

Function at 0x444a08
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x444a4d
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004046d8
jmp 0x444a5e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.0040463c
mov esp, ebp
pop ebp
ret
Function at 0x445fb4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x446007
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00455840
test al, al
je 0x446007
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045544c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446007
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045544c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4499f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x492b7c], 0
je 0x449b54
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49145c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x449b54
mov eax, dword [0x492b80]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x492b7c]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x449a56
call fcn.004036b0
test eax, eax
jl 0x449b23
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x492b7c]
call fcn.0041bcc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x449b17
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x449b17
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x449b17
mov eax, dword [ebp - 0x14]
call fcn.0045544c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x449b17
push ebp
call fcn.004499a8
pop ecx
test al, al
jne 0x449b17
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x449ad7
mov eax, dword [ebp - 0x14]
call fcn.00453784
dec eax
jle 0x449b17
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040397c
cmp byte [ebp - 1], 0
je 0x449b17
lea edx, [ebp - 9]
lea eax, [ebp - 0x30]
call fcn.00406b70
test al, al
je 0x449b17
mov edx, dword [ebp - 0x14]
mov eax, dword [0x492b80]
call fcn.00448e34
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x449a69
mov eax, dword [0x492b80]
cmp dword [eax + 8], 0
jle 0x449b3b
mov eax, dword [0x492b80]
call fcn.00448eec
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x449b54
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004497e8
pop ecx
test al, al
jne 0x449b54
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44e370
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x44e3c3
mov eax, dword [ebp - 0x14]
call fcn.00439a9c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e3c3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x44e3c3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x44e558
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x44e40c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x44e40c
mov eax, dword [ebp - 0x14]
call fcn.00439a9c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e54d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x44e558
jmp 0x44e54d
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x44e528
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x44e528
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x44e456
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x44e449
sub eax, 3
je 0x44e449
sub eax, 3
jne 0x44e456
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
jae 0x44e456
call fcn.004036b0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x44e46d
dec eax
je 0x44e484
dec eax
je 0x44e4ab
dec eax
je 0x44e484
jmp 0x44e4b8
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x49145c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00445e38
jmp 0x44e54d
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x44e49e
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.0040397c
jmp 0x44e558
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x44e54d
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x44e54d
mov eax, dword [0x492b38]
cmp byte [eax + 0x20], 0
je 0x44e54d
mov eax, dword [0x492b38]
cmp dword [eax + 0x1c], 0
je 0x44e54d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x492b38]
cmp eax, dword [edx + 0x1c]
jne 0x44e54d
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004399b8
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.0040397c
jmp 0x44e558
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x44e54d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0044c3b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452ae8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x452b09
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x452b3e
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x452b2e
mov eax, dword [ebp - 4]
call fcn.00451030
test eax, eax
jne 0x452b2e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x452c68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00452418
jmp 0x452c68
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x452c61
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045544c
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0044e218
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00452ae8
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045544c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452c68
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x45b50c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b668
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x492b90], 0
jne 0x45b556
push 0x45b674
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x45b67c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492b90], eax
cmp dword [0x48fcdc], 0
jne 0x45b651
push 0x45b68c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48fcdc], eax
cmp dword [0x48fcdc], 0
je 0x45b651
push 0x45b698
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492b94], eax
push 0x45b6a8
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492b98], eax
push 0x45b6bc
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492b9c], eax
push 0x45b6d4
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492ba0], eax
push 0x45b6ec
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492ba4], eax
push 0x45b700
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492ba8], eax
push 0x45b718
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492bac], eax
push 0x45b730
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492bb0], eax
push 0x45b74c
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492bb4], eax
push 0x45b758
mov eax, dword [0x48fcdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x492bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b66f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x46000c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004045e8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x460065
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404858
mov esp, ebp
pop ebp
ret
Function at 0x46b504
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b579
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404c34
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404aa8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004048a8
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404c34
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0046b1a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b580
lea eax, [ebp - 0xc]
call fcn.004045e8
ret

Function at 0x46b584
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b62f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x105
call fcn.00404c34
cmp dword [ebp - 4], 0
jbe 0x46b5e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404aa8
push eax
push 0
push 0x46b63c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0046b1a4
mov eax, dword [ebp - 0xc]
call fcn.00404aa8
push eax
call sub.kernel32.dll_GetTempFileNameA
jmp 0x46b605
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404aa8
push eax
push 0
push 0x46b63c
mov eax, dword [0x492dd0]
call fcn.00404aa8
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404aa8
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004047e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b636
lea eax, [ebp - 0xc]
call fcn.004045e8
ret