Function at 0x140003ad0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x3a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x3b8], rbx
mov rax, qword [0x140028030]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll_public:_void___cdecl_std::exception::constructor_void____ptr64]
nop
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x64], eax
mov word [rsp + 0x78], ax
lea rax, vtable.ADDPLWIZ_Error.0
mov qword [rsp + 0x30], rax
lea rax, vtable.ADDPLWIZ_Error.1.0
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x110]
cmp byte [rax + 0x183c], 1
jne 0x140003b61
mov rcx, rbx
call fcn.140003e20
mov rcx, qword [rbx + 0x110]
cmp byte [rcx + 0x1868], 0
jne 0x140003cbc
lea rdx, [rsp + 0x20]
call fcn.140004e90
mov rdi, rax
cmp qword [rbx + 0x118], 0
je 0x140003bbd
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rbx + 0x118]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003bbd
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x140003bbd
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rdi, qword [rdi]
test rdi, rdi
je 0x140003bd8
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 + 8]
mov qword [rbx + 0x118], rdi
cmp qword [rsp + 0x20], 0
je 0x140003c14
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003c14
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140003c14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x110]
call fcn.140004e30
mov rdi, rax
cmp qword [rbx + 0x120], 0
je 0x140003c63
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rbx + 0x120]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003c63
mov rcx, qword [rbx + 0x120]
test rcx, rcx
je 0x140003c63
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rdi, qword [rdi]
test rdi, rdi
je 0x140003c7e
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 + 8]
mov qword [rbx + 0x120], rdi
cmp qword [rsp + 0x20], 0
je 0x140003cdd
call qword [sym.imp.plotcfg10.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003cdd
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140003cdd
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x140003cdd
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140004140
mov rcx, qword [rax]
call qword [sym.imp.MSVCR90.dll__wremove]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140004140
nop
mov r8, qword [rax]
lea rdx, str.TEMP_HT_PC3_DATA
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.plcfmgr.dll_public:_enum_HT_Config_Return::Enum___cdecl_HT_Plot_Config_Manager::save_pc3_wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, rbx
call sub.mfc90u.dll_CRichEditView::OnParaCenter
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.plotcfg10.dll_public_virtual:_void___cdecl_HT_Exception::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140013160
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x3a0
pop rdi
ret