Function at 0x4baf30
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 0x4baf38
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb20f
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.0042ac90
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004bae60
mov eax, dword [ebp - 0x24]
call fcn.00459e90
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bb1ed
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, 0x4bb228
mov eax, dword [ebp - 8]
call fcn.00458040
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, 0x4bb23c
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00406988
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 0x4bb250
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00406988
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x4bb264
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00406988
mov ecx, 0x14
mov edx, 0x4bb27c
mov eax, dword [ebp - 8]
call fcn.00458090
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, 0x4bb29c
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00406988
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x4bb2b4
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00406988
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x4bb2cc
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00406988
lea eax, [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, 0x4bb2e8
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00406988
push 0
push 0
mov edx, 0x4bb300
mov eax, dword [ebp - 8]
call fcn.00458040
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
push 0
push 0
mov edx, 0x4bb314
mov eax, dword [ebp - 8]
call fcn.00458040
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, 0x4bb330
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406988
lea eax, [ebp - 0x48]
push eax
xor ecx, ecx
mov edx, 0x4bb348
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00406988
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x4bb360
mov eax, dword [ebp - 8]
call fcn.00458220
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00406988
xor ecx, ecx
mov edx, 0x4bb374
mov eax, dword [ebp - 8]
call fcn.00458090
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov edx, 0x4bb384
mov eax, dword [ebp - 8]
call fcn.00458190
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4bb1bb
mov eax, dword [ebp - 0xc]
call fcn.00458030
dec eax
test eax, eax
jl 0x4bb1bb
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00457fd0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4bb1b3
mov dl, 1
mov eax, dword [0x4b99bc]
call fcn.00404fbc
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bbc70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.004291a0
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4bb177
mov eax, dword [ebp - 4]
call fcn.004bb8b0
mov eax, dword [ebp - 4]
call fcn.004babf0
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb1f4
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x5d], dl
mov eax, dword [ebp - 8]
call fcn.00404fec
ret