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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x50bcc8
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50bf9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0042a960
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0050bbf0
mov eax, dword [ebp - 0x24]
call fcn.00474dc0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50bf7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, 0x50bfb8
mov eax, dword [ebp - 8]
call fcn.00472f20
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x50bfcc
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00406970
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 0x50bfe0
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00406970
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x50bff4
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00406970
mov ecx, 0x14
mov edx, 0x50c00c
mov eax, dword [ebp - 8]
call fcn.00472f70
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, 0x50c02c
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00406970
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x50c044
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00406970
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x50c05c
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00406970
lea eax, [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, 0x50c078
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00406970
push 0
push 0
mov edx, 0x50c090
mov eax, dword [ebp - 8]
call fcn.00472f20
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
push 0
push 0
mov edx, 0x50c0a4
mov eax, dword [ebp - 8]
call fcn.00472f20
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
lea eax, [ebp - 0x44]
push eax
xor ecx, ecx
mov edx, 0x50c0c0
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406970
lea eax, [ebp - 0x48]
push eax
xor ecx, ecx
mov edx, 0x50c0d8
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00406970
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x50c0f0
mov eax, dword [ebp - 8]
call fcn.00473150
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00406970
xor ecx, ecx
mov edx, 0x50c104
mov eax, dword [ebp - 8]
call fcn.00472f70
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov edx, 0x50c114
mov eax, dword [ebp - 8]
call fcn.004730c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x50bf4b
mov eax, dword [ebp - 0xc]
call fcn.00472f10
dec eax
test eax, eax
jl 0x50bf4b
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00472eb0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50bf43
mov dl, 1
mov eax, dword [0x50a73c]
call fcn.00404fa4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0050ca00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.00428c60
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x50bf07
mov eax, dword [ebp - 4]
call fcn.0050c640
mov eax, dword [ebp - 4]
call fcn.0050b980
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bf84
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x5d], dl
mov eax, dword [ebp - 8]
call fcn.00404fd4
ret