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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1675
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0042b840
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::GetSelEleNumbers_void_]
test eax, eax
jne 0x4890f4
push 0xffffffffffffffff
push 0x24
push 0xc944
call sub.mfc120.dll_Ordinal_2255
cmp eax, 7
jne 0x4890ed
jmp 0x489616
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.0042b8a0
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
test eax, eax
jne 0x48913f
push str.Untlterr.txt
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
jmp 0x489199
push 0x2e
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_12697]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jle 0x48918b
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_8204]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push str.err.txt
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
mov dword [ebp - 0x28], 0
push 0
push 0x1001
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_11782
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 4
push 0xc945
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_14379
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call dword [sym.imp.datacllt.dll_public:_class_CDPoint___thiscall_CDrawOutput::GetClientOrg_void_]
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call dword [sym.imp.datacllt.dll_public:_double___thiscall_CDrawOutput::GetShowScale_void_]
fstp qword [ebp - 0x78]
sub esp, 8
movsd xmm0, qword [ebp - 0x78]
movsd qword [esp], xmm0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x268]
call dword [sym.imp.EleSet.dll_public:_void___thiscall_CUndoRedo::StartANewUndo_class_CDPoint___double_]
push 0xc946
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
cmp dword [ebp - 0x40], 0
je 0x48927e
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllUnCloseErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int_]
mov dword [ebp - 0x28], eax
jmp 0x489298
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelUnCloseErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4892d6
push 0xc947
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
jmp 0x4892e4
push 0xc948
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_14379
push 0xc949
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_14379
mov dword [ebp - 0x28], 0
push 0xc94a
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
cmp dword [ebp - 0x40], 0
je 0x489373
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllSelfIntersectErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int__int_]
mov dword [ebp - 0x28], eax
jmp 0x489391
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelSelfIntersectErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int_]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4893cf
push 0xc94b
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
jmp 0x4893dd
push 0xc94c
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_14379
mov dword [ebp - 0x28], 0
push 0xc974
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
cmp dword [ebp - 0x40], 0
je 0x48943c
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckAllMutualIntersectErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int_]
mov dword [ebp - 0x28], eax
jmp 0x489456
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_int___thiscall_CEleSet::CheckSelMutualIntersectErr_class_CFile___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x489494
push 0xc976
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
jmp 0x4894a2
push 0xc975
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_14379
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_2838
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x268]
call dword [sym.imp.EleSet.dll_public:_void___thiscall_CUndoRedo::EndANewUndo_void_]
push 0
push 2
mov ecx, dword [ebp - 0x34]
call fcn.0041acb0
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0xbc], 0x44
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 1
mov ecx, 0xa
mov word [ebp - 0x8c], cx
xor edx, edx
mov word [ebp - 0x8a], dx
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 5
push 0x4b42e8
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1687]
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0
push 0
push 0x20
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call sub.mfc120.dll_Ordinal_1137
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret 8