Function at 0x14000caf0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14007f058]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000cb3c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov r8d, edi
lea rdx, [0x14005f6e4]
lea rcx, [rbp - 0x60]
call fcn.140001910
mov r12, qword [r14 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 9
jb 0x14000ce29
mov r13, r14
cmp qword [r14 + 0x18], 8
jb 0x14000cb9d
mov r13, qword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r15, [r12 + 9]
mov esi, 7
lea rdi, [rsp + 0x78]
lea eax, [rsi + 3]
cmp r15, rsi
jbe 0x14000cc53
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x14000cbe7
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000cc11
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000ce35
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000cc3d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000ce35
mov rcx, rax
call fcn.1400379bc
test rax, rax
je 0x14000ce2f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000cc4e
test rcx, rcx
je 0x14000cc4c
call fcn.1400379bc
mov rdi, rax
jmp 0x14000cc4e
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [str..pipe_]
movups xmmword [rdi], xmm0
movzx eax, word [0x1400629c0]
mov word [rdi + 0x10], ax
lea rcx, [rdi + 0x12]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.140039c70
xor esi, esi
mov word [rdi + r15*2], si
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000cc92
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140002890
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000cd1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce2f
call fcn.1400379f8
mov edi, 0xa
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, edi
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14000cd59
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000cd59
test ebx, ebx
jg 0x14000cd23
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rsi
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 rcx, qword [rsp + 0x48]
mov qword [rcx + 8], rax
cmp rax, 0xffffffffffffffff
setne bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000cdde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cdd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce23
call fcn.1400379f8
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
mov rcx, r14
call fcn.140002680
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140037b10
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14003e524
nop
call fcn.1400026f0
int3
call fcn.14003e524
int3
call fcn.140002620
int3