Function at 0x140087600
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 rdx, [rsp + 0x40]
mov qword [rsp + 0x58], rdx
lea rcx, [rsp + 0x20]
lea r8, [rsp + 0x58]
call fcn.140086c10
mov rax, qword [rsp + 0x20]
test byte [rax + 0x50], 1
jne 0x14008772a
add rax, 0x50
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
vmovups xmm0, xmmword [rax]
vmovaps xmmword [rsp + 0x20], xmm0
test byte [rsp + 0x40], 1
je 0x14008767c
mov rcx, qword [rsp + 0x50]
call fcn.1400061e0
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
jne 0x1400876bb
lea rdx, str.pikafish.nnue
lea rcx, [rsp + 0x20]
call fcn.140008fe0
movzx edx, byte [rsp + 0x20]
mov r9, qword [rsp + 0x28]
mov ecx, edx
and cl, 1
shr edx, 1
movzx r10d, byte [0x142208570]
mov eax, r10d
shr eax, 1
test r10b, 1
mov r8, qword [0x142208578]
mov r11, r8
cmove r11, rax
test cl, cl
cmovne rdx, r9
cmp r11, rdx
jne 0x14008788f
lea rdi, [rsp + 0x21]
mov rdx, rdi
test cl, cl
je 0x1400876fa
mov rdx, qword [rsp + 0x30]
test r10b, 1
jne 0x14008774d
cmp r10b, 2
jb 0x140087761
xor ecx, ecx
lea r8, [0x142208570]
nop
movzx r9d, byte [rcx + r8 + 1]
cmp r9b, byte [rdx + rcx]
jne 0x14008788f
inc rcx
cmp rax, rcx
jne 0x140087710
jmp 0x140087761
mov rsi, qword [rax + 0x58]
mov rdi, qword [rax + 0x60]
cmp rsi, 0x16
ja 0x140087841
lea rcx, [rsp + 0x21]
lea eax, [rsi + rsi]
mov byte [rsp + 0x20], al
jmp 0x140087871
mov rcx, qword [0x142208580]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x14008788f
lea rsi, [0x1422599f8]
mov rcx, rsi
call fcn.140006890
mov rbx, qword [0x1400daca0]
lea rdx, str.info_string_NNUE_evaluation_using
mov r8d, 0x22
mov rcx, rbx
call fcn.140085700
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.140085700
lea rdx, str._enabled
mov r8d, 8
mov rcx, rbx
call fcn.140085700
mov rax, qword [rbx]
mov rdx, qword [rax - 0x18]
add rdx, rbx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140010700
mov rdx, qword [0x1400c8228]
mov rcx, rdi
call fcn.140040a60
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov ebp, eax
mov rcx, rdi
call fcn.1400401c0
mov rcx, rbx
mov edx, ebp
call fcn.1400157b0
mov rcx, rbx
call fcn.140011b00
mov rcx, rsi
call fcn.1400068e0
test byte [rsp + 0x20], 1
je 0x14008782c
mov rcx, qword [rsp + 0x30]
call fcn.1400061e0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rsi, 0xfffffffffffffff0
jae 0x140087a3d
mov rbx, rsi
or rbx, 0xf
lea rcx, [rbx + 1]
call fcn.140006100
mov rcx, rax
mov qword [rsp + 0x30], rax
add rbx, 2
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rsi
inc rsi
mov rdx, rdi
mov r8, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
test byte [rsp + 0x40], 1
jne 0x140087672
jmp 0x14008767c
lea rdx, str.Network_evaluation_parameters_compatible_with_the_engine_must_be_available.
lea rbp, [rsp + 0x40]
mov rcx, rbp
call fcn.1400863d0
lea rdx, str.The_network_file
lea rsi, [rsp + 0x88]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.14000c010
lea r13, [rsp + 0x58]
mov rcx, r13
mov rdx, rsi
call fcn.140087a50
mov rcx, rsi
call fcn.1400077b0
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 + 0x88]
mov rcx, r12
call fcn.1400863d0
lea rdx, str.pikafish.nnue
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.1400863d0
lea rdx, str.The_default_net_can_be_downloaded_from:_https:__github.com_official_pikafish_Networks_releases_download_master_net_
lea r14, [rsp + 0xa0]
mov rcx, r14
mov r8, rsi
call fcn.140087a90
mov rcx, rsi
call fcn.1400077b0
lea rdx, str.The_engine_will_be_terminated_now.
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1400863d0
lea rsi, [0x1422599f8]
mov rcx, rsi
call fcn.140006890
mov rbx, qword [0x1400daca0]
lea r15, str.info_string_ERROR:
mov rcx, rbx
mov rdx, r15
call fcn.140084a10
mov rcx, rbx
mov rdx, rbp
call fcn.140084a40
mov rcx, rbx
call fcn.140084a70
mov rcx, rsi
call fcn.1400068e0
mov rcx, rsi
call fcn.140006890
mov rcx, rbx
mov rdx, r15
call fcn.140084a10
mov rcx, rbx
mov rdx, r13
call fcn.140084a40
mov rcx, rbx
call fcn.140084a70
mov rcx, rsi
call fcn.1400068e0
mov rcx, rsi
call fcn.140006890
mov rcx, rbx
mov rdx, r15
call fcn.140084a10
mov rcx, rbx
mov rdx, r12
call fcn.140084a40
mov rcx, rbx
call fcn.140084a70
mov rcx, rsi
call fcn.1400068e0
mov rcx, rsi
call fcn.140006890
mov rcx, rbx
mov rdx, r15
call fcn.140084a10
mov rcx, rbx
mov rdx, r14
call fcn.140084a40
mov rcx, rbx
call fcn.140084a70
mov rcx, rsi
call fcn.1400068e0
mov rcx, rsi
call fcn.140006890
mov rcx, rbx
mov rdx, r15
call fcn.140084a10
mov rcx, rbx
mov rdx, rdi
call fcn.140084a40
mov rcx, rbx
call fcn.140084a70
mov rcx, rsi
call fcn.1400068e0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
lea rcx, [rsp + 0x20]
call fcn.1400846f0
int3