Function at 0x1001f580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10120541
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp byte [0x10168abc], 0
push esi
push edi
je 0x1001f91a
mov eax, dword [0x1016bffc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1001f91a
call fcn.10093ba0
test al, al
je 0x1001f91a
mov ecx, dword [0x10167e4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001f91a
mov ecx, dword [0x10167e4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001f91a
mov eax, dword [0x1016bffc]
mov ecx, dword [eax]
call fcn.10017c60
mov eax, dword [eax]
cmp eax, 0x400
je 0x1001f91a
cmp eax, 8
je 0x1001f91a
mov eax, dword [0x1016bffc]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
cmp eax, 9
je 0x1001f91a
cmp eax, 8
je 0x1001f91a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1016766c]
mov esi, dword [ebp + 8]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1016c07c]
cmp eax, dword [edi + 4]
jle 0x1001f680
push 0x1016c07c
call fcn.100f5255
add esp, 4
cmp dword [0x1016c07c], 0xffffffff
jne 0x1001f680
movss xmm0, dword [esi + 0x10]
push 0x1016c07c
movss dword [0x1016c080], xmm0
call fcn.100f5204
add esp, 4
push dword [0x10168ac0]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1001f8fe
mov eax, dword [0x1016c09c]
cmp eax, dword [edi + 4]
jle 0x1001f6e8
push 0x1016c09c
call fcn.100f5255
add esp, 4
cmp dword [0x1016c09c], 0xffffffff
jne 0x1001f6e8
mov dword [ebp - 4], 0
mov ecx, dword [0x10167e54]
push str.sensitivity
mov eax, dword [ecx]
call dword [eax + 0x44]
push 0x1016c09c
mov dword [0x1016c098], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100f5204
add esp, 4
mov eax, dword [0x1016bffc]
mov ecx, dword [eax]
call fcn.1001b020
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm1, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm0
mov dword [ebp - 0x24], eax
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002e20
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm0
comiss xmm0, xmm1
jbe 0x1001f762
movd xmm1, dword [0x10168ac4]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10151e3c]
cvtps2pd xmm0, xmm1
call fcn.1011a440
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [0x10151df8]
mulss xmm1, dword [0x10151e20]
divss xmm1, dword [ebp - 0x18]
movss xmm0, dword [esi + 0x10]
subss xmm0, dword [0x1016c080]
movss xmm3, dword [0x10151e58]
movss xmm2, dword [0x10151e88]
movss dword [ebp - 0x14], xmm1
comiss xmm0, xmm3
movss dword [ebp + 8], xmm0
jbe 0x1001f79e
nop
subss xmm0, xmm2
comiss xmm0, xmm3
ja 0x1001f790
movss dword [ebp + 8], xmm0
movss xmm3, dword [0x10151f80]
comiss xmm3, xmm0
jbe 0x1001f7be
nop dword [eax + eax]
addss xmm0, xmm2
comiss xmm3, xmm0
ja 0x1001f7b0
movss dword [ebp + 8], xmm0
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.101014c9
mov eax, dword [ebp + 0xc]
add esp, 8
or eax, dword [ebp + 0x10]
fstp dword [ebp - 0x24]
test al, 1
jne 0x1001f8fe
movss xmm3, dword [ebp + 8]
movaps xmm0, xmm3
call fcn.10012ef0
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
jbe 0x1001f8fe
movss xmm0, dword [ebp - 0x14]
call fcn.10012ef0
divss xmm0, dword [0x10151db0]
comiss xmm2, xmm0
jbe 0x1001f8fe
movd xmm0, dword [0x10168acc]
movss xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1001f91a
movd xmm0, dword [0x10168ad0]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x1001f91a
movss xmm2, dword [ebp - 0x24]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x10168ac8]
mov ecx, dword [0x1016c098]
mov eax, dword [ecx]
subss xmm2, xmm3
mov eax, dword [eax + 0x30]
mulss xmm2, xmm0
movss xmm0, dword [0x1016c080]
addss xmm0, xmm3
divss xmm2, dword [0x10151e3c]
addss xmm2, xmm0
subss xmm2, dword [0x1016c080]
movss dword [ebp + 8], xmm2
call eax
movss xmm0, dword [ebp + 8]
sub esp, 8
fstp dword [ebp + 0xc]
divss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10151cc0]
movsd qword [ebp - 0x2c], xmm0
fld qword [ebp - 0x2c]
fstp qword [esp]
call fcn.1011bef0
fstp qword [esp]
call fcn.1011bef0
mov ecx, dword [0x1016c098]
add esp, 8
fstp qword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fmul qword [ebp - 0x2c]
movss xmm0, dword [0x1016c080]
cvtps2pd xmm0, xmm0
fmul qword [0x10151cc0]
fstp qword [ebp - 0x2c]
addsd xmm0, qword [ebp - 0x2c]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x10], xmm0
mov ecx, dword [0x10167e4c]
lea eax, [esi + 0xc]
movss xmm0, dword [esi + 0x10]
push eax
movss dword [0x1016c080], xmm0
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc