Function at 0x140008a80
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140028030]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0xb0], rcx
mov edx, 1
call sub.mfc90u.dll_CFrameWnd::SetMenuBarVisibility
lea rcx, [rsp + 0xe0]
call qword [sym.imp.MSVCR90.dll_public:_void___cdecl_std::exception::constructor_void____ptr64]
nop
xor r12d, r12d
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x108], r12
mov dword [rsp + 0x110], r12d
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x330], r12
mov dword [rsp + 0x114], r12d
mov word [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], r12w
lea rax, vtable.ADDPLWIZ_Error.0
mov qword [rsp + 0xe0], rax
lea rax, vtable.ADDPLWIZ_Error.1.0
mov qword [rsp + 0xf8], rax
lea rcx, [rbx + 0x468]
mov rdx, qword [rbx + 0x460]
call fcn.14000b780
test rax, rax
jne 0x140008b74
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x93
jmp 0x1400098cd
mov rdx, qword [rbx + 0x458]
mov rcx, rax
call fcn.14000b570
mov r14, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x140008bb0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x93
jmp 0x1400098cd
lea rdx, [rax + 8]
lea rcx, [rsp + 0x48]
call qword [0x140019598]
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDockState::GetVersion]
nop
lea rdx, [0x14001c130]
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
test eax, eax
sete dil
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
test dil, dil
je 0x140008c1c
lea rcx, [rbx + 0x118]
mov rax, qword [rcx]
call qword [rax + 0x2a8]
cmp rax, 2
jne 0x140008c1c
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll_exit]
int3
lea rcx, [rbx + 0x2f0]
lea rdx, [0x14001c138]
call qword [sym.imp.mfc90u.dll_CCheckListBox::CheckFromPoint]
test eax, eax
jne 0x140008cb1
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 2
jne 0x140008cb1
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_COleClientItem::FinishCreate]
movzx edi, ax
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_COleClientItem::FinishCreate]
lea edx, [rdi + rdi*4]
movzx eax, ax
lea eax, [rax + rdx*2 - 0x210]
cmp eax, 0x39
je 0x140008c92
cmp eax, 0x3a
je 0x140008c92
cmp eax, 0x33
je 0x140008c92
cmp eax, 0x37
je 0x140008c92
cmp eax, 0x36
je 0x140008c92
cmp eax, 0x3b
je 0x140008c92
add eax, 0xffffffc4
cmp eax, 9
ja 0x140008cb1
lea rcx, [rbx + 0x200]
mov rax, qword [rcx]
call qword [rax + 0x2a8]
cmp rax, 2
jne 0x140008cb1
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll_exit]
int3
lea rdx, [rsp + 0xa0]
mov rcx, qword [rbx + 0x110]
call fcn.140004e90
nop
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x110]
call fcn.140004dd0
nop
mov rdi, qword [r14 + 0x28]
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0x88], edi
xor r15b, r15b
mov byte [rsp + 0x40], r15b
mov rbx, r12
mov qword [rsp + 0x70], rbx
lea rcx, [r14 + 0x68]
or r8, 0xffffffffffffffff
xor edx, edx
call sub.mfc90u.dll_CProperty::Set
lea rcx, [r14 + 0x90]
or r8, 0xffffffffffffffff
xor edx, edx
call sub.mfc90u.dll_CEditView::SerializeRaw
mov r13d, r12d
mov dword [rsp + 0x68], r12d
mov rsi, qword [rsp + 0xa0]
nop dword [rax]
cmp r13d, edi
jge 0x140009628
mov r8d, r13d
lea rdx, [rsp + 0xc0]
mov rcx, r14
call fcn.14000b9c0
mov rdi, rax
mov r8d, r13d
lea rdx, [rsp + 0xb8]
mov rcx, r14
call fcn.14000b980
nop
mov r9, qword [rdi]
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.plcfmgr.dll_public:_class_HT_Smart_Pointer_class_HT_Plot_Config____cdecl_HT_Plot_Config_Manager::load_drc_wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64]
mov rdi, rax
test rbx, rbx
je 0x140008da2
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rbx
call qword [rax + 0x10]
test eax, eax
jne 0x140008da2
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x140008dbc
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rbx
call qword [rax + 8]
mov qword [rsp + 0x70], rbx
cmp qword [rsp + 0x78], 0
je 0x140008df6
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rsp + 0x78]
call qword [rax + 0x10]
test eax, eax
jne 0x140008df6
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140008df6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc90u.dll_CView::CView]
test rbx, rbx
jne 0x140008fde
call sub.mfc90u.dll_AfxFailMaxChars
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x88]
mov qword [rsp + 0x108], rcx
mov dword [rsp + 0x110], 0xa9
lea rdi, str.CPlotterModel::OnWizardNext__
mov qword [rsp + 0x118], rdi
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x140008e75
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0x120], r12
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x140008ebf
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx + rcx - 1]
movsxd rcx, edi
call sub.mfc90u.dll_new__
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [rsp + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, str._Workfile:_PlotterModel.cpp____Revision:_1__
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x114], r12d
lea r8, str.plot_config
test r8, r8
je 0x140008f08
mov edx, 0x104
lea rcx, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
mov word [rsp + 0x32e], r12w
mov r12d, dword [rsp + 0x114]
jmp 0x140008f11
mov word [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], r12w
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi]
mov r8d, r12d
lea rdx, [rsp + 0x338]
mov rcx, rdi
call qword [rax + 0x78]
mov r10, qword [rdi]
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x28], rax
lea rax, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, rdi
call qword [r10 + 0x18]
nop
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140008f8c
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x140008fb5
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rsi
call qword [rax + 0x10]
test eax, eax
jne 0x140008fb5
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x93
jmp 0x1400098cd
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x18]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140009218
call sub.mfc90u.dll_AfxFailMaxChars
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x88]
mov qword [rsp + 0x108], rcx
mov dword [rsp + 0x110], 0xa9
lea rdi, str.CPlotterModel::OnWizardNext__
mov qword [rsp + 0x118], rdi
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x140009054
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0x120], r12
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x14000909e
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx + rcx - 1]
movsxd rcx, edi
call sub.mfc90u.dll_new__
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [rsp + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, str._Workfile:_PlotterModel.cpp____Revision:_1__
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x114], r12d
lea r8, str.plot_def
test r8, r8
je 0x1400090e7
mov edx, 0x104
lea rcx, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
mov word [rsp + 0x32e], r12w
mov r12d, dword [rsp + 0x114]
jmp 0x1400090f0
mov word [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], r12w
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi]
mov r8d, r12d
lea rdx, [rsp + 0x338]
mov rcx, rdi
call qword [rax + 0x78]
mov r10, qword [rdi]
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x28], rax
lea rax, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, rdi
call qword [r10 + 0x18]
nop
cmp qword [rsp + 0x50], 0
je 0x14000917c
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x14000917c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000917c
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x1400091a1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x1400091c6
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x1400091ef
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rsi
call qword [rax + 0x10]
test eax, eax
jne 0x1400091ef
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x93
jmp 0x1400098cd
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140009485
call sub.mfc90u.dll_AfxFailMaxChars
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x88]
mov qword [rsp + 0x108], rcx
mov dword [rsp + 0x110], 0xa9
lea rdi, str.CPlotterModel::OnWizardNext__
mov qword [rsp + 0x118], rdi
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x14000928b
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0x120], r12
mov rdi, qword [rsp + 0x118]
test rdi, rdi
je 0x1400092d5
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx + rcx - 1]
movsxd rcx, edi
call sub.mfc90u.dll_new__
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [rsp + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, str._Workfile:_PlotterModel.cpp____Revision:_1__
mov qword [rsp + 0x330], rax
mov dword [rsp + 0x114], r12d
lea r8, str.meta
test r8, r8
je 0x14000931e
mov edx, 0x104
lea rcx, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
mov word [rsp + 0x32e], r12w
mov r12d, dword [rsp + 0x114]
jmp 0x140009327
mov word [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], r12w
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi]
mov r8d, r12d
lea rdx, [rsp + 0x338]
mov rcx, rdi
call qword [rax + 0x78]
mov r10, qword [rdi]
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x28], rax
lea rax, [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, rdi
call qword [r10 + 0x18]
nop
cmp qword [rsp + 0x58], 0
je 0x1400093b3
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x1400093b3
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400093b3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
cmp qword [rsp + 0x50], 0
je 0x1400093e9
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x1400093e9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400093e9
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x14000940e
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140009433
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x14000945c
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rsi
call qword [rax + 0x10]
test eax, eax
jne 0x14000945c
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x93
jmp 0x1400098cd
test r13d, r13d
jne 0x1400094bb
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
lea rcx, [r14 + 0x68]
mov r8, rax
mov rdx, qword [rcx + 0x10]
call sub.mfc90u.dll_COleDispatchImpl::Release
lea rcx, [r14 + 0x90]
xor r8d, r8d
mov rdx, qword [rcx + 0x10]
call sub.mfc90u.dll_CInnerUnknown::Release
mov rax, qword [rsp + 0x58]
test r13d, r13d
jle 0x140009568
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x90]
call qword [0x140019558]
nop
mov edi, r12d
cmp edi, r13d
jge 0x140009521
movsxd rax, edi
test edi, edi
js 0x14000951c
cmp rax, qword [r14 + 0x78]
jge 0x14000951c
mov rdx, qword [r14 + 0x70]
mov rdx, qword [rdx + rax*8]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
test eax, eax
jne 0x140009518
mov r15b, 1
mov byte [rsp + 0x40], r15b
jmp 0x140009555
inc edi
jmp 0x1400094e2
call sub.mfc90u.dll_AfxOleUnregisterServerClass
test r15b, r15b
jne 0x140009555
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [r14 + 0x68]
mov r8, rax
mov rdx, qword [rcx + 0x10]
call sub.mfc90u.dll_COleDispatchImpl::Release
lea rcx, [r14 + 0x90]
mov r8d, r13d
mov rdx, qword [rcx + 0x10]
call sub.mfc90u.dll_CInnerUnknown::Release
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000959a
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
call qword [rax + 0x10]
test eax, eax
jne 0x14000959a
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000959a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
cmp qword [rsp + 0x50], 0
je 0x1400095cf
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x10]
test eax, eax
jne 0x1400095cf
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400095cf
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rdi, qword [rsp + 0x98]
jmp 0x14000961b
inc r13d
mov dword [rsp + 0x68], r13d
jmp 0x140008d30
cmp qword [r14 + 0xa0], 2
jge 0x140009658
mov rdx, qword [rsp + 0x80]
mov rax, qword [rdx + 0x110]
mov dword [rax + 0x1834], r12d
mov rax, qword [rdx + 0x110]
mov qword [rax + 0x1848], r14
jmp 0x14000967f
mov rdx, qword [rsp + 0x80]
mov rax, qword [rdx + 0x110]
mov dword [rax + 0x1834], 1
mov rax, qword [rdx + 0x110]
mov qword [rax + 0x1848], r14
mov rax, qword [rdx + 0x110]
mov ecx, dword [rax + 0x1830]
test ecx, ecx
jne 0x140009698
cmp dword [rax + 0x1834], ecx
je 0x1400096ae
cmp ecx, 1
jne 0x140009758
cmp dword [rax + 0x1834], 0
jne 0x140009758
test rbx, rbx
je 0x1400096d7
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x1400096d7
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140009706
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140009706
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x14000972f
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rsi
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x14000972f
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x88
jmp 0x1400098cd
test ecx, ecx
jne 0x140009765
cmp dword [rax + 0x1834], 1
je 0x14000977a
cmp ecx, 1
jne 0x140009824
cmp dword [rax + 0x1834], ecx
jne 0x140009824
test rbx, rbx
je 0x1400097a3
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x1400097a3
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x1400097d2
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x1400097d2
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x1400097fb
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rsi
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x1400097fb
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
movabs rax, 0x87
jmp 0x1400098cd
mov rcx, rdx
call sub.mfc90u.dll_CRichEditView::OnParaRight
mov r12, rax
test rbx, rbx
je 0x140009858
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x140009858
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140009887
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140009887
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rsi, rsi
je 0x1400098b0
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov rdi, qword [rax]
mov rdx, rsi
mov rcx, rax
call qword [rdi + 0x10]
test eax, eax
jne 0x1400098b0
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
mov rax, r12
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013160
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret