Function at 0x14001cec0
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 0x14001cf3b
mov qword [rbx + 8], r15
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001cf21
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
cmp qword [rbx + 8], rdi
je 0x14001cf3b
mov rcx, r15
test rcx, rcx
je 0x14001cf38
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 0x14001cf68
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 0x14001d95e
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 0x14001d95e
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 0x14001d0c9
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 0x14001d0c9
mov byte [rsi + CBaseTabbedPane::ShowTab], 1
lea r14, [0x1400449a0]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001d134
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
test rax, rax
je 0x14001d210
mov rcx, qword [0x14005d368]
test rcx, rcx
je 0x14001d210
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001d210
mov rcx, qword [0x14005d368]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, 1
mov rcx, qword [0x14005d368]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14001d210
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14001d0e0
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 0x14001d210
mov ecx, 0xe8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14001d1b7
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CUserToolsManager::CUserToolsManager]
lea rax, vtable.WCaptureInstance.0
mov qword [rbx], rax
jmp 0x14001d1ba
mov rbx, r15
mov qword [0x14005d370], rbx
test rbx, rbx
je 0x14001d210
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 0x14001d235
cmp byte [rsi + 0x3788], 0
jne 0x14001d235
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14005d47c]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001d95e
call qword [sym.imp.mfc140u.dll_AfxInitRichEdit5]
test eax, eax
je 0x14001d95e
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 0x14001d95e
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 0x14001d2f9
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 0x14001d2f9
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 0x14001d346
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 0x14001d361
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 0x14001d3fb
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.14001b560
mov r14, rax
jmp 0x14001d3fe
mov r14, r15
mov rcx, qword [rsi + 0x3848]
test rcx, rcx
je 0x14001d414
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0x3848], r14
test dil, 1
je 0x14001d42e
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 0x14001d4a5
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.14001b560
mov r14, rax
jmp 0x14001d4a8
mov r14, r15
mov rcx, qword [rsi + 0x3878]
test rcx, rcx
je 0x14001d4be
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0x3878], r14
test dil, 2
je 0x14001d4d5
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.14001c850
test eax, eax
je 0x14001d95e
lea r14, [rsi + 0x200]
mov rcx, r14
call fcn.14001e7a0
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 0x14001d644
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.140015d00
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.1400254d0
nop
lea rcx, [rdi + 0x478]
call qword [sym.imp.mfc140u.dll_CStdioFile::CStdioFile]
nop
mov rcx, rdi
call fcn.140003f70
nop
jmp 0x14001d647
mov rdi, r15
mov qword [rsi + 0x1f8], rdi
test rdi, rdi
je 0x14001d95e
cmp qword [rdi + 0x40], 0
je 0x14001d95e
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.14001c630
cmp qword [rsi + 0x40], 0
je 0x14001d95e
mov ecx, 0x198
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 8], rax
lea rbx, [0x14005d7d8]
test rax, rax
je 0x14001d6cf
mov qword [rax], rbx
jmp 0x14001d6d2
mov rax, r15
mov qword [rsi + 0x34b8], rax
test rax, rax
je 0x14001d95e
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp + 8], rax
test rax, rax
je 0x14001d70e
mov rcx, qword [rsi + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [0x140060a38]
mov qword [rax + 0x10], rcx
jmp 0x14001d711
mov rax, r15
mov qword [rsi + 0x34b0], rax
test rax, rax
je 0x14001d95e
cmp byte [rsi + 0x3788], 0
jne 0x14001d760
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 0x14001d87b
mov rcx, qword [rsi + 0xd8]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14001d87b
xor edx, edx
mov rcx, r14
call fcn.14001fae0
test eax, eax
jne 0x14001d7c3
mov rcx, r14
call fcn.14001e7a0
mov rcx, qword [rsi + 0x40]
call fcn.140005630
test eax, eax
je 0x14001d95e
cmp byte [rsi + 0x3788], 0
jne 0x14001d8cc
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 0x14001d8eb
mov rcx, r14
call fcn.14001e7a0
mov rcx, r14
call fcn.14001efb0
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.14001efb0
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.140005630
test eax, eax
je 0x14001d95e
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 0x14001d91a
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 0x14001d92c
mov qword [0x14005d368], r15
jmp 0x14001d937
mov rax, qword [rax + 0x40]
mov qword [0x14005d368], 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 0x14001d986
mov rcx, qword [rsi + 0x1f8]
call fcn.140005c50
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsi + 0x1f8]
call fcn.140006640
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.140031b80
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