Function at 0x14001b360
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.140020480
test byte [rax + 0x18], 1
jne 0x14001b52d
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 0x14001b544
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 0x14001b55f
movzx r10d, byte [0x142207570]
mov eax, r10d
shr eax, 1
test r10b, 1
mov r8, qword [0x142207578]
mov r11, r8
cmove r11, rax
test cl, cl
cmovne rdx, r9
cmp r11, rdx
jne 0x14001b59a
lea rdi, [rsp + 0x21]
mov rdx, rdi
test cl, cl
je 0x14001b422
mov rdx, qword [rsp + 0x30]
test r10b, 1
jne 0x14001b586
cmp r10b, 2
jb 0x14001b458
xor ecx, ecx
lea r8, [0x142207570]
nop dword [rax + rax]
movzx r9d, byte [rcx + r8 + 1]
cmp r9b, byte [rdx + rcx]
jne 0x14001b59a
inc rcx
cmp rax, rcx
jne 0x14001b440
lea rsi, [0x1422589f8]
mov rcx, rsi
call fcn.14001f390
mov rbx, qword [0x1400d9320]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rbx
call fcn.14001b820
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.14001b820
lea rdx, str._enabled
mov r8d, 8
mov rcx, rbx
call fcn.14001b820
mov rax, qword [rbx]
mov rdx, qword [rax - 0x18]
add rdx, rbx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001b9b0
mov rdx, qword [0x1400c7228]
mov rcx, rdi
call fcn.14001bac0
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov ebp, eax
mov rcx, rdi
call fcn.14001b990
mov rcx, rbx
mov edx, ebp
call fcn.14001bcc0
mov rcx, rbx
call fcn.14001bbf0
mov rcx, rsi
call fcn.14001f370
test byte [rsp + 0x20], 1
jne 0x14001b553
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.14001b750
jmp 0x14001b3b7
mov rcx, qword [rsp + 0x50]
call fcn.140020740
jmp 0x14001b3c2
mov rcx, qword [rsp + 0x30]
call fcn.140020740
jmp 0x14001b519
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.14002bd60
movzx edx, byte [rsi]
mov r9, qword [rsi + 8]
mov ecx, edx
and cl, 1
shr edx, 1
jmp 0x14001b3e3
mov rcx, qword [0x142207580]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x14001b458
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.1400316c0
lea rdx, str.The_network_file
lea rsi, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.14002a4f0
lea r13, [rsp + 0xa0]
mov rcx, r13
mov rdx, rsi
call fcn.14001be20
mov rcx, rsi
call fcn.14001bb70
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.1400316c0
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.1400316c0
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.14001be90
mov rcx, rsi
call fcn.14001bb70
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.1400316c0
lea rsi, [0x1422589f8]
mov rcx, rsi
call fcn.14001f390
mov rbx, qword [0x1400d9320]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.14001b7f0
mov rcx, rbx
mov rdx, rbp
call fcn.14001b7c0
mov rcx, rbx
call fcn.14001bb80
mov rcx, rsi
call fcn.14001f370
mov rcx, rsi
call fcn.14001f390
mov rcx, rbx
mov rdx, r15
call fcn.14001b7f0
mov rcx, rbx
mov rdx, r13
call fcn.14001b7c0
mov rcx, rbx
call fcn.14001bb80
mov rcx, rsi
call fcn.14001f370
mov rcx, rsi
call fcn.14001f390
mov rcx, rbx
mov rdx, r15
call fcn.14001b7f0
mov rcx, rbx
mov rdx, r12
call fcn.14001b7c0
mov rcx, rbx
call fcn.14001bb80
mov rcx, rsi
call fcn.14001f370
mov rcx, rsi
call fcn.14001f390
mov rcx, rbx
mov rdx, r15
call fcn.14001b7f0
mov rcx, rbx
mov rdx, r14
call fcn.14001b7c0
mov rcx, rbx
call fcn.14001bb80
mov rcx, rsi
call fcn.14001f370
mov rcx, rsi
call fcn.14001f390
mov rcx, rbx
mov rdx, r15
call fcn.14001b7f0
mov rcx, rbx
mov rdx, rdi
call fcn.14001b7c0
mov rcx, rbx
call fcn.14001bb80
mov rcx, rsi
call fcn.14001f370
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3