Function at 0x14010c810
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x108], rax
test r8, r8
je 0x14010caf5
mov rdi, r8
lea r13, [r8 + 0xffff]
and r13, 0xffffffffffff0000
cmp r13, r8
jb 0x14010caf5
mov rax, r13
shr rax, 0x1f
jne 0x14010caf5
mov ebx, edx
test edx, edx
je 0x14010cbda
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xc0]
mov qword [rcx], r12
mov qword [rsp + 0xb0], r12
movaps xmm6, xmmword [0x1401dfd10]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov edx, 8
mov r8d, 2
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x14010caf5
lea rcx, [rsp + 0x90]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x14010caf5
lea r14, [rsp + 0x90]
lea r8, [rsp + 0xc0]
mov rcx, r14
mov edx, 1
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x14010caf5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
call fcn.1400825c0
cmp eax, 5
jg 0x14010c9f5
lea r15, [rsp + 0xe0]
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov edx, 0x20
mov rcx, r15
call fcn.1400829b0
movaps xmm0, xmmword [r15 + 0x10]
mov r8, qword [r15]
mov r9, qword [r15 + 8]
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.CrSharedMem__016llx_016llx_016llx_016llx
lea r15, [rsp + 0x48]
mov rcx, r15
call fcn.14007b2d0
movzx eax, byte [r15 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r15]
cmovns rax, r15
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
cmovs rcx, qword [r15 + 8]
mov qword [rdx + 8], rcx
lea rcx, [rsp + 0xc8]
call fcn.1400c9910
cmp byte [rsp + 0x87], 0
jns 0x14010c9b5
mov rcx, qword [rsp + 0x70]
call fcn.140111a1c
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0xdf], 0
mov word [rsp + 0xc8], 0
cmp byte [rsp + 0x5f], 0
jns 0x14010c9f5
mov rcx, qword [rsp + 0x48]
call fcn.140111a1c
lea rax, [rsp + 0x70]
movzx ecx, byte [rax + 0x17]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
lea rdx, [rsp + 0xe0]
movaps xmmword [rdx], xmm6
mov qword [rdx + 0x10], r12
mov dword [rdx], 0x18
cmovs r8, qword [rax + 8]
mov qword [rdx + 8], r14
cmovs rax, qword [rax]
mov dword [rdx + 0x10], 0
test r8, r8
cmove rax, r8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor ebp, ebp
mov rcx, 0xffffffffffffffff
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x14010cb2c
mov r14, rax
lea r15, [rsp + 0xc8]
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 0x14010cb2c
mov r14, qword [rsp + 0xc8]
test r14, r14
je 0x14010cb2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14010cbd2
call fcn.1400713d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14010cb36
mov rcx, rsi
call fcn.140072bb0
jmp 0x14010cb9e
mov rcx, rsi
call fcn.140072bb0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140113000
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.140072bb0
jmp 0x14010cbb5
lea r15, [rsp + 0xc8]
mov rcx, r15
call fcn.14007f570
mov qword [rsp + 0x40], 0
test r14, r14
je 0x14010cb83
cmp r14, 0xffffffffffffffff
jne 0x14010cb64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14010cb7b
call fcn.1400713d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov qword [rsp + 0x40], r14
call fcn.1400713d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8d, ebx
mov r9, rdi
call fcn.1400828e0
xor r14d, r14d
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14010cbb5
call fcn.1400713d0
mov rcx, r14
call fcn.140081d40
cmp byte [rsp + 0x87], 0
jns 0x14010cafd
mov rcx, qword [rsp + 0x70]
call fcn.140111a1c
jmp 0x14010cafd
xor r14d, r14d
jmp 0x14010cad3
int3