Function at 0x4f570a
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58b8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 0
call fcn.004b42c0
lea edi, [esi + 0x30]
mov dword [edi], 0
lea ecx, [esi + 0x34]
mov byte [esp + 0x38], 2
call fcn.004e0c90
lea ecx, [esi + 0x3c]
mov byte [esp + 0x38], 3
call fcn.004e0c90
lea ebp, [esi + 0x44]
push 0
mov ecx, ebp
mov byte [esp + 0x3c], 4
call fcn.0041eae0
lea ebx, [esi + 0x54]
push 0
mov ecx, ebx
mov byte [esp + 0x3c], 5
call fcn.0041eae0
lea ecx, [esi + 0x64]
push 0
mov byte [esp + 0x3c], 6
call fcn.0041eae0
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esi + 0x74], eax
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esi + 0x64]
push eax
push ebx
push ebp
mov byte [esp + 0x54], 7
mov dword [esi], 0x59a268
mov byte [esp + 0x2c], 0
mov byte [esp + 0x30], 0
call fcn.00454560
lea ecx, [esp + 0x40]
cmp edi, ecx
je 0x4f57cc
mov eax, dword [edi]
test eax, eax
je 0x4f57c0
push eax
mov ecx, edi
call fcn.00411610
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [edi], eax
je 0x4f57cc
inc dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edi
call fcn.00401ed0
lea ecx, [esp + 0x24]
call fcn.0046e1c0
mov dword [esp + 0x44], eax
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x2c], ebp
lea ebx, [ebp + 4]
mov dword [ebp], 0
mov dword [ebx], 0
mov edx, dword [eax + 0xc]
lea ecx, [eax + 4]
cmp ebx, ecx
mov byte [esp + 0x48], 9
mov dword [ebp + 0xc], edx
je 0x4f5832
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f5827
push ecx
mov ecx, ebx
call fcn.00411610
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [ebx], ecx
je 0x4f5832
inc dword [ecx]
mov ecx, dword [eax + 8]
push 0
mov dword [ebp + 8], ecx
mov edx, dword [eax]
lea ecx, [esi + 0x34]
mov dword [ebp], edx
mov byte [esp + 0x4c], 8
call fcn.0041e840
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], 7
test eax, eax
je 0x4f5863
push eax
lea ecx, [esp + 0x28]
call fcn.00411610
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edi
call fcn.00401ed0
lea ecx, [esp + 0x24]
call fcn.0046e1c0
mov dword [esp + 0x44], eax
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x2c], ebp
lea ebx, [ebp + 4]
mov dword [ebp], 0
mov dword [ebx], 0
mov ecx, dword [eax + 0xc]
mov byte [esp + 0x48], 0xb
mov dword [ebp + 0xc], ecx
lea ecx, [eax + 4]
cmp ebx, ecx
je 0x4f58c9
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f58be
push ecx
mov ecx, ebx
call fcn.00411610
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [ebx], ecx
je 0x4f58c9
inc dword [ecx]
mov edx, dword [eax + 8]
push 0
mov dword [ebp + 8], edx
mov eax, dword [eax]
lea ecx, [esi + 0x3c]
mov dword [ebp], eax
mov byte [esp + 0x4c], 0xa
call fcn.0041e840
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], 7
test eax, eax
je 0x4f58fa
push eax
lea ecx, [esp + 0x28]
call fcn.00411610
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edi
call fcn.00401ed0
lea ecx, [esp + 0x24]
call fcn.0046e1c0
mov ebx, eax
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x54], esp
mov dword [esp + 0x54], edi
lea ebp, [edi + 4]
mov dword [edi], 0
mov dword [ebp], 0
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 4]
cmp ebp, eax
mov byte [esp + 0x48], 0xd
mov dword [edi + 0xc], ecx
je 0x4f595c
mov eax, dword [ebp]
test eax, eax
je 0x4f5950
push eax
mov ecx, ebp
call fcn.00411610
mov eax, dword [ebx + 4]
test eax, eax
mov dword [ebp], eax
je 0x4f595c
inc dword [eax]
mov edx, dword [ebx + 8]
push 1
mov dword [edi + 8], edx
mov eax, dword [ebx]
mov dword [edi], eax
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x4c], 0xc
call fcn.0041e840
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], 7
test eax, eax
je 0x4f598e
push eax
lea ecx, [esp + 0x28]
call fcn.00411610
mov edx, dword [esp + 0x10]
sub esp, 0x10
and edx, 0xff
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov dword [esp + 0x38], 0
call fcn.0046e1a0
lea ebx, [esi + 0x34]
push 0x3e
mov ecx, ebx
call fcn.0041e840
mov eax, dword [esp + 0x10]
sub esp, 0x10
and eax, 0xff
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046e1a0
push 0x3e
mov ecx, edi
call fcn.0041e840
mov edx, dword [esp + 0x14]
sub esp, 0x10
and edx, 0xff
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046e1a0
push 0x3f
mov ecx, ebx
call fcn.0041e840
mov eax, dword [esp + 0x14]
sub esp, 0x10
and eax, 0xff
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046e1a0
push 0x3f
mov ecx, edi
call fcn.0041e840
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4f5a39
push eax
lea ecx, [esp + 0x44]
call fcn.00411610
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8