Function at 0x572940
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6619c9
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 0x572ddd
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x572ddd
mov edi, 0x6ecdc8
mov eax, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x572995
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x572999
mov dword [esp + 0x14], ebx
mov edi, str.Subtype
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x5729b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x5729bc
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 0x572cb7
lea eax, [edi - 1]
cmp eax, 0xe
ja case.0x572a0b.2
jmp dword [eax*4 + 0x572df4]
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x572a44
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 0x572db7
xor edi, edi
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x572db7
push 0x60
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x572da8
mov ecx, eax
call fcn.00593c10
mov edi, eax
jmp 0x572daa
push 0x54
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x572a44
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 0x572db7
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 4
je 0x572da8
mov ecx, eax
call fcn.005b18a0
mov edi, eax
jmp 0x572daa
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x572a44
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 0x572db7
push 0x64
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 6
je 0x572da8
mov ecx, eax
call fcn.005aee10
mov edi, eax
jmp 0x572daa
push 0x64
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x572a44
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 0x572db7
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x572da8
mov ecx, eax
call fcn.005ac6c0
mov edi, eax
jmp 0x572daa
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 9
je 0x572a44
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 0x572db7
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x572da8
mov ecx, eax
call fcn.005ab6d0
mov edi, eax
jmp 0x572daa
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xb
je 0x572a44
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 0x572db7
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xc
je 0x572da8
mov ecx, eax
call fcn.005aa380
mov edi, eax
jmp 0x572daa
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xd
je 0x572a44
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 0x572db7
push 0x50
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xe
je 0x572da8
mov ecx, eax
call fcn.0058a480
mov edi, eax
jmp 0x572daa
lea eax, [edi - 2]
cmp eax, 0x13
ja case.0x572ccb.6
xor ecx, ecx
mov cl, byte [eax + 0x572e44]
jmp dword [ecx*4 + 0x572e30]
push 0x40
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xf
je 0x572da8
mov ecx, eax
call fcn.00597110
mov edi, eax
jmp 0x572daa
push 0x40
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x10
je 0x572a44
mov ecx, eax
call fcn.0056a590
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x572db7
push 0x40
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x11
je 0x572da8
mov ecx, eax
call fcn.005a5fb0
mov edi, eax
jmp 0x572daa
push 0x40
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x12
je 0x572a44
mov ecx, eax
call fcn.005a3890
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x572db7
push 0x40
call fcn.00492990
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x13
je 0x572da8
mov ecx, eax
call fcn.005746d0
mov edi, eax
jmp 0x572daa
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
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