Function at 0x14000d350
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x428]
sub rsp, 0x510
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rdi, rcx
lea rdx, [rcx + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0x2f0]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0x458]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0x5c0]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0x768]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0xbd0]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [rdi + 0xd80]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
or dword [rdi + 0xec], 0x20
mov qword [rdi + 0x2e8], rdi
mov qword [rdi + 0x448], rdi
mov qword [rdi + 0x5b0], rdi
mov qword [rdi + 0x718], rdi
mov qword [rdi + 0x8c0], rdi
mov qword [rdi + 0xd28], rdi
mov qword [rdi + 0xed8], rdi
mov byte [rdi + 0xf30], 0
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov r8d, operator
lea rdx, [rbp + 0x1f0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0x100
lea r9, [rbp - 0x10]
lea r8d, [r14 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
cmp word [rbp - 0x10], r14w
je 0x14000d526
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.1400056f0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsp + 0x78]
mov r8d, dword [rax - 0x10]
dec r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call qword [sym.imp.apperr.dll_HD_Create_App_Error_Handler]
mov rbx, rax
lea rsi, [rdi + 0xf40]
cmp qword [rsi], 0
je 0x14000d565
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsi]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x14000d565
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000d565
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
je 0x14000d57d
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 8]
mov qword [rsi], rbx
mov rcx, rbx
test rbx, rbx
je 0x14000d58e
call qword [sym.imp.hcreg13.dll_hcreg_SetErrorHandler]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetAppKey_wchar_t_const____ptr64_]
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [0x140015350]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14000d865
mov byte [rdi + 0xf30], 1
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetDriverDirectory_void_]
nop
mov rdx, qword [rax]
lea rcx, [rbp - 0x68]
call qword [sym.imp.heidi13.dll_public:_void___cdecl_HT_String::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov ecx, r14d
mov rax, qword [rbp - 0x58]
test eax, eax
cmovg ecx, eax
test ecx, ecx
jne 0x14000d62d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPMPDirectory_void_]
nop
mov rdx, qword [rax]
lea rcx, [rbp - 0x38]
call qword [sym.imp.heidi13.dll_public:_void___cdecl_HT_String::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov ecx, r14d
mov rax, qword [rbp - 0x58]
test eax, eax
cmovg ecx, eax
test ecx, ecx
jne 0x14000d677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPlotStylesDirectory_void_]
nop
mov rdx, qword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.heidi13.dll_public:_void___cdecl_HT_String::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov ecx, r14d
mov rax, qword [rbp - 0x58]
test eax, eax
cmovg ecx, eax
test ecx, ecx
jne 0x14000d6c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsi]
test rbx, rbx
je 0x14000d75b
lea rcx, [rsp + 0x50]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProductName_void_]
nop
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, rbx
call qword [r8 + 0xb8]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsi]
lea rcx, [rsp + 0x50]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProgramName_void_]
nop
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, rbx
call qword [r8 + 0xc0]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsi]
lea rcx, [rsp + 0x50]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetCompanyName_void_]
nop
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, rbx
call qword [r8 + 0xc8]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, str.log.log
call qword [rax + 0x48]
lea rbx, [rdi + 0xf38]
cmp qword [rbx], 0
jne 0x14000d80d
mov ecx, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
call qword [sym.imp.heidi13.dll_public:_static_void____ptr64___cdecl_HT_Object::operator_new_unsigned_long_long_unsigned___int64__]
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14000d7c3
xor edx, edx
mov r8d, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006180
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x68]
mov rcx, r15
call qword [sym.imp.plcfmgr.dll_public:_void___cdecl_HT_Plot_Config_Manager::constructor_class_HT_String____ptr64__class_HT_String____ptr64__class_HT_String____ptr64__class_HT_Smart_Pointer_class_HT_Error_Handler___unsigned_long_int____ptr64]
mov r14, rax
cmp qword [rbx], 0
je 0x14000d7f2
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rbx]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x14000d7f2
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000d7f2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test r14, r14
je 0x14000d80a
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, r14
mov rcx, rax
call qword [r8 + 8]
mov qword [rbx], r14
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140006180
mov rdx, rax
mov rcx, rdi
call fcn.14000dbf0
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006180
mov rdx, rax
mov rcx, rdi
call fcn.14000db30
mov byte [rdi + CD2DLinearGradientBrush::Detach], 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14000f1e0
lea r11, [rsp + 0x510]
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