Function at 0x1400438d0
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 0x140043b2a
xor r15d, r15d
test rdx, rdx
je 0x140043b2a
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140043919
test rax, rax
je 0x140043b2a
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
je 0x140043b2a
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140043940
test rax, rax
je 0x140043b2a
add rcx, 0x78
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14004395a
mov r8d, eax
call fcn.140002a20
lea rcx, [rsi + 0x80]
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140043976
mov r8d, eax
mov rdx, rdi
call fcn.140002a20
lea rcx, [rsi + 0x88]
mov rax, r12
inc rax
cmp word [rbx + rax*2], r15w
jne 0x140043995
mov r8d, eax
mov rdx, rbx
call fcn.140002a20
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x1400439d0
lea rcx, [rsi + 0x70]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1400439be
mov r8d, eax
call fcn.140002a20
mov dword [rsi + 0x44], r15d
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
je 0x140043acc
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140002cec
nop
lea rcx, [rsp + 0x80]
call fcn.14002a05c
test eax, eax
js 0x140043a96
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.140002cec
nop
lea rbx, [rsi + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140006324
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 0x140043a5a
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 0x140043a7b
mov r8, rcx
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_does_not_exist
jmp 0x140043aa2
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140043aa8
mov r8, qword [rbx]
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_is_a_file
jmp 0x140043aa2
mov r8, rbx
xor edx, edx
lea rcx, str.Invalid_path_specified_for_application_root_folder
call fcn.140043d10
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 0x140043acc
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.14001b9c0
jmp 0x140043b42
xor r8d, r8d
mov ebx, 0x80070057
mov edx, ebx
lea rcx, str.Unsupported_flag_or_missing_argument_for_Boutique_PkgDefManagement
call fcn.140043d74
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