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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a22
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4790bc]
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.00402540
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
push eax
call fcn.00402540
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
push eax
call fcn.00402540
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x48]
push eax
call fcn.00402540
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x60]
push eax
call fcn.00402540
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x78]
push eax
call fcn.00402540
lea eax, [ebp + 0x98]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x90]
call fcn.00402540
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40fbdb
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fbd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fc21
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fc67
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fcad
mov edx, dword [ebp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fcf3
mov edx, dword [ebp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fce9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fd3b
mov edx, dword [ebp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fd31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd82
push ecx
push edx
call fcn.0045f2e0
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 0x40fd92
mov edx, dword [ebp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fd88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fd88
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045f2e0
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