Function at 0x140017820
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.140017b10
mov rcx, rsi
call fcn.14001c630
test byte [rax + 0x18], 1
jne 0x14001786c
add rax, 0x18
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x14001787e
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140017e30
test byte [rsp + 0x40], 1
jne 0x14001792f
movzx eax, byte [rsp + 0x20]
test al, 1
je 0x140017899
mov rax, qword [rsp + 0x28]
jmp 0x14001789b
shr eax, 1
test rax, rax
je 0x140017af5
lea rcx, [rsp + 0x20]
call fcn.140017ea0
test al, al
jne 0x14001794a
lea rsi, [0x1422539f8]
mov rcx, rsi
call fcn.14001b430
mov rdi, qword [str.H0_B]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rdi
call fcn.140017fa0
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140017750
lea rdx, str._enabled
mov r8d, 8
mov rcx, rdi
call fcn.140017fa0
mov rcx, rdi
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
test byte [rbx], 1
jne 0x14001793e
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.14001c620
jmp 0x140017889
mov rcx, qword [rsp + 0x30]
call fcn.14001c620
jmp 0x14001791b
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.140017b10
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.140023380
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.140018770
mov rcx, rsi
call fcn.1400182f0
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.140017b10
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140017b10
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.1400187e0
mov rcx, rsi
call fcn.1400182f0
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140017b10
lea rsi, [0x1422539f8]
mov rcx, rsi
call fcn.14001b430
mov rbx, qword [str.H0_B]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.140017f70
mov rcx, rbx
mov rdx, rbp
call fcn.140017750
mov rcx, rbx
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
mov rcx, rsi
call fcn.14001b430
mov rcx, rbx
mov rdx, r15
call fcn.140017f70
mov rcx, rbx
mov rdx, r13
call fcn.140017750
mov rcx, rbx
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
mov rcx, rsi
call fcn.14001b430
mov rcx, rbx
mov rdx, r15
call fcn.140017f70
mov rcx, rbx
mov rdx, r12
call fcn.140017750
mov rcx, rbx
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
mov rcx, rsi
call fcn.14001b430
mov rcx, rbx
mov rdx, r15
call fcn.140017f70
mov rcx, rbx
mov rdx, r14
call fcn.140017750
mov rcx, rbx
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
mov rcx, rsi
call fcn.14001b430
mov rcx, rbx
mov rdx, r15
call fcn.140017f70
mov rcx, rbx
mov rdx, rdi
call fcn.140017750
mov rcx, rbx
call fcn.140017b90
mov rcx, rsi
call fcn.14001b410
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
lea rdx, str.pikafish.nnue
lea rcx, [rsp + 0x20]
call fcn.140027920
jmp 0x1400178a4