Function at 0x100136e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [0x101f565c]
mov ebx, ecx
test edi, edi
je case.0x1001375e.0
mov eax, dword [0x101f5658]
test eax, eax
jne 0x10013733
mov edx, 0xe80c2f78
mov ecx, 0x1014a9e5
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f5658], eax
cmp dword [eax + edi], 0
jle case.0x1001375e.0
cmp byte [0x101f5934], 0
je case.0x1001375e.0
mov ecx, dword [0x101bc338]
mov eax, dword [0x101f5944]
cmp ecx, 3
ja case.0x1001375e.0
jmp dword [ecx*4 + 0x10013cb0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10013796
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10013796
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
jne case.0x1001375e.0
call fcn.10009f10
cmp eax, 9
je case.0x1001375e.0
cmp eax, 8
je case.0x1001375e.0
cmp eax, 0xa
je case.0x1001375e.0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101bf740]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101fadd0]
cmp eax, dword [esi + 4]
jle 0x10013812
push 0x101fadd0
call fcn.1010e5e4
add esp, 4
cmp dword [0x101fadd0], 0xffffffff
jne 0x10013812
mov ecx, dword [0x101bf778]
push str.m_yaw
mov eax, dword [ecx]
call dword [eax + 0x44]
push 0x101fadd0
mov dword [0x101fadbc], eax
call fcn.1010e593
add esp, 4
mov eax, dword [0x101fada4]
cmp eax, dword [esi + 4]
jle 0x10013857
push 0x101fada4
call fcn.1010e5e4
add esp, 4
cmp dword [0x101fada4], 0xffffffff
jne 0x10013857
mov ecx, dword [0x101bf778]
push str.sensitivity
mov eax, dword [ecx]
call dword [eax + 0x44]
push 0x101fada4
mov dword [0x101fadc0], eax
call fcn.1010e593
add esp, 4
mov eax, dword [0x101fad9c]
cmp eax, dword [esi + 4]
jle 0x10013894
push 0x101fad9c
call fcn.1010e5e4
add esp, 4
cmp dword [0x101fad9c], 0xffffffff
jne 0x10013894
movss xmm0, dword [ebx + 0x10]
push 0x101fad9c
movss dword [0x101fada0], xmm0
call fcn.1010e593
add esp, 4
movss xmm0, dword [ebx + 0x24]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10013c9a
mov eax, dword [0x101f5690]
mov edi, dword [0x101f565c]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x100138f0
mov edx, 0xe80c2f78
mov ecx, 0x1019659d
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a90d
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov edi, dword [0x101f565c]
mov dword [0x101f5690], eax
mov ecx, dword [esp + 0x14]
test byte [eax + ecx], 1
jne 0x10013c9a
mov eax, dword [0x101f56d0]
test eax, eax
jne 0x10013935
mov edx, 0xe80c2f78
mov ecx, 0x10196741
call fcn.10003700
mov edx, 0xc10bf213
mov ecx, 0x1014a935
mov esi, eax
call fcn.10003700
mov edx, esi
mov ecx, eax
call fcn.100aa660
mov dword [0x101f56d0], eax
movq xmm0, qword [eax + edi]
movq qword [esp + 0x1c], xmm0
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
mulss xmm1, xmm1
mov dword [esp + 0x28], 0
mulss xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
sqrtss xmm0, dword [esp + 0x14]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x101f58f4]
jbe 0x10013c9a
mov edx, dword [0x101f5898]
mov ecx, dword [0x101f5894]
mov eax, dword [edx + 0x4cb4]
add eax, dword [edx + 0x4cb0]
mov esi, dword [edx + 0x174]
test esi, esi
mov edi, dword [ecx]
push eax
push dword [edx + 0x4cb8]
setg al
movzx eax, al
push eax
mov eax, dword [edi + 0xc]
push esi
call eax
mov ecx, dword [0x101fadbc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ecx, dword [0x101fadc0]
fstp dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm1, xmm1
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 0x28]
comiss xmm1, xmm0
jbe 0x10013b45
movss xmm2, dword [ebx + 0x10]
movss xmm0, dword [0x101fada0]
subss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x10013c9a
fld dword [esp + 0x20]
sub esp, 8
fld dword [esp + 0x24]
fpatan
mov dword [esp + 4], 0x43b40000
cvtps2pd xmm1, xmm2
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x101b6558]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x101b6408]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
fmul dword [0x101f58b4]
add esp, 8
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
xorps xmm0, xmmword [0x101b6920]
fmul dword [0x101b62dc]
fstp dword [esp + 0x18]
movss xmm2, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x10013c9a
maxss xmm2, dword [0x101b66a4]
push ecx
divss xmm2, xmm1
movss dword [esp], xmm2
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fmul dword [esp + 0x14]
movss xmm0, dword [ebx + 0x10]
mov dword [esp], 0x43b40000
push ecx
fstp dword [esp + 0x20]
subss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm0, dword [0x101fada0]
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
subss xmm0, xmm1
mov dword [esp + 4], 0x43b40000
movss dword [ebx + 0x10], xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm0, dword [esp + 0x18]
sqrtss xmm0, xmm0
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
divss xmm1, xmm0
movss dword [esp + 0x20], xmm1
fld dword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
jmp 0x10013c78
comiss xmm0, xmm1
jbe 0x10013c9a
movss xmm2, dword [ebx + 0x10]
movss xmm0, dword [0x101fada0]
subss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x10013c9a
fld dword [esp + 0x20]
sub esp, 8
fld dword [esp + 0x24]
fpatan
mov dword [esp + 4], 0x43b40000
cvtps2pd xmm1, xmm2
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x101b6558]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x101b6408]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
fmul dword [0x101f58b4]
add esp, 8
movss xmm0, dword [esp + 0x10]
fmul dword [0x101b62dc]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x10013c9a
minss xmm1, dword [0x101b6558]
push ecx
divss xmm1, xmm0
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fmul dword [esp + 0x14]
movss xmm0, dword [ebx + 0x10]
mov dword [esp], 0x43b40000
push ecx
fstp dword [esp + 0x20]
subss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm0, dword [0x101fada0]
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
subss xmm0, xmm1
mov dword [esp + 4], 0x43b40000
movss dword [ebx + 0x10], xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm0, dword [esp + 0x18]
sqrtss xmm0, xmm0
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
divss xmm1, xmm0
movss dword [esp + 0x20], xmm1
fld dword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [0x101bf77c]
cvttss2si eax, xmm0
mov word [ebx + 0x44], ax
lea eax, [ebx + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
call eax
movss xmm0, dword [ebx + 0x10]
movss dword [0x101fada0], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret