Function at 0x403ca0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
push esi
mov dword [ebp - 0x10], 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 - 0x10], 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 esi, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00419370
lea eax, [esi + 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, [esi + 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00401bf0
mov ecx, dword [ebp + 0x14]
mov edi, eax
add esp, 0x28
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x18]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x403dd8
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, esp
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push edx
push dword [ebp + 8]
mov dword [eax], 0xd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x38]
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 edi
mov byte [ebp - 4], 4
call fcn.00401bf0
mov ecx, dword [ebp - 0x24]
add esp, 0x28
cmp ecx, 0xf
jbe 0x403e52
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e8a
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 0x403e9a
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403e90
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, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14