Function at 0x10009100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10097ea0
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x18
cmp byte [0x1010e210], 0
push esi
push edi
mov edi, ecx
je 0x100094c1
push dword [0x1010e20c]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100094c1
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
test ecx, ecx
je 0x100094c1
cmp dword [ecx + 0x25c], 8
je 0x100094c1
call fcn.10008550
test byte [eax], 1
jne 0x100094c1
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.10008cd0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10005570
movss xmm1, dword [0x100caf58]
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm0
ja 0x100094c1
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10105654]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1010eae4]
cmp eax, dword [esi + 4]
jle 0x10009218
push 0x1010eae4
call fcn.10096a77
add esp, 4
cmp dword [0x1010eae4], 0xffffffff
jne 0x10009218
mov ecx, dword [0x1010abcc]
push str.sv_maxspeed
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010eae4
mov dword [0x1010eaa4], eax
call fcn.10096a26
add esp, 4
mov eax, dword [0x1010eaac]
cmp eax, dword [esi + 4]
jle 0x1000925f
push 0x1010eaac
call fcn.10096a77
add esp, 4
cmp dword [0x1010eaac], 0xffffffff
jne 0x1000925f
mov ecx, dword [0x1010abcc]
push str.sv_airaccelerate
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010eaac
mov dword [0x1010eb2c], eax
call fcn.10096a26
add esp, 4
mov eax, dword [0x1010eb60]
cmp eax, dword [esi + 4]
jle 0x100092a6
push 0x1010eb60
call fcn.10096a77
add esp, 4
cmp dword [0x1010eb60], 0xffffffff
jne 0x100092a6
mov ecx, dword [0x1010abcc]
push str.sv_air_max_wishspeed
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010eb60
mov dword [0x1010eabc], eax
call fcn.10096a26
add esp, 4
mov ecx, dword [0x1010eabc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1010eb2c]
fstp dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fdivr dword [ebp - 0x24]
mov ecx, dword [0x1010eaa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
fstp dword [ebp - 0x24]
call eax
movss xmm1, dword [ebp - 0x24]
fstp dword [ebp - 0x20]
divss xmm1, dword [ebp - 0x20]
movss xmm0, dword [0x100cab58]
mulss xmm1, dword [0x100cb458]
divss xmm1, dword [ebp - 0x1c]
comiss xmm0, xmm1
jbe 0x10009314
comiss xmm1, dword [0x100cb54c]
jbe 0x10009314
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
cvtsd2ss xmm0, xmm0
jmp 0x10009317
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [ebp - 0x1c], xmm0
ucomiss xmm0, xmm1
mov dword [ebp - 4], 0xffffffff
lahf
test ah, 0x44
jnp 0x100094c1
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x100caf28]
mov eax, dword [0x1010e030]
divss xmm0, dword [0x100cb484]
mov ecx, dword [eax]
movss dword [ebp - 0x20], xmm0
call fcn.10008cd0
movss xmm0, dword [eax]
mov eax, dword [0x1010e030]
movss dword [ebp - 0x24], xmm0
mov ecx, dword [eax]
call fcn.10008cd0
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x24]
fld qword [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
fld qword [ebp - 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
cvtpd2ps xmm0, xmm0
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [edi + 0x28]
xorps xmm0, xmmword [0x100cba30]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [edi + 0x24]
fld qword [ebp - 0x28]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
fld qword [ebp - 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm1, dword [ebp - 0x14]
fstp dword [ebp - 0x24]
subss xmm1, dword [ebp - 0x24]
push ecx
movss dword [ebp - 0x20], xmm1
fld dword [ebp - 0x20]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__fdclass
movss xmm3, dword [0x100caf64]
add esp, 4
test ax, ax
jg 0x10009434
movss xmm0, dword [ebp - 0x20]
sub esp, 8
mov dword [esp + 4], 0x40c90fdb
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm3, dword [0x100caf64]
add esp, 8
fstp dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x20]
jmp 0x10009437
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x14]
xorps xmm2, xmm2
comiss xmm0, dword [ebp - 0x24]
jbe 0x10009454
comiss xmm1, dword [0x100caf28]
jb 0x1000946a
subss xmm1, xmm3
jmp 0x1000946a
movss xmm0, dword [0x100cb56c]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x14]
jb 0x1000946a
addss xmm1, xmm3
comiss xmm2, xmm1
jbe 0x10009476
addss xmm0, dword [ebp - 0x1c]
jmp 0x1000947b
subss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [0x100cb4ac]
movss dword [edi + 0x24], xmm1
movss xmm1, dword [ebp - 0x14]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x100cba30]
mulss xmm0, dword [0x100cb4ac]
movss dword [edi + 0x28], xmm0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret