Function at 0x6c7c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x807e81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbtable]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov ebx, 4
mov dword [esp + 0x78], ecx
mov dword [esp + 0xc], ebx
push 0
push 1
lea edx, [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool__bool_]
push 2
lea ecx, [esp + 0x30]
mov dword [esp + 0xb8], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov eax, dword [esp + 0x28]
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x28], edx
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xb4], 3
mov al, byte [edi + 1]
test al, al
je 0x6c7d57
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x6c7d57
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.006c9de0
mov ebx, 5
mov dword [esp + 0xc], ebx
mov byte [esp + 0xb4], 4
jmp 0x6c7d5a
lea eax, [esi + 4]
mov ecx, dword [eax]
mov al, byte [edi + 2]
mov esi, dword [esi]
push 0x8aaaa4
push eax
push ecx
push eax
push 0x8acbe8
lea ecx, [esp + 0x3c]
push esi
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push ecx
call esi
add esp, 8
push eax
call esi
mov edi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_]
add esp, 8
push eax
call edi
add esp, 8
push eax
call esi
add esp, 8
push eax
call edi
add esp, 8
push eax
call esi
add esp, 8
mov dword [esp + 0xb4], 3
test bl, 1
je 0x6c7dc3
and ebx, 0xfffffffe
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea ecx, [esp + 0x28]
push edx
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 eax, dword [eax + 4]
xor edi, edi
cmp eax, edi
mov byte [esp + 0xb4], 5
jne 0x6c7de8
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]
mov esi, dword [esp + 0xbc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
or ebx, 2
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x6c7e23
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6c7e1a
cmp al, 0xff
je 0x6c7e1a
dec al
mov byte [ecx], al
jmp 0x6c7e23
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x78]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edx, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov dword [esp + edx + 0x28], eax
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb4], 6
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 7
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 eax, dword [sym.imp.MSVCP60.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::locale::destructor_void_]
mov ecx, dword [esp + 0x28]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov byte [esp + 0xb4], 0
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x28], eax
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 8