Function at 0x484850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x4c], ecx
xor ebx, ebx
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x3c], 1
mov eax, 0x11
mov dword [ebp - 0x38], 4
xor esi, esi
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], 0x40
nop word [eax + eax]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4848f5
or edi, dword [ebp + esi - 0x20]
inc ebx
lea esi, [ebx*4]
mov eax, dword [ebp + esi - 0x40]
test eax, eax
jne 0x4848e0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x4c]
dec eax
cmp eax, 5
ja case.0x48491c.3
jmp dword [eax*4 + 0x484ae8]
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
mov eax, edi
push ecx
or eax, 1
push eax
push 0x201
push dword [0x575080]
call esi
movzx edx, word [ebp - 0x44]
movzx ecx, word [ebp - 0x48]
shl edx, 0x10
or edx, ecx
push edx
push edi
push 0x202
push dword [0x575080]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
mov eax, edi
push ecx
or eax, 2
push eax
push 0x204
push dword [0x575080]
call esi
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
shl ecx, 0x10
or ecx, eax
push ecx
push edi
push 0x205
push dword [0x575080]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
mov eax, edi
push ecx
or eax, 0x10
push eax
push 0x207
push dword [0x575080]
call esi
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
shl ecx, 0x10
or ecx, eax
push ecx
push edi
push 0x208
push dword [0x575080]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
movzx edi, di
push ecx
mov eax, edi
or eax, 0x10020
push eax
push 0x20b
push dword [0x575080]
call esi
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
shl ecx, 0x10
or ecx, eax
or edi, 0x10000
push ecx
push edi
push 0x20c
push dword [0x575080]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
movzx edi, di
push ecx
mov eax, edi
or eax, 0x20040
push eax
push 0x20b
push dword [0x575080]
call esi
movzx ecx, word [ebp - 0x44]
movzx eax, word [ebp - 0x48]
shl ecx, 0x10
or ecx, eax
or edi, 0x20000
jmp 0x484a6d
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret