Function at 0x46f1e0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x83808e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp eax, 0x2cf
mov esi, ecx
jg 0x46f3f8
je 0x46f39f
cmp eax, 0xf4
jg 0x46f35c
je 0x46f29d
sub eax, 0xcb
je 0x46f269
sub eax, 0x10
jne 0x46f551
push 0x1c
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 8
je 0x46f260
push 0x3e8
mov ecx, eax
call fcn.00630f20
mov edi, eax
jmp 0x46f551
xor eax, eax
mov edi, eax
jmp 0x46f551
push 0x20
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 4
je 0x46f260
push 0x41000000
push ebx
push ebx
push 0x7d0
mov ecx, eax
call fcn.0062f310
mov edi, eax
jmp 0x46f551
push 0x40
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 5
je 0x46f2c2
mov ecx, eax
call fcn.00632bd0
mov edi, eax
jmp 0x46f2c4
xor edi, edi
test byte [esi + 0x48], 2
mov dword [esp + 0x38], 0xffffffff
je 0x46f319
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 6
je 0x46f307
mov ecx, dword [0x86fc80]
mov edx, dword [0x86fc7c]
push ecx
mov ecx, dword [esi + 0xc]
push edx
push ecx
mov ecx, eax
call fcn.0066b890
jmp 0x46f309
xor eax, eax
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0xffffffff
call fcn.00632d10
push 0x20
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 7
je 0x46f345
push 0x41000000
push ebx
push ebx
push 0x64
mov ecx, eax
call fcn.0062f310
jmp 0x46f347
xor eax, eax
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0xffffffff
call fcn.00632d10
jmp 0x46f551
cmp eax, 0x2c0
jne 0x46f551
push 0x34
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x46f260
mov edx, dword [esp + 0x44]
mov ecx, dword [edx + 0x58c]
push ebx
push 1
push ebx
push ebx
push ecx
mov ecx, eax
call fcn.0063b8c0
mov edi, eax
jmp 0x46f551
push 0x70
call fcn.0061a5a0
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
cmp esi, ebx
mov dword [esp + 0x38], 9
je 0x46f3ef
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x58c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.0063c340
mov dword [esi], 0x859e50
mov dword [esi + 0x60], 0x7d0
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x6c], bl
mov byte [esi + 0x6d], bl
mov edi, esi
jmp 0x46f551
xor esi, esi
mov edi, esi
jmp 0x46f551
cmp eax, 0x398
jg 0x46f548
je 0x46f50d
sub eax, 0x387
je 0x46f48f
sub eax, 3
jne 0x46f551
push 0x60
call fcn.0061a5a0
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebx
mov dword [esp + 0x38], 1
je 0x46f260
mov edx, dword [esi + 0x40]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x40]
push eax
call dword [edx]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 1
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x24]
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.0066ea30
mov edi, eax
jmp 0x46f551
push 0x28
call fcn.0061a5a0
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebx
mov dword [esp + 0x38], 2
je 0x46f4f5
mov eax, dword [esi + 0x40]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x4c]
lea ecx, [esi + 0x40]
push edx
call dword [eax]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x18]
push ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, edi
call fcn.00668120
jmp 0x46f4f7
xor eax, eax
mov bl, byte [eax + 0x24]
mov cl, byte [esi + 0x48]
xor cl, bl
and cl, 8
mov dl, bl
xor dl, cl
mov edi, eax
mov byte [eax + 0x24], dl
jmp 0x46f551
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x38], 3
je 0x46f260
mov edx, dword [0x86fc80]
mov ecx, dword [0x86fc7c]
push edx
mov edx, dword [esi + 0xc]
push ecx
push edx
mov ecx, eax
call fcn.0066b890
mov edi, eax
jmp 0x46f551
cmp eax, 0x516
jne 0x46f551
xor edi, edi
mov ecx, dword [esp + 0x30]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8