Function at 0x14001da00
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov byte [rsp + 0x40], 0x10
movabs rax, 0x656c69466c617645
mov qword [rsp + 0x41], rax
mov byte [rsp + 0x49], 0
lea rcx, [rsp + 0x40]
call fcn.1400225e0
test byte [rax + 0x18], 1
jne 0x14001dbcd
add rax, 0x18
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
vmovups xmm0, xmmword [rax]
vmovaps xmmword [rsp + 0x20], xmm0
test byte [rsp + 0x40], 1
jne 0x14001dbe4
movzx ecx, byte [rsp + 0x20]
mov edx, ecx
shr edx, 1
and cl, 1
mov r9, qword [rsp + 0x28]
mov rax, r9
cmove rax, rdx
test rax, rax
je 0x14001dbff
movzx r10d, byte [0x14220a5d0]
mov eax, r10d
shr eax, 1
test r10b, 1
mov r8, qword [0x14220a5d8]
mov r11, r8
cmove r11, rax
test cl, cl
cmovne rdx, r9
cmp r11, rdx
jne 0x14001dc3a
lea rdi, [rsp + 0x21]
mov rdx, rdi
test cl, cl
je 0x14001dac2
mov rdx, qword [rsp + 0x30]
test r10b, 1
jne 0x14001dc26
cmp r10b, 2
jb 0x14001daf8
xor ecx, ecx
lea r8, [0x14220a5d0]
nop dword [rax + rax]
movzx r9d, byte [rcx + r8 + 1]
cmp r9b, byte [rdx + rcx]
jne 0x14001dc3a
inc rcx
cmp rax, rcx
jne 0x14001dae0
lea rsi, [0x14225ba78]
mov rcx, rsi
call fcn.1400214e0
mov rbx, qword [0x1400dc700]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rbx
call fcn.14001dec0
movzx eax, byte [rsp + 0x20]
mov r8d, eax
shr r8d, 1
test al, 1
cmovne rdi, qword [rsp + 0x30]
cmovne r8, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.14001dec0
lea rdx, str._enabled
mov r8d, 8
mov rcx, rbx
call fcn.14001dec0
mov rax, qword [rbx]
mov rdx, qword [rax - 0x18]
add rdx, rbx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001e050
mov rdx, qword [0x1400cb228]
mov rcx, rdi
call fcn.14001e160
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov ebp, eax
mov rcx, rdi
call fcn.14001e030
mov rcx, rbx
mov edx, ebp
call fcn.14001e360
mov rcx, rbx
call fcn.14001e290
mov rcx, rsi
call fcn.1400214c0
test byte [rsp + 0x20], 1
jne 0x14001dbf3
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14001ddf0
jmp 0x14001da57
mov rcx, qword [rsp + 0x50]
call fcn.140022890
jmp 0x14001da62
mov rcx, qword [rsp + 0x30]
call fcn.140022890
jmp 0x14001dbb9
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.140030930
movzx edx, byte [rsi]
mov r9, qword [rsi + 8]
mov ecx, edx
and cl, 1
shr edx, 1
jmp 0x14001da83
mov rcx, qword [0x14220a5e0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x14001daf8
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.140022c70
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.14002b150
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.14001e4c0
mov rcx, rsi
call fcn.14001e210
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.140022c70
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140022c70
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.14001e530
mov rcx, rsi
call fcn.14001e210
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140022c70
lea rsi, [0x14225ba78]
mov rcx, rsi
call fcn.1400214e0
mov rbx, qword [0x1400dc700]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.14001de90
mov rcx, rbx
mov rdx, rbp
call fcn.14001de60
mov rcx, rbx
call fcn.14001e220
mov rcx, rsi
call fcn.1400214c0
mov rcx, rsi
call fcn.1400214e0
mov rcx, rbx
mov rdx, r15
call fcn.14001de90
mov rcx, rbx
mov rdx, r13
call fcn.14001de60
mov rcx, rbx
call fcn.14001e220
mov rcx, rsi
call fcn.1400214c0
mov rcx, rsi
call fcn.1400214e0
mov rcx, rbx
mov rdx, r15
call fcn.14001de90
mov rcx, rbx
mov rdx, r12
call fcn.14001de60
mov rcx, rbx
call fcn.14001e220
mov rcx, rsi
call fcn.1400214c0
mov rcx, rsi
call fcn.1400214e0
mov rcx, rbx
mov rdx, r15
call fcn.14001de90
mov rcx, rbx
mov rdx, r14
call fcn.14001de60
mov rcx, rbx
call fcn.14001e220
mov rcx, rsi
call fcn.1400214c0
mov rcx, rsi
call fcn.1400214e0
mov rcx, rbx
mov rdx, r15
call fcn.14001de90
mov rcx, rbx
mov rdx, rdi
call fcn.14001de60
mov rcx, rbx
call fcn.14001e220
mov rcx, rsi
call fcn.1400214c0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3