Function at 0x140017240
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x118
movaps xmmword [rax - 0x48], xmm6
xor r15d, r15d
movaps xmmword [rax - 0x58], xmm7
mov r14, r8
movaps xmmword [rax - 0x68], xmm8
mov rdi, rdx
movaps xmmword [rax - 0x78], xmm9
mov rsi, rcx
movaps xmmword [rax - 0x88], xmm10
xorps xmm7, xmm7
movaps xmmword [rax - 0xc8], xmm15
xorps xmm9, xmm9
mov rax, qword [0x14020da40]
xorps xmm15, xmm15
xorps xmm10, xmm10
cmp byte [rax + 0x139], r15b
je 0x1400172be
cmp dword [r8 + 0x80], 0x1e
jge 0x1400172be
mov rax, qword [0x14020da30]
mov dword [rax + 8], r15d
jmp 0x140017312
mov edx, dword [rax + 0x118]
test edx, edx
je 0x140017304
sub edx, 1
je 0x1400172f4
sub edx, 1
je 0x1400172e4
cmp edx, 1
jne 0x140017312
mov rax, qword [0x14020da30]
mov dword [rax + 8], r15d
jmp 0x140017312
mov rax, qword [0x14020da30]
mov dword [rax + 8], 4
jmp 0x140017312
mov rax, qword [0x14020da30]
mov dword [rax + 8], 5
jmp 0x140017312
mov rax, qword [0x14020da30]
mov dword [rax + 8], 6
cmp qword [rdi + 0x68], r15
jne 0x140017339
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038f0
xorps xmm0, xmm0
mov qword [rsp + 0x38], r15
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
jmp 0x14001734a
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.140013860
movss xmm0, dword [0x1400ff490]
mov rbx, qword [rsp + 0x40]
movss xmm6, dword [0x1400ff358]
movaps xmm1, xmm6
subss xmm0, dword [rbx + 0xa0]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movaps xmm1, xmm6
movss xmm0, dword [0x1400ff4a0]
subss xmm0, dword [rbx + 0x9c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x1400173a3
xorps xmm6, xmm6
sqrtss xmm6, xmm8
jmp 0x1400173af
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x40]
call fcn.140011f40
movss xmm1, dword [0x1400ff4b0]
comiss xmm1, xmm6
movss xmm8, dword [0x1400ff2ec]
jbe 0x140017484
mov rbx, qword [0x14020da40]
cmp byte [rbx + 0x114], r15b
je 0x140017409
mov edx, dword [rsp + 0x178]
mov rax, qword [rdi + 0x70]
bt rax, rdx
jb 0x140017409
mov edx, dword [rsp + 0x170]
mov rax, qword [r14 + 0x70]
bt rax, rdx
jae 0x14001748b
cmp qword [rdi + 0x68], r15
jne 0x140017430
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038f0
xorps xmm0, xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
jmp 0x140017441
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x58]
call fcn.140013860
mov rax, qword [0x14020da30]
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x60]
lea rdx, [rcx + rcx*2]
movss xmm15, dword [rax + rdx*8]
lea rcx, [rsp + 0x60]
movss xmm9, dword [rax + rdx*8 + 4]
movss xmm10, dword [rax + rdx*8 + 8]
call fcn.140011f40
mov rax, qword [0x14020da30]
cmp dword [rax + 8], 6
jne 0x140017484
subss xmm10, xmm8
mov rbx, qword [0x14020da40]
movss xmm6, dword [0x1400ff440]
mov qword [rsp + 0x150], r12
cmp byte [rbx + 0x131], r15b
je 0x1400174f3
movss xmm0, dword [rdi + 0x140]
movss xmm2, dword [rdi + 0x13c]
movss xmm1, dword [rdi + 0x144]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1400174e1
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1400174e9
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x1400174f3
mov r12b, 1
jmp 0x1400174f6
xor r12b, r12b
mov qword [rsp + 0x110], r13
cmp byte [rbx + 0x132], r15b
je 0x140017515
cmp dword [rdi + 0x80], 0x1e
jge 0x140017515
mov r13b, 1
jmp 0x140017518
xor r13b, r13b
cmp byte [rbx + 0x133], r15b
je 0x140017533
cmp dword [r14 + 0x80], 0x1e
mov byte [rsp + 0x158], 1
jl 0x14001753b
mov byte [rsp + 0x158], r15b
cmp byte [rbx + 0x137], r15b
je 0x140017554
mov eax, dword [rbx + 0x164]
mov byte [rsp + 0x30], 1
cmp dword [rdi + 0x30], eax
jg 0x140017559
mov byte [rsp + 0x30], r15b
cmp byte [rbx + 0x135], r15b
je 0x1400175af
movss xmm0, dword [rdi + 0x140]
movss xmm2, dword [rdi + 0x13c]
movss xmm1, dword [rdi + 0x144]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x14001759f
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1400175a7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x1400175af
mov r15b, 1
cmp byte [rbx + 0x136], 0
je 0x1400175c7
cmp dword [r14 + 0x80], 0x1e
jge 0x1400175c7
mov r14b, 1
jmp 0x1400175ca
xor r14b, r14b
cmp byte [rbx + 0x138], 0
je 0x1400175e3
mov eax, dword [rbx + 0x16c]
cmp dword [rdi + 0x30], eax
jle 0x1400175e3
mov bpl, 1
jmp 0x1400175e6
xor bpl, bpl
cmp byte [rbx + 0x104], 0
je 0x140017b22
mov ecx, dword [rbx + 0x2f4]
test ecx, ecx
je 0x14001761c
cmp ecx, 1
jne 0x14001763b
mov edx, dword [rbx + 0x2f8]
call fcn.14001cff0
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x140017634
jmp 0x140017665
mov edx, dword [rbx + 0x2f8]
call fcn.14001cff0
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140017665
mov rbx, qword [0x14020da40]
ucomiss xmm7, xmm15
jp 0x140017653
jne 0x140017653
ucomiss xmm7, xmm9
jp 0x140017653
jne 0x140017653
ucomiss xmm7, xmm10
jp 0x140017653
je 0x140017665
cmp byte [0x1402096e8], 0
jne 0x140017665
cmp dword [rdi + 0x80], 0
jg 0x140017688
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [0x14020dbd0], xmm0
mov qword [rsi], r12
mov qword [0x14020dbc0], r12
mov dword [0x14020dbc8], r12d
jmp 0x140017b22
cmp byte [rbx + 0x130], 0
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0x90], xmm13
je 0x140017736
test r12b, r12b
je 0x1400176bb
movaps xmm2, xmm8
jmp 0x1400176be
xorps xmm2, xmm2
movss dword [0x14020dbd0], xmm2
test r13b, r13b
je 0x1400176d5
movss xmm0, dword [0x1400ff300]
jmp 0x1400176d8
xorps xmm0, xmm0
cmp byte [rsp + 0x158], 0
movss dword [0x14020dbd4], xmm0
je 0x1400176f4
movss xmm1, dword [0x1400ff2b8]
jmp 0x1400176f7
xorps xmm1, xmm1
cmp byte [rsp + 0x30], 0
movss dword [0x14020dbd8], xmm1
mov dword [0x14020dbdc], 0x3f800000
jne 0x14001771a
mov dword [0x14020dbdc], 0
addss xmm0, xmm2
addss xmm0, xmm1
movss dword [rsi], xmm0
mov rbx, qword [0x14020da40]
cmp byte [rbx + 0x130], 0
jne 0x14001775a
xor r12d, r12d
mov qword [0x14020dbd0], 0
mov dword [rsi], r12d
mov rbx, qword [0x14020da40]
mov dword [0x14020dbd8], 0
jmp 0x14001775d
xor r12d, r12d
cmp byte [rbx + 0x134], 0
je 0x1400177cd
movss xmm0, dword [0x1400ff2a0]
test r15b, r15b
je 0x140017780
movss dword [0x14020dbc0], xmm0
movaps xmm1, xmm0
jmp 0x14001778b
xorps xmm1, xmm1
movss dword [0x14020dbc0], xmm1
test r14b, r14b
jne 0x140017793
xorps xmm0, xmm0
movss dword [0x14020dbc4], xmm0
mov dword [0x14020dbc8], 0x3e4ccccd
test bpl, bpl
jne 0x1400177b4
mov dword [0x14020dbc8], 0
addss xmm0, xmm1
movss dword [rsi + 4], xmm0
mov rbx, qword [0x14020da40]
cmp byte [rbx + 0x134], 0
jne 0x1400177e3
mov dword [rsi + 4], r12d
mov rbx, qword [0x14020da40]
mov qword [0x14020dbc0], 0
mov rax, qword [rsp + 0x168]
movaps xmm12, xmm9
movsd xmm13, qword [0x1400ff360]
movaps xmm11, xmm15
movaps xmm8, xmm10
movaps xmm1, xmm13
subss xmm12, dword [rax + 4]
subss xmm11, dword [rax]
subss xmm8, dword [rax + 8]
cvtps2pd xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm13
cvtps2pd xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140017844
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x14001784c
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm8, xmm1
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
xorps xmm0, xmmword [0x1400ff700]
xorps xmm3, xmm3
mov rdi, qword [rsp + 0x160]
movaps xmm1, xmm13
cvtss2sd xmm3, xmm0
movss xmm2, dword [rdi + 0x148]
mulsd xmm3, qword [0x1400ff398]
cvtps2pd xmm2, xmm2
subsd xmm3, xmm2
cvtpd2ps xmm2, xmm3
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rdi + 0x14c]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
cvtps2pd xmm2, xmm2
mulsd xmm3, qword [0x1400ff398]
movaps xmm1, xmm13
subsd xmm3, xmm2
cvtpd2ps xmm0, xmm3
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm13, xmmword [rsp + 0x90]
addsd xmm8, xmm0
movaps xmm12, xmmword [rsp + 0xa0]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0xb0]
ucomisd xmm1, xmm8
ja 0x140017911
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x14001791a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov rax, qword [0x140209868]
movaps xmm4, xmm9
movaps xmm1, xmm10
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movss xmm5, dword [rax + 0x10]
movaps xmm0, xmm15
movss xmm8, dword [rax + 0x14]
xorps xmm2, xmm2
mov rax, qword [0x14020d9f0]
xorps xmm3, xmm3
mulss xmm5, dword [0x1400ff2b8]
mulss xmm8, dword [0x1400ff2b8]
mulss xmm4, dword [rax + 0x34]
mulss xmm0, dword [rax + 0x30]
mulss xmm1, dword [rax + 0x38]
addss xmm4, xmm0
movsd xmm0, qword [0x1400ff2f0]
addss xmm4, xmm1
addss xmm4, dword [rax + 0x3c]
cvtps2pd xmm1, xmm4
comisd xmm0, xmm1
jae 0x1400179f2
movaps xmm2, xmm9
movaps xmm0, xmm15
mulss xmm2, dword [rax + 4]
movaps xmm1, xmm10
mulss xmm9, dword [rax + 0x14]
movaps xmm3, xmm8
mulss xmm0, dword [rax]
mulss xmm15, dword [rax + 0x10]
mulss xmm1, dword [rax + 8]
addss xmm2, xmm0
mulss xmm10, dword [rax + 0x18]
addss xmm9, xmm15
addss xmm2, xmm1
addss xmm9, xmm10
addss xmm2, dword [rax + 0xc]
addss xmm9, dword [rax + 0x1c]
divss xmm2, xmm4
divss xmm9, xmm4
mulss xmm2, xmm5
mulss xmm9, xmm8
addss xmm2, xmm5
subss xmm3, xmm9
movss xmm5, dword [rbx + 0x108]
addss xmm5, dword [rsi]
comiss xmm6, xmm5
jae 0x140017b22
movss xmm8, dword [rbx + 0x10c]
movaps xmm0, xmm8
subss xmm0, dword [rsi + 4]
ucomiss xmm0, xmm7
jp 0x140017a2a
jne 0x140017a2a
movss xmm4, dword [0x1400ff320]
jmp 0x140017a2d
movaps xmm4, xmm0
cvttss2si ecx, xmm2
cmp ecx, 0x3c0
je 0x140017a4c
lea eax, [rcx - 0x3c0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, xmm4
jmp 0x140017a4f
xorps xmm2, xmm2
movss xmm9, dword [0x1400ff490]
ucomiss xmm3, xmm9
jp 0x140017a60
je 0x140017a84
ucomiss xmm3, xmm7
jp 0x140017a67
je 0x140017a84
cvttss2si eax, xmm3
cmp eax, 0x21c
je 0x140017a84
add eax, 0xfffffde4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm4
jmp 0x140017a87
xorps xmm1, xmm1
ucomiss xmm8, xmm7
jp 0x140017a9b
jne 0x140017a9b
cvttss2si r8, xmm1
cvttss2si rdx, xmm2
jmp 0x140017b10
movss xmm1, dword [0x1400ff2ec]
movaps xmm2, xmm1
divss xmm6, xmm5
subss xmm2, xmm6
addss xmm2, xmm1
cmp ecx, 0x3c0
je 0x140017acd
lea eax, [rcx - 0x3c0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm4
jmp 0x140017ad0
xorps xmm1, xmm1
ucomiss xmm3, xmm9
mulss xmm0, xmm2
divss xmm1, xmm0
jp 0x140017ae0
je 0x140017b06
ucomiss xmm3, xmm7
jp 0x140017ae7
je 0x140017b06
cvttss2si eax, xmm3
cmp eax, 0x21c
je 0x140017b02
add eax, 0xfffffde4
movd xmm7, eax
cvtdq2ps xmm7, xmm7
divss xmm7, xmm4
divss xmm7, xmm0
cvttss2si r8, xmm7
cvttss2si rdx, xmm1
xor r9d, r9d
mov qword [rsp + 0x20], r12
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov r13, qword [rsp + 0x110]
lea r11, [rsp + 0x118]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm15, xmmword [r11 - 0x98]
mov r12, qword [rsp + 0x150]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret