Function at 0x140009990
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov edi, 0x2710
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400099ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x60]
call fcn.14004a790
mov r8d, esi
lea rdx, [0x140083530]
lea rcx, [rbp - 0x60]
call fcn.140002440
nop
movdqa xmm0, xmmword [0x140089580]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
mov dword [rsp + 0x40], 1
mov rdx, qword [rbx + 0x10]
add rdx, 9
lea rcx, [rsp + 0x78]
call fcn.140002b90
mov r8d, 9
lea rdx, str..pipe_
lea rcx, [rsp + 0x78]
call fcn.140002c50
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140009a63
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140002c50
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140009a80
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140002c50
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140009b00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c54
call fcn.14002bf04
nop dword [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0xa
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140009b3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140009b3d
test edi, edi
jg 0x140009b00
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
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 [r14 + 8], rax
cmp rax, 0xffffffffffffffff
setne dil
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140009bc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c48
call fcn.14002bf04
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140009c11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009c0c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009c4e
mov rcx, r8
call fcn.14002bf04
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14002bee0
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
int3