Function at 0x47f760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bde43
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4ea160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd4], ecx
test esi, esi
jle 0x47f9cc
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x47f9cc
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
cdq
idiv esi
push 0xffffffffffffffff
mov ebx, edx
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xd4]
mov ecx, eax
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xbc], vtable.FCRandom.0
mov dword [ebp - 0x30], 0
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 8]
cdq
idiv edi
test ebx, ebx
mov dword [ebp - 0x2c], 0
lea ebx, [ecx + 1]
mov dword [ebp - 0xcc], edx
cmove ebx, ecx
mov dword [ebp - 0x28], 0
test edx, edx
mov dword [ebp - 0xc8], ebx
lea edi, [eax + 1]
cmove edi, eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xdc], edi
call fcn.004551b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [ebp - 4], 1
mov eax, edi
imul eax, ebx
lea ecx, [ebp - 0xbc]
push eax
call fcn.004551f0
mov eax, edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
test eax, eax
jle 0x47f97d
nop dword [eax]
mov dword [ebp - 0xd8], ebx
test ebx, ebx
jle 0x47f950
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0xe0], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xd8]
mov eax, dword [ecx]
add ecx, 4
cdq
idiv dword [ebp - 0xc8]
mov dword [ebp - 0x28], ecx
mov ecx, eax
mov eax, dword [ebp - 0xdc]
dec eax
cmp ecx, eax
mov eax, dword [ebp + 0x10]
jne 0x47f8c8
cmp dword [ebp - 0xcc], 0
mov edi, eax
cmovne edi, dword [ebp - 0xcc]
cmp edx, dword [ebp - 0xe0]
jne 0x47f8e1
cmp dword [ebp - 0xd0], 0
mov esi, dword [ebp + 0xc]
cmovne esi, dword [ebp - 0xd0]
imul edx, dword [ebp + 0xc]
imul ecx, eax
mov eax, dword [ebp - 0xd4]
add edx, dword [eax + 4]
add ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
lea eax, [edx + esi]
mov dword [ebp - 0x18], eax
lea eax, [ecx + edi]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.00457a10
mov ecx, dword [ebp - 0xe4]
lea edx, [ebp - 0x20]
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0xc0]
test eax, eax
je 0x47f934
cmp esi, eax
jge 0x47f9bb
mov edi, dword [ebp + 0x10]
inc esi
dec ebx
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xd8], ebx
test ebx, ebx
jg 0x47f890
mov ebx, dword [ebp - 0xc4]
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8001
test cx, ax
jne 0x47f9c5
dec ebx
mov dword [ebp - 0xc4], ebx
test ebx, ebx
mov ebx, dword [ebp - 0xc8]
jg 0x47f870
xor ebx, ebx
cmp dword [ebp + 0x14], 0
mov eax, 1
cmove ebx, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], vtable.FCRect.0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], vtable.FCRandom.0
test ecx, ecx
je 0x47f9b7
push ecx
call fcn.0044f34c
add esp, 4
mov eax, ebx
jmp 0x47f9d1
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
jmp 0x47f956
mov ebx, 1
jmp 0x47f97f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f18f
mov esp, ebp
pop ebp
ret 0x10