Function at 0x4bbbc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00404978
lea eax, [ebp - 0x4c]
mov edx, dword [0x4b7994]
call fcn.00404ed0
xor eax, eax
push ebp
push 0x4bbfed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
call fcn.004044c8
lea eax, [ebp - 0x40]
call fcn.004044c8
xor edx, edx
push ebp
push 0x4bbf99
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x40
call fcn.00408754
mov dword [ebp - 0x2c], eax
mov eax, 0x40
call fcn.00408754
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
pushal
mov eax, 0x14b3bf0
mov eax, dword [eax]
mov edx, dword [eax + 0x1f4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
popal
pushal
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov ecx, edx
mov ebx, 0xc2ccd0
call ebx
popal
mov eax, dword [ebp - 0xc]
add eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
add eax, 8
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
shr eax, 2
test al, al
jbe 0x4bbf7f
cmp al, 0x64
jbe 0x4bbcb3
mov al, 0x64
and eax, 0xff
dec eax
test eax, eax
jb 0x4bbf7f
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
xor eax, eax
push ebp
push 0x4bbf69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
shl eax, 2
add eax, dword [ebp - 0x20]
mov ebx, dword [eax]
lea eax, [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea esi, [ebx + 8]
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.00405438
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x38]
call fcn.004a34f0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x38]
call fcn.00404560
add ebx, 0x12b
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x10], 0x14d7
jne 0x4bbd31
lea eax, [ebp - 0x38]
mov edx, 0x4bc004
call fcn.00404560
cmp dword [ebp - 0x10], 0x23a9
jne 0x4bbd47
lea eax, [ebp - 0x38]
mov edx, 0x4bc014
call fcn.00404560
mov eax, dword [ebp - 0x18]
mov edx, 0x4bc028
call fcn.004048d4
je 0x4bbe49
mov eax, dword [ebp - 0x18]
mov edx, 0x4bc038
call fcn.004048d4
je 0x4bbe49
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00404acc
test eax, eax
jg 0x4bbd8f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.00404acc
test eax, eax
jle 0x4bbe49
cmp dword [ebp - 0x28], 0
je 0x4bbe04
xor eax, eax
push ebp
push 0x4bbdfa
push dword fs:[eax]
mov dword fs:[eax], esp
pushal
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov edi, 0x670840
call edi
add esp, 8
mov eax, 0x14b3bf0
mov eax, dword [eax]
mov ecx, dword [eax + 0x1f4]
push dword [ebp - 0x10]
mov edi, 0xc2b9e0
call edi
lea edx, [eax + 0x12b]
push edx
mov ecx, 0x18c8368
mov edi, 0x544200
call edi
mov dword [ebp - 0x14], eax
popal
cmp dword [ebp - 0x14], 0
je 0x4bbdf0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbe04
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x38]
call fcn.00404560
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x34]
call fcn.00405438
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004a34f0
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbf7f
cmp dword [ebp - 0x10], 0x23a9
jne 0x4bbe5f
lea eax, [ebp - 0x38]
mov edx, 0x4bc014
call fcn.00404560
cmp dword [ebp - 0x10], 0x14d7
jne 0x4bbe75
lea eax, [ebp - 0x38]
mov edx, 0x4bc004
call fcn.00404560
mov eax, dword [ebp - 0x18]
mov edx, 0x4bc028
call fcn.004048d4
je 0x4bbe97
mov eax, dword [ebp - 0x18]
mov edx, 0x4bc038
call fcn.004048d4
jne 0x4bbf5f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
call fcn.004048d4
jne 0x4bbf5f
cmp dword [ebp - 0x28], 0
je 0x4bbf1d
xor eax, eax
push ebp
push 0x4bbf13
push dword fs:[eax]
mov dword fs:[eax], esp
pushal
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov edi, 0x670840
call edi
add esp, 8
mov eax, 0x14b3bf0
mov eax, dword [eax]
mov ecx, dword [eax + 0x1f4]
push dword [ebp - 0x10]
mov edi, 0xc2b9e0
call edi
lea edx, [eax + 0x12b]
push edx
mov ecx, 0x18c8368
mov edi, 0x544200
call edi
mov dword [ebp - 0x14], eax
popal
cmp dword [ebp - 0x14], 0
je 0x4bbf09
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbf1d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x38]
call fcn.00404560
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x34]
call fcn.00405438
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004a34f0
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbf7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbf73
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x4bbccc
mov eax, dword [ebp - 0x2c]
call fcn.004027ac
mov eax, dword [ebp - 0x30]
call fcn.004027ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbfa3
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x4c]
mov ecx, dword [0x4b7994]
call fcn.00405204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbff4
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.004044ec
lea eax, [ebp - 0x4c]
mov edx, dword [0x4b7994]
call fcn.00404fa0
lea eax, [ebp - 0x38]
call fcn.004044c8
lea eax, [ebp - 0x18]
call fcn.004044c8
ret