Function at 0x463a20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463ded
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x2d0]
cmp byte [ebx + 0x15], 0
je 0x463a66
mov eax, dword [ebp - 4]
call fcn.004633f8
add esi, dword [ebx + 0x18]
add edi, dword [ebx + 0x1c]
lea ecx, [ebp - 0x40]
mov edx, edi
mov eax, esi
call fcn.00650bbc
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00462a10
lea esi, [ebx + 0x30]
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0x2c]
imul eax, dword [edx + 0x34]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
mov eax, dword [edx + 0x30]
imul dword [edx + 0x38]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fstp dword [ebp - 0xc]
wait
mov al, byte [ebx + 0x14]
mov edx, eax
sub dl, 1
je 0x463ac1
sub dl, 3
je 0x463ac1
sub dl, 2
jne 0x463ae8
mov edx, dword [esi + 8]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x463ad7
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x28]
cmp ecx, edi
jle 0x463ae8
sub edx, edi
mov dword [ebp - 0x14], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x463b17
mov edx, dword [esi + 0xc]
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x24]
cmp ecx, edi
jge 0x463b06
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x2c]
cmp ecx, edi
jle 0x463b17
sub edx, edi
mov dword [ebp - 0x10], edx
mov edx, eax
sub dl, 3
je 0x463b28
sub dl, 2
je 0x463b28
sub dl, 3
jne 0x463b4e
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebx + 0x20]
cmp ecx, edi
jge 0x463b3d
mov ecx, edx
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, edx
mov edi, dword [ebx + 0x28]
cmp ecx, edi
jle 0x463b4e
add edx, edi
mov dword [ebp - 0x14], edx
add al, 0xfa
sub al, 3
jae 0x463b7b
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
sub ecx, eax
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jge 0x463b6a
mov ecx, eax
add ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov edx, dword [ebx + 0x2c]
cmp ecx, edx
jle 0x463b7b
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov edx, 0x78
call fcn.00562734
test eax, eax
setne al
xor edx, edx
mov dl, byte [ebx + 0x14]
cmp edx, 8
ja case.0x463b9d.0
jmp dword [edx*4 + 0x463ba4]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x44], eax
jmp case.0x463b9d.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x40], eax
jmp case.0x463b9d.0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x48], eax
jmp case.0x463b9d.0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x4c], eax
jmp case.0x463b9d.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x44], edx
test al, al
je case.0x463b9d.0
push ebp
lea eax, [ebp - 0x40]
call fcn.004639bc
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x463c37
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x20]
mov dword [ebx + 0x40], eax
jmp case.0x463b9d.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x463b9d.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x1c]
mov dword [ebx + 0x44], eax
jmp case.0x463b9d.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x44], edx
test al, al
je case.0x463b9d.0
push ebp
lea eax, [ebp - 0x40]
call fcn.004639bc
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x463c97
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x28]
mov dword [ebx + 0x48], eax
jmp case.0x463b9d.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x463b9d.0
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x44], eax
jmp case.0x463b9d.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x4c], edx
test al, al
je case.0x463b9d.0
push ebp
lea eax, [ebp - 0x40]
call fcn.004639bc
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x463cf4
mov eax, dword [ebx + 0x48]
sub eax, dword [ebp - 0x30]
mov dword [ebx + 0x40], eax
jmp case.0x463b9d.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x463b9d.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0x4c], eax
jmp case.0x463b9d.0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x4c], edx
test al, al
je case.0x463b9d.0
push ebp
lea eax, [ebp - 0x40]
call fcn.004639bc
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jae 0x463d46
mov eax, dword [ebx + 0x40]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x48], eax
jmp case.0x463b9d.0
fld dword [ebp - 8]
fcomp dword [ebp - 0xc]
fnstsw ax
sahf
jbe case.0x463b9d.0
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.004633f8
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
push eax
push 0x64
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00568354
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push eax
push 0x64
mov edx, dword [ebx + 0x4c]
sub edx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x18]
call fcn.00568354
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x5c]
mov eax, dword [0x6725a0]
mov eax, dword [eax]
mov ecx, 1
call fcn.00659050
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x672c9c]
mov eax, dword [eax]
mov dl, 2
call fcn.00501f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463df4
lea eax, [ebp - 0x4c]
call fcn.00403274
ret