Function at 0x100247a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10103040]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov ecx, 0x10175a17
call fcn.100b6430
mov eax, dword [0x1016ebd4]
mov ecx, dword [eax]
call fcn.100a4210
test al, al
je 0x10024aeb
mov eax, dword [0x1017095c]
cmp byte [eax], 0
je 0x100247fa
mov eax, dword [0x101709ac]
push dword [eax]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x100247fa
mov cl, 1
jmp 0x100247fc
xor cl, cl
mov eax, dword [0x101707cc]
mov byte [eax], cl
test cl, cl
je 0x10024adf
mov eax, dword [0x10170894]
push 0x54
push 0
movss xmm0, dword [eax]
lea eax, [esp + 0x50]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x101728e8]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x101728ec]
push eax
movss dword [esp + 0x28], xmm0
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.10007a10
lea ecx, [esp + 0xa0]
call fcn.10007870
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x100fab4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x100fb030]
mulss xmm0, dword [0x100fab4c]
cvtss2sd xmm0, xmm0
call sub.ucrtbased.dll__libm_sse2_sin_precise
mov eax, dword [0x1016ebd4]
cvtsd2ss xmm0, xmm0
mov esi, dword [eax]
mov ecx, esi
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x14], xmm0
call fcn.10016c40
mov ecx, esi
mov edi, eax
call fcn.100a3400
movss xmm0, dword [edi]
mov esi, eax
addss xmm0, dword [esi]
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.ucrtbased.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0x10]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [edi + 4]
mulss xmm1, dword [esp + 0xc]
addss xmm0, dword [esi + 4]
subss xmm2, xmm1
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x20]
movss dword [esp + 0x34], xmm2
call sub.ucrtbased.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x10]
mov eax, dword [0x1016ebd4]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
subss xmm1, xmm0
movss xmm0, dword [edi + 8]
addss xmm0, dword [esi + 8]
mov esi, dword [eax]
mov ecx, esi
movss dword [esp + 0x38], xmm1
subss xmm0, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm0
call fcn.10016c40
mov ecx, esi
mov edi, eax
call fcn.100a3400
movss xmm0, dword [eax]
addss xmm0, dword [edi]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 8]
addss xmm0, dword [eax + 8]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x2c], xmm0
push eax
lea ecx, [esp + 0xa8]
call fcn.100078e0
mov eax, dword [0x1016ebd4]
lea edx, [esp + 0x48]
mov ecx, dword [0x10103f00]
push edx
mov dword [esp + 0x44], vtable.CTraceFilter.0
lea edx, [esp + 0x44]
mov eax, dword [eax]
push edx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0xa8]
mov eax, dword [ecx]
push 0x46004003
push edx
call dword [eax + 0x14]
mov eax, dword [0x1016ebd4]
mov esi, dword [eax]
mov ecx, esi
call fcn.10016c40
mov ecx, esi
mov edi, eax
call fcn.100a3400
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
addss xmm2, dword [eax]
subss xmm1, dword [esp + 0x58]
subss xmm0, dword [esp + 0x5c]
subss xmm2, dword [esp + 0x54]
mulss xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100fb000]
mulss xmm2, xmm2
andps xmm1, xmm0
andps xmm0, xmm2
addss xmm0, xmm1
call fcn.1000edd0
movss xmm3, dword [esp + 0x10]
movaps xmm4, xmm0
movss xmm0, dword [esp + 0x14]
andps xmm3, xmmword [0x100fb000]
andps xmm0, xmmword [0x100fb000]
movaps xmm2, xmm3
movss xmm1, dword [0x100fac84]
subss xmm2, xmm0
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x100fac58]
comiss xmm1, xmm2
seta al
comiss xmm4, xmm0
seta cl
test al, al
je 0x10024a90
test cl, cl
je 0x10024a8b
movss xmm0, dword [esp + 0xc]
jmp 0x10024a9b
movaps xmm0, xmm4
jmp 0x10024a93
movaps xmm0, xmm3
mulss xmm0, dword [0x100fabec]
mov eax, dword [0x101040ec]
movss dword [eax + 0xb4], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xac], xmm0
movss xmm0, dword [esp + 0x1c]
mov byte [eax + 0xa9], 1
movss dword [eax + 0xb0], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101040ec]
mov byte [eax + 0xa9], 0
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret