Function at 0x10009940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10066080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x10068868
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x10068868
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x10009eb4
mov dl, byte [0x10066b30]
xorps xmm4, xmm4
mov eax, dword [0x1006886c]
mov cl, byte [0x10066b31]
movss xmm7, dword [0x1005f810]
cmp dl, 1
jne 0x10009c94
movd xmm0, dword [0x10066b04]
movss xmm2, dword [0x1005af04]
movss xmm1, dword [0x1005af08]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [0x1005f80c]
addss xmm2, xmm0
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [0x10066b0c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
addss xmm1, xmm0
movd xmm0, dword [0x10068868]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10009a55
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm0
jbe 0x10009a55
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10009a55
addss xmm1, dword [0x1005f81c]
subss xmm1, dword [0x1005f818]
comiss xmm1, xmm2
jbe 0x10009a55
movss dword [ebp - 0x18], xmm4
movaps xmm2, xmm3
movss dword [ebp - 0x14], xmm4
movaps xmm7, xmm3
movss dword [ebp - 0x10], xmm4
movaps xmm6, xmm3
movaps xmm5, xmm3
cmp cl, 1
je 0x10009a73
mov cl, 1
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movaps xmm2, xmm3
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm1
movaps xmm7, xmm2
movss dword [ebp - 0x14], xmm1
movaps xmm6, xmm2
movss dword [ebp - 0x10], xmm1
movaps xmm5, xmm2
movss xmm4, dword [0x1005ae68]
addss xmm4, dword [ebp - 0xc]
movss xmm1, dword [0x1005ae6c]
addss xmm1, dword [ebp - 8]
movss dword [ebp - 0x1c], xmm4
comiss xmm0, xmm4
xorps xmm4, xmm4
jbe 0x10009ae4
addss xmm5, dword [ebp - 0x1c]
subss xmm5, dword [ebp - 0x10]
comiss xmm5, xmm0
jbe 0x10009ae4
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10009ae4
addss xmm1, dword [0x1005f824]
subss xmm1, dword [0x1005f820]
comiss xmm1, xmm5
jbe 0x10009ae4
cmp cl, 2
je 0x10009ae4
mov cl, 2
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1005afb8]
addss xmm5, dword [ebp - 0xc]
movss xmm1, dword [0x1005afbc]
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10009b4c
addss xmm6, xmm5
subss xmm6, dword [ebp - 0x14]
comiss xmm6, xmm0
jbe 0x10009b4c
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10009b4c
addss xmm1, dword [0x1005f82c]
subss xmm1, dword [0x1005f828]
comiss xmm1, xmm5
jbe 0x10009b4c
cmp cl, 3
je 0x10009b4c
mov cl, 3
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1005aebc]
movss xmm6, dword [ebp - 0xc]
movss xmm1, dword [0x1005aec0]
addss xmm5, xmm6
addss xmm1, dword [ebp - 8]
comiss xmm0, xmm5
jbe 0x10009bb8
addss xmm7, xmm5
subss xmm7, dword [ebp - 0x18]
comiss xmm7, xmm0
jbe 0x10009bb8
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm1
jbe 0x10009bb8
addss xmm1, dword [0x1005f834]
subss xmm1, dword [0x1005f830]
comiss xmm1, xmm5
jbe 0x10009bb8
cmp cl, 4
je 0x10009bb8
mov cl, 4
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm5, dword [0x1005adcc]
movss xmm1, dword [0x1005add0]
addss xmm5, xmm6
movss xmm7, dword [ebp - 8]
addss xmm1, xmm7
comiss xmm0, xmm5
jbe 0x10009c25
addss xmm2, xmm5
xorps xmm5, xmm5
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10009c28
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10009c28
addss xmm1, dword [0x1005f844]
subss xmm1, dword [0x1005f838]
comiss xmm1, xmm2
jbe 0x10009c28
cmp cl, 5
je 0x10009c28
mov cl, 5
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
xorps xmm5, xmm5
movss xmm2, dword [0x1005adf0]
movss xmm1, dword [0x1005adf4]
addss xmm2, xmm6
addss xmm1, xmm7
comiss xmm0, xmm2
jbe 0x10009eb4
addss xmm2, dword [0x1005f7fc]
subss xmm2, xmm5
comiss xmm2, xmm0
jbe 0x10009eb4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10009eb4
movss xmm7, dword [0x1005f810]
addss xmm1, xmm7
subss xmm1, dword [0x1005f808]
comiss xmm1, xmm0
jbe 0x10009eb4
mov byte [0x10066b30], 2
jmp 0x10009ca5
cmp dl, 2
jne 0x10009eb4
movss xmm3, dword [0x1005f80c]
movd xmm5, dword [0x10066b04]
movd xmm1, dword [0x10068868]
movss xmm2, dword [0x1005ae08]
movd xmm6, dword [0x10066b0c]
movss xmm0, dword [0x1005ae0c]
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm1, xmm1
addss xmm2, xmm5
cvtdq2ps xmm6, xmm6
comiss xmm1, xmm2
addss xmm0, xmm6
jbe 0x10009d2b
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10009d2b
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10009d2b
addss xmm0, dword [0x1005f850]
subss xmm0, dword [0x1005f848]
comiss xmm0, xmm2
jbe 0x10009d2b
cmp cl, 6
je 0x10009d2b
mov cl, 6
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1005af7c]
movss xmm0, dword [0x1005af80]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10009d90
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10009d90
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10009d90
addss xmm0, dword [0x1005f868]
subss xmm0, dword [0x1005f854]
comiss xmm0, xmm2
jbe 0x10009d90
cmp cl, 7
je 0x10009d90
mov cl, 7
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1005add8]
movss xmm0, dword [0x1005addc]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10009df5
addss xmm2, xmm3
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10009df5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10009df5
addss xmm0, dword [0x1005f87c]
subss xmm0, dword [0x1005f870]
comiss xmm0, xmm2
jbe 0x10009df5
cmp cl, 8
je 0x10009df5
mov cl, 8
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x1005ae20]
movss xmm0, dword [0x1005ae24]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10009e62
addss xmm2, dword [0x1005f814]
subss xmm2, dword [0x1005f7c4]
comiss xmm2, xmm1
jbe 0x10009e62
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10009e62
addss xmm0, dword [0x1005f858]
subss xmm0, dword [0x1005f84c]
comiss xmm0, xmm2
jbe 0x10009e62
cmp cl, 9
je 0x10009e62
mov cl, 9
call fcn.10009ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x10068afc]
movss xmm0, dword [0x10068b00]
addss xmm2, xmm5
addss xmm0, xmm6
comiss xmm1, xmm2
jbe 0x10009eb4
addss xmm2, dword [0x1005f7fc]
subss xmm2, xmm4
comiss xmm2, xmm1
jbe 0x10009eb4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10009eb4
addss xmm0, xmm7
subss xmm0, dword [0x1005f808]
comiss xmm0, xmm1
jbe 0x10009eb4
mov byte [0x10066b30], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c727
mov esp, ebp
pop ebp
ret