Function at 0x140018120
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.140018420
mov rcx, rsi
call fcn.14001ce50
test byte [rax + 0x18], 1
jne 0x14001816c
add rax, 0x18
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x14001817e
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140018740
test byte [rsp + 0x40], 1
jne 0x140018236
movzx eax, byte [rsp + 0x20]
test al, 1
je 0x140018199
mov rax, qword [rsp + 0x28]
jmp 0x14001819b
shr eax, 1
test rax, rax
je 0x140018251
lea rcx, [0x142201570]
lea rdx, [rsp + 0x20]
call fcn.1400187b0
test al, al
je 0x140018267
lea rsi, [0x1422549e8]
mov rcx, rsi
call fcn.14001bc30
mov rdi, qword [str.8__B]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rdi
call fcn.1400188a0
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140018050
lea rdx, str._enabled
mov r8d, 8
mov rcx, rdi
call fcn.1400188a0
mov rcx, rdi
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
test byte [rbx], 1
jne 0x140018245
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.14001ce40
jmp 0x140018189
mov rcx, qword [rsp + 0x30]
call fcn.14001ce40
jmp 0x140018222
lea rdx, str.pikafish.nnue
lea rcx, [rsp + 0x20]
call fcn.140028740
jmp 0x1400181a4
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.140018420
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.140024450
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.1400190f0
mov rcx, rsi
call fcn.140018bf0
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.140018420
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140018420
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.140019160
mov rcx, rsi
call fcn.140018bf0
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140018420
lea rsi, [0x1422549e8]
mov rcx, rsi
call fcn.14001bc30
mov rbx, qword [str.8__B]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.140018870
mov rcx, rbx
mov rdx, rbp
call fcn.140018050
mov rcx, rbx
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
mov rcx, rsi
call fcn.14001bc30
mov rcx, rbx
mov rdx, r15
call fcn.140018870
mov rcx, rbx
mov rdx, r13
call fcn.140018050
mov rcx, rbx
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
mov rcx, rsi
call fcn.14001bc30
mov rcx, rbx
mov rdx, r15
call fcn.140018870
mov rcx, rbx
mov rdx, r12
call fcn.140018050
mov rcx, rbx
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
mov rcx, rsi
call fcn.14001bc30
mov rcx, rbx
mov rdx, r15
call fcn.140018870
mov rcx, rbx
mov rdx, r14
call fcn.140018050
mov rcx, rbx
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
mov rcx, rsi
call fcn.14001bc30
mov rcx, rbx
mov rdx, r15
call fcn.140018870
mov rcx, rbx
mov rdx, rdi
call fcn.140018050
mov rcx, rbx
call fcn.1400184a0
mov rcx, rsi
call fcn.14001bc10
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3