Function at 0x14001c9c0
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.140021ab0
test byte [rax + 0x18], 1
jne 0x14001cb8d
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 0x14001cba4
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 0x14001cbbf
movzx r10d, byte [0x142209590]
mov eax, r10d
shr eax, 1
test r10b, 1
mov r8, qword [0x142209598]
mov r11, r8
cmove r11, rax
test cl, cl
cmovne rdx, r9
cmp r11, rdx
jne 0x14001cbfa
lea rdi, [rsp + 0x21]
mov rdx, rdi
test cl, cl
je 0x14001ca82
mov rdx, qword [rsp + 0x30]
test r10b, 1
jne 0x14001cbe6
cmp r10b, 2
jb 0x14001cab8
xor ecx, ecx
lea r8, [0x142209590]
nop dword [rax + rax]
movzx r9d, byte [rcx + r8 + 1]
cmp r9b, byte [rdx + rcx]
jne 0x14001cbfa
inc rcx
cmp rax, rcx
jne 0x14001caa0
lea rsi, [0x14225aa38]
mov rcx, rsi
call fcn.1400209c0
mov rbx, qword [0x1400db5d0]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rbx
call fcn.14001ce70
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.14001ce70
lea rdx, str._enabled
mov r8d, 8
mov rcx, rbx
call fcn.14001ce70
mov rax, qword [rbx]
mov rdx, qword [rax - 0x18]
add rdx, rbx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001d0d0
mov rdx, qword [0x1400c9228]
mov rcx, rdi
call fcn.14001d0f0
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov ebp, eax
mov rcx, rdi
call fcn.14001d0b0
mov rcx, rbx
mov edx, ebp
call fcn.14001d2f0
mov rcx, rbx
call fcn.14001d220
mov rcx, rsi
call fcn.1400209a0
test byte [rsp + 0x20], 1
jne 0x14001cbb3
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.14001cdd0
jmp 0x14001ca17
mov rcx, qword [rsp + 0x50]
call fcn.140021d70
jmp 0x14001ca22
mov rcx, qword [rsp + 0x30]
call fcn.140021d70
jmp 0x14001cb79
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.14002bd40
movzx edx, byte [rsi]
mov r9, qword [rsi + 8]
mov ecx, edx
and cl, 1
shr edx, 1
jmp 0x14001ca43
mov rcx, qword [0x1422095a0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x14001cab8
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.14002a9e0
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.140029810
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.14001d490
mov rcx, rsi
call fcn.14001d1a0
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.14002a9e0
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.14002a9e0
lea r14, [rsp + 0x88]
mov rcx, r14
mov rdx, rsi
call fcn.14001d450
mov rcx, rsi
call fcn.14001d1a0
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.14002a9e0
lea rsi, [0x14225aa38]
mov rcx, rsi
call fcn.1400209c0
mov rbx, qword [0x1400db5d0]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.14001ce40
mov rcx, rbx
mov rdx, rbp
call fcn.14001cda0
mov rcx, rbx
call fcn.14001d1b0
mov rcx, rsi
call fcn.1400209a0
mov rcx, rsi
call fcn.1400209c0
mov rcx, rbx
mov rdx, r15
call fcn.14001ce40
mov rcx, rbx
mov rdx, r13
call fcn.14001cda0
mov rcx, rbx
call fcn.14001d1b0
mov rcx, rsi
call fcn.1400209a0
mov rcx, rsi
call fcn.1400209c0
mov rcx, rbx
mov rdx, r15
call fcn.14001ce40
mov rcx, rbx
mov rdx, r12
call fcn.14001cda0
mov rcx, rbx
call fcn.14001d1b0
mov rcx, rsi
call fcn.1400209a0
mov rcx, rsi
call fcn.1400209c0
mov rcx, rbx
mov rdx, r15
call fcn.14001ce40
mov rcx, rbx
mov rdx, r14
call fcn.14001cda0
mov rcx, rbx
call fcn.14001d1b0
mov rcx, rsi
call fcn.1400209a0
mov rcx, rsi
call fcn.1400209c0
mov rcx, rbx
mov rdx, r15
call fcn.14001ce40
mov rcx, rbx
mov rdx, rdi
call fcn.14001cda0
mov rcx, rbx
call fcn.14001d1b0
mov rcx, rsi
call fcn.1400209a0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3