Function at 0x4f1ec0
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 0x4f1ec8
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f219f
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.0042b680
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004f1df0
mov eax, dword [ebp - 0x24]
call fcn.00480410
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f217d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, 0x4f21b8
mov eax, dword [ebp - 8]
call fcn.0047e4e0
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, 0x4f21cc
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.004069d4
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 0x4f21e0
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.004069d4
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x4f21f4
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.004069d4
mov ecx, 0x14
mov edx, 0x4f220c
mov eax, dword [ebp - 8]
call fcn.0047e530
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, 0x4f222c
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004069d4
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x4f2244
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004069d4
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x4f225c
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004069d4
lea eax, [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, 0x4f2278
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004069d4
push 0
push 0
mov edx, 0x4f2290
mov eax, dword [ebp - 8]
call fcn.0047e4e0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
push 0
push 0
mov edx, 0x4f22a4
mov eax, dword [ebp - 8]
call fcn.0047e4e0
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, 0x4f22c0
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004069d4
lea eax, [ebp - 0x48]
push eax
xor ecx, ecx
mov edx, 0x4f22d8
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004069d4
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x4f22f0
mov eax, dword [ebp - 8]
call fcn.0047e740
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004069d4
xor ecx, ecx
mov edx, 0x4f2304
mov eax, dword [ebp - 8]
call fcn.0047e530
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov edx, 0x4f2314
mov eax, dword [ebp - 8]
call fcn.0047e6b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4f214b
mov eax, dword [ebp - 0xc]
call fcn.0047e4d0
dec eax
test eax, eax
jl 0x4f214b
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0047e450
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4f2143
mov dl, 1
mov eax, dword [0x4f093c]
call fcn.00405008
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004f2c00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.00429660
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4f2107
mov eax, dword [ebp - 4]
call fcn.004f2840
mov eax, dword [ebp - 4]
call fcn.004f1b80
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2184
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x5d], dl
mov eax, dword [ebp - 8]
call fcn.00405038
ret