Function at 0x4eab20
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583ebb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x30], esp
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax], xmm0
movq xmm0, qword [ebx + 0x30]
movq qword [eax + 0x10], xmm0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x40], esp
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebx + 8]
movups xmmword [eax], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [eax + 0x10], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
sub esp, 0x18
mov byte [ebp - 4], 3
mov esi, esp
push 0x20
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.0042bbc0
mov dword [esi + 0x10], 0x12
mov ecx, eax
mov dword [esi + 0x14], 0x1f
sub esp, 0x1c
movups xmm0, xmmword [str.gui_failed_to_load]
movups xmmword [ecx], xmm0
movzx eax, word [0x8a2018]
mov word [ecx + 0x10], ax
mov eax, esp
mov byte [ecx + 0x12], 0
mov dword [esi], ecx
mov ecx, edi
mov byte [eax], 0
mov byte [eax + 0x18], 0
mov byte [ebp - 4], 1
call fcn.0046a130
mov dword [edi], vtable.red::launcher_ui::GuiFailedToLoadPostMortemReport.0
lea ecx, [edi + 4]
mov eax, dword [0x5a8a1c]
movq xmm0, qword [str.REDlauncher.log]
mov dword [ebp - 0x24], eax
movzx eax, word [0x5a8a20]
mov word [ebp - 0x20], ax
mov al, byte [0x5a8a22]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0046a810
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4eacc6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eacbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ead2e
push edx
push ecx
call fcn.0056d673
add esp, 8
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x4eacf6
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eacec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ead2e
push edx
push ecx
call fcn.0056d673
add esp, 8
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edx, 0x10
jb 0x4ead3e
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ead34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ead34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0056d673
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056d0b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30