Function at 0x471620
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x471629
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 0x4719fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0x4719d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4719b8
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.0045f0c4
cmp dword [ebp - 0x20], 0
je 0x4719ae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, 0xffff
call fcn.00462de4
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.0045f0c4
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.0045f0c4
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.0045f0c4
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.0045f0c4
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 0x4717e5
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.0045f15c
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 0x4717ef
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1a9], 0
jne 0x471808
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1a9], 0x19
xor eax, eax
push ebp
push 0x4718cd
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.0045f178
mov ebx, eax
lea ecx, [ebp - 0x134]
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00463adc
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.00463730
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 0x4718d7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004656dc
mov esi, eax
dec esi
test esi, esi
jl 0x471986
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, ebx
call fcn.004656e0
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.00463818
test eax, eax
jne 0x47197e
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004656e0
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 0x471986
inc ebx
dec esi
jne 0x4718ef
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x471998
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x4719ae
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 0x4719c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719d7
ret