Function at 0x4505a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46333c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xcc]
call fcn.00418d20
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::GetSelEleNumbers_void_]
test eax, eax
jne 0x45061b
push 0xffffffffffffffff
push 0x24
push 0xc944
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 7
jne 0x450611
jmp 0x450c44
mov dword [ebp - 0xa4], 1
lea ecx, [ebp - 0xa0]
call fcn.0045ec0e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa8]
call fcn.0041a600
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x90]
call fcn.00405cd0
test eax, eax
jne 0x450674
push str.Untlterr.txt
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4506f0
push 0x2e
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jle 0x4506e0
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call sub.MFC42.DLL_CString::CString
push str.err.txt
lea ecx, [ebp - 0x90]
call fcn.0045ebf6
mov dword [ebp - 0x88], 0
push 0
push 0x1001
lea ecx, [ebp - 0x90]
call fcn.00405d30
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 4
push 0xc945
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
call fcn.00405cd0
push eax
push 0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x48
call dword [sym.imp.datacllt.dll_public:_class_CDPoint___thiscall_CDrawOutput::GetClientOrg_void_]
push eax
lea ecx, [ebp - 0x84]
call dword [sym.imp.GrphCalc.dll_public:_void___thiscall_CDPoint::constructor_class_CDPoint_const__]
mov ecx, dword [ebp - 0xcc]
add ecx, 0x48
call dword [sym.imp.datacllt.dll_public:_double___thiscall_CDrawOutput::GetShowScale_void_]
fstp qword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0xa8]
mov ecx, dword [edx + 0x1a8]
call dword [sym.imp.EleSet.dll_public:_void___thiscall_CUndoRedo::StartANewUndo_class_CDPoint___double_]
push 0xc946
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
cmp dword [ebp - 0xa4], 0
je 0x45080f
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllUnCloseErr_class_CFile___class_CString___int_]
mov dword [ebp - 0x88], eax
jmp 0x450835
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelUnCloseErr_class_CFile___class_CString__]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x450884
push 0xc947
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0xac]
call fcn.00405d30
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
jmp 0x450894
push 0xc948
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
call fcn.00405cd0
push eax
push 0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
push 0xc949
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
call fcn.00405cd0
push eax
push 0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
mov dword [ebp - 0x88], 0
push 0xc94a
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
cmp dword [ebp - 0xa4], 0
je 0x45094a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllSelfIntersectErr_class_CFile___class_CString___int__int_]
mov dword [ebp - 0x88], eax
jmp 0x450974
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelSelfIntersectErr_class_CFile___class_CString___int_]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4509c3
push 0xc94b
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0xac]
call fcn.00405d30
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
jmp 0x4509d3
push 0xc94c
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
call fcn.00405cd0
push eax
push 0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
mov dword [ebp - 0x88], 0
push 0xc974
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
cmp dword [ebp - 0xa4], 0
je 0x450a50
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllMutualIntersectErr_class_CFile___class_CString___int_]
mov dword [ebp - 0x88], eax
jmp 0x450a76
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xa8]
add ecx, 0x124
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelMutualIntersectErr_class_CFile___class_CString__]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x450ac5
push 0xc976
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0xac]
call fcn.00405d30
push eax
lea ecx, [ebp - 0xb4]
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
jmp 0x450ad5
push 0xc975
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0xb4]
call fcn.00405cd0
push eax
push 0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [ebp - 0xa8]
mov ecx, dword [edx + 0x1a8]
call dword [sym.imp.EleSet.dll_public:_void___thiscall_CUndoRedo::EndANewUndo_void_]
push 0
push 2
mov ecx, dword [ebp - 0xcc]
call fcn.0040e51c
mov dword [ebp - 0x6c], 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], 0xa
mov word [ebp - 0x2e], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
push str.Notepad.exe
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0x20
push 1
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00405cd0
push eax
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8