Function at 0x140018240
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
lea rdx, str.EvalFile
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.140018540
mov rcx, rsi
call fcn.14001cf00
test byte [rax + 0x18], 1
jne 0x14001828c
add rax, 0x18
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x14001829e
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140018860
test byte [rsp + 0x40], 1
jne 0x140018356
movzx eax, byte [rsp + 0x20]
test al, 1
je 0x1400182b9
mov rax, qword [rsp + 0x28]
jmp 0x1400182bb
shr eax, 1
test rax, rax
je 0x140018371
lea rcx, [0x142202590]
lea rdx, [rsp + 0x20]
call fcn.1400188d0
test al, al
je 0x140018387
lea rsi, [0x142255a08]
mov rcx, rsi
call fcn.14001be10
mov rdi, qword [str.XP_B]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rdi
call fcn.1400189c0
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140018170
lea rdx, str._enabled
mov r8d, 8
mov rcx, rdi
call fcn.1400189c0
mov rcx, rdi
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
test byte [rbx], 1
jne 0x140018365
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x50]
call fcn.14001d1b0
jmp 0x1400182a9
mov rcx, qword [rsp + 0x30]
call fcn.14001d1b0
jmp 0x140018342
lea rdx, str.pikafish.nnue
lea rcx, [rsp + 0x20]
call fcn.140029170
jmp 0x1400182c4
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.140018540
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.140024cb0
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.140019190
mov rcx, rsi
call fcn.140018d10
lea rdx, str.The_UCI_option_EvalFile_might_need_to_specify_the_full_path__including_the_directory_name__to_the_network_file.
lea r12, [rsp + 0x70]
mov rcx, r12
call fcn.140018540
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140018540
lea rdx, str.The_default_net_can_be_downloaded_from:_https:__github.com_official_pikafish_Networks_releases_download_master_net_
lea r14, [rsp + 0x88]
mov rcx, r14
mov r8, rsi
call fcn.140019200
mov rcx, rsi
call fcn.140018d10
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140018540
lea rsi, [0x142255a08]
mov rcx, rsi
call fcn.14001be10
mov rbx, qword [str.XP_B]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.140018990
mov rcx, rbx
mov rdx, rbp
call fcn.140018170
mov rcx, rbx
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
mov rcx, rsi
call fcn.14001be10
mov rcx, rbx
mov rdx, r15
call fcn.140018990
mov rcx, rbx
mov rdx, r13
call fcn.140018170
mov rcx, rbx
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
mov rcx, rsi
call fcn.14001be10
mov rcx, rbx
mov rdx, r15
call fcn.140018990
mov rcx, rbx
mov rdx, r12
call fcn.140018170
mov rcx, rbx
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
mov rcx, rsi
call fcn.14001be10
mov rcx, rbx
mov rdx, r15
call fcn.140018990
mov rcx, rbx
mov rdx, r14
call fcn.140018170
mov rcx, rbx
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
mov rcx, rsi
call fcn.14001be10
mov rcx, rbx
mov rdx, r15
call fcn.140018990
mov rcx, rbx
mov rdx, rdi
call fcn.140018170
mov rcx, rbx
call fcn.1400185c0
mov rcx, rsi
call fcn.14001bdf0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3