Function at 0x14001e800
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x130], rax
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x120], rax
mov dword [rbp + 0x100], 0x2c
mov dword [rbp + 0x108], 5
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [0x14005d7a4], xmm0
movups xmmword [0x14005d7b4], xmm1
movsd xmm0, qword [rbp + 0x120]
movsd qword [0x14005d7c4], xmm0
mov dword [0x14005d7cc], eax
xor edi, edi
cmp qword [0x14005f0f8], rax
jne 0x14001e8ab
lea ecx, [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001e8a1
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
jmp 0x14001e8a4
mov rax, rdi
mov qword [0x14005f0f8], rax
cmp qword [0x14005f0f0], rdi
jne 0x14001e8d9
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001e8cf
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
jmp 0x14001e8d2
mov rax, rdi
mov qword [0x14005f0f0], rax
lea rdx, str.CorelDefaultID_10980CorelDefaultID_10981
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rdx, rax
mov rcx, qword [0x14005f0f0]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_class_CrlPlatform::CrlStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rdx, str.CorelDefaultID_10981
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rdx, rax
mov rcx, qword [0x14005f0f8]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_class_CrlPlatform::CrlStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov dword [0x14005dc2c], edi
mov dword [0x14005da04], 2
lea rax, [0x14005ffb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001e980
mov eax, dword [0x140045eb0]
mov dword [0x14005ffb8], eax
movzx eax, word [0x140045eb4]
mov word [0x14005ffbc], ax
lea rax, [0x14005dde0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001e9bd
mov eax, dword [0x140045eb0]
mov dword [0x14005dde0], eax
movzx eax, word [0x140045eb4]
mov word [0x14005dde4], ax
lea rax, [0x14005f748]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8005
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001e9fa
mov eax, dword [0x140045eb0]
mov dword [0x14005f748], eax
movzx eax, word [0x140045eb4]
mov word [0x14005f74c], ax
lea rbx, [0x14005ffb8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
sub rbx, 2
nop
lea rbx, [rbx + 2]
cmp word [rbx], di
jne 0x14001ea10
mov eax, dword [0x140044c34]
mov dword [rbx], eax
lea rcx, [0x14005dde0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
lea rcx, [0x14005f748]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
movsd xmm0, qword [str.Corel]
movsd qword [0x14005e808], xmm0
mov eax, dword [0x140045ec0]
mov dword [0x14005e810], eax
movabs rax, 0x7400700063
mov qword [0x14005ea10], rax
mov dword [0x14005ec20], 0x710
mov dword [0x14005ee40], edi
mov dword [0x14005ee60], 0x24
mov dword [0x14005ee64], 0x24
mov dword [0x14005ee58], 0x64
mov dword [0x14005ee5c], 0x64
mov dword [0x14005ee54], 1
mov dword [0x14005ee44], 1
mov dword [0x14005ee4c], 1
mov dword [0x14005ee68], 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 [0x14005ee6c], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 0x76
mov word [0x14005da08], ax
mov dword [0x14005dc14], 1
mov word [0x14005dc20], ax
mov dword [0x14005dc1c], 1
lea rdx, str.23c42460_088d_4afc_8f1c_a5ea254cbfd5
lea rcx, [rsp + 0x38]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlResources.dll_public:_static_class_CrlPlatform::CrlStringT_wchar_t____cdecl_Framework::Resources::GetString_class_CrlPlatform::CrlStringT_wchar_t__const____ptr64_]
nop
mov rcx, rbx
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
lea rdx, [0x14005da0a]
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001eb60
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov dword [0x14005dc28], edi
mov dword [0x14005ee88], 1
mov dword [0x14005ee8c], 5
mov dword [0x14005eea4], 1
mov qword [0x14005eeb0], 1
mov dword [0x14005eea8], 1
mov dword [0x14005eeac], 1
mov qword [0x14005eeb8], 1
mov dword [0x14005ee98], 1
mov dword [0x14005ee9c], 1
mov dword [0x14005eea0], 1
mov qword [0x14005eec0], rdi
mov dword [0x14005f0d4], 1
mov dword [0x14005f0e0], 1
mov dword [0x14005f0e8], 1
mov dword [0x14005f0e4], 1
lea rdx, [0x1400395f4]
lea rcx, [0x14005eec8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [0x14005f0dc], 0xffffff
mov dword [0x14005f0d8], 0xffffff
mov dword [0x14005f100], edi
mov dword [0x14005ee70], 0x12c
mov dword [0x14005ee74], 0x12c
mov dword [0x14005f738], 0x10000c
mov r9, qword [0x14005d5c0]
xor edx, edx
mov r8d, 0x10000c
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CPaneDialog::CPaneDialog]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_5199]
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx + 0x10]
mov qword [0x14005f520], rax
mov rax, qword [rcx + 0x18]
mov qword [0x14005f528], rax
lea rdx, [0x1400395f4]
lea rcx, [0x14005f110]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1400395f4]
lea rcx, [0x14005f318]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14001ed22
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001ed22
lea rdx, [0x14005f530]
sub rdx, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001ed00
mov rcx, qword [rbp + 0x80]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
lea rax, vtable.CCommonDialog.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CD2DResource::CD2DResource]
mov dword [0x14005f950], 0x600
mov qword [0x14005fd64], rdi
mov dword [0x14005fd70], edi
mov dword [0x14005fd74], 2
mov dword [0x14005ee90], 0x14
lea rdx, str.80811a45_5a5a_443c_ba64_803f5cd6fa8a
lea rcx, [rsp + 0x38]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlResources.dll_public:_static_class_CrlPlatform::CrlStringT_wchar_t____cdecl_Framework::Resources::GetString_class_CrlPlatform::CrlStringT_wchar_t__const____ptr64_]
nop
mov rcx, rbx
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
lea rdx, [0x14005fd80]
sub rdx, rax
nop dword [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001edb0
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
movabs rax, 0x6900760061
mov qword [0x14005f954], rax
mov qword [0x14005ff88], rdi
mov qword [0x14005ff90], rdi
mov rax, qword [0x14005ff98]
test rax, rax
jne 0x14001ee19
lea ecx, [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x14001ee0f
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
jmp 0x14001ee12
mov rax, rdi
mov qword [0x14005ff98], rax
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::Empty_void____ptr64]
cmp qword [0x14005ffa0], 0
jne 0x14001ee58
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001ee4c
mov rcx, rax
call qword [sym.imp.WindowPainter.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_Framework::GetCursor_void_]
jmp 0x14001ee4f
mov rax, rdi
mov qword [0x14005ffa0], rax
jmp 0x14001ee7e
lea rcx, [rsp + 0x38]
call qword [sym.imp.WindowPainter.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_Framework::GetCursor_void_]
mov rdx, rax
mov rcx, qword [0x14005ffa0]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_class_CrlPlatform::CrlStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov qword [0x14005d7d8], rdi
mov qword [0x14005d7e0], rdi
xorps xmm0, xmm0
movdqa xmmword [0x14005d9f0], xmm0
mov dword [0x14005da00], edi
mov qword [0x14005f108], rdi
mov dword [0x14005ee3c], edi
mov qword [0x14005ee78], rdi
mov qword [0x14005ee80], rdi
movdqa xmmword [0x14005dc30], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x14005dc40], xmm1
movdqa xmmword [0x14005dc50], xmm0
movdqa xmmword [0x14005dc60], xmm1
movdqa xmmword [0x14005dc70], xmm0
movdqa xmmword [0x14005dc80], xmm1
movdqa xmmword [0x14005dc90], xmm0
movdqa xmmword [0x14005dca0], xmm1
movdqa xmmword [0x14005dcb0], xmm0
movdqa xmmword [0x14005dcc0], xmm1
movdqa xmmword [0x14005dcd0], xmm0
movdqa xmmword [0x14005dce0], xmm1
movdqa xmmword [0x14005dcf0], xmm0
movdqa xmmword [0x14005dd00], xmm1
movdqa xmmword [0x14005dd10], xmm0
movdqa xmmword [0x14005dd20], xmm1
movdqa xmmword [0x14005dd30], xmm0
movdqa xmmword [0x14005dd40], xmm1
movdqa xmmword [0x14005dd50], xmm0
movdqa xmmword [0x14005dd60], xmm1
movdqa xmmword [0x14005dd70], xmm0
movdqa xmmword [0x14005dd80], xmm1
movdqa xmmword [0x14005dd90], xmm0
movdqa xmmword [0x14005dda0], xmm1
movdqa xmmword [0x14005ddb0], xmm0
mov qword [0x14005ddc0], rdi
mov dword [0x14005ddc8], edi
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0xffffffff
mov r9d, edx
mov r8d, edx
lea rcx, [0x14005ddcc]
call qword [sym.imp.USER32.dll_SetRect]
mov qword [0x14005f740], rdi
mov dword [0x140060a00], 0x30d40
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140032200
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret