Function at 0x1000644a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10052040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
test edi, edi
jne 0x10006482
push dword [0x100520c0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10006676
or ebx, 0xffffffff
cmp dword [0x100520a0], ebx
jne 0x100064bb
cmp dword [0x100529ac], 0
je 0x10006666
mov eax, dword [0x100520bc]
mov edx, dword [ebp + 0x18]
push ecx
mov dword [0x100535a8], eax
call fcn.10006238
mov dword [0x100520a0], eax
pop ecx
cmp eax, ebx
je 0x10006666
cmp dword [0x100529ac], 0
je 0x10006666
mov ecx, dword [0x100c8af4]
mov eax, dword [ecx]
call dword [eax + 0xec]
mov esi, eax
mov ecx, esi
call fcn.10004beb
test eax, eax
je 0x10006676
mov ecx, dword [esi + 0x184]
mov eax, dword [0x100520a0]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10004beb
test eax, eax
je 0x10006654
mov ecx, dword [esi + 0x10]
call fcn.10004beb
test eax, eax
je 0x10006654
mov eax, dword [0x100c8acc]
xor edx, edx
inc edx
cmp eax, edx
jne 0x1000654a
mov ecx, dword [0x100c8ae8]
push edx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x1004d888]
jmp 0x10006588
cmp eax, 2
jne 0x1000655b
push edx
lea edx, [ebp - 0x110]
push edx
push 6
jmp 0x100065b2
cmp eax, 3
jne 0x10006592
mov ecx, dword [0x100c8ae8]
push edx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x10c]
subss xmm0, dword [0x1004d888]
movss dword [ebp - 0x10c], xmm0
jmp 0x100065c0
cmp eax, 4
jne 0x100065a3
push edx
lea edx, [ebp - 0x110]
push edx
push 0x15
jmp 0x100065b2
cmp eax, 5
jne 0x100065c0
push edx
lea edx, [ebp - 0x110]
push edx
push 0x24
mov ecx, dword [0x100c8ae8]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ebx, dword [0x100c8c7c]
lea ecx, [ebp - 0x120]
sub esp, 0xc
mov edi, esp
sub esp, 0xc
mov esi, dword [ebx + 0x13c]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000609e
movss xmm0, dword [ebp - 0x11c]
add esp, 0x18
cmp dword [ebp + 0xc], 0
mulss xmm0, dword [0x1004d798]
movss dword [ebx + 0x58], xmm0
movss xmm0, dword [ebp - 0x120]
mulss xmm0, dword [0x1004d798]
movss dword [ebx + 0x54], xmm0
je 0x1000663b
mov esi, dword [sym.imp.USER32.dll_mouse_event]
xor edi, edi
push edi
push edi
push edi
push edi
push 2
call esi
push edi
push edi
push edi
push edi
push 4
call esi
xor eax, eax
inc eax
cmp dword [ebp - 0x114], eax
jne 0x10006676
or dword [0x100520a0], 0xffffffff
mov dword [0x100529ac], eax
jmp 0x10006676
cmp dword [ebp + 0x1c], 0
jne 0x10006666
test edi, edi
jne 0x10006666
and dword [0x100529ac], edi
jmp 0x10006670
mov dword [0x100529ac], 1
mov dword [0x100520a0], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042101
leave
ret