Function at 0x14002e0d4
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
mov r14, r9
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
test r8b, 0x30
jne 0x14002e32e
xor r15d, r15d
test rdx, rdx
je 0x14002e32e
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14002e11d
test rax, rax
je 0x14002e32e
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
je 0x14002e32e
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14002e144
test rax, rax
je 0x14002e32e
add rcx, 0x78
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14002e15e
mov r8d, eax
call fcn.14000a350
lea rcx, [rsi + 0x80]
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14002e17a
mov r8d, eax
mov rdx, rdi
call fcn.14000a350
lea rcx, [rsi + 0x88]
mov rax, r12
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14002e199
mov r8d, eax
mov rdx, rbx
call fcn.14000a350
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x14002e1d4
lea rcx, [rsi + 0x70]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14002e1c2
mov r8d, eax
call fcn.14000a350
mov dword [rsi + 0x44], r15d
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
je 0x14002e2d0
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140009580
nop
lea rcx, [rsp + 0x80]
call fcn.140038ac4
test eax, eax
js 0x14002e29a
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.140009580
nop
lea rbx, [rsi + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140009900
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002e25e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [rbx]
test eax, eax
jne 0x14002e27f
mov r8, rcx
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_does_not_exist
jmp 0x14002e2a6
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14002e2ac
mov r8, qword [rbx]
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_is_a_file
jmp 0x14002e2a6
mov r8, rbx
xor edx, edx
lea rcx, str.Invalid_path_specified_for_application_root_folder
call fcn.14003212c
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002e2d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0x28], ebp
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xe8]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.14002d018
jmp 0x14002e346
xor r8d, r8d
mov ebx, 0x80070057
mov edx, ebx
lea rcx, str.Unsupported_flag_or_missing_argument_for_Boutique_PkgDefManagement
call fcn.140032190
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret