Function at 0x4016d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c9d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push esi
mov dword [ebp - 0x14], 0
push edi
lea edi, [ecx + 0x20]
mov dword [ecx], eax
lea ecx, [edi + 0x68]
mov dword [ebp - 0x18], edi
mov dword [edi], 0x4a0798
mov dword [edi + 0x10], 0x4a07a0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
push esi
mov ecx, edi
mov dword [ebp - 0x14], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [edi]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00419370
lea eax, [edi + 4]
sub esp, 0x10
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [ebp - 0x50]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, esp
movups xmmword [ebp - 0x68], xmm0
push 0xa
movq xmm0, qword [ebp - 0x40]
movq qword [ebp - 0x58], xmm0
mov dword [eax], 0x1cc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x50]
push str._:_
push eax
call fcn.00485770
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
push eax
lea eax, [edi + 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00401bf0
mov ecx, dword [ebp + 0x18]
add esp, 0x18
mov edx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x20], ecx
mov eax, esp
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
lea edi, [ebp - 0x20]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], edi
lea eax, [ebp - 0x38]
push edx
push eax
call fcn.00485770
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmova eax, dword [ebp - 0x38]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00401bf0
mov ecx, dword [ebp - 0x24]
add esp, 0x28
mov edi, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x401873
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401869
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018ab
push ecx
push edx
call fcn.0049b35d
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x4018bb
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4018b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0049b35d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14