Function at 0x10006d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov al, byte [0x8c9cab]
push ebx
mov bh, byte [0x8c9caa]
mov bl, dl
push esi
mov esi, dword [0x100ba09c]
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.10005c70
movss xmm1, dword [0x100b1a78]
movaps xmm2, xmm0
comiss xmm1, xmm2
movss dword [ebp - 0x24], xmm2
ja 0x1000705a
movd xmm1, dword [esi + 0x84]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10006d8c
cmp dword [0x797520], 0x3ff
je 0x1000705a
test bl, bl
jne 0x10006d9e
cmp bh, 0x7f
je 0x10006d9e
cmp byte [ebp - 1], bl
jne 0x1000705a
cmp byte [0x100be466], 0
je 0x10006db4
cmp byte [0x100be45e], 0
je 0x1000705a
movss xmm0, dword [esi + 0x25690]
test bl, bl
mov ecx, 0x7f
movzx eax, bh
cmovne ecx, eax
movss dword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0x56b5d0
mov edi, str.fs_game
call dword [ebp - 0x10]
mov ecx, str.mods_1_kej_v2
mov eax, dword [eax + 0xc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006e08
test dl, dl
je 0x10006e04
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006e08
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006de8
xor eax, eax
jmp 0x10006e0d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10006e25
mov dword [ebp - 0x10], 0x56b5d0
mov edi, str.g_speed
call dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
jmp 0x10006e30
mov eax, dword [0x100ba09c]
mov eax, dword [eax + 0x84]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x10], 0x56b5d0
mov edi, str.com_maxfps
call dword [ebp - 0x10]
cmp dword [0x100bdd2c], 0x7d
movd xmm3, dword [eax + 0xc]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
jne 0x10006e7b
cmp dword [0x797520], 0x3ff
jne 0x10006e7b
movaps xmm0, xmm1
divss xmm0, xmm3
movss dword [ebp - 0x10], xmm0
comiss xmm1, xmm2
jbe 0x10006e92
movaps xmm0, xmm1
subss xmm0, xmm2
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x10006eb0
cmp dword [0x797520], 0x3fe
movss dword [ebp - 8], xmm1
jne 0x10006eb0
movss xmm0, dword [0x100b1c10]
movss dword [ebp - 8], xmm0
mov eax, dword [0x100ba09c]
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
mov bh, byte [ebp - 1]
movsx eax, bh
neg eax
mulss xmm0, dword [0x100b1bf0]
divss xmm0, dword [0x100b1b18]
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 [0x100b1b40]
divsd xmm0, qword [0x100b1af0]
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 [0x100b1bf0]
divss xmm0, dword [0x100b1b18]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 8], xmm0
test bh, bh
jg 0x1000702a
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x57
call esi
test ax, ax
jns 0x10006fb4
push 0x45
call esi
test ax, ax
jns 0x10006fb4
test bl, bl
jne 0x1000702a
push 0x53
call esi
test ax, ax
jns 0x10006fca
push 0x45
call esi
test ax, ax
jns 0x10006fca
test bl, bl
jne 0x1000702a
test bh, bh
js 0x10006ffa
push 0x57
call esi
test ax, ax
jns 0x10006fe4
push 0x51
call esi
test ax, ax
jns 0x10006fe4
test bl, bl
jne 0x10006ffa
push 0x53
call esi
test ax, ax
jns 0x1000704e
push 0x51
call esi
test ax, ax
jns 0x1000704e
test bl, bl
je 0x1000704e
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 [0x100b1ce0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret