Function at 0x10006cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov al, byte [0x8c9caa]
push ebx
mov bh, byte [0x8c9cab]
mov bl, dl
push esi
mov esi, dword [0x1009c02c]
push edi
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], al
movss xmm1, dword [esi + 0x25684]
movss xmm0, dword [esi + 0x25680]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10005c10
movss xmm1, dword [0x10093af0]
movaps xmm2, xmm0
comiss xmm1, xmm2
movss dword [ebp - 0x24], xmm2
ja 0x10006fac
movd xmm1, dword [esi + 0x84]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10006d2c
cmp dword [0x797520], 0x3ff
je 0x10006fac
mov al, byte [ebp - 1]
test bl, bl
jne 0x10006d3f
cmp al, 0x7f
je 0x10006d3f
test bh, bh
jne 0x10006fac
cmp byte [0x100a03ee], 0
je 0x10006d55
cmp byte [0x100a03e6], 0
je 0x10006fac
movss xmm0, dword [esi + 0x25690]
test bl, bl
mov ecx, 0x7f
movzx eax, al
cmovne ecx, eax
movss dword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0x56b5d0
mov edi, str.g_speed
call dword [ebp - 0x10]
mov dword [ebp - 0x10], 0x56b5d0
movd xmm1, dword [eax + 0xc]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
mov edi, str.com_maxfps
call dword [ebp - 0x10]
cmp dword [0x1009fcac], 0x7d
movd xmm3, dword [eax + 0xc]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
jne 0x10006dd2
cmp dword [0x797520], 0x3ff
jne 0x10006dd2
movaps xmm0, xmm1
divss xmm0, xmm3
movss dword [ebp - 0x10], xmm0
movss xmm1, dword [0x10093c70]
comiss xmm1, xmm2
jbe 0x10006dec
movaps xmm0, xmm1
subss xmm0, xmm2
subss xmm1, xmm0
jmp 0x10006e00
cmp dword [0x797520], 0x3fe
jne 0x10006e05
movss xmm1, dword [0x10093c88]
movss dword [ebp - 8], xmm1
mov eax, dword [0x1009c02c]
movss xmm0, dword [eax + 0x25684]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0x25680]
fld qword [ebp - 0x30]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
cvtpd2ps xmm0, xmm0
movsx eax, bh
neg eax
mulss xmm0, dword [0x10093c68]
divss xmm0, dword [0x10093b90]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [ebp - 0x1c]
movsx eax, al
movsd qword [ebp - 0x38], xmm0
xorps xmm0, xmm0
fld qword [ebp - 0x38]
cvtsi2sd xmm0, eax
movsd qword [ebp - 0x38], xmm0
fld qword [ebp - 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
mulsd xmm0, qword [0x10093bb8]
divsd xmm0, qword [0x10093b68]
movsd qword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [ebp - 0x10]
divss xmm0, dword [ebp - 0x24]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10093c68]
divss xmm0, dword [0x10093b90]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 8], xmm0
test bh, bh
jg 0x10006f7c
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x57
call esi
test ax, ax
jns 0x10006f06
push 0x45
call esi
test ax, ax
jns 0x10006f06
test bl, bl
jne 0x10006f7c
push 0x53
call esi
test ax, ax
jns 0x10006f1c
push 0x45
call esi
test ax, ax
jns 0x10006f1c
test bl, bl
jne 0x10006f7c
test bh, bh
js 0x10006f4c
push 0x57
call esi
test ax, ax
jns 0x10006f36
push 0x51
call esi
test ax, ax
jns 0x10006f36
test bl, bl
jne 0x10006f4c
push 0x53
call esi
test ax, ax
jns 0x10006fa0
push 0x51
call esi
test ax, ax
jns 0x10006fa0
test bl, bl
je 0x10006fa0
movsd xmm0, qword [ebp - 0x28]
addsd xmm0, qword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
subsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
subss xmm0, dword [ebp - 0xc]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [ebp - 0x30]
subsd xmm0, qword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
subsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm1, xmm0
movss dword [ebp - 8], xmm1
subss xmm1, dword [ebp - 0xc]
movss dword [eax], xmm1
movss xmm0, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x10093d58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret