Function at 0x5c6540
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5c6548
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5c6b04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403640
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00471c9c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x5c6b20
call fcn.004072b0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005c7a9c
push 0x5c6b50
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x5c6b88
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00406edc
push 0x5c6b50
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5c6bd0
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00406edc
push 0x5c6c28
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5c6c78
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x18]
call fcn.00406edc
push 1
mov ecx, 0x5c6cd8
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1c], al
push 1
mov ecx, 0x5c6d24
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1d], al
push 1
mov ecx, 0x5c6d78
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1e], al
push 1
mov ecx, 0x5c6dd4
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1f], al
push 0x5c6e20
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x5c6e8c
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x20]
call fcn.00406edc
push 0x5c6ecc
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x5c6f38
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x24]
call fcn.00406edc
push 0xa
mov ecx, 0x5c6f7c
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 7
mov ecx, 0x5c6fc4
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x2c], eax
push 7
mov ecx, 0x5c7014
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x30], eax
push 0xa
mov ecx, 0x5c7068
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 7
mov ecx, 0x5c70b0
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 7
mov ecx, 0x5c70fc
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0
mov ecx, 0x5c714c
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 7
mov ecx, 0x5c714c
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x44], eax
push 7
mov ecx, 0x5c714c
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x48], eax
push 0xa
mov ecx, 0x5c7194
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x4c], eax
push 7
mov ecx, 0x5c71d8
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x50], eax
push 7
mov ecx, 0x5c7224
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x54], eax
push 0xa
mov ecx, 0x5c7274
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x58], eax
push 7
mov ecx, 0x5c72c8
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
push 7
mov ecx, 0x5c7320
mov edx, 0x5c6bbc
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x60], eax
push 0x5c737c
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x5c73dc
mov edx, 0x5c7404
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x64]
call fcn.00406edc
push 0x5c7424
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5c7488
mov edx, 0x5c7404
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x68]
call fcn.00406edc
push 0x1e
mov ecx, 0x5c74b8
mov edx, 0x5c74e0
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x6c], eax
push 0xf
mov ecx, 0x5c74b8
mov edx, 0x5c74e0
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x70], eax
push 1
mov ecx, 0x5c74fc
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x74], al
push 1
mov ecx, 0x5c7558
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x75], al
push 1
mov ecx, 0x5c75ac
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x76], al
push 1
mov ecx, 0x5c7604
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x77], al
push 0xe
mov ecx, 0x5c765c
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x78], eax
push 0x1e
mov ecx, 0x5c76a0
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x7c], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x5c76f0
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x80]
call fcn.00406edc
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x5c7748
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x84]
call fcn.00406edc
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x5c77a4
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x88]
call fcn.00406edc
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x5c77fc
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x8c]
call fcn.00406edc
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5c7850
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x90]
call fcn.00406edc
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5c78ac
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x94]
call fcn.00406edc
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x5c7908
mov edx, 0x5c7534
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x98]
call fcn.00406edc
push 0
mov ecx, 0x5c7968
mov edx, 0x5c7998
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x9c], al
push 0x5c79b4
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x5c79c8
mov edx, 0x5c7998
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0xa0]
call fcn.00406edc
push 0x1e
mov ecx, 0x5c79f0
mov edx, 0x5c7998
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0xa4], eax
push 1
mov ecx, 0x5c7a18
mov edx, 0x5c7a50
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0xa8], al
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5c7a68
mov edx, 0x5c7a50
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0xac]
call fcn.00406edc
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x5c7a7c
mov edx, 0x5c7a50
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0xb0]
call fcn.00406edc
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x5c7a90
mov edx, 0x5c7a50
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0xb4]
call fcn.00406edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c6b0b
lea eax, [ebp - 0x54]
mov edx, 0x15
call fcn.00406ed4
ret