Function at 0x4fcaf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fce08
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4fcb2b
mov byte [ebp - 5], 1
jmp 0x4fcb2f
mov byte [ebp - 5], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.004dffac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fcb82
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.004dffac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x328], 0
je 0x4fcde5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.00525904
test eax, eax
je 0x4fcde5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.00525904
cmp dword [eax + 0x30], 0
je 0x4fcde5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.00525904
mov eax, dword [eax + 0x30]
call fcn.004aa68c
test al, al
je 0x4fcde5
mov al, byte [0x4fce14]
mov byte [ebp - 7], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x4fcc06
mov al, byte [0x4fce18]
or al, byte [ebp - 7]
mov byte [ebp - 7], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x4fcc26
mov al, byte [0x4fce1c]
or al, byte [ebp - 7]
mov byte [ebp - 7], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x300]
cmp eax, dword [edx + 0x2ec]
jne 0x4fcc57
mov al, byte [0x4fce20]
or al, byte [ebp - 7]
mov byte [ebp - 7], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4fcc72
je 0x4fcc78
dec eax
je 0x4fcc7e
jmp 0x4fcc84
mov byte [ebp - 8], 0
jmp 0x4fcc88
mov byte [ebp - 8], 1
jmp 0x4fcc88
mov byte [ebp - 8], 2
jmp 0x4fcc88
mov byte [ebp - 8], 2
cmp byte [ebp - 5], 0
je 0x4fcc9e
cmp byte [ebp - 8], 0
jne 0x4fcc9a
mov byte [ebp - 8], 1
jmp 0x4fcc9e
mov byte [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32c], 0
jne 0x4fccb4
cmp byte [ebp - 8], 2
jne 0x4fccb4
mov byte [ebp - 8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4fcccf
je 0x4fccd5
dec eax
je 0x4fccdb
jmp 0x4fcce1
mov byte [ebp - 9], 0
jmp 0x4fcce5
mov byte [ebp - 9], 1
jmp 0x4fcce5
mov byte [ebp - 9], 2
jmp 0x4fcce5
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
cmp dword [eax + 0x2ec], 0
jl 0x4fcd4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [eax + 0x2ec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x4fcd4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [eax + 0x2ec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x40]
lea eax, [ebp - 0x10]
call fcn.004048cc
jmp 0x4fcd56
lea eax, [ebp - 0x10]
call fcn.00404834
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2ec]
sub eax, 1
jb 0x4fcd74
je 0x4fcd7a
dec eax
je 0x4fcd80
dec eax
je 0x4fcd86
jmp 0x4fcd8c
mov byte [ebp - 0xa], 0
jmp 0x4fcd90
mov byte [ebp - 0xa], 1
jmp 0x4fcd90
mov byte [ebp - 0xa], 2
jmp 0x4fcd90
mov byte [ebp - 0xa], 3
jmp 0x4fcd90
mov byte [ebp - 0xa], 0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.004dffac
mov eax, dword [ebp - 0x20]
push eax
mov al, byte [ebp - 7]
push eax
mov al, byte [ebp - 8]
push eax
mov al, byte [ebp - 9]
push eax
mov al, byte [ebp - 0xa]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x334]
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
je 0x4fcde5
mov eax, dword [ebp - 4]
mov byte [eax + 0x32c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fce0f
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404858
lea eax, [ebp - 0x10]
call fcn.00404834
ret