Function at 0x14000e0f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
lea rdx, [rcx + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0x2f0]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0x458]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0x5c0]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0x778]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0xbe8]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
lea rdx, [r15 + 0xdb0]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonKeyboardCustomizeDialog::AddKeyEntry]
or dword [r15 + 0xec], 0x20
mov qword [r15 + 0x2e8], r15
mov qword [r15 + 0x448], r15
mov qword [r15 + 0x5b0], r15
mov qword [r15 + 0x718], r15
mov qword [r15 + 0x8d0], r15
mov qword [r15 + 0xd40], r15
mov qword [r15 + 0xf08], r15
mov byte [r15 + 0xf80], r13b
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov r8d, 0x104
lea rdx, [rbp + 0x2b0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0xb0]
lea r8d, [r13 + 3]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
cmp word [rbp + 0xb0], r13w
je 0x14000e319
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x50], 1
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rdi, qword [rbp + 0x38]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov dword [rsp + 0x20], ebx
mov r9, rdi
mov r8d, eax
mov rdx, qword [rbp + 0x28]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea r8d, [rax - 1]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp - 0x48]
call qword [sym.imp.apperr.dll_class_std::unique_ptr_class_HT_Error_Handler__struct_std::default_delete_class_HT_Error_Handler_____cdecl_HD_Create_App_Error_Handler_void_]
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rbx, qword [rax]
test rbx, rbx
je 0x14000e380
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000e370
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_class_HT_Error_Handler____ptr64__struct_std::default_delete_class_HT_Error_Handler__.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
jmp 0x14000e373
mov rax, r13
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rax
mov qword [rdi], r13
lea r14, [r15 + 0xf98]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140005390
mov rsi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000e3d6
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e3d6
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e3d6
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14000e3e9
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000e41b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rax, qword [r15 + 0xfa0]
test rax, rax
je 0x14000e411
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
lock inc dword [rax + 0xc]
lea rcx, [rbp - 0x70]
call qword [sym.imp.hcreg16.dll_hcreg_SetErrorHandler]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x40]
call qword [sym.imp.hcreg16.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 + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rdx, [0x140015330]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14000e9a9
mov byte [r15 + 0xf80], 1
lea rcx, [rbp - 0x38]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetDriverDirectory_void_]
nop
mov rdx, qword [rax]
mov qword [rbp + 0x40], r13
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
test rdx, rdx
je 0x14000e4b7
cmp word [rdx], 0
je 0x14000e4b7
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000e4a1
lea rcx, [rbp + 0x40]
call fcn.140005b00
jmp 0x14000e4c0
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [rbp + 0x50], 0
jne 0x14000e4d9
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp - 0x30]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPMPDirectory_void_]
nop
mov rdx, qword [rax]
mov qword [rbp + 0x80], r13
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
test rdx, rdx
je 0x14000e52d
cmp word [rdx], 0
je 0x14000e52d
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000e514
lea rcx, [rbp + 0x80]
call fcn.140005b00
jmp 0x14000e53c
mov qword [rbp + 0x90], r13
mov word [rbp + 0x80], r13w
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [rbp + 0x50], 0
jne 0x14000e555
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp - 0x28]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPlotStylesDirectory_void_]
nop
mov rdx, qword [rax]
mov qword [rbp + 0x60], r13
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r13w
test rdx, rdx
je 0x14000e5a6
cmp word [rdx], 0
je 0x14000e5a6
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000e590
lea rcx, [rbp + 0x60]
call fcn.140005b00
jmp 0x14000e5af
mov qword [rbp + 0x70], r13
mov word [rbp + 0x60], r13w
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [rbp + 0x50], 0
jne 0x14000e5c8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [r14]
test rdi, rdi
je 0x14000e664
mov rax, qword [rdi]
mov rbx, qword [rax + 0xb8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProductName_void_]
nop
mov rdx, qword [rax]
mov rcx, rdi
call rbx
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xc0]
lea rcx, [rbp - 0x18]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProgramName_void_]
nop
mov rdx, qword [rax]
mov rcx, rdi
call rbx
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xc8]
lea rcx, [rsp + 0x78]
call qword [sym.imp.hcreg16.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetCompanyName_void_]
nop
mov rdx, qword [rax]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, str.log.log
call qword [rax + 0x48]
lea r12, [r15 + 0xf88]
cmp qword [r12], 0
jne 0x14000e77a
mov ecx, 0x180
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000e6ec
xor edx, edx
mov r8d, 0x180
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14000e6b6
lock inc dword [rcx + 8]
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
mov dword [rsp + 0x28], r13d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x40]
mov rcx, rbx
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_std::shared_ptr_class_HT_Error_Handler___unsigned_long_int____ptr64]
mov rbx, rax
jmp 0x14000e6ef
mov rbx, r13
mov qword [rbp + 0x18], rbx
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000e72c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_HT_Plot_Config_Manager_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
jmp 0x14000e72f
mov rax, r13
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.140005390
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000e77a
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e77a
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e77a
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14000e78d
lock inc dword [rbx + 8]
mov rbx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rbp - 8], rax
test rbx, rbx
je 0x14000e7a2
lock inc dword [rbx + 8]
mov rax, qword [rbp - 8]
mov qword [r12], rax
mov rdi, qword [r12 + 8]
mov qword [r12 + 8], rbx
test rdi, rdi
je 0x14000e7de
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000e7de
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000e7de
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test rbx, rbx
je 0x14000e80c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e80c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e80c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14000e81d
lock inc dword [rbx + 8]
mov rbx, qword [r14 + 8]
mov rax, qword [r14]
mov qword [rbp + 8], rax
test rbx, rbx
je 0x14000e831
lock inc dword [rbx + 8]
mov rax, qword [rbp + 8]
mov qword [r14], rax
mov rdi, qword [r14 + 8]
mov qword [r14 + 8], rbx
test rdi, rdi
je 0x14000e86a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000e86a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000e86a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test rbx, rbx
je 0x14000e896
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e896
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14000e896
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov byte [r15 + 0xfca], 1
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14000e8e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e8dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010250
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r13w
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14000e93c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e937
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010250
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000e997
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e992
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010250
movdqa xmm0, xmmword [0x140018030]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140010230
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret