Function at 0x4b5754
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
test dl, dl
je 0x4b5767
add esp, 0xfffffff0
call fcn.00403334
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
call fcn.00404174
xor eax, eax
push ebp
push 0x4b5965
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x100000
mov eax, dword [ebp - 4]
mov byte [eax + 0x15], 0
cmp dword [ebp - 0xc], 0
jne 0x4b57b3
mov ecx, 0x4b5998
mov dl, 1
mov eax, dword [0x407a70]
call fcn.0040b29c
call fcn.0040378c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4b3834]
call fcn.004b4558
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov al, byte [ebp + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x1c], al
mov dl, 1
mov eax, dword [0x4b37bc]
call fcn.004b4034
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
cmp byte [ebp + 0x14], 0
je 0x4b5901
mov eax, dword [ebp - 4]
mov edx, dword [0x4b59c0]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1c]
call fcn.004b3b24
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b], eax
cmp dword [ebp + 0x10], 0
jne 0x4b582a
mov eax, dword [ebp - 4]
mov byte [eax + 0x5a], 0
jmp 0x4b5896
mov eax, dword [ebp - 4]
mov byte [eax + 0x5a], 1
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov byte [ecx + edx + 0x60], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jne 0x4b5836
mov eax, dword [ebp - 4]
lea edx, [eax + 0x60]
mov ecx, 0x64
xor eax, eax
call fcn.004b6a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0
mov ecx, dword [ebp + 0x10]
mov dl, 1
mov eax, dword [0x4af078]
call fcn.004af610
mov dword [ebp - 0x14], eax
push 0x64
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x60]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x60]
mov eax, dword [ebp - 0x14]
call fcn.004afa38
mov eax, dword [ebp - 0x14]
call fcn.00402ff4
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x40000000
mov al, byte [ebp + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x58], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x59], 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x44]
mov ecx, 0x80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 8]
cmp eax, 0x80
je 0x4b58f2
mov ecx, 0x4b59cc
mov dl, 1
mov eax, dword [0x407a70]
call fcn.0040b29c
call fcn.0040378c
mov edx, 0x80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp + 0x10]
call fcn.00403d94
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00412840
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
call fcn.004b4fb0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b596c
lea eax, [ebp + 0x10]
call fcn.00403d40
ret