Function at 0x4fc0f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff76
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x288]
mov ecx, 0x9f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x540cac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x110], 0
jle 0x4fc215
call fcn.004611dd
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x170]
call eax
cmp esi, esp
call fcn.00462114
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
call fcn.0045eeb5
push eax
lea ecx, [ebp - 0x84]
call fcn.00461877
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
jmp 0x4fc19f
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x180
call fcn.0045f653
cmp dword [ebp - 0x90], eax
jae 0x4fc203
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x180
call fcn.00461926
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00462051
mov esi, eax
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x154
call fcn.00462051
mov ecx, 0x2a
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4fc190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0046236c
cmp dword [ebp + 8], 0
jne 0x4fc220
jmp 0x4fc9ce
mov eax, dword [ebp + 8]
and eax, 1
je 0x4fc9ce
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0xffffffff
jne 0x4fc23d
jmp 0x4fc9e6
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0046035f
mov dword [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0046205b
push 0xa
lea ecx, [ebp - 0xb8]
call fcn.00461ac0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 8
jne 0x4fc41a
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00462114
cwde
test eax, eax
jge 0x4fc41a
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4fc2b6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045f757
jmp 0x4fc2bd
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00461bd3
mov eax, dword [ebp - 0x14]
add eax, 0xf0
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x284]
push edx
call fcn.004603c8
add esp, 0xc
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0045ea23
mov ecx, dword [ebp - 0x14]
add ecx, 0x104
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x110], 0
jle 0x4fc37a
call fcn.004611dd
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x170]
call eax
cmp esi, esp
call fcn.00462114
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
add eax, 0x12c
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.0045f59f
jmp 0x4fc38e
mov ecx, dword [ebp - 0x14]
call fcn.0045eeb5
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.0045f59f
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x104
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.00460120
mov eax, dword [ebp - 0x14]
fldz
fstp dword [eax + 0x104]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045f757
push 0
call fcn.00462d5d
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0x104
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
call fcn.004622ef
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004627db
jmp 0x4fc9e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 8
jne 0x4fc5c1
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00462114
cwde
test eax, eax
jge 0x4fc5c1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4fc45d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045f757
jmp 0x4fc464
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00461bd3
mov eax, dword [ebp - 0x14]
add eax, 0xf0
push eax
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.004603c8
add esp, 0xc
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0045ea23
mov ecx, dword [ebp - 0x14]
add ecx, 0x104
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x110], 0
jle 0x4fc521
call fcn.004611dd
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x170]
call eax
cmp esi, esp
call fcn.00462114
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
add eax, 0x12c
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.0045f59f
jmp 0x4fc535
mov ecx, dword [ebp - 0x14]
call fcn.0045eeb5
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.0045f59f
push 2
mov eax, dword [ebp - 0x14]
add eax, 0x104
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.00460120
mov eax, dword [ebp - 0x14]
fldz
fstp dword [eax + 0x108]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045f757
push 0
call fcn.00462d5d
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0x104
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
call fcn.004622ef
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004627db
jmp 0x4fc9e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 8
jne 0x4fc73e
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4fc5ea
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045f757
jmp 0x4fc5f1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00461bd3
mov eax, dword [ebp - 0x14]
add eax, 0xf0
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.004603c8
add esp, 0xc
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0045ea23
mov ecx, dword [ebp - 0x14]
add ecx, 0x104
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x110], 0
jle 0x4fc6ae
call fcn.004611dd
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x14]
call fcn.0045eeb5
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.0045f59f
idiv bh
mov eax, dword [ebp - 0x14]