Function at 0x489c9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48a03e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x2710
cmp dword [edi + 0x14], 0
jle 0x489ccf
dec dword [edi + 0x14]
jmp 0x48a028
mov eax, dword [0x49ac78]
cmp byte [eax], 0
je 0x489d1c
push 0x79
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x489d1c
mov eax, dword [edi + 4]
call fcn.0045a948
test eax, eax
jle 0x48a028
mov eax, dword [0x49adf8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [0x49ad6c]
mov eax, dword [eax]
call fcn.00492e10
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x48a028
mov eax, dword [0x49ab60]
mov eax, dword [eax]
call fcn.004976bc
test eax, eax
jle 0x489deb
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.00494f94
test al, al
je 0x489d51
mov eax, dword [0x49adf8]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 1
jne 0x48a028
mov eax, dword [0x49aba4]
mov eax, dword [eax]
mov byte [eax + 0x4c], 0
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.004959f8
jmp 0x489da0
lea edx, [ebp - 0x10]
mov eax, dword [0x49ab60]
mov eax, dword [eax]
call fcn.004976e0
cmp dword [ebp - 0x10], 0
jne 0x489d91
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.00495d08
test eax, eax
jg 0x489dc1
jmp 0x489da0
mov eax, dword [0x49adf8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00495d14
mov eax, dword [0x49ab60]
mov eax, dword [eax]
call fcn.004976bc
test eax, eax
jle 0x489dc1
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.00495d08
cmp eax, 4
jl 0x489d6a
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.00495d08
test eax, eax
jle 0x489dda
mov byte [edi + 8], 1
jmp 0x48a028
mov eax, dword [0x49adf8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x28]
jmp 0x48a028
mov eax, dword [edi + 4]
call fcn.0045a948
test eax, eax
jne 0x489faa
mov eax, dword [0x49aeb4]
mov eax, dword [eax]
call fcn.0045a948
mov esi, eax
dec esi
test esi, esi
jl 0x489e7d
inc esi
xor ebx, ebx
mov eax, dword [0x49aeb4]
mov eax, dword [eax]
mov edx, ebx
call fcn.0047fac8
call fcn.0047f98c
test al, al
je 0x489e79
mov esi, dword [edi + 4]
mov eax, esi
call fcn.0045a948
mov edx, eax
inc edx
mov eax, esi
call fcn.0045a7ec
mov esi, eax
mov eax, dword [0x49ae44]
mov eax, dword [eax]
mov edx, ebx
call fcn.00461e20
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
call fcn.0045e818
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [0x49aba4]
mov eax, dword [eax]
add eax, 0x38
call fcn.00403ae8
mov eax, dword [0x49aba4]
mov eax, dword [eax]
call fcn.0046981c
jmp 0x489e7d
inc ebx
dec esi
jne 0x489e11
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
call fcn.0045a948
mov esi, eax
dec esi
test esi, esi
jl 0x489f9e
inc esi
xor ebx, ebx
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
cmp byte [eax + 0xa0], 0
je 0x489f96
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
mov byte [eax + 0xa0], 0
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
cmp byte [eax + 0xc], 0
je 0x489f96
mov esi, dword [edi + 4]
mov eax, esi
call fcn.0045a948
mov edx, eax
inc edx
mov eax, esi
call fcn.0045a7ec
mov esi, eax
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
call fcn.00483834
mov dword [ebp - 0xc], eax
mov eax, dword [0x49ac38]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
call fcn.0045efc4
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0045ed90
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
call fcn.0045e818
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [0x49ac98]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.00483af8
mov al, byte [eax + 0xa8]
mov byte [esi + 0x20], al
mov eax, dword [0x49aba4]
mov eax, dword [eax]
add eax, 0x38
call fcn.00403ae8
mov eax, dword [0x49aba4]
mov eax, dword [eax]
call fcn.0046981c
jmp 0x489f9e
inc ebx
dec esi
jne 0x489e9a
mov eax, dword [edi + 4]
call fcn.0045a948
test eax, eax
je 0x48a028
mov eax, dword [0x49adf8]
mov eax, dword [eax]
call fcn.00494f94
test al, al
je 0x489fc7
mov eax, dword [0x49adf8]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 0
je 0x48a028
mov eax, dword [0x49ad6c]
mov eax, dword [eax]
cmp byte [eax + 0x98], 0
jne 0x48a028
mov eax, dword [0x49ad6c]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x48a028
mov eax, dword [0x49ad84]
mov eax, dword [eax]
cmp dword [eax + 0x9c], 0
jg 0x48a028
mov eax, dword [0x49ad84]
mov eax, dword [eax]
cmp dword [eax + 0xa0], 0
jg 0x48a028
mov eax, edi
call fcn.00488db4
test al, al
je 0x48a028
mov eax, dword [0x49aba4]
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x48a028
dec dword [ebp - 4]
jne 0x489cc1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a045
lea eax, [ebp - 0x10]
call fcn.00403ae8
ret