Function at 0x14005cbf0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x14005cd18
cmp qword [rcx + 0x18], 8
jb 0x14005cc3c
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x14005cd6a
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
lea r8, [rbp - 0x80]
mov dl, 1
mov rcx, rdi
call fcn.14005b7b0
shr rax, 0x27
not eax
test al, 1
jne 0x14005cd1f
lea r8, [rbp - 0x60]
mov dl, 1
mov rcx, rsi
call fcn.14005b7b0
shr rax, 0x27
not eax
test al, 1
jne 0x14005cd1f
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14005cd1f
cmp qword [rbp - 0x68], 8
jb 0x14005cce7
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
cmp qword [rbp - 0x48], 8
jb 0x14005cd08
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
xor al, al
jmp 0x14005d419
mov rcx, rdi
call fcn.14005c8d0
nop
cmp qword [rbp - 0x68], 8
jb 0x14005cd39
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
cmp qword [rbp - 0x48], 8
jb 0x14005cd5a
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
mov rcx, rdi
call fcn.14000f150
mov qword [rsp + 0x68], rax
shr rax, 0x27
not eax
test al, 1
je 0x14005d099
cmp qword [rsi + 0x18], 8
jb 0x14005cd8f
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
cmp qword [rdi + 0x18], 8
jb 0x14005cd9e
mov rdi, qword [rdi]
mov qword [rsp + 0x60], rdi
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
mov r8d, 0x61
lea rdx, str.PublishPackageLink::Create_____Failed_to_publish_package_link__1__with_target__2_._Error:__3_
lea rcx, [rbp - 0x40]
call fcn.140007c60
nop
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
movzx eax, word [0x140143ed0]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140143ed0]
lea rcx, [rbp - 0x20]
call fcn.140007c60
nop
call fcn.1400391f0
lea r8, [rbp - 0x40]
lea rdx, [rbp]
call fcn.140085960
mov rsi, rax
mov r8d, dword [rax + 8]
lea ecx, [r8 + 1]
mov dword [rax + 8], ecx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005ce67
mov qword [rbp - 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbx
test rcx, rcx
je 0x14005ce87
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005ce76
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005cecd
mov qword [rbp - 0x60], rsi
lea rax, [rsp + 0x38]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x14005cef1
nop dword [rax]
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005cee0
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14005cf37
mov qword [rbp - 0x60], rsi
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.140039570
nop
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
test rcx, rcx
je 0x14005cf57
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005cf46
call fcn.1400391f0
mov rcx, rax
mov r9, rsi
lea r8, [rbp - 0x20]
mov edx, 1
call fcn.1400858b0
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp], rax
cmp qword [rbp + 0x28], 8
jb 0x14005cf8d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
cmp qword [rbp - 8], 8
jb 0x14005cfae
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
cmp qword [rbp - 0x28], 8
jb 0x14005cfcf
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
mov rdi, qword [rsp + 0x68]
lea rax, [0x1401442a0]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
nop
lea rax, vtable.SwException.0
mov qword [rbp], rax
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov qword [rbp + 0x30], rbx
cmp byte [0x1401e1a79], 0
je 0x14005d070
mov rax, rdi
mov rdx, qword [0x1401e1a68]
xor rax, rdx
movabs rcx, 0x8000000000
test rcx, rax
jne 0x14005d070
mov rax, rdi
xor rax, rdx
movabs rcx, 0x2000000000
test rcx, rax
jne 0x14005d070
mov rcx, rdi
shr rcx, 0x20
mov rax, rdx
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x14005d070
cmp edi, edx
je 0x14005d081
cmp byte [0x1401e1a78], 0
je 0x14005d088
cmp edi, dword [0x1401e1a80]
jne 0x14005d088
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401d19c0]
lea rcx, [rbp]
call sub.MSVCR120.dll__CxxThrowException
int3
mov rdx, rsi
mov rcx, rdi
call fcn.14005b390
mov r14d, eax
test eax, eax
je 0x14005d417
mov edx, MsiPreviewDialogW
lea rcx, str...integration_commands.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14005d0cb
inc rax
jmp 0x14005d0d2
lea rax, str...integration_commands.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
shl rax, 0x34
mov rcx, r14
or rcx, rax
movabs rax, 0x142100000000
or rcx, rax
mov qword [rsp + 0x60], rcx
cmp qword [rsi + 0x18], 8
jb 0x14005d107
mov rsi, qword [rsi]
mov qword [rbp - 0x60], rsi
cmp qword [rdi + 0x18], 8
jb 0x14005d115
mov rdi, qword [rdi]
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
mov r8d, 0x61
lea rdx, str.PublishPackageLink::Create_____Failed_to_publish_package_link__1__with_target__2_._Error:__3_
lea rcx, [rbp - 0x20]
call fcn.140007c60
nop
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
movzx eax, word [0x140143ed0]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140143ed0]
lea rcx, [rbp - 0x40]
call fcn.140007c60
nop
call fcn.1400391f0
lea r8, [rbp - 0x20]
lea rdx, [rbp]
call fcn.140085960
mov rsi, rax
mov r8d, dword [rax + 8]
lea ecx, [r8 + 1]
mov dword [rax + 8], ecx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14005d1e1
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
test rcx, rcx
je 0x14005d201
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005d1f0
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005d249
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x14005d271
nop dword [rax + rax]
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005d260
mov r8d, dword [rsi + 8]
lea eax, [r8 + 1]
mov dword [rsi + 8], eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400854b0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005d2b7
mov qword [rbp - 0x80], rsi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.140039570
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbx
test rcx, rcx
je 0x14005d2d7
mov rdi, qword [rcx]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rdi
test rdi, rdi
jne 0x14005d2c6
call fcn.1400391f0
mov rcx, rax
mov r9, rsi
lea r8, [rbp - 0x40]
mov edx, 1
call fcn.1400858b0
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp], rax
cmp qword [rbp + 0x28], 8
jb 0x14005d30d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
cmp qword [rbp - 0x28], 8
jb 0x14005d32e
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
cmp qword [rbp - 8], 8
jb 0x14005d34f
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
mov rdi, qword [rsp + 0x60]
lea rax, [0x1401442a0]
mov qword [rbp - 0x60], rax
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
nop
lea rax, vtable.SwException.0
mov qword [rbp], rax
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov qword [rbp + 0x30], rbx
cmp byte [0x1401e1a79], 0
je 0x14005d3ee
mov rax, rdi
mov rdx, qword [0x1401e1a68]
xor rax, rdx
movabs rcx, 0x8000000000
test rcx, rax
jne 0x14005d3ee
mov rax, rdi
xor rax, rdx
movabs rcx, 0x2000000000
test rcx, rax
jne 0x14005d3ee
mov rcx, rdi
shr rcx, 0x20
mov rax, rdx
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x14005d3ee
cmp edi, edx
je 0x14005d3ff
cmp byte [0x1401e1a78], 0
je 0x14005d406
cmp edi, dword [0x1401e1a80]
jne 0x14005d406
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401d19c0]
lea rcx, [rbp]
call sub.MSVCR120.dll__CxxThrowException
int3
mov al, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400f5ff0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret