Function at 0x48b180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 3], 0
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
test eax, eax
jne 0x48b3f5
mov dword [ebp - 4], 0
jmp 0x48b1ba
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jge 0x48b2ce
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x18]
test ecx, ecx
je 0x48b2c9
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x48b1f4
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax + 0x1c]
call fcn.0047a370
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x48b215
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax + 0x1c]
call fcn.0047a370
call fcn.00496cb0
movzx edx, al
test edx, edx
je 0x48b252
call fcn.00496ca0
movzx eax, al
cmp eax, 1
je 0x48b240
mov ecx, dword [0x4ce194]
call fcn.00404d70
movzx ecx, al
test ecx, ecx
je 0x48b252
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x1c]
call fcn.0047a370
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx + 0x1c]
call fcn.0047b2f0
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [ebp - 5]
or ecx, edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], cl
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 2]
test edx, edx
je 0x48b2c9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 4]
jne 0x48b2c9
movzx edx, byte [ebp - 5]
test edx, edx
jne 0x48b2c9
mov eax, dword [ebp - 0x10]
mov byte [eax + 3], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [0x4af5d0]
imul ecx, ecx, 5
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], ecx
jl 0x48b2c9
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
jmp 0x48b1b1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x48b3f5
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax + 0x3c]
call fcn.00490ba0
movzx edx, al
test edx, edx
je 0x48b305
mov ecx, dword [ebp - 0x10]
call fcn.0048aba0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax + 0x34]
call fcn.00490ba0
movzx edx, al
test edx, edx
je 0x48b338
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax + 0x34]
call fcn.00404d30
movzx ecx, al
call fcn.00496dd0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x38]
call fcn.00490ba0
movzx ecx, al
test ecx, ecx
je 0x48b36b
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x38]
call fcn.00404d30
movzx ecx, al
call fcn.00496e70
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx + 0x30]
call fcn.00490ba0
movzx eax, al
test eax, eax
je 0x48b38f
mov ecx, dword [0x4ce16c]
call fcn.0048dd20
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx + 0x2c]
call fcn.00490ba0
movzx eax, al
test eax, eax
je 0x48b3ad
call fcn.004863f0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx + 0x24]
call fcn.00490ba0
movzx eax, al
test eax, eax
je 0x48b3d1
mov ecx, dword [0x4ce170]
call fcn.004011d0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx + 0x28]
call fcn.00490ba0
movzx eax, al
test eax, eax
je 0x48b3f5
mov ecx, dword [0x4ce170]
call fcn.00401210
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 1]
mov esp, ebp
pop ebp
ret