Function at 0x8267ec
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x8267f5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x826bf2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push 0x826c10
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00819d38
push 0
lea eax, [ebp - 8]
push eax
mov eax, 0x826c3c
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0082493c
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, 0x826c60
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0082492c
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, 0x826c84
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x826ca8
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, 0x826ccc
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0x64
lea eax, [ebp - 0x24]
push eax
mov eax, 0x826cf0
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x24]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x826d14
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x28]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], al
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x826d30
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x2c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x35], al
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x826d50
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x30]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x41], al
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x826d70
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x34]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
movzx edx, byte [0x826d8c]
mov byte [eax + 0x40], dl
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, 0x826d9c
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826a61
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x826db8
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x3c]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826a97
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 2
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, 0x826dd8
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x40]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826acd
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 4
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, 0x826e00
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x44]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826b03
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 8
push 0
lea eax, [ebp - 0x48]
push eax
mov eax, 0x826e30
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826b39
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 0x10
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x826e60
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov ecx, dword [ebp - 0x4c]
mov edx, esi
mov eax, ebx
call fcn.00819280
test al, al
je 0x826b6f
mov eax, dword [ebp - 4]
or byte [eax + 0x40], 0x20
lea eax, [ebp - 0x50]
push eax
mov eax, 0x826e88
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, esi
mov edx, ebx
call fcn.00823ea8
lea eax, [ebp - 0x54]
push eax
mov eax, 0x826ea8
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.00428eb0
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, esi
mov edx, ebx
call fcn.00824520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x826bf9
lea eax, [ebp - 0x54]
mov edx, 0x11
call fcn.0040a338
lea eax, [ebp - 8]
call fcn.0040a2d8
ret