Function at 0x1000d0d0
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 0x100de4f5
push eax
mov dword fs:[0], esp
mov ecx, dword [0x101a3f58]
mov eax, dword fs:[0x2c]
push ebx
sub esp, 0x28
cmp byte [0x1019c48d], 0
push esi
mov esi, dword [eax + ecx*4]
push edi
jne 0x1000d12e
push dword [0x1019c4a4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d371
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10087df0
cmp eax, 9
je 0x1000d371
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10087df0
cmp eax, 8
je 0x1000d371
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10011db0
mov al, byte [eax]
not al
and al, 1
mov byte [ebp - 0x11], al
mov eax, dword [0x1019cdcc]
cmp eax, dword [esi + 4]
jg 0x1000d384
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10012230
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000d1b1
sqrtsd xmm0, xmm0
jmp 0x1000d1b6
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cmp byte [ebp - 0x11], 0
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
je 0x1000d371
mov eax, dword [0x1019cdd4]
cmp eax, dword [esi + 4]
jg 0x1000d3df
mov eax, dword [0x1019cddc]
cmp eax, dword [esi + 4]
jg 0x1000d481
mov ecx, dword [0x1019cdd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm1, dword [0x100e45f4]
fstp dword [ebp - 0x1c]
divss xmm1, dword [ebp - 0x1c]
movss xmm0, dword [0x100e4318]
divss xmm1, dword [0x1019cdd0]
mulss xmm1, dword [0x100e460c]
divss xmm1, dword [ebp - 0x18]
comiss xmm0, xmm1
jbe 0x1000d371
comiss xmm1, dword [0x100e4348]
jbe 0x1000d371
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x100e42f0]
movss dword [ebp - 0x1c], xmm0
lahf
test ah, 0x44
jnp 0x1000d371
mov esi, dword [ebx + 8]
mov eax, dword [0x1019c324]
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x100e45a0]
mov ecx, dword [eax]
movss dword [ebp - 0x18], xmm0
call fcn.10012230
movq xmm0, qword [eax]
movq qword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x30]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
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
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
cvtpd2ps xmm0, xmm0
subss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [esi + 0x28]
xorps xmm0, xmmword [0x100e4350]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 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 - 0x18]
lea ecx, [ebp - 0x11]
sub esp, 8
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esp + 4]
movss dword [esp], xmm1
call fcn.1000cca0
xorps xmm0, xmm0
fstp dword [ebp - 0x24]
comiss xmm0, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x18]
jbe 0x1000d326
addss xmm0, dword [ebp - 0x1c]
jmp 0x1000d32b
subss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], 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 [0x1019cdc8]
movss dword [esi + 0x24], xmm1
movss xmm1, dword [ebp - 0x18]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x100e4350]
mulss xmm0, dword [0x1019cdc8]
movss dword [esi + 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
push 0x1019cdcc
call fcn.100dc42f
add esp, 4
cmp dword [0x1019cdcc], 0xffffffff
jne 0x1000d17e
mov ecx, dword [0x1019c838]
push str.cl_sidespeed
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
call eax
push 0x1019cdcc
fstp dword [0x1019cdc8]
mov dword [ebp - 4], 0xffffffff
call fcn.100dc3e5
add esp, 4
jmp 0x1000d17e
push 0x1019cdd4
call fcn.100dc42f
add esp, 4
cmp dword [0x1019cdd4], 0xffffffff
jne 0x1000d1da
mov eax, dword [0x1019c324]
mov dword [ebp - 4], 1
mov edi, dword [eax]
mov eax, dword [0x1019c99c]
cmp eax, dword [esi + 4]
jle 0x1000d456
push 0x1019c99c
call fcn.100dc42f
add esp, 4
cmp dword [0x1019c99c], 0xffffffff
jne 0x1000d456
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x44]
call eax
push str.m_flMaxspeed
push eax
call fcn.1003fa50
push 0x1019c99c
mov dword [0x1019c998], eax
call fcn.100dc3e5
add esp, 0xc
jmp 0x1000d456
mov eax, dword [0x1019c998]
push 0x1019cdd4
mov dword [ebp - 4], 0xffffffff
movss xmm0, dword [eax + edi]
movss dword [0x1019cdd0], xmm0
call fcn.100dc3e5
add esp, 4
jmp 0x1000d1da
push 0x1019cddc
call fcn.100dc42f
add esp, 4
cmp dword [0x1019cddc], 0xffffffff
jne 0x1000d1eb
mov ecx, dword [0x1019c838]
push str.sv_airaccelerate
mov dword [ebp - 4], 3
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1019cddc
mov dword [0x1019cdd8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100dc3e5
add esp, 4
jmp 0x1000d1eb