Function at 0x14001b2c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x138]
sub rsp, 0x230
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
mov dword [rbp + 0xf0], 0x2c
mov dword [rbp + 0xf8], 5
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [0x140065a94], xmm0
movups xmm1, xmmword [rbp + 0x100]
movups xmmword [0x140065aa4], xmm1
movsd xmm0, qword [rbp + 0x110]
movsd qword [0x140065ab4], xmm0
mov dword [0x140065abc], eax
xor edi, edi
cmp qword [0x1400673e8], rax
jne 0x14001b395
lea ecx, [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001b38b
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
jmp 0x14001b38e
mov rax, rdi
mov qword [0x1400673e8], rax
cmp qword [0x1400673e0], rdi
jne 0x14001b3c3
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001b3b9
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
jmp 0x14001b3bc
mov rax, rdi
mov qword [0x1400673e0], rax
lea rdx, str.CorelDefaultID_10980CorelDefaultID_10981
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rdx, rax
mov rcx, qword [0x1400673e0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [0x14003d378]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rdx, rax
mov rcx, qword [0x1400673e8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [0x140065f1c], edi
mov dword [0x140065cf4], 2
lea rbx, [0x1400682a8]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001b46e
mov eax, dword [0x140041ef8]
mov dword [0x1400682a8], eax
movzx eax, word [0x140041efc]
mov word [0x1400682ac], ax
lea r14, [0x1400660d0]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001b4ab
mov eax, dword [0x140041ef8]
mov dword [0x1400660d0], eax
movzx eax, word [0x140041efc]
mov word [0x1400660d4], ax
lea rsi, [0x140067a38]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001b4e8
mov eax, dword [0x140041ef8]
mov dword [0x140067a38], eax
movzx eax, word [0x140041efc]
mov word [0x140067a3c], ax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
sub rbx, 2
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x14001b4f5
mov eax, dword [0x14003d374]
mov dword [rbx], eax
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
movsd xmm0, qword [str.Corel]
movsd qword [0x140066af8], xmm0
mov eax, dword [0x140041e98]
mov dword [0x140066b00], eax
movabs rax, 0x7400700063
mov qword [0x140066d00], rax
mov dword [0x140066f10], 0x710
mov dword [0x140067130], edi
mov dword [0x140067150], 0x24
mov dword [0x140067154], 0x24
mov dword [0x140067148], 0x64
mov dword [0x14006714c], 0x64
mov dword [0x140067144], 1
mov dword [0x140067134], 1
mov dword [0x14006713c], 1
mov dword [0x140067158], 1
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov edx, 0x58
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x14006715c], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 0x76
mov word [0x140065cf8], ax
mov dword [0x140065f04], 1
mov word [0x140065f10], ax
mov dword [0x140065f0c], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x702c
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
test eax, eax
jne 0x14001b650
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CWnd::get_accHelp]
mov r9d, 0x702c
lea r8, str.ResId___ld
mov edx, 0x1f
mov rcx, rax
call fcn.140009050
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
mov rax, qword [rsp + 0x30]
lea rdx, [0x140065cfa]
sub rdx, rax
nop
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001b660
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [0x140065f18], edi
mov dword [0x140067178], 1
mov dword [0x14006717c], 5
mov dword [0x140067194], 1
mov qword [0x1400671a0], 1
mov dword [0x140067198], 1
mov dword [0x14006719c], 1
mov qword [0x1400671a8], 1
mov dword [0x140067188], 1
mov dword [0x14006718c], 1
mov dword [0x140067190], 1
mov qword [0x1400671b0], rdi
mov dword [0x1400673c4], 1
mov dword [0x1400673d0], 1
mov dword [0x1400673d8], 1
mov dword [0x1400673d4], 1
lea rdx, case.0x140010aed.70
lea rcx, [0x1400671b8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [0x1400673cc], 0xffffff
mov dword [0x1400673c8], 0xffffff
mov dword [0x1400673f0], edi
mov dword [0x140067160], 0x12c
mov dword [0x140067164], 0x12c
mov dword [0x140067a28], 0x10000c
mov r9, qword [0x1400658b0]
xor edx, edx
mov r8d, 0x10000c
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CPaneDialog::CPaneDialog]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_5199]
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx + 0x10]
mov qword [0x140067810], rax
mov rax, qword [rcx + 0x18]
mov qword [0x140067818], rax
lea rdx, case.0x140010aed.70
lea rcx, [0x140067400]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, case.0x140010aed.70
lea rcx, [0x140067608]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14001b80f
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001b80f
lea rdx, [0x140067820]
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
mov word [rax + rdx], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001b7f0
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
lea rax, vtable.CCommonDialog.0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CD2DResource::CD2DResource]
mov dword [0x140067c40], 0x600
mov qword [0x140068054], rdi
mov dword [0x140068060], edi
mov dword [0x140068064], 2
mov dword [0x140067180], 0x14
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x704b
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
test eax, eax
jne 0x14001b8aa
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CWnd::get_accHelp]
mov r9d, 0x704b
lea r8, str.ResId___ld
mov edx, 0x1f
mov rcx, rax
call fcn.140009050
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
mov rax, qword [rsp + 0x30]
lea rdx, [0x140068070]
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
mov word [rax + rdx], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001b8c0
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movabs rax, 0x6900760061
mov qword [0x140067c44], rax
mov qword [0x140068278], rdi
mov qword [0x140068280], rdi
mov rax, qword [0x140068288]
test rax, rax
jne 0x14001b929
lea ecx, [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001b91f
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
jmp 0x14001b922
mov rax, rdi
mov qword [0x140068288], rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
cmp qword [0x140068290], 0
jne 0x14001b968
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001b95c
mov rcx, rax
call qword [sym.imp.WindowPainter.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_Framework::GetCursor_void_]
jmp 0x14001b95f
mov rax, rdi
mov qword [0x140068290], rax
jmp 0x14001b990
lea rcx, [rsp + 0x30]
call qword [sym.imp.WindowPainter.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_Framework::GetCursor_void_]
nop
mov rdx, rax
mov rcx, qword [0x140068290]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov qword [0x140065ac8], rdi
mov qword [0x140065ad0], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140065ce0], xmm0
mov dword [0x140065cf0], edi
mov qword [0x1400673f8], rdi
mov dword [0x14006712c], edi
mov qword [0x140067168], rdi
mov qword [0x140067170], rdi
movdqa xmmword [0x140065f20], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140065f30], xmm1
movdqa xmmword [0x140065f40], xmm0
movdqa xmmword [0x140065f50], xmm1
movdqa xmmword [0x140065f60], xmm0
movdqa xmmword [0x140065f70], xmm1
movdqa xmmword [0x140065f80], xmm0
movdqa xmmword [0x140065f90], xmm1
movdqa xmmword [0x140065fa0], xmm0
movdqa xmmword [0x140065fb0], xmm1
movdqa xmmword [0x140065fc0], xmm0
movdqa xmmword [0x140065fd0], xmm1
movdqa xmmword [0x140065fe0], xmm0
movdqa xmmword [0x140065ff0], xmm1
movdqa xmmword [0x140066000], xmm0
movdqa xmmword [0x140066010], xmm1
movdqa xmmword [0x140066020], xmm0
movdqa xmmword [0x140066030], xmm1
movdqa xmmword [0x140066040], xmm0
movdqa xmmword [0x140066050], xmm1
movdqa xmmword [0x140066060], xmm0
movdqa xmmword [0x140066070], xmm1
movdqa xmmword [0x140066080], xmm0
movdqa xmmword [0x140066090], xmm1
movdqa xmmword [0x1400660a0], xmm0
mov qword [0x1400660b0], rdi
mov dword [0x1400660b8], edi
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0xffffffff
mov r9d, edx
mov r8d, edx
lea rcx, [0x1400660bc]
call qword [sym.imp.USER32.dll_SetRect]
mov qword [0x140067a30], rdi
mov dword [0x140068cf0], 0x30d40
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400334c0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret