Function at 0x4b0e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58b1f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x5aa328
lea esi, [ecx + 4]
xor ebx, ebx
push esi
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov cl, byte [0x603d39]
test cl, 1
jne 0x4b0eb8
or cl, 1
mov byte [0x603d39], cl
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
mov dword [0x603d3c], ecx
mov edi, dword [0x603d3c]
cmp edi, ebx
je 0x4b0ee5
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4b0ece
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x5e227c
push edi
call dword [sym.imp.MSVCRT.dll_fprintf]
push edi
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x10
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4b0f0a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b0f01
cmp al, 0xff
je 0x4b0f01
dec al
mov byte [ecx], al
jmp 0x4b0f0a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edi, [esi + 0x50]
mov dword [esp + 0x18], ebx
mov eax, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], eax
mov edx, dword [eax - 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov dword [ecx + eax - 0x50], edx
lea esi, [eax - 0x4c]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, esi
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_void_]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov dword [esi], ecx
lea ecx, [esi + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::locale::destructor_void_]
mov edx, dword [esi - 4]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [edx + 4]
mov dword [eax + esi - 4], ecx
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov ecx, edi
mov dword [edi], edx
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret