Function at 0x472114
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x47211d
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.00403710
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.0045fc4c
cmp dword [ebp - 0x20], 0
je 0x4724a2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, 0xffff
call fcn.004636fc
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.0045fc4c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
mov cl, 0x64
call fcn.00404094
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.0045fc4c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x65
mov cl, 0x64
call fcn.00404094
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.0045fc4c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0xca
mov cl, 0x64
call fcn.00404094
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.0045fc4c
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x144
mov cl, 0x64
call fcn.00404094
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.0045fce4
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 0x4722e3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1a9], 0
jne 0x4722fc
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.0045fd00
mov ebx, eax
lea ecx, [ebp - 0x134]
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00464450
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00404094
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.00405b38
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.0046408c
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00404094
mov eax, dword [ebp - 0x14]
call fcn.00403740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4723cb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0046604c
mov esi, eax
dec esi
test esi, esi
jl 0x47247a
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, ebx
call fcn.00466050
mov eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.00405b38
mov eax, dword [ebp - 0x144]
pop edx
call fcn.00464174
test eax, eax
jne 0x472472
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.00466050
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00405b70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00404094
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 0x47247a
inc ebx
dec esi
jne 0x4723e3
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x47248c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x4724a2
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 0x4724b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4718cb
ret