Function at 0x1005e580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008106e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
je 0x1005e5e3
lea edi, [esi + 0x50]
mov dword [esi], sym.stlport_vc645.dll_const__STL::basic_stringstream_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__::vbtablefor___STL::basic_istream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__
mov ecx, edi
mov dword [esi + 8], sym.stlport_vc645.dll_const__STL::basic_stringstream_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__::vbtablefor___STL::basic_ostream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::ios_base::constructor_void_
mov word [edi + 0x54], bx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi], vtable._STL::basic_ios_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], ebx
mov eax, dword [esi]
mov dword [esi + 4], ebx
push ebx
mov ecx, dword [eax + 4]
mov dword [ecx + esi], vtable._STL::basic_istream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov edx, dword [esi]
mov ecx, dword [edx + 4]
add ecx, esi
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::basic_ios_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::init_class__STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int____
push ebx
push ebx
lea ecx, [esi + 8]
mov dword [esp + 0x2c], 3
call sym.stlport_vc645.dll_public:_void___thiscall__STL::basic_ostream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::constructor_class__STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int____
mov eax, dword [esi]
push ebx
mov byte [esp + 0x28], 4
mov ecx, dword [eax + 4]
mov dword [ecx + esi], vtable._STL::basic_iostream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov edx, dword [esi]
mov ecx, dword [edx + 4]
add ecx, esi
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::basic_ios_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::init_class__STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int____
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::constructor_void_
mov dword [edi + 0x20], ebx
mov dword [edi], vtable._STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov eax, dword [esp + 0x30]
lea ecx, [edi + 0x28]
lea edx, [esp + 0x34]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
push edx
mov dword [edi + 0x24], eax
call sym.stlport_vc645.dll_public:_class__STL::allocator_char____thiscall__STL::basic_string_char__class__STL::char_traits_char___class__STL::allocator_char__::get_allocator_void_
mov ecx, dword [esp + 0x30]
push eax
call sym.stlport_vc645.dll_public:_void___thiscall__STL::_String_base_char__class__STL::allocator_char__::constructor_class__STL::allocator_char__const__
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x24], 7
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call sym.stlport_vc645.dll_private:_void___thiscall__STL::basic_string_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__::_M_range_initialize_unsigned_short_int___unsigned_short_int__
mov ecx, edi
mov dword [edi], vtable._STL::basic_stringbuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__.0
call sym.stlport_vc645.dll_private:_void___thiscall__STL::basic_stringbuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__::_M_set_ptrs_void_
mov eax, dword [esi]
push ebx
mov byte [esp + 0x28], 8
mov ecx, dword [eax + 4]
mov dword [ecx + esi], vtable._STL::basic_stringstream_unsigned_short_int__class__STL::char_traits_unsigned_short_int___class__STL::allocator_unsigned_short_int__.0
mov edx, dword [esi]
mov ebp, dword [edx + 4]
mov dword [ebp + esi + 0x58], edi
add ebp, esi
mov ecx, ebp
call sym.stlport_vc645.dll_public:_void___thiscall__STL::basic_ios_char__class__STL::char_traits_char__::clear_int_
lea ecx, [esp + 0x30]
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::constructor_void_
push eax
mov byte [esp + 0x28], 9
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call sym.stlport_vc645.dll_public:_class__STL::locale___thiscall__STL::basic_ios_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::imbue_class__STL::locale_const__
lea ecx, [esp + 0x2c]
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 8
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
xor ecx, ecx
cmp edi, ebx
sete cl
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 4], 0x1008
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], 6
mov edx, dword [ecx]
push 0x20
call dword [edx + 0x28]
mov ecx, dword [esp + 0x1c]
mov word [ebp + 0x54], ax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc