Function at 0x1400a4e20
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r15
mov word [rbp - 0x68], r15w
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
lea r8d, [r15 + 0x26]
lea rdx, str.ClientIntegrationIntegrationRootUser
lea rcx, [rsp + 0x58]
call fcn.140007d00
nop
mov byte [rsp + 0x20], r15b
lea r9, [rsp + 0x20]
lea r8d, [r15 + 2]
lea rdx, [rsp + 0x58]
call fcn.140094410
mov rdi, rax
shr rax, 0x27
not eax
or rbx, 0xffffffffffffffff
test al, 1
jne 0x1400a4f64
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.140007bc0
nop
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
mov qword [rbp + 0x40], r15
movzx eax, byte [rsp + 0x20]
mov byte [rbp + 0x48], al
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.1400946f0
mov rdi, rax
lea rcx, [rbp - 0x20]
call fcn.140094650
nop
cmp qword [rsp + 0x70], 8
jb 0x1400a4f77
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
mov rax, rdi
shr rax, 0x27
not eax
test al, 1
jne 0x1400a52e5
lea r12, vtable.ATL::CAccessToken.0
mov qword [rsp + 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140015140
test al, al
jne 0x1400a501c
mov edx, MsiPreviewDialogW
lea rcx, str...ClientPackageUtilities.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400a4fe2
inc rax
jmp 0x1400a4fe9
lea rax, str...ClientPackageUtilities.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x72800000000
or rdi, rax
jmp 0x1400a529c
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140031830
nop
mov r8, rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400181e0
nop
cmp qword [rsp + 0x70], 8
jb 0x1400a5052
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
cmp qword [rbp - 0x70], 8
jb 0x1400a5080
mov rdx, qword [rsp + 0x78]
test rdx, rdx
jne 0x1400a5085
lea rdx, [0x140162794]
jmp 0x1400a5085
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
cmp word [rdx], 0
jne 0x1400a50b0
mov rbx, r15
jmp 0x1400a50ba
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400a50b0
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.140007d00
nop
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140015f50
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x1400a511a
cmp qword [rbp - 0x70], 8
jb 0x1400a50fa
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140007b30
nop
cmp qword [rbp - 0x30], 8
jb 0x1400a512b
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
cmp qword [rsp + 0x70], 8
jb 0x1400a514f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400a526e
lea rcx, [rsp + 0x58]
call fcn.140042540
nop
lea rcx, [rsp + 0x78]
call fcn.14000f2b0
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x1400a51ce
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140061690
mov ebx, eax
test eax, eax
je 0x1400a5221
call fcn.1400a4de0
mov rdi, rax
or rdi, rbx
movabs rax, 0x92800000000
or rdi, rax
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400a5278
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x1400a51ff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x58], 0
jmp 0x1400a5278
test rcx, rcx
je 0x1400a520a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0x29c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400a526e
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x1400a524e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x58], 0
jmp 0x1400a526e
test rcx, rcx
je 0x1400a5259
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0x29c
call qword [sym.imp.KERNEL32.dll_RaiseException]
movabs rdi, 0x8000000000
cmp qword [rbp - 0x70], 8
jb 0x1400a528a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
mov qword [rsp + 0x28], r12
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400a52c5
test rcx, rcx
je 0x1400a52c0
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], r15
test rcx, rcx
je 0x1400a52d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], r15
cmp qword [rbp - 0x50], 8
jb 0x1400a52f6
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r15
mov word [rbp - 0x68], r15w
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140108d90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret