Function at 0x140018250
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x140112028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
mov rbx, qword [0x14020da40]
cmp byte [rbx + 0x2fc], r13b
je 0x140018a04
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 0x14001832f
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140018337
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [rbx + 0x328], r13b
je 0x140018354
movd xmm1, dword [rbx + 0x32c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x140018a04
lea r14, [rsi + 0x80]
cmp byte [rbx + 0x331], r13b
je 0x14001836f
cmp dword [r14], 0x1e
jge 0x14001836f
mov r8b, 1
jmp 0x140018372
xor r8b, r8b
mov eax, dword [r15 + 0x80]
cmp byte [rbx + 0x332], r13b
je 0x14001838b
cmp dword [r14], eax
jle 0x14001838b
mov dl, 1
jmp 0x14001838d
xor dl, dl
cmp byte [rbx + 0x330], r13b
je 0x1400183d3
test r8b, r8b
je 0x14001839f
test dl, dl
jne 0x1400183c9
mov ecx, dword [rbx + 0x364]
test ecx, ecx
je 0x1400183b3
cmp ecx, 1
jne 0x1400183c0
mov dword [rdi], r13d
jmp 0x1400183b9
mov dword [rdi], 6
mov rbx, qword [0x14020da40]
test r8b, r8b
jne 0x1400183c9
test dl, dl
je 0x1400183d3
mov dword [rdi], r13d
mov rbx, qword [0x14020da40]
mov ecx, dword [rbx + 0x308]
test ecx, ecx
je 0x140018401
sub ecx, 1
je 0x1400183f9
sub ecx, 1
je 0x1400183f1
cmp ecx, 1
jne 0x140018407
mov dword [rdi], r13d
jmp 0x140018407
mov dword [rdi], 4
jmp 0x140018407
mov dword [rdi], 5
jmp 0x140018407
mov dword [rdi], 6
cmp qword [rsi + 0x68], r13
jne 0x140018435
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038f0
mov qword [rsp + 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
lea rbp, [rsi + 0xf0]
jmp 0x140018449
lea rbp, [rsi + 0xf0]
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140013c30
mov rbx, qword [rsp + 0x48]
movss xmm11, dword [0x1400ff450]
movaps xmm0, xmm11
subss xmm0, dword [rbx + 0xa0]
movss xmm7, dword [0x1400ff318]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movss xmm12, dword [0x1400ff460]
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 0x1400184a5
sqrtss xmm6, xmm6
jmp 0x1400184b0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x48]
call fcn.140011f40
movss xmm1, dword [0x1400ff470]
mov ebx, dword [rsp + 0x198]
comiss xmm1, xmm6
jbe 0x140018568
mov rax, qword [0x14020da40]
cmp byte [rax + 0x304], r13b
je 0x1400184fd
mov rax, qword [rsi + 0x70]
bt rax, rbx
jb 0x1400184fd
mov edx, dword [rsp + 0x190]
mov rax, qword [r15 + 0x70]
bt rax, rdx
jae 0x140018568
cmp qword [rsi + 0x68], r13
jne 0x140018524
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038f0
mov qword [rsp + 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
jmp 0x140018531
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.140013c30
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.140011f40
cmp dword [rdi], 6
jne 0x140018568
addss xmm14, dword [0x1400ff4a8]
ucomiss xmm9, xmm13
jp 0x140018584
jne 0x140018584
ucomiss xmm9, xmm15
jp 0x140018584
jne 0x140018584
ucomiss xmm9, xmm14
jp 0x140018584
je 0x140018a04
cmp byte [0x1402096e8], r13b
jne 0x140018a04
cmp dword [r14], r13d
jle 0x140018a04
movaps xmm10, xmm14
subss xmm10, dword [r12 + 8]
movaps xmm7, xmm15
subss xmm7, dword [r12 + 4]
movaps xmm8, xmm13
subss xmm8, dword [r12]
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1400ff320]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm7
movsd xmm1, qword [0x1400ff320]
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 0x1400185f7
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400185ff
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 [0x1400ff358]
movss xmm1, dword [r15 + 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 [0x1400ff6c0]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, qword [0x1400ff358]
movss xmm0, dword [r15 + 0x148]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtpd2ps xmm6, xmm2
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1400ff320]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm0, xmm6
movsd xmm1, qword [0x1400ff320]
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 0x1400186ab
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400186b3
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 [0x140209868]
movss xmm3, dword [rax + 0x10]
mulss xmm3, dword [0x1400ff278]
movss xmm4, dword [rax + 0x14]
mulss xmm4, dword [0x1400ff278]
movaps xmm2, xmm13
mov rax, qword [0x14020d9f0]
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 [0x1400ff2b0]
comisd xmm0, xmm1
jae 0x140018798
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 [0x14020da40]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x140018a04
movss xmm15, dword [0x1400ff474]
ucomiss xmm8, xmm12
jp 0x1400187d5
jne 0x1400187d5
movss xmm7, dword [rsp + 0x30]
movss xmm13, dword [0x1400ff6c0]
jmp 0x140018813
movss xmm13, dword [0x1400ff6c0]
comiss xmm8, xmm12
jbe 0x1400187f3
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x1400187fc
movaps xmm7, xmm8
subss xmm7, xmm12
movaps xmm0, xmm7
addss xmm0, xmm12
comiss xmm0, xmm15
ja 0x140018810
comiss xmm9, xmm0
jbe 0x140018813
xorps xmm7, xmm7
movss xmm14, dword [0x1400ff468]
ucomiss xmm10, xmm9
jp 0x140018824
je 0x14001882c
ucomiss xmm10, xmm11
jp 0x140018834
jne 0x140018834
movss xmm6, dword [rsp + 0x30]
jmp 0x140018869
comiss xmm10, xmm11
jbe 0x140018849
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x140018852
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x140018866
comiss xmm9, xmm0
jbe 0x140018869
xorps xmm6, xmm6
movss xmm0, dword [0x1400ff318]
comiss xmm0, xmm7
jbe 0x140018918
comiss xmm0, xmm6
jbe 0x140018918
mov rax, qword [rsi + 0x70]
bt rax, rbx
jae 0x140018918
mov qword [rsp + 0x20], r13
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.1400cfde0
lea rcx, [0x140018210]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140018b20]
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 0x140018972
cmp dword [rsp + 0x48], 0
je 0x140018966
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 0x140018966
movss xmm5, dword [rsp + 0x30]
mov rax, qword [0x14020da40]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
divss xmm5, xmm0
movss xmm1, dword [0x1400ff2ac]
movaps xmm2, xmm1
subss xmm2, xmm5
addss xmm2, xmm1
divss xmm7, xmm2
divss xmm6, xmm2
ucomiss xmm8, xmm12
jp 0x140018951
je 0x1400189a3
comiss xmm8, xmm12
jbe 0x140018983
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x14001898c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], r13d
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 0x1400189a0
comiss xmm9, xmm0
jbe 0x1400189a3
xorps xmm7, xmm7
ucomiss xmm10, xmm9
jp 0x1400189ab
je 0x1400189e8
ucomiss xmm10, xmm11
jp 0x1400189b3
je 0x1400189e8
comiss xmm10, xmm11
jbe 0x1400189c8
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x1400189d1
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x1400189e5
comiss xmm9, xmm0
jbe 0x1400189e8
xorps xmm6, xmm6
cvttss2si r8, xmm6
cvttss2si rdx, xmm7
mov qword [rsp + 0x20], r13
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.1400cfdc0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x58]
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 r13
pop r12
pop rdi
pop rsi
pop rbp
ret