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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4609e2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4780bc]
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.00402850
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
push eax
call fcn.00402850
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
push eax
call fcn.00402850
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x48]
push eax
call fcn.00402850
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x60]
push eax
call fcn.00402850
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x78]
push eax
call fcn.00402850
lea eax, [ebp + 0x98]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x90]
call fcn.00402850
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40ed4b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ed41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40ed91
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ed87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40edd7
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40edcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40ee1d
mov edx, dword [ebp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ee13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40ee63
mov edx, dword [ebp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ee59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40eeab
mov edx, dword [ebp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eea1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eef2
push ecx
push edx
call fcn.0045e420
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 0x40ef02
mov edx, dword [ebp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eef8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40eef8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045e420
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