Function at 0x140101bf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rdi, r8
mov rbx, rdx
lea rcx, [rbp + 0x28]
call fcn.14016a2c0
nop
lea rdx, [0x1402ac320]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
nop
lea rcx, [rbp + 0x28]
test eax, eax
je 0x140101c95
xor r8d, r8d
lea rdx, str.totalcmd.exe
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
jne 0x140101c5a
xor r8d, r8d
lea rdx, str.totalcmd64.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
je 0x140101c6a
lea rdx, str.__SC
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
lea rdx, str.C:Program_Files__x86_Beyond_Compare_3BCompare.exe
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_FilesBeyond_Compare_3BCompare.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_Files__x86_Beyond_Compare_4BCompare.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_FilesBeyond_Compare_4BCompare.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_Files__x86_WinMergeWinMergeU.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_FilesWinMergeWinMergeU.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_Files__x86_AraxisAraxis_Mergecompare.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_FilesAraxisAraxis_Mergecompare.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_Files__x86_Perforcep4merge.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.C:Program_FilesPerforcep4merge.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c6a
lea rdx, str.c:Program_Files_totalcmd_totalcmd64.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c5a
lea rdx, str.c:Program_Files__x86__totalcmd_totalcmd.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c5a
lea rdx, str.c:_totalcmd_totalcmd64.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c5a
lea rdx, str.c:_totalcmd_totalcmd.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140101c5a
lea rdx, [0x1402ac320]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
jmp 0x140101c78