Function at 0x10051ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007fd7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
cmp eax, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ebx
je 0x10051f2d
lea esi, [edi + 0xb8]
mov dword [edi], sym.stlport_vc645.dll_const__STL::basic_ofstream_char__class__STL::char_traits_char__::vbtable
mov ecx, esi
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::ios_base::constructor_void_
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi], vtable._STL::basic_ios_char__class__STL::char_traits_char__.0
mov dword [esp + 0xc], 1
mov dword [esp + 0x24], ebx
mov eax, dword [edi]
push ebx
mov ecx, dword [eax + 4]
mov dword [ecx + edi], vtable._STL::basic_ostream_char__class__STL::char_traits_char__.0
mov edx, dword [edi]
mov esi, dword [edx + 4]
add esi, edi
mov ecx, esi
call sym.stlport_vc645.dll_public:_class__STL::basic_streambuf_char__class__STL::char_traits_char______thiscall__STL::basic_ios_char__class__STL::char_traits_char__::rdbuf_class__STL::basic_streambuf_char__class__STL::char_traits_char____
lea ecx, [esp + 0x10]
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::constructor_void_
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 2
call sym.stlport_vc645.dll_public:_class__STL::locale___thiscall__STL::basic_ios_char__class__STL::char_traits_char__::imbue_class__STL::locale_const__
lea ecx, [esp + 0x2c]
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 8], 1
mov dword [esi + 4], 0x1008
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 6
mov byte [esi + 0x54], 0x20
lea esi, [edi + 4]
mov dword [esp + 0x24], 3
mov dword [esp + 0x18], esi
lea ecx, [esi + 0xc]
lea edx, [esi + 0x2c]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x4c]
mov dword [esi + 8], edx
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::constructor_void_
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push eax
mov dword [esi], vtable._STL::basic_streambuf_char__class__STL::char_traits_char__.0
call fcn.10050f20
mov eax, dword [esi + 8]
push ebx
push ebx
push ebx
push eax
call fcn.10050f20
add esp, 0x20
lea ecx, [esi + 0x54]
mov byte [esp + 0x24], 4
call sym.stlport_vc645.dll_public:_void___thiscall__STL::_Filebuf_base::constructor_void_
mov byte [esi + 0x64], bl
mov byte [esi + 0x65], bl
mov byte [esi + 0x66], bl
mov byte [esi + 0x67], bl
mov byte [esi + 0x68], bl
mov byte [esi + 0x69], bl
mov byte [esi + 0x6a], bl
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov eax, 1
lea ecx, [esp + 0x2c]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi], vtable._STL::basic_filebuf_char__class__STL::char_traits_char__.0
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::constructor_void_
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call sym.stlport_vc645.dll_private:_void___thiscall__STL::basic_filebuf_char__class__STL::char_traits_char__::_M_setup_codecvt_class__STL::locale_const__
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
mov ecx, dword [edi]
push esi
mov byte [esp + 0x28], 6
mov edx, dword [ecx + 4]
mov dword [edx + edi], vtable._STL::basic_ofstream_char__class__STL::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::basic_ios_char__class__STL::char_traits_char__::init_class__STL::basic_streambuf_char__class__STL::char_traits_char____
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4