Function at 0x100263a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x134], 2
jne 0x10026929
movss xmm0, dword [edi + 0xe0]
mov al, byte [0x102223f8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0xe4]
movss dword [esp + 0x14], xmm0
test al, al
je 0x100263e5
movss xmm0, dword [0x10030e78]
jmp 0x100263ed
movss xmm0, dword [0x10030ffc]
test al, al
movss dword [esp + 0x1c], xmm0
push 0x56
sete byte [0x102223f8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10026637
cmp byte [0x100453fe], 0
je 0x10026637
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002920
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x10030ef0]
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan
movss xmm1, dword [0x10030f5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10030f44]
movss dword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
and eax, 0x7f800000
movss dword [esp + 0xc], xmm0
cmp eax, 0x7f800000
je 0x10026496
comiss xmm0, xmm1
ja 0x10026496
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x100264a2
xorps xmm0, xmm0
jmp 0x1002649c
movaps xmm0, xmm1
xorps xmm2, xmm2
movss dword [esp + 0xc], xmm0
movss xmm1, dword [0x10222340]
addss xmm1, xmm0
comiss xmm1, dword [0x10030f84]
movaps xmm4, xmm1
movss dword [esp + 0x1c], xmm1
mulss xmm4, dword [0x10030da0]
movss dword [esp + 8], xmm4
ja 0x100264db
movss xmm3, dword [0x1003101c]
comiss xmm3, xmm1
jbe 0x10026531
comiss xmm2, xmm4
jbe 0x100264f1
movaps xmm0, xmm1
mulss xmm0, dword [0x10030ff0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x20]
xorps xmm0, xmm0
fstp dword [esp + 0xc]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x10030fac]
jbe 0x10026527
addss xmm1, xmm0
jmp 0x1002652b
subss xmm1, xmm0
movss xmm0, dword [esp + 0xc]
movss xmm3, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
movss dword [0x10222340], xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [eax], xmm1
movaps xmm1, xmm0
movss dword [eax + 4], xmm3
mov dword [eax + 8], 0
call fcn.10025fc0
movaps xmm1, xmm0
add esp, 0xc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1002658a
mulss xmm1, xmm1
addss xmm1, dword [0x10222340]
movss dword [0x10222340], xmm1
jmp 0x10026592
movss xmm1, dword [0x10222340]
comiss xmm1, dword [0x10030f84]
movaps xmm2, xmm1
movss dword [esp + 0x14], xmm1
mulss xmm2, dword [0x10030da0]
movss dword [esp + 8], xmm2
ja 0x100265bf
movss xmm3, dword [0x1003101c]
comiss xmm3, xmm1
jbe 0x10026622
comiss xmm0, xmm2
jbe 0x100265d5
movaps xmm0, xmm1
mulss xmm0, dword [0x10030ff0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x18]
xorps xmm0, xmm0
fstp dword [esp + 0xc]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x10030fac]
jbe 0x1002661e
addss xmm1, xmm0
movss dword [0x10213b74], xmm1
mov dword [esi + 0x1c], 0xc3e10000
pop edi
pop esi
add esp, 0x1c
ret
subss xmm1, xmm0
movss dword [0x10213b74], xmm1
mov dword [esi + 0x1c], 0xc3e10000
pop edi
pop esi
add esp, 0x1c
ret
mov ecx, edi
call fcn.10002ac0
test byte [eax], 1
jne 0x10026929
movss xmm0, dword [esi + 0x18]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1002665b
mov dword [esi + 0x18], 0
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002920
movaps xmm1, xmm0
movss xmm0, dword [0x10030f20]
divss xmm0, xmm1
movss dword [esp + 0x18], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [0x10213b74]
movaps xmm3, xmm0
mulss xmm3, dword [0x10030f44]
xorps xmm2, xmm2
subss xmm1, dword [0x10222344]
maxss xmm3, xmm2
comiss xmm1, dword [0x10030f84]
movaps xmm4, xmm1
movss dword [esp + 0x20], xmm1
minss xmm3, dword [0x10030f5c]
mulss xmm4, dword [0x10030da0]
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
ja 0x100266ef
movss xmm0, dword [0x1003101c]
comiss xmm0, xmm1
jbe 0x10026745
comiss xmm2, xmm4
jbe 0x10026705
movaps xmm0, xmm1
mulss xmm0, dword [0x10030ff0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x10]
add esp, 4
comiss xmm2, xmm1
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x10030fac]
jbe 0x10026741
addss xmm1, xmm0
jmp 0x10026745
subss xmm1, xmm0
comiss xmm1, xmm2
movss xmm0, dword [0x10213b74]
movss dword [0x10222344], xmm0
jbe 0x10026763
mov dword [esi + 0x1c], 0xc3e10000
jmp 0x1002676f
comiss xmm2, xmm1
jbe 0x1002676f
mov dword [esi + 0x1c], 0x43e10000
movaps xmm0, xmm1
call fcn.1000d8e0
comiss xmm3, xmm0
jae 0x10026789
comiss xmm0, dword [0x10030f30]
jb 0x100268f1
movss xmm3, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x10]
cvtps2pd xmm3, xmm3
cvtps2pd xmm1, xmm1
ucomisd xmm3, xmm0
lahf
test ah, 0x44
jp 0x100267b2
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100267d6
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10030f00]
xorps xmm1, xmm1
xorps xmm2, xmm2
comisd xmm1, xmm0
jbe 0x100267d6
addsd xmm0, qword [0x10030f08]
movss xmm4, dword [0x10213b74]
cvtsd2ss xmm0, xmm0
movaps xmm1, xmm4
subss xmm1, xmm0
movss dword [esp + 0x14], xmm0
comiss xmm1, dword [0x10030f84]
movaps xmm3, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm3, dword [0x10030da0]
movss dword [esp + 8], xmm3
ja 0x1002681c
movss xmm5, dword [0x1003101c]
comiss xmm5, xmm1
jbe 0x1002687a
comiss xmm2, xmm3
jbe 0x10026832
movaps xmm0, xmm1
mulss xmm0, dword [0x10030ff0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm4, dword [0x10213b74]
add esp, 4
comiss xmm2, xmm1
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x10030fac]
jbe 0x10026870
addss xmm1, xmm0
jmp 0x10026874
subss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [0x10030f20]
comiss xmm2, xmm1
jae 0x100268a3
comiss xmm2, dword [esp + 0x18]
jae 0x100268c8
addss xmm0, xmm2
movss dword [0x10213b74], xmm0
mov dword [esi + 0x1c], 0xc3e10000
jmp 0x100268f1
comiss xmm1, dword [0x10031004]
jae 0x100268c8
comiss xmm2, dword [esp + 0x18]
jae 0x100268c8
subss xmm0, xmm2
movss dword [0x10213b74], xmm0
mov dword [esi + 0x1c], 0x43e10000
jmp 0x100268f1
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
mulss xmm1, dword [0x10030fb0]
addss xmm0, xmm4
movss dword [0x10213b74], xmm0
movss dword [esi + 0x1c], xmm1
mov ecx, dword [esi + 0x24]
xorps xmm0, xmm0
and ecx, 0xfffff9e7
mov eax, ecx
or ecx, 0x200
or eax, 0x400
comiss xmm0, dword [esi + 0x1c]
cmovb ecx, eax
comiss xmm0, dword [esi + 0x18]
jb 0x10026923
or ecx, 0x10
mov dword [esi + 0x24], ecx
pop edi
pop esi
add esp, 0x1c
ret
or ecx, 8
mov dword [esi + 0x24], ecx
pop edi
pop esi
add esp, 0x1c
ret