Function at 0x140018480
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x130
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov rbx, qword [0x140188ac8]
cmp byte [rbx + 0x2fc], r15b
je 0x140018c20
xorps xmm9, xmm9
xorps xmm13, xmm13
xorps xmm15, xmm15
xorps xmm14, xmm14
movss xmm1, dword [r8 + 0x124]
subss xmm1, dword [rdx + 0x124]
movss xmm0, dword [r8 + 0x128]
subss xmm0, dword [rdx + 0x128]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x140018558
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140018560
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [rbx + 0x328], r15b
je 0x14001857d
movd xmm1, dword [rbx + 0x32c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x140018c20
mov eax, dword [rsi + 0x80]
cmp byte [rbx + 0x331], r15b
je 0x140018596
cmp eax, 0x1e
jge 0x140018596
mov r8b, 1
jmp 0x140018599
xor r8b, r8b
cmp byte [rbx + 0x332], r15b
je 0x1400185ae
cmp eax, dword [rbp + 0x80]
jle 0x1400185ae
mov dl, 1
jmp 0x1400185b0
xor dl, dl
cmp byte [rbx + 0x330], r15b
je 0x1400185f6
test r8b, r8b
je 0x1400185c2
test dl, dl
jne 0x1400185ec
mov ecx, dword [rbx + 0x364]
test ecx, ecx
je 0x1400185d6
cmp ecx, 1
jne 0x1400185e3
mov dword [rdi], r15d
jmp 0x1400185dc
mov dword [rdi], 6
mov rbx, qword [0x140188ac8]
test r8b, r8b
jne 0x1400185ec
test dl, dl
je 0x1400185f6
mov dword [rdi], r15d
mov rbx, qword [0x140188ac8]
mov ecx, dword [rbx + 0x308]
test ecx, ecx
je 0x140018624
sub ecx, 1
je 0x14001861c
sub ecx, 1
je 0x140018614
cmp ecx, 1
jne 0x14001862a
mov dword [rdi], r15d
jmp 0x14001862a
mov dword [rdi], 4
jmp 0x14001862a
mov dword [rdi], 5
jmp 0x14001862a
mov dword [rdi], 6
cmp qword [rsi + 0x68], r15
jne 0x140018651
lea rcx, str._unknowncheats__player_address_is_0_n
call fcn.140003810
mov qword [rsp + 0x40], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
jmp 0x140018662
lea rdx, [rsi + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.140013e00
mov rbx, qword [rsp + 0x48]
movss xmm11, dword [0x1400815d0]
movaps xmm0, xmm11
subss xmm0, dword [rbx + 0xa0]
movss xmm7, dword [0x1400814a8]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movss xmm12, dword [0x1400815e0]
movaps xmm0, xmm12
subss xmm0, dword [rbx + 0x9c]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x1400186be
sqrtss xmm6, xmm6
jmp 0x1400186c9
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x48]
call fcn.140012120
movss xmm1, dword [0x1400815f0]
mov ebx, dword [rsp + 0x188]
comiss xmm1, xmm6
jbe 0x140018785
mov rax, qword [0x140188ac8]
cmp byte [rax + 0x304], r15b
je 0x140018716
mov rax, qword [rsi + 0x70]
bt rax, rbx
jb 0x140018716
mov edx, dword [rsp + 0x180]
mov rax, qword [rbp + 0x70]
bt rax, rdx
jae 0x140018785
cmp qword [rsi + 0x68], r15
jne 0x14001873d
lea rcx, str._unknowncheats__player_address_is_0_n
call fcn.140003810
mov qword [rsp + 0x60], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
jmp 0x14001874e
lea rdx, [rsi + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140013e00
mov eax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x68]
movss xmm13, dword [rax + rcx*8]
movss xmm15, dword [rax + rcx*8 + 4]
movss xmm14, dword [rax + rcx*8 + 8]
lea rcx, [rsp + 0x68]
call fcn.140012120
cmp dword [rdi], 6
jne 0x140018785
addss xmm14, dword [0x140081628]
ucomiss xmm9, xmm13
jp 0x1400187a1
jne 0x1400187a1
ucomiss xmm9, xmm15
jp 0x1400187a1
jne 0x1400187a1
ucomiss xmm9, xmm14
jp 0x1400187a1
je 0x140018c20
cmp byte [0x1401847c8], r15b
jne 0x140018c20
cmp dword [rsi + 0x80], r15d
jle 0x140018c20
movaps xmm10, xmm14
subss xmm10, dword [r14 + 8]
movaps xmm7, xmm15
subss xmm7, dword [r14 + 4]
movaps xmm8, xmm13
subss xmm8, dword [r14]
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1400814b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm7
movsd xmm1, qword [0x1400814b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x140018815
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x14001881d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, qword [0x1400814e8]
movss xmm1, dword [rbp + 0x14c]
cvtps2pd xmm1, xmm1
subsd xmm2, xmm1
cvtpd2ps xmm8, xmm2
divss xmm10, xmm6
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
xorps xmm0, xmmword [0x140081840]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, qword [0x1400814e8]
movss xmm0, dword [rbp + 0x148]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtpd2ps xmm6, xmm2
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1400814b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm0, xmm6
movsd xmm1, qword [0x1400814b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm7
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400188c7
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400188cf
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss dword [rsp + 0x30], xmm5
xorps xmm8, xmm8
xorps xmm10, xmm10
mov rax, qword [0x140184938]
movss xmm3, dword [rax + 0x10]
mulss xmm3, dword [0x140081408]
movss xmm4, dword [rax + 0x14]
mulss xmm4, dword [0x140081408]
movaps xmm2, xmm13
mov rax, qword [0x140188b08]
mulss xmm2, dword [rax + 0x30]
movaps xmm0, xmm15
mulss xmm0, dword [rax + 0x34]
addss xmm2, xmm0
movaps xmm1, xmm14
mulss xmm1, dword [rax + 0x38]
addss xmm2, xmm1
addss xmm2, dword [rax + 0x3c]
cvtps2pd xmm1, xmm2
movsd xmm0, qword [0x140081440]
comisd xmm0, xmm1
jae 0x1400189b4
movaps xmm8, xmm15
mulss xmm8, dword [rax + 4]
movaps xmm0, xmm13
mulss xmm0, dword [rax]
addss xmm8, xmm0
movaps xmm1, xmm14
mulss xmm1, dword [rax + 8]
addss xmm8, xmm1
addss xmm8, dword [rax + 0xc]
divss xmm8, xmm2
mulss xmm8, xmm3
addss xmm8, xmm3
mulss xmm13, dword [rax + 0x10]
mulss xmm15, dword [rax + 0x14]
addss xmm13, xmm15
mulss xmm14, dword [rax + 0x18]
addss xmm13, xmm14
addss xmm13, dword [rax + 0x1c]
divss xmm13, xmm2
mulss xmm13, xmm4
movaps xmm10, xmm4
subss xmm10, xmm13
mov rax, qword [0x140188ac8]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x140018c20
movss xmm15, dword [0x1400815f4]
ucomiss xmm8, xmm12
jp 0x1400189f1
jne 0x1400189f1
movss xmm7, dword [rsp + 0x30]
movss xmm13, dword [0x140081840]
jmp 0x140018a2f
movss xmm13, dword [0x140081840]
comiss xmm8, xmm12
jbe 0x140018a0f
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x140018a18
movaps xmm7, xmm8
subss xmm7, xmm12
movaps xmm0, xmm7
addss xmm0, xmm12
comiss xmm0, xmm15
ja 0x140018a2c
comiss xmm9, xmm0
jbe 0x140018a2f
xorps xmm7, xmm7
movss xmm14, dword [0x1400815e8]
ucomiss xmm10, xmm9
jp 0x140018a40
je 0x140018a48
ucomiss xmm10, xmm11
jp 0x140018a50
jne 0x140018a50
movss xmm6, dword [rsp + 0x30]
jmp 0x140018a85
comiss xmm10, xmm11
jbe 0x140018a65
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x140018a6e
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x140018a82
comiss xmm9, xmm0
jbe 0x140018a85
xorps xmm6, xmm6
movss xmm0, dword [0x1400814a8]
comiss xmm0, xmm7
jbe 0x140018b34
comiss xmm0, xmm6
jbe 0x140018b34
mov rax, qword [rsi + 0x70]
bt rax, rbx
jae 0x140018b34
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 8
call fcn.14006df30
lea rcx, [0x140018440]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140018d30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140018b8e
cmp dword [rsp + 0x48], 0
je 0x140018b82
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140018b82
movss xmm5, dword [rsp + 0x30]
mov rax, qword [0x140188ac8]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
divss xmm5, xmm0
movss xmm1, dword [0x14008143c]
movaps xmm2, xmm1
subss xmm2, xmm5
addss xmm2, xmm1
divss xmm7, xmm2
divss xmm6, xmm2
ucomiss xmm8, xmm12
jp 0x140018b6d
je 0x140018bbf
comiss xmm8, xmm12
jbe 0x140018b9f
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x140018ba8
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movaps xmm7, xmm8
subss xmm7, xmm12
movaps xmm0, xmm7
addss xmm0, xmm12
comiss xmm0, xmm15
ja 0x140018bbc
comiss xmm9, xmm0
jbe 0x140018bbf
xorps xmm7, xmm7
ucomiss xmm10, xmm9
jp 0x140018bc7
je 0x140018c04
ucomiss xmm10, xmm11
jp 0x140018bcf
je 0x140018c04
comiss xmm10, xmm11
jbe 0x140018be4
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x140018bed
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x140018c01
comiss xmm9, xmm0
jbe 0x140018c04
xorps xmm6, xmm6
cvttss2si r8, xmm6
cvttss2si rdx, xmm7
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006df10
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x48]
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]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret