Function at 0x14002a8a0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x50], r12d
add rcx, 0x3878
call fcn.140032940
call qword [sym.imp.CrlUtl.dll_public:_static_class_DelayInitRegistrar____ptr64___cdecl_DelayInitRegistrar::GetInst_void_]
mov r8, qword [rax]
mov dl, 1
mov rcx, rax
call qword [r8 + 0x10]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CEnumArray::CEnumArray]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
call qword [sym.imp.CrlComponent.dll_void___cdecl_CrlComponent::SetAppInterface_class_ICorelCmn_App____ptr64_]
mov rcx, rdi
call qword [sym.imp.CrlComponent.dll_void___cdecl_CrlComponent::SetWinApp_class_CWinApp____ptr64_]
lea rcx, [rdi + 0x37b0]
call fcn.140042df0
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SetErrorInfo]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rcx, rdi
call qword [sym.imp.CrlCtl.dll_public_virtual:_int___cdecl_WCorelWinApp::InitInstance_void____ptr64]
test eax, eax
je 0x14002af94
call qword [sym.imp.CrlUtl.dll_CRLUTLInitModule]
test al, al
je 0x14002af94
call qword [sym.imp.CrlUtl.dll_public:_static_class_DelayInitRegistrar____ptr64___cdecl_DelayInitRegistrar::GetInst_void_]
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x10]
call qword [sym.imp.CrlUtl.dll_UTLInitialize]
call qword [sym.imp.CRLCLR.dll_void___cdecl_CRLCLR::Initialize_void_]
or edx, 0xffffffff
lea ecx, [r12 + 1]
call qword [sym.imp.CrlCtl.dll_void___cdecl_EnableFlatLook_unsigned_int__unsigned_int_]
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 0x10]
mov qword [0x14007bbb8], rcx
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov r8, qword [rax]
lea rdx, str.capintl.dll
mov rcx, rax
call qword [r8 + 0x90]
mov qword [0x14007bc10], rax
test rax, rax
je 0x14002af94
mov rcx, qword [rsp + 0x58]
cmp dword [rcx - 0x10], r12d
je 0x14002aa2a
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14002aa2a
mov byte [rdi + 0x37a0], 1
call fcn.14002a6f0
test eax, eax
je 0x14002aa58
cmp byte [rdi + 0x37a0], 0
jne 0x14002aa58
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14007d458]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14002af94
call qword [sym.imp.mfc140u.dll_AfxInitRichEdit5]
test eax, eax
je 0x14002af94
xor ecx, ecx
call qword [sym.imp.mfc140u.dll_AfxClassInit]
mov edx, 4
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::IsDefaultWinXPPopupButton]
call qword [sym.imp.CrlUtl.dll_int___cdecl_INIInitCommonIniFile_void_]
test eax, eax
je 0x14002af94
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlUtl.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetUserProfileConfigDir_void_]
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rdx, rax
lea rcx, [rdi + 0x200]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rdi
call fcn.14002a030
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::Append_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64__wchar_t_const____ptr64_]
cmp byte [rdi + 0x37a0], 0
je 0x14002aaf6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov dword [rdi + 0x228], 1
jmp 0x14002ab01
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rdi + 0xd8], rax
mov r8, rax
mov edx, 0x104
lea rcx, [rdi + 0x278]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 0x278]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r9d, operator
lea r8, [rbp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.CrlUtl.dll_int___cdecl_BOXIDGetRegistryInfo_wchar_t____ptr64__int__wchar_t____ptr64__int_]
lea r8, [rbp + 0x20]
lea rdx, str.HKEY_CURRENT_USER_sBox_Preferences
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002abf9
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
mov r15d, 1
mov dword [rsp + 0x50], r15d
lea rax, vtable.CrlPref::RegistryIoPolicy.0
mov qword [rsi], rax
lea rax, vtable.CrlPref::RegistryIoPolicy.1.0
mov qword [rsi + 8], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsi + 0x10]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov r8d, r15d
lea rdx, [rsp + 0x78]
lea rcx, [rsi + 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
lea rdx, [0x140058860]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
setne bl
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test bl, bl
je 0x14002abf7
lea edx, [r15 + 0x5b]
lea rcx, [rsi + 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_1665]
nop
jmp 0x14002abfc
mov rsi, r12
mov rdx, rsi
lea rcx, [rdi + 0x3830]
call fcn.140023ee0
nop
test r15b, 1
je 0x14002ac1d
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call qword [sym.imp.CrlPref.dll_public:_static_class_CAppPrefManager____ptr64___cdecl_CBoxPrefManager::GetInstance_void_]
mov r8, qword [rax]
lea rdx, [rdi + 0x3830]
mov rcx, rax
call qword [r8]
mov rcx, rdi
call fcn.14002a220
test eax, eax
je 0x14002af94
lea rcx, [rbp - 0x80]
call qword [sym.imp.CrlUtl.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_INIGetHelpFileAppDir_void_]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rdi + 0xd0], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call fcn.14002c180
mov dword [rdi + 0x98], r12d
mov ecx, 0x5b0
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002ac92
mov rcx, rax
call fcn.140010700
jmp 0x14002ac95
mov rax, r12
mov qword [rdi + 0x208], rax
test rax, rax
je 0x14002af94
cmp qword [rax + 0x40], 0
je 0x14002af94
mov qword [rdi + 0x40], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov r9d, dword [rdi + 0x3744]
add r9d, r9d
mov dword [rsp + 0x30], 0x25
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
mov rax, qword [rdi + 0x40]
test rax, rax
jne 0x14002acf8
mov rax, r12
jmp 0x14002acfc
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140032910
lea rcx, [rdi + 0x3868]
mov rdx, rax
call fcn.140025900
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14002ad59
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002ad59
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x14002ad4e
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x14002ad59
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
cmp qword [rdi + 0x40], 0
je 0x14002af94
mov ecx, 0x198
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x40], rax
lea rbx, [0x14007d7f8]
test rax, rax
je 0x14002ad85
mov qword [rax], rbx
jmp 0x14002ad88
mov rax, r12
mov qword [rdi + CMFCRibbonInfo::XInfoError::SetError], rax
test rax, rax
je 0x14002af94
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002adc5
mov rcx, qword [rdi + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [0x140080a58]
mov qword [rax + 0x10], rcx
jmp 0x14002adc8
mov rax, r12
mov qword [rdi + 0x34c0], rax
test rax, rax
je 0x14002af94
cmp byte [rdi + 0x37a0], 0
jne 0x14002ae17
mov edx, 0xe
lea ecx, [rdx - 0xb]
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, qword [rdi + 0x40]
mov r9, rax
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rdi + 0x3744]
add r9d, r9d
mov dword [rsp + 0x30], 0x25
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
cmp dword [rdi + 0x228], 0
je 0x14002aeaf
mov rcx, qword [rdi + 0xd8]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14002aeaf
lea rcx, [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
xor edx, edx
call fcn.14002d360
test eax, eax
jne 0x14002ae73
call fcn.14002c180
mov rcx, qword [rdi + 0x40]
call fcn.140012110
test eax, eax
je 0x14002af94
cmp byte [rdi + 0x37a0], 0
jne 0x14002af05
lea rdx, [rdi + 0x234]
mov rcx, rdi
call fcn.14002f800
lea rdx, [rdi + 0x234]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
jmp 0x14002af21
call fcn.14002c180
lea rcx, [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
call fcn.14002c970
lea rdx, str.CorelDefaultID_10980
mov rcx, qword [rdi + 0x1b88]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
call fcn.14002c970
lea rdx, [0x140053b40]
mov rcx, qword [rdi + 0x1b88]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, qword [rdi + 0x40]
call fcn.140012110
test eax, eax
je 0x14002af94
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
mov rdx, rax
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CAutoHideDockSite::CanAcceptPane]
mov r9d, 0x23
xor r8d, r8d
lea edx, [r9 - 3]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CPaneContainer::LoadTabbedPane]
cmp byte [rdi + 0x37a0], 0
jne 0x14002af50
mov edx, 1
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov rax, qword [rdi + 0x40]
test rax, rax
jne 0x14002af62
mov qword [0x14007bbb0], r12
jmp 0x14002af6d
mov rax, qword [rax + 0x40]
mov qword [0x14007bbb0], rax
call qword [sym.imp.CDRUTL.dll_bool___cdecl_TMPStartupTmpFileMgr_void_]
or word [rdi + 0x260], 2
mov dword [rdi + 0x230], 1
xor edx, edx
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.mfc140u.dll_RFX_Date]
cmp byte [rdi + 0x37a0], 0
je 0x14002afbc
mov rcx, qword [rdi + 0x208]
call fcn.1400123c0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rdi + 0x208]
call fcn.140012c50
mov ebx, dword [rdi + 0x230]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CDockingManager::CDockingManager]
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140047b30
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret