Function at 0x1000f7e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006e040]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [0x10128b8c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
cmp dword [0x10128adc], 2
mov dword [0x10128bf8], eax
jne 0x1000fb4d
movss xmm0, dword [eax + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0x58]
push 0x5a
movss dword [esp + 0x18], xmm0
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x53
mov dword [esp + 0xc], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x51
mov dword [esp + 0x10], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x44
mov dword [esp + 0x1c], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 8], 0
mov dword [esp + 0x1c], eax
jne 0x1000f8cd
cmp byte [esp + 0xc], 0
jne 0x1000f8c3
cmp byte [esp + 0x18], 0
movss xmm0, dword [0x10128b94]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100b3680]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100b3684]
movss dword [esp + 8], xmm0
jne 0x1000f987
test al, al
jne 0x1000fa28
jmp 0x1000fac2
movss xmm2, dword [0x10068f54]
jmp 0x1000f8d5
movss xmm2, dword [0x10068da4]
movss xmm0, dword [esp + 0x14]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x10075544]
cvtps2pd xmm0, xmm0
mulss xmm1, xmm2
movss dword [esp + 8], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x10128b94]
movss dword [esp + 0x10], xmm0
movss dword [0x10128b94], xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm0, xmmword [0x10069a80]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x100b3680]
movss dword [esp + 0xc], xmm0
movss dword [0x100b3680], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x18], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x100b3684]
movss dword [esp + 8], xmm0
movss dword [0x100b3684], xmm0
je 0x1000fa1d
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x10068dc4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10075544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
movss dword [0x10128b94], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss dword [0x100b3680], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10075544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b3684], xmm0
cmp byte [esp + 0x1c], 0
je 0x1000fac2
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x10068dc4]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10075544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, xmm1
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss dword [0x10128b94], xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0xc], xmm0
movss dword [0x100b3680], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10075544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b3684], xmm0
mov ecx, 0x5f
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10062c24]
xor al, cl
inc ecx
mov byte [esp + edx + 0x20], al
and ecx, 0x800000ff
jns 0x1000faed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1000fad0
lea eax, [esp + 0x20]
mov byte [esp + 0x2c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], 0
mov eax, dword [eax + 0x6bf34]
test eax, eax
je 0x1000fb4d
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 8]
movss dword [eax + 0xc8], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm1
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.1005e254
mov esp, ebp
pop ebp
ret