Function at 0x4a91b5
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
imul eax, dword [0x5c3df4]
mov ebp, dword [esi + 0x80]
imul ebp, dword [0x5c3e08]
add eax, dword [esi + 0x160]
add ebp, dword [esi + 0x15c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffdf
push edi
mov ebx, 8
cmp eax, 0xd
ja case.0x4a91f5.41
jmp dword [eax*4 + 0x4a9530]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a921f
cmp dword [esi + 0x1e8], ebx
je 0x4a921f
mov ecx, esi
call fcn.004a5ad0
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a9234
call fcn.0049f5f0
jmp case.0x4a91f5.41
call fcn.004a5a90
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a9261
cmp dword [esi + 0x1e8], ebx
je 0x4a9261
mov ecx, esi
call fcn.004a5be0
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a9276
call fcn.0049f610
jmp case.0x4a91f5.41
call fcn.004a5ba0
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
push 0x10
test ax, ax
jge 0x4a92b8
call edi
test ax, ax
jge 0x4a92ac
cmp dword [esi + 0x1e8], ebx
je 0x4a92ac
mov ecx, esi
call fcn.004a5e70
jmp case.0x4a91f5.41
mov ecx, esi
call fcn.004a5db0
jmp case.0x4a91f5.41
call edi
test ax, ax
jge 0x4a92d3
cmp dword [esi + 0x1e8], ebx
je 0x4a92d3
mov ecx, esi
call fcn.004a5900
jmp case.0x4a91f5.41
mov ecx, esi
call fcn.004a58b0
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
push 0x10
test ax, ax
jge 0x4a9317
call edi
test ax, ax
jge 0x4a930b
cmp dword [esi + 0x1e8], ebx
je 0x4a930b
mov ecx, esi
call fcn.004a5f90
jmp case.0x4a91f5.41
mov ecx, esi
call fcn.004a5eb0
jmp case.0x4a91f5.41
call edi
test ax, ax
jge 0x4a9332
cmp dword [esi + 0x1e8], ebx
je 0x4a9332
mov ecx, esi
call fcn.004a5990
jmp case.0x4a91f5.41
mov ecx, esi
call fcn.004a5940
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a9374
cmp dword [esi + 0x1e8], ebx
je 0x4a9374
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a936a
call fcn.004a5d10
jmp case.0x4a91f5.41
call fcn.004a8b10
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a9389
call fcn.004a5cf0
jmp case.0x4a91f5.41
call fcn.004a8af0
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a93c9
cmp dword [esi + 0x1e8], ebx
je 0x4a93c9
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a93bf
call fcn.004a5d70
jmp case.0x4a91f5.41
call fcn.004a8b70
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a93de
call fcn.004a5d50
jmp case.0x4a91f5.41
call fcn.004a8b50
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a9418
cmp dword [esi + 0x1e8], ebx
je 0x4a9418
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a9411
call fcn.004a5a50
jmp case.0x4a91f5.41
call fcn.004a5cb0
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a942a
call fcn.004a5a30
jmp case.0x4a91f5.41
call fcn.004a5c90
jmp case.0x4a91f5.41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4a9461
cmp dword [esi + 0x1e8], ebx
je 0x4a9461
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a945a
call fcn.004a59f0
jmp case.0x4a91f5.41
call fcn.004a5c50
jmp case.0x4a91f5.41
push 0x11
call edi
mov ecx, esi
test ax, ax
jge 0x4a9473
call fcn.004a59d0
jmp case.0x4a91f5.41
call fcn.004a5c30
jmp case.0x4a91f5.41
call fcn.0049f670
cmp dword [esi + 0x1e8], ebx
jne 0x4a951c
mov edx, dword [esi + 0x80]
imul edx, dword [0x5c3e08]
mov edi, dword [esi + 0x15c]
mov ebx, dword [esi + 0x160]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
sub ebp, edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x15c], ebp
mov ebp, dword [esi + 0x7c]
imul ebp, dword [0x5c3df4]
sub edx, ebp
add ecx, ebx
mov dword [esi + 0x160], edx
sub esp, 8
add eax, edi
mov edx, esp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [edx + 4], ecx
push 0
mov ecx, esi
mov dword [edx], eax
call fcn.004a5450
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov ecx, esi
call fcn.00502ae3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc