Function at 0x4c7220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4c7229
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.00458710
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.004b4cc4
cmp dword [ebp - 0x20], 0
je 0x4c75ae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, 0xffff
call fcn.004b89e4
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.004b4cc4
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
mov cl, 0x64
call fcn.00459094
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.004b4cc4
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x65
mov cl, 0x64
call fcn.00459094
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.004b4cc4
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0xca
mov cl, 0x64
call fcn.00459094
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.004b4cc4
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x144
mov cl, 0x64
call fcn.00459094
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.004b4d5c
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 0x4c73ef
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1a9], 0
jne 0x4c7408
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.004b4d78
mov ebx, eax
lea ecx, [ebp - 0x134]
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004b96dc
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00459094
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.0045ab38
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004b9330
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00459094
mov eax, dword [ebp - 0x14]
call fcn.00458740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c74d7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004bb2dc
mov esi, eax
dec esi
test esi, esi
jl 0x4c7586
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, ebx
call fcn.004bb2e0
mov eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x1c]
add edx, 0x12f
call fcn.0045ab38
mov eax, dword [ebp - 0x144]
pop edx
call fcn.004b9418
test eax, eax
jne 0x4c757e
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004bb2e0
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.0045ab70
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x1c]
add eax, 0x12f
mov cl, 0x14
call fcn.00459094
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 0x4c7586
inc ebx
dec esi
jne 0x4c74ef
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x4c7598
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x4c75ae
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 0x4c75c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719d7
ret