Function at 0x14009b3e0
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.140007c60
nop
mov byte [rsp + 0x20], r15b
lea r9, [rsp + 0x20]
lea r8d, [r15 + 2]
lea rdx, [rsp + 0x58]
call fcn.14008a770
mov rdi, rax
shr rax, 0x27
not eax
or rbx, 0xffffffffffffffff
test al, 1
jne 0x14009b524
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.140007b20
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.14008aa50
mov rdi, rax
lea rcx, [rbp - 0x20]
call fcn.14008a9b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14009b537
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 0x14009b8a5
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.140014900
test al, al
jne 0x14009b5dc
mov edx, MsiPreviewDialogW
lea rcx, str...ClientPackageUtilities.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14009b5a2
inc rax
jmp 0x14009b5a9
lea rax, str...ClientPackageUtilities.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
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 0x14009b85c
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140030780
nop
mov r8, rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400179a0
nop
cmp qword [rsp + 0x70], 8
jb 0x14009b612
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 0x14009b640
mov rdx, qword [rsp + 0x78]
test rdx, rdx
jne 0x14009b645
lea rdx, [0x140144318]
jmp 0x14009b645
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 0x14009b670
mov rbx, r15
jmp 0x14009b67a
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14009b670
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.140007c60
nop
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140015710
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x14009b6da
cmp qword [rbp - 0x70], 8
jb 0x14009b6ba
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.140007a90
nop
cmp qword [rbp - 0x30], 8
jb 0x14009b6eb
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 0x14009b70f
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 0x14009b82e
lea rcx, [rsp + 0x58]
call fcn.14003fcb0
nop
lea rcx, [rsp + 0x78]
call fcn.14000f150
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14009b78e
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14005b390
mov ebx, eax
test eax, eax
je 0x14009b7e1
call fcn.14009b3a0
mov rdi, rax
or rdi, rbx
movabs rax, 0x92800000000
or rdi, rax
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14009b838
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14009b7bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x58], 0
jmp 0x14009b838
test rcx, rcx
je 0x14009b7ca
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 0x14009b82e
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14009b80e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x58], 0
jmp 0x14009b82e
test rcx, rcx
je 0x14009b819
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 0x14009b84a
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 0x14009b885
test rcx, rcx
je 0x14009b880
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], r15
test rcx, rcx
je 0x14009b895
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 0x14009b8b6
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.1400f5ff0
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