Function at 0x5ac950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00405a6c
xor eax, eax
push ebp
push 0x5acc1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405488
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004054ac
cmp dword [ebp + 0x10], 0xff
jne 0x5aca00
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac9c3
mov dword [ebp + 0x10], 0xc
jmp 0x5aca00
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac9d8
mov dword [ebp + 0x10], 0xd
jmp 0x5aca00
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac9f9
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac9f9
mov dword [ebp + 0x10], 0xb
jmp 0x5aca00
mov dword [ebp + 0x10], 0xa
lea ecx, [ebp - 0xc]
mov dl, 1
mov eax, edi
call fcn.00532430
mov ebx, dword [edi + 0x2c0]
dec ebx
test ebx, ebx
jl 0x5acbe4
inc ebx
xor esi, esi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + esi*4]
mov eax, edi
call fcn.00531fe0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5acbdc
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x5acbdc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [0x4bf538]
call fcn.00403fac
test al, al
je 0x5aca9b
push 0x5acc34
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005acc48
push dword [ebp - 0x24]
push 0x5acc44
mov eax, dword [ebp + 8]
mov edx, 3
call fcn.00405790
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004056bc
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x5acbe4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [0x4befd0]
call fcn.00403fac
test al, al
je 0x5acb4d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x18]
mov eax, edi
call fcn.00531fe0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5acbdc
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x5acbdc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [0x4bf538]
call fcn.00403fac
test al, al
je 0x5acbdc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
call fcn.004c93c0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.004054ac
mov eax, dword [ebp + 8]
mov ecx, 0x5acc44
mov edx, dword [ebp - 0x1c]
call fcn.00405728
jmp 0x5acbdc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [0x4be8fc]
call fcn.00403fac
test al, al
je 0x5acbdc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x18]
mov eax, edi
call fcn.00531fe0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x18]
mov eax, edi
call fcn.00531fe0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.004c9288
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
call fcn.004054ac
mov eax, dword [ebp + 8]
mov ecx, 0x5acc44
mov edx, dword [ebp - 0x1c]
call fcn.00405728
inc esi
dec ebx
jne 0x5aca1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5acc24
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405464
lea eax, [ebp - 0x1c]
call fcn.0040544c
lea eax, [ebp - 0xc]
mov edx, dword [0x50b1f4]
call fcn.00406580
lea eax, [ebp - 8]
call fcn.0040544c
ret