Function at 0x14000d400
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400a6088]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov r14d, 0x2710
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000d459
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x60]
call fcn.140053760
mov r8d, ebx
lea rdx, [0x14008c688]
lea rcx, [rbp - 0x60]
call fcn.140004580
nop
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x40], 1
mov rdx, qword [rsi + 0x10]
add rdx, 9
lea rcx, [rsp + 0x58]
call fcn.140005550
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14000d4f7
lea rdi, [rcx + 9]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rcx*2]
mov r8d, 0x12
lea rdx, str..pipe_
call fcn.140053920
mov word [rbx + rdi*2], r12w
jmp 0x14000d516
mov qword [rsp + 0x20], 9
lea r9, str..pipe_
mov edx, 9
lea rcx, [rsp + 0x58]
call fcn.140005a70
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000d523
mov r9, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000d56b
lea rdi, [rcx + rdx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp r8, 8
cmovae rbx, qword [rsp + 0x58]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call fcn.140053920
mov word [rbx + rdi*2], r12w
jmp 0x14000d57a
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x58]
call fcn.140005a70
lea rax, [rbp - 0x60]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14000d585
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000d5d9
lea rdi, [rcx + rdx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp r8, 8
cmovae rbx, qword [rsp + 0x58]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
lea rdx, [rbp - 0x60]
call fcn.140053920
mov word [rbx + rdi*2], r12w
lea rax, [rsp + 0x58]
jmp 0x14000d5ec
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140005a70
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000d650
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d649
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d79a
call fcn.1400352b4
nop
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub r14d, 0xa
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14000d68e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000d68e
test r14d, r14d
jg 0x14000d650
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r15 + 8], rax
cmp rax, 0xffffffffffffffff
setne bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000d710
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d70b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d78e
call fcn.1400352b4
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000d75d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000d758
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d794
mov rcx, r8
call fcn.1400352b4
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140035290
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
int3