Function at 0x408cd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x40b010
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x408d45
mov dword [esi], 0x452844
mov eax, 0x452844
mov dword [esi + 0x10], 0x45284c
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x408d47
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esi + eax - 4], ecx
lea eax, [esi + 0x18]
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov dword [esi + ecx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 0x18]
mov dword [esi + ecx - 4], edx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov dword [ebp - 0x10], 1
push 0
push eax
mov dword [ebp - 0x20], esi
call fcn.0042f667
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
mov dword [edx + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
mov dword [edx + eax + 0xc], ecx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x20]
mov dword [edx + eax - 4], ecx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edx]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [edx + eax - 4], ecx
mov dword [edx + 0x18], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
call fcn.0042e415
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
push 1
call fcn.004301d0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4c], ecx
lea ecx, [eax + 0x1c]
mov dword [eax + 0x24], ecx
lea ecx, [eax + 0x20]
mov dword [eax + 0x28], ecx
lea ecx, [eax + 0x2c]
mov dword [eax + 0x34], ecx
lea ecx, [eax + 0x30]
mov dword [eax + 0x38], ecx
lea ecx, [eax + 0x3c]
mov dword [eax + 0x44], ecx
lea ecx, [eax + 0x40]
mov dword [eax + 0x48], ecx
mov dword [eax + 0x20], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x18], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4