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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45baf2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4720bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov dword [ebp - 4], 6
push eax
call fcn.00402320
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
push eax
call fcn.00402320
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
push eax
call fcn.00402320
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x48]
push eax
call fcn.00402320
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x60]
push eax
call fcn.00402320
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x78]
push eax
call fcn.00402320
lea eax, [ebp + 0x98]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x90]
call fcn.00402320
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40af3b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40af81
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x40afc7
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40afbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp ecx, 0x10
jb 0x40b00d
mov edx, dword [ebp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b003
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0x7c]
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
cmp ecx, 0x10
jb 0x40b053
mov edx, dword [ebp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b049
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0x94]
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0xf
mov byte [ebp + 0x68], 0
cmp ecx, 0x10
jb 0x40b09b
mov edx, dword [ebp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b091
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b0e2
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp + 0xac]
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 0xf
mov byte [ebp + 0x80], 0
cmp ecx, 0x10
jb 0x40b0f2
mov edx, dword [ebp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b0e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xa8