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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e3e2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4750bc]
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 0x40da7b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40dac1
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dab7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40db07
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dafd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40db4d
mov edx, dword [ebp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40db93
mov edx, dword [ebp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40dbdb
mov edx, dword [ebp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dbd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc22
push ecx
push edx
call fcn.0045bf3a
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 0x40dc32
mov edx, dword [ebp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40dc28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dc28
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
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