Function at 0x1400013e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x78]
call fcn.140002410
nop
lea rcx, [rsp + 0x60]
call fcn.140002630
mov rdx, qword [0x140006730]
add rdx, 0x19d98e8
xorps xmm10, xmm10
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, str.Local_Player_position_:_x:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
movss xmm1, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._y:
call fcn.140001b10
movss xmm1, dword [rsp + 0x64]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._z:
call fcn.140001b10
movss xmm1, dword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Local_Player_View_Angles_:_x:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
movss xmm1, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._y:
call fcn.140001b10
movss xmm1, dword [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
cmp rsi, r14
je 0x1400016d5
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [rsi]
lea rdx, [rdi + 0x308]
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rsp + 0x78]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x78]
add rdx, 0x1f0
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rsp + 0x40]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov rdx, qword [rsp + 0x40]
add rdx, 0xc0
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rsp + 0x60]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, str.Player_Health:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
mov rbx, rax
lea rdx, [rdi + 0x324]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Player_Position:_x:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
movss xmm1, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._y:
call fcn.140001b10
movss xmm1, dword [rsp + 0x64]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._z:
call fcn.140001b10
movss xmm1, dword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rsi, 8
cmp rsi, r14
jne 0x140001580
lea rdx, str.LocalPlayerIndex_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
mov rdx, qword [0x140006720]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400019a0
movss xmm12, dword [0x1400045a0]
movsd xmm11, qword [0x140004588]
movsd xmm14, qword [0x140004590]
movss xmm13, dword [0x140004580]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000198c
lea rcx, [rsp + 0x78]
call fcn.140001d30
lea rdx, str.Closest_Enemey_is_in
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
mov rcx, rax
lea rdx, str._x:
call fcn.140001b10
movss xmm9, dword [rsp + 0x78]
movaps xmm1, xmm9
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, str._y:
call fcn.140001b10
movss xmm7, dword [rsp + 0x7c]
movaps xmm1, xmm7
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movss xmm8, dword [rbp - 0x80]
ucomiss xmm9, xmm10
jp 0x1400017e7
jne 0x1400017e7
ucomiss xmm7, xmm10
jp 0x1400017e7
jne 0x1400017e7
ucomiss xmm8, xmm10
jp 0x1400017e7
je 0x140001978
mov rdx, qword [0x140006730]
add rdx, 0x19d98e8
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rsp + 0x60]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, [rsp + 0x30]
call fcn.140002630
subss xmm9, dword [rsp + 0x30]
subss xmm7, dword [rsp + 0x34]
subss xmm8, dword [rsp + 0x38]
xorps xmm8, xmm12
cvtps2pd xmm0, xmm7
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm9
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
xorps xmm1, xmm1
ucomiss xmm1, xmm0
ja 0x140001873
sqrtss xmm0, xmm0
jmp 0x140001878
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, xmm14
cvtpd2ps xmm6, xmm2
movaps xmm1, xmm9
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, xmm14
cvtpd2ps xmm2, xmm1
movaps xmm0, xmm10
movss xmm3, dword [rsp + 0x68]
subss xmm0, xmm3
movss xmm1, dword [rsp + 0x64]
subss xmm2, xmm1
mulss xmm0, xmm13
mulss xmm2, xmm13
addss xmm3, xmm0
addss xmm1, xmm2
subss xmm6, dword [rsp + 0x60]
mulss xmm6, xmm13
addss xmm6, dword [rsp + 0x60]
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm3
lea rdx, str.Smooth_Angles:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b10
movss xmm1, dword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x1400044f0]
call fcn.140001b10
movss xmm1, dword [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140001cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [0x140006730]
add rdx, 0x19d98e8
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rsp + 0x40]
mov rcx, qword [0x140006718]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140001754
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001740
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400019e1
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002960
xor eax, eax
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.140002940
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop rbp
ret