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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x46a180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
lea ecx, [esi + 0x68]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x457c98
mov dword [esi + 0x10], 0x457ca0
call fcn.00403e00
mov eax, dword [esi]
lea edi, [esi + 0x18]
push 0
push edi
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0040a530
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 5
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 ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00430dd5
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404494
push 1
mov byte [ebp - 4], 6
call fcn.004199fc
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x404496
xor ecx, ecx
mov dword [edi + 0x34], ecx
mov ecx, edi
call fcn.00408b00
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0xb0]
mov edx, edi
mov dword [ebp - 4], 7
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
lea eax, [edx + 1]
mov dword [ecx + 0x14], 0
mov dword [ebp + 0xc], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4044e0
sub edx, dword [ebp + 0xc]
push edx
push edi
call fcn.00402ff0
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xc8]
mov eax, edi
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
lea edx, [eax + 1]
mov dword [ecx + 0x14], 0
mov dword [ebp + 0xc], edx
nop word [eax + eax]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404520
sub eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00402ff0
mov eax, dword [ebp + 8]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xe4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10