Function at 0x471514
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x47151d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4718f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0x4718c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4718ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x1b2
call fcn.00402b10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f04c
cmp dword [ebp - 0x20], 0
je 0x4718a2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, 0xffff
call fcn.00462afc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f04c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
mov cl, 0x64
call fcn.00403494
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f04c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x65
mov cl, 0x64
call fcn.00403494
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f04c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0xca
mov cl, 0x64
call fcn.00403494
lea ecx, [ebp - 0x130]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f04c
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x144
mov cl, 0x64
call fcn.00403494
mov eax, dword [ebp - 0x1c]
mov dl, byte [ebp + 8]
mov byte [eax + 0x1ad], dl
xor eax, eax
push ebp
push 0x4716d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f0e4
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1a9], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4716e3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1a9], 0
jne 0x4716fc
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1a9], 0x19
xor eax, eax
push ebp
push 0x4717c1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.0045f100
mov ebx, eax
lea ecx, [ebp - 0x134]
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00463850
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00403494
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.00404f38
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.0046348c
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00403494
mov eax, dword [ebp - 0x14]
call fcn.00402b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4717cb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0046544c
mov esi, eax
dec esi
test esi, esi
jl 0x47187a
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, ebx
call fcn.00465450
mov eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.00404f38
mov eax, dword [ebp - 0x144]
pop edx
call fcn.00463574
test eax, eax
jne 0x471872
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.00465450
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404f70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00403494
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 1
mov byte [ebp - 0xd], 1
jmp 0x47187a
inc ebx
dec esi
jne 0x4717e3
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x47188c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x4718a2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1ae], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4718b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4718cb
ret