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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x60], r15d
lea rbx, [rcx + 0x38a0]
cmp qword [rbx + 8], rdi
je 0x14001cf7b
mov qword [rbx + 8], r15
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001cf61
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
cmp qword [rbx + 8], rdi
je 0x14001cf7b
mov rcx, r15
test rcx, rcx
je 0x14001cf78
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx], r15
mov dword [rbp + 8], 1
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x14001cfa8
mov qword [rbx], r15
mov qword [rbx + 8], rbx
call qword [sym.imp.CrlUtl.dll_public:_static_class_DelayInitRegistrar____ptr64___cdecl_DelayInitRegistrar::GetInst_void_]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
mov dl, 1
mov rcx, rax
call r8
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CEnumArray::CEnumArray]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
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, rsi
call qword [sym.imp.CrlComponent.dll_void___cdecl_CrlComponent::SetWinApp_class_CWinApp____ptr64_]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
xor r8d, r8d
lea rcx, [rsi + 0x3798]
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 - 0x80]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.CrlCtl.dll_public_virtual:_int___cdecl_WCorelWinApp::InitInstance_void____ptr64]
test eax, eax
je 0x14001d99e
call qword [sym.imp.Crl2D.dll_int___cdecl_CgiInitialize_void_]
test eax, eax
setne al
mov byte [rsi + reloc.mfc140u.dll_CWinAppEx::ShowPopupMenu], al
call qword [sym.imp.CrlUtl.dll_public:_static_class_DelayInitRegistrar____ptr64___cdecl_DelayInitRegistrar::GetInst_void_]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
xor edx, edx
mov rcx, rax
call r8
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 [0x14005d360], rcx
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x90]
lea rdx, str.capintl.dll
mov rcx, rax
call r8
mov qword [0x14005d358], rax
test rax, rax
je 0x14001d99e
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_bool___cdecl_CrlPlatform::CrlStringT_wchar_t_::IsEmpty_void_const___ptr64]
test al, al
jne 0x14001d109
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14001d109
mov byte [rsi + CBaseTabbedPane::ShowTab], 1
lea r14, str.Corel_CAPTURE_2022
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001d174
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
test rax, rax
je 0x14001d250
mov rcx, qword [0x14005d370]
test rcx, rcx
je 0x14001d250
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001d250
mov rcx, qword [0x14005d370]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, 1
mov rcx, qword [0x14005d370]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14001d250
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14001d120
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x20], 0x4000
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbp + 0x28], rax
mov rax, qword [0x14005d360]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x60], r14
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x14001d250
mov ecx, 0xe8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14001d1f7
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CUserToolsManager::CUserToolsManager]
lea rax, vtable.WCaptureInstance.0
mov qword [rbx], rax
jmp 0x14001d1fa
mov rbx, r15
mov qword [0x14005d368], rbx
test rbx, rbx
je 0x14001d250
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, [0x1400395f4]
mov r8, r14
mov edx, 0x20
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jne 0x14001d275
cmp byte [rsi + 0x3788], 0
jne 0x14001d275
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14005d47c]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001d99e
call qword [sym.imp.mfc140u.dll_AfxInitRichEdit5]
test eax, eax
je 0x14001d99e
xor ecx, ecx
call qword [sym.imp.mfc140u.dll_AfxClassInit]
mov edx, 4
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::IsDefaultWinXPPopupButton]
call qword [sym.imp.CrlConfig.dll_int___cdecl_INIInitCommonIniFile_void_]
test eax, eax
je 0x14001d99e
lea rcx, [rbp - 8]
call qword [sym.imp.CrlConfig.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_GetUserProfileConfigDir_void_]
mov rdx, rax
lea rcx, [rsp + 0x78]
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]
mov rdx, rax
lea rcx, [rsi + 0x1f0]
call qword [reloc.CrlPlatform.dll___4__CrlStringT__W_CrlPlatform__QEAAAEAV01_AEBV01__Z]
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlConfig.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_GetUserProfileConfigDir_void_]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_bool___cdecl_CrlPlatform::CrlStringT_wchar_t_::IsEmpty_void_const___ptr64]
test al, al
jne 0x14001d339
lea rdx, str.capture.ini
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlUtils.dll_void___cdecl_SystemIO::Path::Append_class_CrlPlatform::CrlStringT_wchar_t_____ptr64__wchar_t_const____ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
jne 0x14001d339
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.CrlConfig.dll_int___cdecl_UTLCreateUnicodeIniFile_wchar_t_const____ptr64_]
mov dword [rsi + 0x218], r15d
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rdx, str.capture.ini
lea rcx, [rsp + 0x78]
call qword [sym.imp.CrlUtils.dll_void___cdecl_SystemIO::Path::Append_class_CrlPlatform::CrlStringT_wchar_t_____ptr64__wchar_t_const____ptr64_]
cmp byte [rsi + 0x3788], 0
je 0x14001d386
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsi + 0xd8], rax
mov dword [rsi + 0x218], 1
jmp 0x14001d3a1
lea rcx, [rsp + 0x78]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsi + 0xd8], rax
mov r8, qword [rsi + 0xd8]
mov edx, 0x104
lea rcx, [rsi + 0x268]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsi + 0x268]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r9d, operator
lea r8, [rbp + 0x70]
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 + 0x70]
lea rdx, str.HKEY_CURRENT_USER_sBox_Preferences
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_private:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::FormatInternal_wchar_t_const____ptr64____ptr64]
mov ecx, 0x20
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r14, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x14001d43b
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov edi, 1
mov dword [rsp + 0x60], edi
lea rdx, [rbp - 8]
mov rcx, r14
call fcn.14001b5a0
mov r14, rax
jmp 0x14001d43e
mov r14, r15
mov rcx, qword [rsi + 0x3848]
test rcx, rcx
je 0x14001d454
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0x3848], r14
test dil, 1
je 0x14001d46e
and edi, 0xfffffffe
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
call qword [sym.imp.CrlPref.dll_public:_static_class_CAppPrefManager____ptr64___cdecl_CBoxPrefManager::GetInstance_void_]
mov rcx, qword [rax]
mov r8, qword [rcx]
lea rdx, [rsi + 0x3828]
mov rcx, rax
call r8
lea r8, [rbp + 0x70]
lea rdx, str.HKEY_LOCAL_MACHINE_s
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_private:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::FormatInternal_wchar_t_const____ptr64____ptr64]
mov ecx, 0x20
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r14, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x14001d4e5
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
or edi, 2
mov dword [rsp + 0x60], edi
lea rdx, [rbp - 8]
mov rcx, r14
call fcn.14001b5a0
mov r14, rax
jmp 0x14001d4e8
mov r14, r15
mov rcx, qword [rsi + 0x3878]
test rcx, rcx
je 0x14001d4fe
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0x3878], r14
test dil, 2
je 0x14001d515
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
call qword [sym.imp.CrlPref.dll_public:_static_class_CLocalMachinePrefManager____ptr64___cdecl_CrlUtils::Singleton_class_CLocalMachinePrefManager__0_::GetInstance_void_]
lea rdx, [rsi + 0x3858]
mov rcx, rax
call qword [sym.imp.CrlPref.dll_public:_void___cdecl_CLocalMachinePrefManager::OnInitInstance_class_CrlPref::GenericPrefs____ptr64____ptr64]
mov rcx, rsi
call fcn.14001c890
test eax, eax
je 0x14001d99e
lea r14, [rsi + 0x200]
mov rcx, r14
call fcn.14001e800
mov dword [rsi + 0x98], r15d
mov ecx, 0x598
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rdi, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x14001d684
lea rdx, str.PropertySheet::Capture
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, 0x704d
lea rdx, [rbp - 8]
mov rcx, rdi
call qword [sym.imp.CrlCtl.dll_public:_void___cdecl_WCmnUI_PropertySheet::constructor_class_CrlPlatform::CrlStringT_wchar_t__const____ptr64__unsigned_int__class_CWnd____ptr64__unsigned_int____ptr64]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rax, vtable.CapturePropertySheet.1.0
mov qword [rdi], rax
lea rax, vtable.CapturePropertySheet.0
mov qword [rdi + 0x190], rax
mov qword [rdi + 0x270], r15
mov qword [rdi + 0x278], r15
mov qword [rdi + 0x280], r15
mov qword [rdi + 0x288], r15
mov qword [rdi + 0x290], r15
mov qword [rdi + 0x298], r15
mov qword [rdi + 0x2a0], r15
mov qword [rdi + 0x2a8], r15
mov qword [rdi + 0x2b0], r15
mov qword [rdi + 0x2b8], r15
mov qword [rdi + 0x2c0], r15
mov qword [rdi + 0x2c8], r15
mov qword [rdi + 0x2d0], r15
lea rcx, [rdi + 0x2d8]
call fcn.140015d40
nop
lea rbx, [rdi + 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.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbx + 0x110]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
xor edx, edx
mov rcx, rbx
call fcn.140025530
nop
lea rcx, [rdi + 0x478]
call qword [sym.imp.mfc140u.dll_CStdioFile::CStdioFile]
nop
mov rcx, rdi
call fcn.140003fb0
nop
jmp 0x14001d687
mov rdi, r15
mov qword [rsi + 0x1f8], rdi
test rdi, rdi
je 0x14001d99e
cmp qword [rdi + 0x40], 0
je 0x14001d99e
mov qword [rsi + 0x40], rdi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov r9d, dword [rsi + 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 [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
mov rcx, rsi
call fcn.14001c670
cmp qword [rsi + 0x40], 0
je 0x14001d99e
mov ecx, 0x198
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 8], rax
lea rbx, [0x14005d7d8]
test rax, rax
je 0x14001d70f
mov qword [rax], rbx
jmp 0x14001d712
mov rax, r15
mov qword [rsi + 0x34b8], rax
test rax, rax
je 0x14001d99e
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 8], rax
test rax, rax
je 0x14001d74e
mov rcx, qword [rsi + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [0x140060a38]
mov qword [rax + 0x10], rcx
jmp 0x14001d751
mov rax, r15
mov qword [rsi + 0x34b0], rax
test rax, rax
je 0x14001d99e
cmp byte [rsi + 0x3788], 0
jne 0x14001d7a0
mov rbx, qword [rsi + 0x40]
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 r9, rax
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rsi + 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 [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
cmp dword [rsi + 0x218], 0
je 0x14001d8bb
mov rcx, qword [rsi + 0xd8]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14001d8bb
xor edx, edx
mov rcx, r14
call fcn.14001fb40
test eax, eax
jne 0x14001d803
mov rcx, r14
call fcn.14001e800
mov rcx, qword [rsi + 0x40]
call fcn.140005670
test eax, eax
je 0x14001d99e
cmp byte [rsi + 0x3788], 0
jne 0x14001d90c
lea rdx, [rsi + 0x240]
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_CopyRect]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], eax
lea rdx, [rbp + 0x20]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCLinkCtrl::GetMessageMap]
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 8]
call qword [sym.imp.USER32.dll_CopyRect]
mov r10d, dword [rbp]
sub r10d, dword [rbp - 8]
mov r9d, dword [rbp + 0x10]
mov eax, r9d
sub eax, dword [rbp + 8]
sub r10d, eax
mov r8d, dword [rbp + 4]
sub r8d, dword [rbp - 4]
mov edx, dword [rbp + 0x14]
mov eax, edx
sub eax, dword [rbp + 0xc]
sub r8d, eax
add r9d, r10d
mov dword [rbp + 0x10], r9d
add edx, r8d
mov dword [rbp + 0x14], edx
lea rdx, [rbp + 8]
lea rcx, [rsi + 0x240]
call qword [sym.imp.USER32.dll_CopyRect]
lea rdx, [rsi + 0x224]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
jmp 0x14001d92b
mov rcx, r14
call fcn.14001e800
mov rcx, r14
call fcn.14001f010
lea rdx, str.CorelDefaultID_10980
mov rcx, qword [rsi + 0x1b78]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rcx, r14
call fcn.14001f010
lea rdx, str.CorelDefaultID_10981
mov rcx, qword [rsi + 0x1b78]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rsi + 0x40]
call fcn.140005670
test eax, eax
je 0x14001d99e
mov rbx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CAutoHideDockSite::CanAcceptPane]
mov r9d, 0x23
xor r8d, r8d
lea edx, [r9 - 3]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_CPaneContainer::LoadTabbedPane]
cmp byte [rsi + 0x3788], 0
jne 0x14001d95a
mov edx, 1
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov rax, qword [rsi + 0x40]
test rax, rax
jne 0x14001d96c
mov qword [0x14005d370], r15
jmp 0x14001d977
mov rax, qword [rax + 0x40]
mov qword [0x14005d370], rax
call qword [sym.imp.CrlUtils.dll_bool___cdecl_TMPStartupTmpFileMgr_void_]
or word [rsi + 0x250], 2
mov dword [rsi + 0x220], 1
xor edx, edx
mov rcx, qword [rsi + 0x1f8]
call qword [sym.imp.mfc140u.dll_RFX_Date]
cmp byte [rsi + 0x3788], 0
je 0x14001d9c6
mov rcx, qword [rsi + 0x1f8]
call fcn.140005ca0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsi + 0x1f8]
call fcn.140006690
mov ebx, dword [rsi + 0x220]
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CDockingManager::CDockingManager]
mov eax, ebx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140032200
lea r11, [rsp + 0x390]
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