Function at 0x501ed4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404894
mov ebx, 0x56fe18
xor eax, eax
push ebp
push 0x5021aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x5021c0
call fcn.0040447c
push dword [ebp - 8]
push 0x5022b0
push dword [ebp - 4]
push 0x50232c
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404764
mov eax, dword [ebx]
mov eax, dword [eax + 0x330]
call fcn.0049cee4
mov eax, dword [0x56e82c]
mov eax, dword [eax]
mov edx, dword [eax + 0x31c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x330]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404c6c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x330]
call fcn.004b2f50
mov eax, dword [ebx]
mov eax, dword [eax + 0x330]
call fcn.0049ced8
mov eax, dword [ebx]
mov edx, dword [eax + 0x330]
mov eax, dword [ebx]
mov eax, dword [eax + 0x338]
call fcn.0049a9dc
mov eax, dword [ebx]
mov edx, dword [eax + 0x338]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
call fcn.004f19a0
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
call fcn.00462ab0
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
xor edx, edx
call fcn.004ed67c
mov edx, 0x46
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 1
call fcn.004ed67c
mov edx, 0x46
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 2
call fcn.004ed67c
mov edx, 0x96
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 3
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 4
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 5
call fcn.004ed67c
mov edx, 0x32
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 6
call fcn.004ed67c
mov edx, 0x32
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 7
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 8
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 9
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 0xa
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 0xb
call fcn.004ed67c
mov edx, 0x3c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x2e4]
mov edx, 0xc
call fcn.004ed67c
mov edx, 0x64
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
call fcn.004ef7f8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.00492d44
mov edx, dword [eax]
call dword [edx + 0x58]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5021b1
lea eax, [ebp - 0xc]
call fcn.00404af0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404408
ret