Function at 0x573c70
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6668cf
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 0x57416c
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x57416c
mov edi, 0x6f1dcc
mov eax, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x573cc5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x573cc9
mov dword [esp + 0x14], ebx
mov edi, 0x6e5408
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x573ce8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x573cec
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.00498950
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x30], ebx
call fcn.00499b80
call fcn.00575d30
mov edi, eax
push edi
call fcn.00576610
add esp, 8
test eax, eax
je 0x574046
lea eax, [edi - 1]
cmp eax, 0x10
ja case.0x573d3b.2
jmp dword [eax*4 + 0x574184]
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x573d74
mov ecx, eax
call fcn.005922c0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
xor edi, edi
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x60
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x574137
mov ecx, eax
call fcn.00595060
mov edi, eax
jmp 0x574139
push 0x54
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x573d74
mov ecx, eax
call fcn.0058e450
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 4
je 0x574137
mov ecx, eax
call fcn.005b5c40
mov edi, eax
jmp 0x574139
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x573d74
mov ecx, eax
call fcn.005b4dc0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x64
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 6
je 0x574137
mov ecx, eax
call fcn.005b31f0
mov edi, eax
jmp 0x574139
push 0x64
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x573d74
mov ecx, eax
call fcn.005b16d0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x574137
mov ecx, eax
call fcn.005b0c10
mov edi, eax
jmp 0x574139
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 9
je 0x573d74
mov ecx, eax
call fcn.005b0270
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x574137
mov ecx, eax
call fcn.005afa00
mov edi, eax
jmp 0x574139
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xb
je 0x573d74
mov ecx, eax
call fcn.005af2a0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xc
je 0x574137
mov ecx, eax
call fcn.005ae8c0
mov edi, eax
jmp 0x574139
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xd
je 0x573d74
mov ecx, eax
call fcn.005abe50
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xe
je 0x574137
mov ecx, eax
call fcn.005ab570
mov edi, eax
jmp 0x574139
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xf
je 0x573d74
mov ecx, eax
call fcn.005a9050
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x10
je 0x574137
mov ecx, eax
call fcn.0058b790
mov edi, eax
jmp 0x574139
lea eax, [edi - 2]
cmp eax, 0x13
ja case.0x57405a.6
xor ecx, ecx
mov cl, byte [eax + 0x5741dc]
jmp dword [ecx*4 + 0x5741c8]
push 0x40
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x11
je 0x574137
mov ecx, eax
call fcn.005984c0
mov edi, eax
jmp 0x574139
push 0x40
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x12
je 0x573d74
mov ecx, eax
call fcn.0056b920
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x40
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x13
je 0x574137
mov ecx, eax
call fcn.005a76a0
mov edi, eax
jmp 0x574139
push 0x40
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x14
je 0x573d74
mov ecx, eax
call fcn.005a4fa0
mov edi, eax
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x574146
push 0x40
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x15
je 0x574137
mov ecx, eax
call fcn.005759b0
mov edi, eax
jmp 0x574139
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.00499a60
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