Function at 0x14003db34
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
cmp qword [rcx + 0x10], r15
je 0x14003dc97
cmp qword [rcx + 0x18], 7
jbe 0x14003db77
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003dd53
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqa xmm1, xmmword [0x140137c10]
movdqu xmmword [rbp - 0x41], xmm1
mov word [rbp - 0x51], r15w
movups xmmword [rbp - 0x71], xmm0
movdqu xmmword [rbp - 0x61], xmm1
mov word [rbp - 0x71], r15w
lea r8, [rbp - 0x71]
mov dl, 1
mov rcx, rbx
call fcn.14005d820
shr rax, 0x27
not eax
test al, 1
jne 0x14003dcbc
lea r8, [rbp - 0x51]
mov dl, 1
mov rcx, r14
call fcn.14005d820
shr rax, 0x27
not eax
test al, 1
jne 0x14003dcbc
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 7
cmova rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rcx, qword [rbp - 0x51]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003dcbc
mov edi, 0x1000
mov rax, qword [rbp - 0x59]
cmp rax, 7
jbe 0x14003dc4c
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rdx, rcx
cmp rax, rdi
jb 0x14003dc46
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14003dcf8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movdqa xmm0, xmmword [0x140137c10]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r15w
mov rax, qword [rbp - 0x39]
cmp rax, 7
jbe 0x14003dc97
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rdx, rcx
cmp rax, rdi
jb 0x14003dc91
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14003dd46
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e4b70
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.14003d870
mov edi, 0x1000
mov rax, qword [rbp - 0x59]
cmp rax, 7
jbe 0x14003dd05
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rdx, rcx
cmp rax, rdi
jb 0x14003dcff
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14003dcff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movdqa xmm0, xmmword [0x140137c10]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r15w
mov rax, qword [rbp - 0x39]
cmp rax, 7
jbe 0x14003dd53
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rdx, rcx
cmp rax, rdi
jb 0x14003dd4d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14003dd4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.14005d1a8
mov rsi, rax
mov rcx, rax
shr rcx, 0x27
not ecx
test cl, 1
jne 0x14003de9b
mov rdx, r14
mov rcx, rbx
call fcn.14003c568
mov edi, eax
test eax, eax
jne 0x14003dd88
mov al, 1
jmp 0x14003dc99
call fcn.14003c528
mov rsi, rax
or rsi, rdi
movabs rax, 0x142100000000
or rsi, rax
mov r8d, 0xa6
lea rdx, str.AppV::Integration::PublishPackageLink::Create
lea rcx, [rbp + 7]
call fcn.14005b700
mov rdi, rax
call fcn.140014840
lea rdx, str.Failed_to_publish_package_link__1__with_target__2_._Error:__3_
lea rcx, [rbp - 0x71]
call fcn.140005cfc
nop
nop
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x31]
call fcn.14005b6d0
mov r8, rax
mov rcx, rbx
call fcn.14000a07c
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov rcx, r8
call fcn.1400149dc
mov r8, rax
mov rcx, r14
call fcn.14000a07c
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.1400149dc
mov r8, rax
mov rdx, rsi
lea rcx, [rbp - 0x79]
call fcn.14005c490
mov rdx, rax
mov rcx, r8
call fcn.14005bca0
mov rbx, rax
lea rdx, [0x14010fc40]
lea rcx, [rbp - 0x51]
call fcn.140005cfc
nop
mov r9, rbx
lea r8, [rbp - 0x51]
mov edx, 1
mov rcx, rdi
call fcn.14005b908
nop
lea rcx, [rbp - 0x51]
call fcn.140007100
lea rcx, [rbp - 0x31]
call fcn.14005bba8
lea rcx, [rbp - 0x71]
call fcn.140007100
lea rcx, [rbp + 7]
call fcn.140013538
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140008d38
lea rdx, [0x140146bc8]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r8d, 0x9d
lea rdx, str.AppV::Integration::PublishPackageLink::Create
lea rcx, [rbp + 7]
call fcn.14005b700
mov rdi, rax
call fcn.140014840
lea rdx, str.Failed_to_publish_package_link__1__with_target__2_._Error:__3_
lea rcx, [rbp - 0x71]
call fcn.140005cfc
nop
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x31]
call fcn.14005b6d0
mov r8, rax
mov rcx, rbx
call fcn.14000a07c
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.1400149dc
mov r8, rax
mov rcx, r14
call fcn.14000a07c
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov rcx, r8
call fcn.1400149dc
mov r8, rax
mov rdx, rsi
lea rcx, [rbp - 0x79]
call fcn.14005c490
mov rdx, rax
mov rcx, r8
call fcn.14005bca0
mov rbx, rax
lea rdx, [0x14010fc40]
lea rcx, [rbp - 0x51]
call fcn.140005cfc
nop
mov r9, rbx
lea r8, [rbp - 0x51]
mov edx, 1
mov rcx, rdi
call fcn.14005b908
nop
lea rcx, [rbp - 0x51]
call fcn.140007100
lea rcx, [rbp - 0x31]
call fcn.14005bba8
lea rcx, [rbp - 0x71]
call fcn.140007100
lea rcx, [rbp + 7]
call fcn.140013538
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140008d38
lea rdx, [0x140146bc8]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3