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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532332
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x56adc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x54a754
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [edi]
mov ecx, dword [edx + 4]
push ebx
lea esi, [edi + 4]
push esi
add ecx, edi
mov dword [ebp - 0x10], 1
call fcn.004180a0
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.004178f0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x571994]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0xc]
lea ecx, [ebx + 0x22]
push 0x40
mov ebx, esi
call fcn.00423400
test eax, eax
jne 0x428317
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi + 0xc]
add eax, edi
or ecx, 2
cmp dword [eax + 0x38], 0
jne 0x42825a
or ecx, 4
and ecx, 0x17
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 0x10]
and eax, ecx
je 0x428317
mov esi, 1
test al, 4
je 0x4282a9
call fcn.00515db8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
mov edi, eax
mov dword [ebp + 0xc], str.ios_base::badbit_set
call fcn.004f6ca8
push 0x561af4
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], vtable.std::ios_base::failure.0
call fcn.004fb6d4
test al, 2
je 0x4282e2
call fcn.00515db8
mov edi, eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], str.ios_base::failbit_set
call fcn.004f6ca8
push 0x561af4
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], vtable.std::ios_base::failure.0
call fcn.004fb6d4
call fcn.00515db8
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x24]
mov edi, eax
mov dword [ebp + 0xc], str.ios_base::eofbit_set
call fcn.004f6ca8
push 0x561af4
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], vtable.std::ios_base::failure.0
call fcn.004fb6d4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8