Function at 0x4cf8f7
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x549de4
call fcn.004f8378
push ecx
mov eax, 0x1428
call fcn.004f86e0
mov eax, dword [0x59fe84]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00513b48
push dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x28]
push dword [esi + 8]
push eax
call fcn.0052c80c
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.0052c827
cmp dword [ebp - 0x18], 0x191
jne 0x4cf98c
mov ecx, dword [esi + 0x24]
push ebx
push 6
push 0x2eee
push ebx
call fcn.0052c70a
cmp eax, 0x2f00
je 0x4cf97e
push 2
call fcn.004d0ba6
pop ecx
mov ecx, dword [esi + 0x24]
push ebx
push ebx
push ebx
push ebx
call fcn.0052c7d9
jmp 0x4cf949
mov ecx, dword [esi + 0x20]
push ebx
push 0x64
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
push ebx
push 0xa
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x18], 0xc8
je 0x4cf9b6
push dword [ebp - 0x18]
call fcn.004d0ba6
pop ecx
mov eax, dword [0x59fe84]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x24]
push ebx
push eax
push 5
mov byte [ebp - 4], 2
call fcn.0052c866
cmp eax, ebx
je 0x4cf9e1
push dword [ebp - 0x24]
call fcn.004f92dd
pop ecx
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x4cf9fc
mov eax, dword [ecx]
push dword [esi + 0x24]
call dword [eax + 0x18]
cmp eax, ebx
jne 0x4cf9fc
push 5
call fcn.004d0ba6
pop ecx
cmp dword [esi + 0x30], ebx
jle 0x4cfa90
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4cfa16
push eax
call fcn.0051349a
pop ecx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x30]
inc eax
push eax
call fcn.00513471
cmp eax, ebx
pop ecx
mov dword [esi + 0x2c], eax
jne 0x4cfa30
push 4
call fcn.004d0ba6
pop ecx
mov eax, dword [esi + 0x30]
inc eax
push eax
push ebx
push dword [esi + 0x2c]
call fcn.004f8540
mov ecx, dword [esi + 0x20]
add esp, 0xc
mov eax, dword [ecx]
push ebx
push dword [esi + 0x30]
push ebx
call dword [eax + 0x14]
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x30]
mov ecx, 0x1000
sub eax, dword [ebp - 0x14]
cmp eax, ecx
jle 0x4cfa65
mov eax, ecx
mov ecx, dword [esi + 0x24]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x34]
cmp eax, ebx
jle 0x4cfb70
add dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x20]
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov edi, dword [esi + 0x2c]
add edi, dword [ebp - 0x14]
jmp 0x4cfa54
mov eax, dword [0x59fe84]
xor edi, edi
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x1438]
push 0x1000
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jle 0x4cfb19
add eax, edi
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], eax
call fcn.00513b60
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1438]
add eax, edi
push ecx
push eax
call fcn.004f87d0
mov edi, dword [ebp - 0x30]
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.00513baf
mov ecx, dword [esi + 0x20]
cmp dword [ebp - 0x2c], 0x1000
push ebx
mov eax, dword [ecx]
jne 0x4cfb00
lea edx, [edi + 0x5000]
push edx
jmp 0x4cfb01
push edi
push ebx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x1438]
push edx
push edi
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4cfa9e
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4cfb2a
push eax
call fcn.0051349a
pop ecx
mov dword [esi + 0x2c], ebx
push edi
call fcn.00513471
pop ecx
mov dword [esi + 0x2c], eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.00513b60
push edi
push eax
push dword [esi + 0x2c]
call fcn.004f87d0
mov ecx, dword [esi + 0x20]
add esp, 0xc
mov dword [esi + 0x30], edi
mov eax, dword [ecx]
push ebx
push edi
push ebx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
push ebx
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00513730
mov ecx, esi
call fcn.004cf5d8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00513730
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00513730
jmp 0x4cfbe0
push dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
push dword [esi + 0x30]
mov eax, dword [ecx]
push 2
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret