Function at 0x1000a710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10094400]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x10094e7c]
push esi
mov esi, ecx
push edi
test eax, eax
jne 0x1000a737
mov dword [0x10095784], eax
jmp 0x1000a7bd
cmp eax, 1
jne 0x1000a748
mov dword [0x10095784], 0xa
jmp 0x1000a7bd
cmp eax, 2
jne 0x1000a759
mov dword [0x10095784], 0x14
jmp 0x1000a7bd
cmp eax, 3
jne 0x1000a76a
mov dword [0x10095784], 0x1e
jmp 0x1000a7bd
cmp eax, 4
jne 0x1000a77b
mov dword [0x10095784], 0x28
jmp 0x1000a7bd
cmp eax, 5
jne 0x1000a78c
mov dword [0x10095784], 0x32
jmp 0x1000a7bd
cmp eax, 6
jne 0x1000a79d
mov dword [0x10095784], 0x3c
jmp 0x1000a7bd
cmp eax, 7
jne 0x1000a7ae
mov dword [0x10095784], 0x46
jmp 0x1000a7bd
cmp eax, 8
jne 0x1000a7bd
mov dword [0x10095784], 0x50
mov eax, dword [0x10095be8]
cmp dword [eax], 0
je 0x1000a80b
mov ecx, dword [0x10095904]
sub ecx, dword [0x10097950]
add ecx, dword [0x10097a7c]
mov eax, dword [0x10097b18]
mov ecx, dword [ecx + eax]
call fcn.10008970
test eax, eax
jle 0x1000a80b
mov eax, dword [0x10095be8]
mov ecx, dword [eax]
add ecx, dword [0x1009793c]
call fcn.100196b0
mov ecx, dword [0x1009795c]
add ecx, eax
call fcn.100196f0
jmp 0x1000a80e
mov eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x1000aaa0
cmp dword [0x10095b54], 0
je 0x1000a8b7
cmp dword [0x10094a68], 0
je 0x1000a8b7
mov ecx, dword [0x10095904]
sub ecx, dword [0x10097950]
add ecx, dword [0x10097a7c]
mov eax, dword [0x10097b18]
mov ecx, dword [ecx + eax]
call fcn.10008970
test eax, eax
jle 0x1000a8b7
mov eax, dword [0x10095970]
mov edx, 0xffff0000
shr eax, 1
movd xmm2, dword [0x10095784]
push dword [ebp + 8]
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008ee00]
mov eax, dword [0x1009596c]
shr eax, 1
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm0, xmm0
cmp esi, 0xffffffff
jne 0x1000a8af
mov edx, 0xff00ff00
call fcn.1000ae30
add esp, 4
mov eax, dword [0x10095bf4]
lea ecx, [ebp - 0x28]
mov edx, esi
push dword [eax*4 + 0x1008aa38]
call fcn.10008a00
add esp, 4
test al, al
je 0x1000aaa0
push str.Head
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.10008a00
add esp, 4
test al, al
je 0x1000aaa0
movq xmm0, qword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x28]
call fcn.10008ad0
add esp, 0xc
test al, al
je 0x1000aaa0
movss xmm1, dword [ebp - 0x14]
sub esp, 0xc
addss xmm1, dword [0x1008ed04]
movss xmm2, dword [ebp - 0x18]
mov ecx, esp
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x10], xmm0
mov eax, dword [ebp - 0x10]
unpcklps xmm2, xmm1
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x18]
call fcn.10008ad0
add esp, 0xc
test al, al
je 0x1000aaa0
mov eax, dword [0x10094a54]
dec eax
cmp eax, 3
ja case.default.0x1000a965
jmp dword [eax*4 + 0x1000aab0]
mov esi, 1
mov dword [0x100959d0], esi
jmp 0x1000a9a6
mov esi, 2
mov dword [0x100959d0], esi
jmp 0x1000a9a6
mov esi, 0x11
mov dword [0x100959d0], esi
jmp 0x1000a9a6
mov esi, 0x10
mov dword [0x100959d0], esi
jmp 0x1000a9a6
mov esi, dword [0x100959d0]
cvttss2si eax, dword [ebp - 0x28]
xorps xmm2, xmm2
xorps xmm0, xmm0
cvtsi2ss xmm2, eax
mov eax, dword [0x1009596c]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008ee00]
cvttss2si eax, dword [ebp - 0x24]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008ed10]
subss xmm2, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm2
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, dword [0x10095970]
cvtsi2sd xmm0, eax
shr eax, 0x1f
cmp dword [0x10095b54], 0
addsd xmm0, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008ed10]
subss xmm2, xmm0
movss dword [ebp - 0x1c], xmm2
je 0x1000aaa0
cmp dword [0x10094a54], 0
je 0x1000aa76
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x1000aa6e
cmp byte [esi*8 + 0x10098478], 0
lea edi, [esi*8 + 0x1009847c]
je 0x1000aa5c
cmp dword [edi], 0
je 0x1000aa76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
inc ecx
cmp ecx, eax
ja 0x1000aa76
mov byte [esi*8 + 0x10098478], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
jmp 0x1000aa88
mov byte [esi*8 + 0x10098478], 0
cmp dword [0x10095b54], 0
je 0x1000aaa0
cmp dword [0x10094a54], 0
jne 0x1000aaa0
cvttss2si eax, dword [ebp - 0x1c]
push 0
push 0
push eax
cvttss2si eax, dword [ebp - 0xc]
push eax
push 1
call dword [sym.imp.USER32.dll_mouse_event]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10075c0b
mov esp, ebp
pop ebp
ret