Function at 0x5742e0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x666998
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 0x5746eb
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x5746eb
mov edi, 0x6f1dcc
mov eax, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x574335
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x574339
mov dword [esp + 0x14], ebx
mov edi, 0x6e5408
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x574358
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x57435c
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 0x5746da
lea eax, [edi - 1]
cmp eax, 0x10
ja case.0x5743ab.2
jmp dword [eax*4 + 0x574700]
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x5743e4
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 0x5746b4
xor edi, edi
push esi
push ebp
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x30], bl
call dword [eax + 0x14]
jmp 0x5746b4
push 0x60
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x5746a5
mov ecx, eax
call fcn.00595060
mov edi, eax
jmp 0x5746a7
push 0x54
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 4
je 0x5746a5
mov ecx, eax
call fcn.005b5c40
mov edi, eax
jmp 0x5746a7
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x5743e4
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 0x5746b4
push 0x64
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 6
je 0x5746a5
mov ecx, eax
call fcn.005b31f0
mov edi, eax
jmp 0x5746a7
push 0x64
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x5746a5
mov ecx, eax
call fcn.005b0c10
mov edi, eax
jmp 0x5746a7
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 9
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x5746a5
mov ecx, eax
call fcn.005afa00
mov edi, eax
jmp 0x5746a7
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xb
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xc
je 0x5746a5
mov ecx, eax
call fcn.005ae8c0
mov edi, eax
jmp 0x5746a7
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xd
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xe
je 0x5746a5
mov ecx, eax
call fcn.005ab570
mov edi, eax
jmp 0x5746a7
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xf
je 0x5743e4
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 0x5746b4
push 0x50
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 0x10
je 0x5746a5
mov ecx, eax
call fcn.0058b790
mov edi, eax
jmp 0x5746a7
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
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00499a60
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