Function at 0x42f250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448cf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov al, byte [esp + 3]
push esi
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbtable]
mov dword [esp + 0xc0], 1
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::vftable]
mov dword [esp + 0xc], 2
mov dword [esp + 0x74], edx
push edi
push 1
lea eax, [esp + 0x30]
push edi
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::constructor_class_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int_____bool__bool_]
push 2
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc4], 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_int_]
mov ecx, dword [esp + 0x24]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vftable]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], eax
mov ecx, dword [esp + 0xdc]
mov byte [esp + 0xc0], 4
cmp ecx, edi
je 0x42f34c
fld qword [esp + 0xcc]
fcom qword [0x44d4b0]
fnstsw ax
test ah, 1
je 0x42f325
mov ecx, 0x1000
fcomp qword [0x44d4a8]
fnstsw ax
test ah, 0x41
jne 0x42f337
mov ecx, 0x1000
mov edx, dword [esp + 0x24]
and ecx, 0x7fff
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x30], ecx
lea eax, [esp + eax + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0xd4]
mov dword [esp + edx + 0x38], ecx
mov ecx, dword [esp + 0xd8]
lea eax, [esp + edx + 0x24]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0xd0]
mov dword [esp + eax + 0x34], ecx
push edx
lea eax, [esp + eax + 0x28]
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0xd0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______thiscall_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___double_]
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0xc0], 5
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0xac]
mov byte [esp + 0xc0], 4
cmp ecx, edi
je 0x42f3f2
mov al, byte [ecx - 1]
test al, al
je 0x42f3e6
cmp al, 0xff
je 0x42f3e6
dec al
mov byte [ecx - 1], al
jmp 0x42f3f2
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0xc8]
mov dl, byte [esp + 0x10]
mov byte [esi], dl
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ecx
push edi
push edx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov dword [esp + 0xc], 3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vftable]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 6
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::vftable]
mov byte [esp + 0xc0], 1
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], eax
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::vftable]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x42f4a2
mov al, byte [ecx - 1]
test al, al
je 0x42f496
cmp al, 0xff
je 0x42f496
dec al
mov byte [ecx - 1], al
jmp 0x42f4a2
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xbc
ret