Function at 0x100556d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100805c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ecx - 0x98]
push ebx
push esi
mov dword [esp + 8], ecx
mov edx, dword [eax + 4]
mov dword [edx + ecx - 0x98], 0x10085594
lea esi, [ecx - 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], esi
mov dword [esi], vtable._STL::basic_filebuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov dl, byte [esi + 0x30]
mov cl, byte [esi + 0x38]
cmp dl, bl
mov byte [esp + 0x18], 1
setne al
cmp cl, bl
je 0x10055746
cmp al, bl
je 0x1005573d
push 0xffff
mov ecx, esi
call dword [0x10085570]
mov ecx, esi
call sym.stlport_vc645.dll_private:_bool___thiscall__STL::basic_filebuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::_M_unshift_void_
jmp 0x10055765
cmp byte [esi + 0x37], bl
je 0x10055765
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x1005575f
mov ecx, dword [esi + 0x60]
push ecx
push eax
lea ecx, [esi + 0x24]
call sym.stlport_vc645.dll_public:_void___thiscall__STL::_Filebuf_base::_M_unmap_void___long_int_
mov byte [esi + 0x37], bl
mov dword [esi + 0x5c], ebx
push edi
lea ecx, [esi + 0x24]
call sym.stlport_vc645.dll_public:_bool___thiscall__STL::_Filebuf_base::_M_close_void_
push ebx
push ebx
push ebx
mov ecx, esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
call sym.stlport_vc645.dll_public:_void___thiscall__STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::_M_setg_unsigned_short_int___unsigned_short_int___unsigned_short_int__
push ebx
push ebx
mov ecx, esi
call sym.stlport_vc645.dll_protected:_void___thiscall__STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__::setp_unsigned_short_int___unsigned_short_int__
mov al, byte [esi + 0x36]
mov edi, dword [sym.imp.MSVCRT.dll_free]
cmp al, bl
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov byte [esi + 0x3a], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x37], bl
je 0x100557be
mov edx, dword [esi + 0x3c]
push edx
call edi
add esp, 4
mov eax, dword [esi + 0x44]
push eax
call edi
add esp, 4
lea ecx, [esi + 0x1c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esp + 0x1c], bl
mov dword [esi], vtable._STL::basic_streambuf_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
call sym.stlport_vc645.dll_public:_void___thiscall__STL::locale::destructor_void_
mov ecx, dword [esi - 0xc]
lea eax, [esi - 0xc]
test eax, eax
mov edx, dword [ecx + 4]
pop edi
mov dword [edx + esi - 0xc], 0x10085464
je 0x100557fe
lea ebx, [esi - 4]
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [edx + ebx], vtable._STL::basic_ostream_unsigned_short_int__class__STL::char_traits_unsigned_short_int__.0
mov eax, dword [esi - 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx + esi - 0xc], 0x100852cc
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret