Function at 0x4bc230
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404978
lea eax, [ebp - 0x21]
mov edx, dword [0x4b7968]
call fcn.00404ed0
xor eax, eax
push ebp
push 0x4bc458
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x21], eax
lea eax, [ebp - 0x1d]
call fcn.004044c8
lea eax, [ebp - 0x19]
call fcn.004044c8
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x21]
mov ecx, dword [0x4b7968]
call fcn.00405204
xor ecx, ecx
push ebp
push 0x4bc415
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 0xc], 0x14b3bf0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, 0x24
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, 0x90
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0
jbe 0x4bc40b
cmp byte [ebp - 0xe], 0x64
jbe 0x4bc2f5
mov byte [ebp - 0xe], 0x64
mov al, byte [ebp - 0xe]
dec eax
test al, al
jb 0x4bc40b
inc eax
mov byte [ebp - 0x15], al
mov byte [ebp - 0xd], 0
xor ecx, ecx
push ebp
push 0x4bc3f5
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
xor edx, edx
mov dl, byte [ebp - 0xd]
imul edx, edx, 0x7e
add eax, edx
add eax, 0x3a
mov edx, dword [eax]
mov ecx, edx
add ecx, 4
mov ebx, dword [ecx]
mov esi, edx
add esi, 8
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00405438
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004a34f0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
call fcn.00404560
cmp ebx, 0x14d7
jne 0x4bc36d
lea eax, [ebp - 0x14]
mov edx, 0x4bc470
call fcn.00404560
cmp ebx, 0x23a9
jne 0x4bc382
lea eax, [ebp - 0x14]
mov edx, 0x4bc480
call fcn.00404560
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00404acc
test eax, eax
jg 0x4bc3a0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00404acc
test eax, eax
jle 0x4bc3eb
mov dword [ebp - 0x21], ebx
lea eax, [ebp - 0x1d]
mov edx, dword [ebp - 0x14]
call fcn.00404560
lea ecx, [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp - 0xe]
mov edx, ebx
call fcn.004bc040
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x19]
call fcn.00404560
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x21]
mov ecx, dword [0x4b7968]
call fcn.00405204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc41f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc3ff
inc byte [ebp - 0xd]
dec byte [ebp - 0x15]
jne 0x4bc309
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc41f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc45f
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004044ec
lea eax, [ebp - 0x21]
mov edx, dword [0x4b7968]
call fcn.00404fa0
lea eax, [ebp - 0x14]
call fcn.004044c8
lea eax, [ebp - 4]
call fcn.004044c8
ret