Function at 0x140019950
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x3a0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rdi, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x60], r15d
lea rbx, [rcx + 0x38a0]
cmp qword [rcx + 0x38a8], rsi
je 0x1400199c1
mov qword [rcx + 0x38a8], r15
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400199be
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
cmp qword [rdi + 0x38a8], rsi
je 0x1400199d8
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400199d8
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rdi + 0x38a8], r15
mov qword [rbx], r15
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
xor r8d, r8d
lea rdx, [rbp + 0x18]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x140019a08
mov qword [rbx], r15
mov qword [rdi + 0x38a8], rbx
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 - 0x20]
call qword [sym.imp.mfc140u.dll_CEnumArray::CEnumArray]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rcx, [rsp + 0x68]
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_]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rdi + 0x3798]
xor r8d, r8d
call qword [sym.imp.CrlConfig.dll_public:_void___cdecl_BaseAppStartup::Initialize_wchar_t_const____ptr64__bool____ptr64]
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 - 0x70]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, rdi
call qword [sym.imp.CrlCtl.dll_public_virtual:_int___cdecl_WCorelWinApp::InitInstance_void____ptr64]
test eax, eax
je 0x14001a3d9
call qword [sym.imp.Crl2D.dll_int___cdecl_CgiInitialize_void_]
test eax, eax
setne al
mov byte [rdi + reloc.mfc140u.dll_CWinAppEx::ShowPopupMenu], al
call qword [sym.imp.CrlUtl.dll_CRLUTLInitModule]
test al, al
je 0x14001a3d9
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_]
mov edx, 0xffffffff
mov ecx, 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 [0x140064bb8], 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 [0x140064bd0], rax
test rax, rax
je 0x14001a3d9
mov rcx, qword [rsp + 0x78]
cmp dword [rcx - 0x10], 0
je 0x140019b65
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
je 0x140019b65
mov byte [rdi + CWinAppEx::ShowPopupMenu], 1
lea r14, [0x14003a1b0]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140019bd0
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
test rax, rax
je 0x140019cae
mov rcx, qword [0x140064bc8]
test rcx, rcx
je 0x140019cae
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140019cae
mov rcx, qword [0x140064bc8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, 1
mov rcx, qword [0x140064bc8]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140019cae
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140019b7c
mov qword [rbp + 0x30], 0x4000
mov qword [rbp + 0x40], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbp + 0x38], rax
mov rax, qword [0x140064bb8]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x70], r14
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140019cae
mov ecx, 0xe8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x140019c55
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CUserToolsManager::CUserToolsManager]
lea rax, vtable.WCaptureInstance.0
mov qword [rbx], rax
jmp 0x140019c58
mov rbx, r15
mov qword [0x140064bc0], rbx
test rbx, rbx
je 0x140019cae
mov rax, qword [rbx]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0xcf0000
lea r9, case.0x140010aed.70
mov r8, r14
mov edx, 0x20
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jne 0x140019cd3
cmp byte [rdi + 0x3788], 0
jne 0x140019cd3
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x140065844]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001a3d9
call qword [sym.imp.mfc140u.dll_AfxInitRichEdit5]
test eax, eax
je 0x14001a3d9
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.CrlConfig.dll_int___cdecl_INIInitCommonIniFile_void_]
test eax, eax
je 0x14001a3d9
lea rcx, [rbp + 8]
call qword [sym.imp.CrlConfig.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 + 0x70]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rdx, rax
lea rcx, [rdi + 0x1f0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlConfig.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetUserProfileConfigDir_void_]
nop
mov rax, qword [rsp + 0x60]
cmp dword [rax - 0x10], 0
je 0x140019d83
lea rdx, str.capture.ini
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlUtils.dll_void___cdecl_SystemIO::Path::Append_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64__wchar_t_const____ptr64_]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
jne 0x140019d83
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CrlConfig.dll_int___cdecl_UTLCreateUnicodeIniFile_wchar_t_const____ptr64_]
mov dword [rdi + 0x218], r15d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, str.capture.ini
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlUtils.dll_void___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 + 0x3788], 0
je 0x140019dc0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov dword [rdi + 0x218], 1
jmp 0x140019dcb
mov rcx, qword [rsp + 0x70]
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 + 0x268]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r9d, operator
lea r8, [rbp + 0x80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.CrlConfig.dll_int___cdecl_BOXIDGetRegistryInfo_wchar_t____ptr64__int__wchar_t____ptr64__int_]
lea r8, [rbp + 0x80]
lea rdx, str.HKEY_CURRENT_USER_sBox_Preferences
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov ecx, 0x20
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x140019e65
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov esi, 1
mov dword [rsp + 0x60], esi
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.140018110
mov rbx, rax
jmp 0x140019e68
mov rbx, r15
mov rcx, qword [rdi + 0x3848]
test rcx, rcx
je 0x140019e7e
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x3848], rbx
test sil, 1
je 0x140019e98
and esi, 0xfffffffe
lea rcx, [rbp + 8]
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 + 0x3828]
mov rcx, rax
call qword [r8]
lea r8, [rbp + 0x80]
lea rdx, str.HKEY_LOCAL_MACHINE_s
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov ecx, 0x20
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x140019f06
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
or esi, 2
mov dword [rsp + 0x60], esi
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.140018110
mov rbx, rax
jmp 0x140019f09
mov rbx, r15
mov rcx, qword [rdi + 0x3878]
test rcx, rcx
je 0x140019f1f
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x3878], rbx
test sil, 2
je 0x140019f36
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call qword [sym.imp.CrlPref.dll_public:_static_class_CLocalMachinePrefManager____ptr64___cdecl_CLocalMachinePrefManager::GetInstance_void_]
mov rcx, rax
lea rdx, [rdi + 0x3858]
call qword [sym.imp.CrlPref.dll_public:_void___cdecl_CLocalMachinePrefManager::OnInitInstance_class_CrlPref::GenericPrefs____ptr64____ptr64]
mov rcx, rdi
call fcn.1400192e0
test eax, eax
je 0x14001a3d9
lea rcx, [rbp + 8]
call qword [sym.imp.CrlConfig.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 + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call fcn.14001b2c0
mov dword [rdi + 0x98], r15d
mov ecx, 0x598
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rsi, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14001a0bf
lea rdx, str.PropertySheet::Capture
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, 0x704d
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [sym.imp.CrlCtl.dll_public:_void___cdecl_WCmnUI_PropertySheet::constructor_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__unsigned_int__class_CWnd____ptr64__unsigned_int____ptr64]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, vtable.CapturePropertySheet.1.0
mov qword [rsi], rax
lea rax, vtable.CapturePropertySheet.0
mov qword [rsi + 0x190], rax
mov qword [rsi + 0x270], r15
mov qword [rsi + 0x278], r15
mov qword [rsi + 0x280], r15
mov qword [rsi + 0x288], r15
mov qword [rsi + 0x290], r15
mov qword [rsi + 0x298], r15
mov qword [rsi + 0x2a0], r15
mov qword [rsi + 0x2a8], r15
mov qword [rsi + 0x2b0], r15
mov qword [rsi + 0x2b8], r15
mov qword [rsi + 0x2c0], r15
mov qword [rsi + 0x2c8], r15
mov qword [rsi + 0x2d0], r15
lea rcx, [rsi + 0x2d8]
call fcn.1400215b0
nop
lea rbx, [rsi + 0x328]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CUserToolsManager::CUserToolsManager]
nop
lea rax, vtable.CZoomCapture.0
mov qword [rbx], rax
lea rcx, [rbx + 0x108]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbx + 0x110]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor edx, edx
mov rcx, rbx
call fcn.140027260
nop
lea rcx, [rsi + 0x478]
call qword [sym.imp.mfc140u.dll_CStdioFile::CStdioFile]
nop
mov rcx, rsi
call fcn.140001bf0
nop
jmp 0x14001a0c2
mov rsi, r15
mov qword [rdi + 0x1f8], rsi
test rsi, rsi
je 0x14001a3d9
cmp qword [rsi + 0x40], 0
je 0x14001a3d9
mov qword [rdi + 0x40], rsi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov r9d, dword [rdi + 0x3734]
add r9d, r9d
mov dword [rsp + 0x30], 0x25
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
mov rcx, rdi
call fcn.1400190e0
cmp qword [rdi + 0x40], 0
je 0x14001a3d9
mov ecx, 0x198
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 0x18], rax
lea rbx, [0x140065ac8]
test rax, rax
je 0x14001a14a
mov qword [rax], rbx
jmp 0x14001a14d
mov rax, r15
mov qword [rdi + 0x34b8], rax
test rax, rax
je 0x14001a3d9
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14001a189
mov rcx, qword [rdi + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [0x140068d28]
mov qword [rax + 0x10], rcx
jmp 0x14001a18c
mov rax, r15
mov qword [rdi + 0x34b0], rax
test rax, rax
je 0x14001a3d9
cmp byte [rdi + 0x3788], 0
jne 0x14001a1db
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 + 0x3734]
add r9d, r9d
mov dword [rsp + 0x30], 0x25
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
cmp dword [rdi + 0x218], 0
je 0x14001a2f4
mov rcx, qword [rdi + 0xd8]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14001a2f4
lea rcx, [rdi + 0x200]
xor edx, edx
call fcn.14001c510
test eax, eax
jne 0x14001a23f
call fcn.14001b2c0
mov rcx, qword [rdi + 0x40]
call fcn.1400033d0
test eax, eax
je 0x14001a3d9
cmp byte [rdi + 0x3788], 0
jne 0x14001a34a
lea rdx, [rdi + 0x240]
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], eax
lea rdx, [rbp + 0x30]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCLinkCtrl::GetMessageMap]
lea rdx, [rbp + 0x4c]
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_CopyRect]
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp + 0x20]
sub r9d, r8d
sub r9d, dword [rbp + 8]
add r9d, dword [rbp + 0x18]
mov edx, dword [rbp + 0x1c]
mov eax, dword [rbp + 0x24]
sub edx, eax
sub edx, dword [rbp + 0xc]
add edx, dword [rbp + 0x14]
add r8d, r9d
mov dword [rbp + 0x20], r8d
add eax, edx
mov dword [rbp + 0x24], eax
lea rdx, [rbp + 0x18]
lea rcx, [rdi + 0x240]
call qword [sym.imp.USER32.dll_CopyRect]
lea rdx, [rdi + 0x224]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
jmp 0x14001a366
call fcn.14001b2c0
lea rcx, [rdi + 0x200]
call fcn.14001bb20
lea rdx, str.CorelDefaultID_10980
mov rcx, qword [rdi + 0x1b78]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rdi + 0x200]
call fcn.14001bb20
lea rdx, [0x14003d378]
mov rcx, qword [rdi + 0x1b78]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, qword [rdi + 0x40]
call fcn.1400033d0
test eax, eax
je 0x14001a3d9
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 + 0x3788], 0
jne 0x14001a395
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 0x14001a3a7
mov qword [0x140064bc8], r15
jmp 0x14001a3b2
mov rax, qword [rax + 0x40]
mov qword [0x140064bc8], rax
call qword [sym.imp.CrlUtils.dll_bool___cdecl_TMPStartupTmpFileMgr_void_]
or word [rdi + 0x250], 2
mov dword [rdi + 0x220], 1
xor edx, edx
mov rcx, qword [rdi + 0x1f8]
call qword [sym.imp.mfc140u.dll_RFX_Date]
cmp byte [rdi + 0x3788], 0
je 0x14001a401
mov rcx, qword [rdi + 0x1f8]
call fcn.1400039c0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rdi + 0x1f8]
call fcn.140004260
mov ebx, dword [rdi + 0x220]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CDockingManager::CDockingManager]
mov eax, ebx
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400334c0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret