Function at 0x140030a50
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 [0x1400d2718]
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 0x140030a9c
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, [0x14009ba54]
lea rcx, [rbp - 0x60]
call fcn.14002a310
mov r12, qword [r14 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 9
jb 0x140030d89
mov r13, r14
cmp qword [r14 + 0x18], 8
jb 0x140030afd
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 0x140030bb3
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x140030b47
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140030b71
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140030d95
add rcx, rcx
cmp rcx, 0x1000
jb 0x140030b9d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140030d95
mov rcx, rax
call fcn.140073318
test rax, rax
je 0x140030d8f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140030bae
test rcx, rcx
je 0x140030bac
call fcn.140073318
mov rdi, rax
jmp 0x140030bae
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 [0x14009edb8]
mov word [rdi + 0x10], ax
lea rcx, [rdi + 0x12]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1400756a0
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 0x140030bf2
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.14002a540
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 0x140030c7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d8f
call fcn.140073354
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 0x140030cb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140030cb9
test ebx, ebx
jg 0x140030c83
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 0x140030d3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d83
call fcn.140073354
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
mov rcx, r14
call fcn.140027cd0
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400737e0
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.140079cfc
nop
call fcn.140028140
int3
call fcn.140079cfc
int3
call fcn.140027b80
int3