Function at 0x1400cfd70
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
test r8, r8
je 0x1400d0001
mov rdi, r8
lea r15, [r8 + 0xffff]
and r15, 0xffffffffffff0000
cmp r15, r8
jb 0x1400d0001
mov rax, r15
shr rax, 0x1f
jne 0x1400d0001
mov ebx, edx
test edx, edx
je 0x1400d007b
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x88]
mov qword [rcx], r12
mov qword [rsp + 0x80], r12
movaps xmm6, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov edx, 8
mov r8d, 2
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x1400d0001
lea rcx, [rsp + 0x60]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1400d0001
lea r14, [rsp + 0x60]
lea r8, [rsp + 0x88]
mov rcx, r14
mov edx, 1
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1400d0001
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm6
mov qword [rdx + 0x10], r12
mov dword [rdx], 0x18
mov qword [rdx + 8], r14
mov dword [rdx + 0x10], 0
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], 0
xor ebp, ebp
mov rcx, 0xffffffffffffffff
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x1400d0001
mov r14, rax
lea r15, [rsp + 0xa0]
mov qword [r15], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 7
mov rcx, rax
mov rdx, r14
mov r8, rax
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebp, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x1400d0001
mov r14, qword [rsp + 0xa0]
test r14, r14
je 0x1400d0001
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400d001a
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400d002f
xorps xmm0, xmm0
lea r15, [rsp + 0xa0]
movaps xmmword [r15], xmm0
mov edx, 0x10
mov rcx, r15
call fcn.1400662c0
mov rax, qword [r15]
or rax, qword [r15 + 8]
je 0x1400d007e
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x38], 0
test r14, r14
je 0x1400cffa7
cmp r14, 0xffffffffffffffff
je 0x1400d0022
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov qword [rsp + 0x38], r14
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, rsi
mov r8d, ebx
mov r9, rdi
call fcn.1400bd6a0
xor r14d, r14d
lea rax, [r14 + 1]
cmp rax, 2
jae 0x1400d0048
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14013d520
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor eax, eax
mov qword [rsi], rax
mov dword [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], rax
jmp 0x1400cffd4
xor r14d, r14d
jmp 0x1400cff1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x1400cff9f
xor eax, eax
mov qword [rsi], rax
mov dword [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], rax
jmp 0x1400cffca
call fcn.1400a6030
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400d006d
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
jmp 0x1400cffd4
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400d0059
int3
int3