Function at 0x1400457c0
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 0x140045a2b
xor r15d, r15d
test rdx, rdx
je 0x140045a2b
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140045809
test rax, rax
je 0x140045a2b
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
je 0x140045a2b
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140045830
test rax, rax
je 0x140045a2b
add rcx, 0x78
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14004584a
mov r8d, eax
call fcn.140002c00
lea rcx, [rsi + 0x80]
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140045866
mov r8d, eax
mov rdx, rdi
call fcn.140002c00
lea rcx, [rsi + 0x88]
mov rax, r12
inc rax
cmp word [rbx + rax*2], r15w
jne 0x140045885
mov r8d, eax
mov rdx, rbx
call fcn.140002c00
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x1400458c0
lea rcx, [rsi + 0x70]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1400458ae
mov r8d, eax
call fcn.140002c00
mov dword [rsi + 0x44], r15d
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
je 0x1400459ca
mov qword [rsp + 0x80], r15
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140002f00
nop
lea rcx, [rsp + 0x80]
call fcn.14002a590
test eax, eax
js 0x140045991
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.140002f00
nop
lea rbx, [rsi + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.1400068a0
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 0x140045955
lfence
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 0x140045976
mov r8, rcx
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_does_not_exist
jmp 0x14004599d
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400459a3
mov r8, qword [rbx]
mov edx, 0x80030003
lea rcx, str.The_path_specified_for_application_root_folder_is_a_file
jmp 0x14004599d
mov r8, rbx
xor edx, edx
lea rcx, str.Invalid_path_specified_for_application_root_folder
call fcn.140045c24
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 0x1400459ca
lfence
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.14001c840
lfence
jmp 0x140045a43
xor r8d, r8d
mov ebx, 0x80070057
mov edx, ebx
lea rcx, str.Unsupported_flag_or_missing_argument_for_Boutique_PkgDefManagement
call fcn.140045c88
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