Function at 0x54b24c
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x54b254
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x54b54e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x12
mov eax, ebx
mov ecx, 1
mov edx, dword [0x54e544]
call fcn.00406a08
add esp, 4
lea ecx, [ebp - 8]
mov edx, 0x54b564
mov eax, 0x54b564
call fcn.0054b22c
lea edx, [ebp - 8]
mov eax, dword [ebx]
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x10]
mov edx, 0x54b584
mov eax, 0x54b584
call fcn.0054b22c
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
add eax, 8
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x18]
mov edx, 0x54b5a8
mov eax, 0x54b5a8
call fcn.0054b22c
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
add eax, 0x10
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x20]
mov edx, 0x54b5cc
mov eax, 0x54b5cc
call fcn.0054b22c
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
add eax, 0x18
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x28]
mov edx, 0x54b5f0
mov eax, 0x54b5f0
call fcn.0054b22c
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
add eax, 0x20
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x30]
mov edx, 0x54b618
mov eax, 0x54b618
call fcn.0054b22c
lea edx, [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x28
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x38]
mov edx, 0x54b63c
mov eax, 0x54b63c
call fcn.0054b22c
lea edx, [ebp - 0x38]
mov eax, dword [ebx]
add eax, 0x30
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x40]
mov edx, 0x54b664
mov eax, 0x54b664
call fcn.0054b22c
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
add eax, 0x38
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x48]
mov edx, 0x54b690
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x48]
mov eax, dword [ebx]
add eax, 0x40
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x50]
mov edx, 0x54b6b4
mov eax, 0x54b6b4
call fcn.0054b22c
lea edx, [ebp - 0x50]
mov eax, dword [ebx]
add eax, 0x48
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x58]
mov edx, 0x54b6d8
mov eax, 0x54b6d8
call fcn.0054b22c
lea edx, [ebp - 0x58]
mov eax, dword [ebx]
add eax, 0x50
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x60]
mov edx, 0x54b6fc
mov eax, 0x54b6fc
call fcn.0054b22c
lea edx, [ebp - 0x60]
mov eax, dword [ebx]
add eax, 0x58
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x68]
mov edx, 0x54b71c
mov eax, 0x54b71c
call fcn.0054b22c
lea edx, [ebp - 0x68]
mov eax, dword [ebx]
add eax, 0x60
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x70]
mov edx, 0x54b740
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x70]
mov eax, dword [ebx]
add eax, 0x68
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x78]
mov edx, 0x54b768
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x78]
mov eax, dword [ebx]
add eax, 0x70
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x80]
mov edx, 0x54b790
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x80]
mov eax, dword [ebx]
add eax, 0x78
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x88]
mov edx, 0x54b7b0
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x88]
mov eax, dword [ebx]
add eax, 0x80
mov ecx, dword [0x54e518]
call fcn.00406098
lea ecx, [ebp - 0x90]
mov edx, 0x54b7d4
mov eax, 0x54b690
call fcn.0054b22c
lea edx, [ebp - 0x90]
mov eax, dword [ebx]
add eax, 0x88
mov ecx, dword [0x54e518]
call fcn.00406098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b555
lea eax, [ebp - 0x90]
mov edx, dword [0x54e518]
mov ecx, 0x12
call fcn.00405e80
ret