Function at 0x402080
Capabilities:
Delete file
Terminate process

Disassembly:
mov eax, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push str.Usage:_mcregister___u____m:mask____c____d____k_
push ecx
call fcn.00403f10
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 1
call dword [sym.imp.MSVCR80.dll_exit]
int3
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x405ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, 1
mov byte [ebp + 0x30], bl
mov byte [ebp + 0x5c], 0
mov byte [ebp + 0x34], 0
mov byte [ebp + 0x6f], 0
mov dword [ebp + 0x3c], 7
push ebx
push 0x40
push 2
push str.mcregister.log
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::constructor_char_const___int__int_]
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], bl
mov eax, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push str.Started.
lea ecx, [ebp - 0xac]
push ecx
call fcn.00403f10
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea edx, [ebp + 0x14]
push edx
call fcn.00401ab0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push eax
push str.get_exe___returns:
lea edx, [ebp - 0xac]
push edx
call fcn.00403f10
add esp, 8
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, dword [ebp + 0x78]
jge 0x40225d
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x44]
cmp ecx, 0x10
mov eax, edx
jae 0x402183
lea eax, [ebp + 0x44]
cmp byte [eax], 0x2f
jne case.0x4021b0.101
mov dword [ebp - 0x1c], ebx
cmp ecx, 0x10
mov eax, edx
jae 0x402199
lea eax, [ebp + 0x44]
movsx eax, byte [eax + 1]
add eax, 0xffffff9d
cmp eax, 0x12
ja case.0x4021b0.101
movzx eax, byte [eax + 0x402874]
jmp dword [eax*4 + 0x40285c]
mov byte [ebp + 0x30], 0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, ebx
jmp 0x402150
cmp dword [ebp + 0x54], 4
jne case.0x4021b0.99
mov dword [ebp - 0x20], 2
cmp ecx, 0x10
mov eax, edx
jae 0x4021e2
lea eax, [ebp + 0x44]
cmp byte [eax + 2], 0x3a
jne case.0x4021b0.99
mov dword [ebp], 3
cmp ecx, 0x10
mov eax, edx
jae 0x4021f9
lea eax, [ebp + 0x44]
movsx eax, byte [eax + 3]
sub eax, 0x30
mov dword [ebp + 0x3c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, ebx
jmp 0x402150
mov byte [ebp + 0x5c], bl
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, ebx
jmp 0x402150
mov byte [ebp + 0x34], bl
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, ebx
jmp 0x402150
mov byte [ebp + 0x6f], bl
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, ebx
jmp 0x402150
jmp 0x401fa0
call fcn.00403880
mov dword [ebp + 0x64], eax
mov byte [eax + 0x45], bl
mov eax, dword [ebp + 0x64]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x64]
mov dword [eax], eax
mov eax, dword [ebp + 0x64]
mov dword [eax + 8], eax
mov dword [ebp + 0x68], edi
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
push str._exe
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 6
push 0x5c
push 0x422498
push str.mathcad
lea ecx, [ebp + 0x14]
push ecx
call fcn.00401d80
add esp, 0x10
mov byte [ebp - 4], 7
push eax
lea edx, [ebp + 0x40]
push edx
lea ebx, [ebp + 0x60]
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._mcm
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 8
push 0x5c
push 0x422498
push str.mcmreg
lea eax, [ebp + 0x14]
push eax
call fcn.00401d80
add esp, 0x10
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._aut
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0xa
push 0x2f
push 0x4224b4
push str.automation
lea edx, [ebp + 0x14]
push edx
call fcn.00401d80
add esp, 0x10
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._dir
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x14]
push ecx
call fcn.00401b70
add esp, 4
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp + 0x40]
push edx
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._tlb
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0x34]
push eax
lea ecx, [ebp + 0x14]
push ecx
call fcn.00401c40
add esp, 8
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp + 0x40]
push edx
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._mceng
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x10
push str.mcengR
lea eax, [ebp + 0x40]
push eax
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._mcscript
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x11
push str.mcscriptr
lea ecx, [ebp + 0x40]
push ecx
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._sfx
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x12
push 0x422420
lea edx, [ebp + 0x40]
push edx
call fcn.00402910
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 0x64]
mov esi, dword [eax]
mov dword [ebp + 0x38], esi
cmp esi, dword [ebp + 0x64]
je 0x402559
lea eax, [esi + 0xc]
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
lea edx, [eax + 0x1c]
push edx
push 0x4224e8
push eax
lea eax, [ebp - 0xac]
push eax
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call edi
add esp, 8
push eax
call fcn.00403f10
add esp, 8
push eax
call edi
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [esi + 0x45], 0
jne 0x4024dc
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x402540
mov esi, ecx
mov dword [ebp + 4], esi
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4024d9
mov esi, eax
jmp 0x40252f
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x402555
cmp esi, dword [eax + 8]
jne 0x402555
mov esi, eax
mov dword [ebp + 0x38], esi
jmp 0x402540
mov esi, eax
jmp 0x4024d9
mov edx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0x30]
jmp 0x402580
mov eax, 0x5e0
cmp ebx, eax
jge 0x402626
lea esi, [ebx + ebx*2]
lea esi, [esi*4 + 0x425040]
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x13
mov ecx, dword [esi + 4]
push ecx
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x14
lea edx, [ebp + 0x60]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00401960
mov byte [ebp - 4], 0x15
mov edx, dword [ebp + 0x5c]
push edx
push edi
mov ecx, dword [ebp + 0x3c]
push ecx
lea edx, [ebp - 0xac]
push edx
push eax
lea eax, [ebp + 0x40]
push eax
mov ecx, dword [esi]
push ecx
call fcn.004040d0
add esp, 0x28
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add ebx, 1
mov dword [ebp - 0x14], ebx
jmp 0x402580
xor ebx, ebx
mov dword [ebp + 8], ebx
mov eax, 6
cmp ebx, eax
jge 0x402684
lea esi, [ebx + ebx*2]
lea esi, [esi*4 + 0x429730]
mov edx, dword [esi + 4]
push edx
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp + 0x5c]
push eax
push edi
mov ecx, dword [ebp + 0x3c]
push ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [esi]
push edx
call fcn.00404510
add esp, 0x1c
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add ebx, 1
jmp 0x402628
cmp byte [ebp + 0x5c], 0
je 0x4026e8
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov eax, 9
cmp ebx, eax
jge 0x4026e8
lea esi, [ebx + ebx*2]
lea esi, [esi*4 + 0x4296c0]
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp + 0x5c]
push ecx
push edi
mov edx, dword [ebp + 0x3c]
push edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [esi + 8]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [esi]
push eax
call fcn.00404510
add esp, 0x1c
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add ebx, 1
jmp 0x40268c
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp]
push ecx
lea edi, [ebp + 0x60]
call fcn.004030d0
mov edx, dword [ebp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push str.Successful_exit.
lea ecx, [ebp - 0xac]
push ecx
call fcn.00403f10
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [ebp + 0x6f], 0
jne 0x40275c
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::close_void_]
push str.mcregister.log
call dword [sym.imp.MSVCR80.dll_remove]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x70
mov esp, ebp
pop ebp
ret