Function at 0x140018230
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 [0x140112040]
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 [0x14020da98]
cmp byte [rbx + 0x2fc], r15b
je 0x1400189d0
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 0x140018308
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140018310
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [rbx + 0x328], r15b
je 0x14001832d
movd xmm1, dword [rbx + 0x32c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1400189d0
mov eax, dword [rsi + 0x80]
cmp byte [rbx + 0x331], r15b
je 0x140018346
cmp eax, 0x1e
jge 0x140018346
mov r8b, 1
jmp 0x140018349
xor r8b, r8b
cmp byte [rbx + 0x332], r15b
je 0x14001835e
cmp eax, dword [rbp + 0x80]
jle 0x14001835e
mov dl, 1
jmp 0x140018360
xor dl, dl
cmp byte [rbx + 0x330], r15b
je 0x1400183a6
test r8b, r8b
je 0x140018372
test dl, dl
jne 0x14001839c
mov ecx, dword [rbx + 0x364]
test ecx, ecx
je 0x140018386
cmp ecx, 1
jne 0x140018393
mov dword [rdi], r15d
jmp 0x14001838c
mov dword [rdi], 6
mov rbx, qword [0x14020da98]
test r8b, r8b
jne 0x14001839c
test dl, dl
je 0x1400183a6
mov dword [rdi], r15d
mov rbx, qword [0x14020da98]
mov ecx, dword [rbx + 0x308]
test ecx, ecx
je 0x1400183d4
sub ecx, 1
je 0x1400183cc
sub ecx, 1
je 0x1400183c4
cmp ecx, 1
jne 0x1400183da
mov dword [rdi], r15d
jmp 0x1400183da
mov dword [rdi], 4
jmp 0x1400183da
mov dword [rdi], 5
jmp 0x1400183da
mov dword [rdi], 6
cmp qword [rsi + 0x68], r15
jne 0x140018401
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038b0
mov qword [rsp + 0x40], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
jmp 0x140018412
lea rdx, [rsi + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.140013ba0
mov rbx, qword [rsp + 0x48]
movss xmm11, dword [0x1400ff460]
movaps xmm0, xmm11
subss xmm0, dword [rbx + 0xa0]
movss xmm7, dword [0x1400ff328]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movss xmm12, dword [0x1400ff470]
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 0x14001846e
sqrtss xmm6, xmm6
jmp 0x140018479
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x48]
call fcn.140011ec0
movss xmm1, dword [0x1400ff480]
mov ebx, dword [rsp + 0x188]
comiss xmm1, xmm6
jbe 0x140018535
mov rax, qword [0x14020da98]
cmp byte [rax + 0x304], r15b
je 0x1400184c6
mov rax, qword [rsi + 0x70]
bt rax, rbx
jb 0x1400184c6
mov edx, dword [rsp + 0x180]
mov rax, qword [rbp + 0x70]
bt rax, rdx
jae 0x140018535
cmp qword [rsi + 0x68], r15
jne 0x1400184ed
lea rcx, str._evo__player_address_is_0_n
call fcn.1400038b0
mov qword [rsp + 0x60], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
jmp 0x1400184fe
lea rdx, [rsi + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140013ba0
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.140011ec0
cmp dword [rdi], 6
jne 0x140018535
addss xmm14, dword [0x1400ff4b8]
ucomiss xmm9, xmm13
jp 0x140018551
jne 0x140018551
ucomiss xmm9, xmm15
jp 0x140018551
jne 0x140018551
ucomiss xmm9, xmm14
jp 0x140018551
je 0x1400189d0
cmp byte [0x140209748], r15b
jne 0x1400189d0
cmp dword [rsi + 0x80], r15d
jle 0x1400189d0
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 [0x1400ff330]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm7
movsd xmm1, qword [0x1400ff330]
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 0x1400185c5
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400185cd
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 [0x1400ff368]
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 [0x1400ff6d0]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
mulsd xmm2, qword [0x1400ff368]
movss xmm0, dword [rbp + 0x148]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtpd2ps xmm6, xmm2
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1400ff330]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm0, xmm6
movsd xmm1, qword [0x1400ff330]
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 0x140018677
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x14001867f
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 [0x1402098c8]
movss xmm3, dword [rax + 0x10]
mulss xmm3, dword [0x1400ff288]
movss xmm4, dword [rax + 0x14]
mulss xmm4, dword [0x1400ff288]
movaps xmm2, xmm13
mov rax, qword [0x14020da48]
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 [0x1400ff2c0]
comisd xmm0, xmm1
jae 0x140018764
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 [0x14020da98]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x1400189d0
movss xmm15, dword [0x1400ff484]
ucomiss xmm8, xmm12
jp 0x1400187a1
jne 0x1400187a1
movss xmm7, dword [rsp + 0x30]
movss xmm13, dword [0x1400ff6d0]
jmp 0x1400187df
movss xmm13, dword [0x1400ff6d0]
comiss xmm8, xmm12
jbe 0x1400187bf
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x1400187c8
movaps xmm7, xmm8
subss xmm7, xmm12
movaps xmm0, xmm7
addss xmm0, xmm12
comiss xmm0, xmm15
ja 0x1400187dc
comiss xmm9, xmm0
jbe 0x1400187df
xorps xmm7, xmm7
movss xmm14, dword [0x1400ff478]
ucomiss xmm10, xmm9
jp 0x1400187f0
je 0x1400187f8
ucomiss xmm10, xmm11
jp 0x140018800
jne 0x140018800
movss xmm6, dword [rsp + 0x30]
jmp 0x140018835
comiss xmm10, xmm11
jbe 0x140018815
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x14001881e
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x140018832
comiss xmm9, xmm0
jbe 0x140018835
xorps xmm6, xmm6
movss xmm0, dword [0x1400ff328]
comiss xmm0, xmm7
jbe 0x1400188e4
comiss xmm0, xmm6
jbe 0x1400188e4
mov rax, qword [rsi + 0x70]
bt rax, rbx
jae 0x1400188e4
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.1400cfbe0
lea rcx, [0x1400181f0]
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, [0x140018ae0]
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 0x14001893e
cmp dword [rsp + 0x48], 0
je 0x140018932
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 0x140018932
movss xmm5, dword [rsp + 0x30]
mov rax, qword [0x14020da98]
movd xmm0, dword [rax + 0x300]
cvtdq2ps xmm0, xmm0
divss xmm5, xmm0
movss xmm1, dword [0x1400ff2bc]
movaps xmm2, xmm1
subss xmm2, xmm5
addss xmm2, xmm1
divss xmm7, xmm2
divss xmm6, xmm2
ucomiss xmm8, xmm12
jp 0x14001891d
je 0x14001896f
comiss xmm8, xmm12
jbe 0x14001894f
movaps xmm7, xmm12
subss xmm7, xmm8
xorps xmm7, xmm13
jmp 0x140018958
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 0x14001896c
comiss xmm9, xmm0
jbe 0x14001896f
xorps xmm7, xmm7
ucomiss xmm10, xmm9
jp 0x140018977
je 0x1400189b4
ucomiss xmm10, xmm11
jp 0x14001897f
je 0x1400189b4
comiss xmm10, xmm11
jbe 0x140018994
movaps xmm6, xmm11
subss xmm6, xmm10
xorps xmm6, xmm13
jmp 0x14001899d
movaps xmm6, xmm10
subss xmm6, xmm11
movaps xmm0, xmm6
addss xmm0, xmm11
comiss xmm0, xmm14
ja 0x1400189b1
comiss xmm9, xmm0
jbe 0x1400189b4
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.1400cfbc0
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