Function at 0x572f50
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x661a82
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x5732fc
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x5732fc
mov edi, 0x6ecdc8
mov eax, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x572fa5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x572fa9
mov dword [esp + 0x14], ebx
mov edi, str.Subtype
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x572fc8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x572fcc
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.00497830
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x30], ebx
call fcn.00498a90
call fcn.00574a50
mov edi, eax
push edi
call fcn.00575330
add esp, 8
test eax, eax
je 0x5732eb
lea eax, [edi - 1]
cmp eax, 0xe
ja case.0x57301b.2
jmp dword [eax*4 + 0x573314]
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x573054
mov ecx, eax
call fcn.00590f10
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
xor edi, edi
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x60
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x5732b6
mov ecx, eax
call fcn.00593c10
mov edi, eax
jmp 0x5732b8
push 0x54
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x573054
mov ecx, eax
call fcn.0058d1b0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 4
je 0x5732b6
mov ecx, eax
call fcn.005b18a0
mov edi, eax
jmp 0x5732b8
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x573054
mov ecx, eax
call fcn.005b08f0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x64
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 6
je 0x5732b6
mov ecx, eax
call fcn.005aee10
mov edi, eax
jmp 0x5732b8
push 0x64
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x573054
mov ecx, eax
call fcn.005ad1d0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x5732b6
mov ecx, eax
call fcn.005ac6c0
mov edi, eax
jmp 0x5732b8
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 9
je 0x573054
mov ecx, eax
call fcn.005abf40
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x5732b6
mov ecx, eax
call fcn.005ab6d0
mov edi, eax
jmp 0x5732b8
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xb
je 0x573054
mov ecx, eax
call fcn.005aad60
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xc
je 0x5732b6
mov ecx, eax
call fcn.005aa380
mov edi, eax
jmp 0x5732b8
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xd
je 0x573054
mov ecx, eax
call fcn.005a7920
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5732c5
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xe
je 0x5732b6
mov ecx, eax
call fcn.0058a480
mov edi, eax
jmp 0x5732b8
xor edi, edi
mov edx, dword [edi]
push esi
push ebp
mov ecx, edi
mov byte [esp + 0x30], bl
call dword [edx + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00498970
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00498970
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret