Function at 0x494c9e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.004973c0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.00424960
test eax, eax
jne 0x494cc6
jmp 0x4950d8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x4b4]
cdq
idiv dword [ecx + 0xcf8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x4b4]
cdq
idiv dword [ecx + 0xcf8]
test edx, edx
je 0x494cfc
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x4e0], 0
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0xd10], 0
je 0x494d54
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0xcec]
sub ecx, dword [eax + 0x4e8]
test ecx, ecx
jl 0x494d54
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0xcec]
sub ecx, dword [eax + 0x4e8]
mov edx, dword [ebp - 0x10]
sub edx, 2
cmp ecx, edx
jge 0x494d54
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x4e0], 1
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x494d6b
mov ecx, dword [ebp - 0x34]
call fcn.00493784
push 0
push 0
mov edx, dword [ebp - 0x34]
add edx, 0x4ec
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.0042afbb
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xcf0]
mov edx, dword [ebp - 0x34]
xor eax, eax
mov al, byte [edx + ecx + 0x4ec]
xor ecx, ecx
cmp eax, 0x80
setge cl
inc ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ecx + 0xcf8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ecx + 0xcf4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x4e0], 0
je 0x494e2e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0xcec]
sub edx, dword [ecx + 0x4e8]
cmp dword [ebp - 0x20], edx
jl 0x494e2e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0xcec]
sub edx, dword [ecx + 0x4e8]
add edx, 1
cmp dword [ebp - 0x20], edx
jg 0x494e2e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0xcec]
sub edx, dword [ecx + 0x4e8]
test edx, edx
jl 0x494e2e
jmp 0x4950d8
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x4e0], 0
je 0x494e5d
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xcec]
sub eax, dword [edx + 0x4e8]
add eax, 2
cmp dword [ebp - 0x20], eax
jl 0x494e5d
mov ecx, dword [ebp - 0x20]
sub ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x4e8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x88]
sub edx, 1
cmp eax, edx
jbe 0x494e7e
jmp 0x4950d8
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x4e8]
mov edx, dword [ebp - 0x34]
sub ecx, dword [edx + 0xcec]
push ecx
mov eax, dword [ebp - 0x34]
add eax, 0x4ec
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.0042afbb
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x4e8]
mov eax, dword [ebp - 0x34]
mov dword [eax + 0xcec], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x4e4]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00491ecd
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xcf0], eax
mov ecx, dword [ebp - 0x34]
call fcn.00492159
push 1
mov ecx, dword [ebp - 0x34]
call fcn.004915cc
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [ebp - 0x34]
call fcn.00421a90
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xd00], 1
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xd2c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xd30]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0xd34]
cmp edx, dword [ecx + 0xd38]
jne 0x494fb5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xcec]
mov dword [eax + 0xd24], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xcf0]
mov dword [eax + 0xd28], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.00497400
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xd34], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xcec]
mov dword [edx + 0xd2c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xcf0]
mov dword [edx + 0xd30], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.00497400
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xd38], eax
jmp 0x4950d8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xcec]
mov dword [eax + 0xd2c], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xcf0]
mov dword [eax + 0xd30], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.00497400
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xd38], eax
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xd20], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0xcec]
jne 0x495029
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xcf0]
cmp eax, dword [ebp - 4]
je 0x495029
push 0
push 0
push 3
mov ecx, dword [ebp - 0x34]
call fcn.004932e0
jmp 0x4950d8
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0xcec]
je 0x4950d8
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xcec]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0xcec]
jge 0x49505d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
jmp 0x495069
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xcec]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0xcec]
jle 0x495085
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
jmp 0x495091
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xcec]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
jmp 0x4950a8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x24]
jg 0x4950cc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0xcec], eax
push 0
push 0
push 3
mov ecx, dword [ebp - 0x34]
call fcn.004932e0
jmp 0x49509f
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xcec], edx
mov esp, ebp
pop ebp
ret 0xc