Function at 0x1400c1bbc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rbp - 0x21], r14
lea r12d, [r14 + 7]
mov qword [rbp - 0x19], r12
mov word [rbp - 0x31], r14w
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r12
mov word [rbp - 0x51], r14w
lea rdx, str.ClientIntegrationIntegrationRootUser
lea rcx, [rbp - 0x51]
call fcn.14000954c
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.14005b074
mov rdi, rax
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400c1c4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
call fcn.14000c220
mov rax, rdi
shr rax, 0x27
not eax
test al, 1
jne 0x1400c1efc
lea rax, vtable.ATL::CAccessToken.0
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140033b08
test al, al
jne 0x1400c1ceb
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientcommonclientpackageutilities.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c1cab
inc rax
jmp 0x1400c1cb2
lea rax, str.admin_appman_appvclientcommonclientpackageutilities.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x72800000000
or rdi, rax
jmp 0x1400c1ef1
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14001f558
nop
mov r8, rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x71]
call fcn.14006166c
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400c1d27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
call fcn.14000c220
mov qword [rbp - 1], r14
mov qword [rbp + 7], r12
mov word [rbp - 0x11], r14w
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
jb 0x1400c1d4f
mov rdx, qword [rbp - 0x71]
test rdx, rdx
jne 0x1400c1d4f
lea rdx, [0x14010caf0]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r12
mov word [rbp - 0x51], r14w
lea rcx, [rbp - 0x51]
call fcn.14000954c
nop
lea r8, [rbp - 0x51]
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0xf]
call fcn.140070288
nop
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400c1d87
mov rax, qword [rax]
cmp rdx, qword [rbp - 0x59]
ja 0x1400c1db8
lea rdi, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdi, qword [rbp - 0x71]
mov qword [rbp - 0x61], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rdi], r14w
jmp 0x1400c1dc5
mov r9, rax
lea rcx, [rbp - 0x71]
call fcn.14000c0c4
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400c1de0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
call fcn.14000c220
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r12
mov word [rbp + 0xf], r14w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400c1e08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
call fcn.14000c220
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rcx, qword [rbp - 0x71]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c1ebf
lea rcx, [rbp - 0x51]
call fcn.1400234cc
nop
lea rcx, [rbp - 0x71]
call fcn.14005fa80
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x1400c1eab
mov rdx, rsi
lea rcx, [rbp - 0x71]
call fcn.140041fb4
mov ebx, eax
test eax, eax
je 0x1400c1eb6
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientcommonclientpackageutilities.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c1e7e
inc rax
jmp 0x1400c1e85
lea rax, str.admin_appman_appvclientcommonclientpackageutilities.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
shl rax, 0x34
mov rdi, rbx
or rdi, rax
movabs rax, 0x92800000000
or rdi, rax
lea rcx, [rbp - 0x51]
call fcn.140023564
jmp 0x1400c1ec9
lea rcx, [rbp - 0x51]
call fcn.140023564
movabs rdi, 0x8000000000
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1400c1ee4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
call fcn.14000c220
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r12
mov word [rbp - 0x71], r14w
lea rcx, [rsp + 0x20]
call fcn.140033a2c
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400c1f17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
call fcn.14000c220
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret