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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10283a3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0xc], edi
je 0x10044121
lea eax, [esi + 0x50]
mov dword [esi], 0x1021fbf0
mov dword [ebp + 0xc], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], edi
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov edi, 1
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov ecx, ebx
call fcn.10056360
lea eax, [esi + 4]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], eax
mov dword [ebp - 4], 4
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
or edi, 4
push eax
mov dword [ebp - 0x10], edi
call fcn.10043ca0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
and edi, 0xfffffffb
mov byte [ebp + 0xf], al
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100441b0
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x100441b0
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [ebx + 0x38], 0
mov al, byte [ebp + 0xf]
mov byte [ebx + 0x40], al
jne 0x100441cc
mov eax, dword [ebx + 0xc]
mov ecx, ebx
push 0
or eax, 4
push eax
call fcn.10023250
mov dword [ebp - 4], 5
lea edi, [esi + 4]
mov eax, dword [esi]
push 8
mov dword [ebp + 0xc], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1017030c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10044216
push 1
call fcn.100f2d78
add esp, 4
mov dword [ebx + 4], eax
jmp 0x10044218
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov byte [ebp - 4], 6
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and ecx, 1
mov dword [edi + 0x38], 0
shl ecx, 2
mov eax, ebx
mov edx, ecx
or edx, 8
and al, 8
cmove edx, ecx
mov eax, edx
or eax, 0x10
and bl, 4
cmove eax, edx
mov dword [edi + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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