Function at 0x65a760
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov cl, byte [0x65f037]
mov al, byte [0x65f030]
push ebx
xor cl, al
xor ebx, ebx
mov byte [0x65f037], cl
mov bl, cl
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov cl, byte [0x65f03e]
and al, cl
mov edx, dword [0x65f020]
mov byte [0x65f030], al
or al, 4
shr al, 1
and eax, 0xff
push esi
mov dword [ebp - 8], eax
mov esi, dword [0x65f024]
fild dword [ebp - 8]
push edi
lea edi, [edx + esi*2]
mov edx, dword [0x65f028]
mov dword [0x65f020], edi
fdivr qword [0x65f040]
and edx, 3
mov byte [0x65fc48], 0x41
imul edx, ebx
fstp qword [0x65fbd0]
add esi, edx
mov bl, 0x6c
cmp edi, 0x367
mov dword [0x65f024], esi
mov byte [0x65fc49], bl
je 0x65a800
fld qword [0x65fbd0]
fadd qword [0x65b848]
fstp qword [0x65fbd0]
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
xor dword [ebp - 4], ecx
mov edx, dword [0x65f024]
mov eax, dword [0x65f020]
xor edi, edi
lea ecx, [edx + edx]
mov dword [ebp - 0xc], edi
or ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [0xa5ff38]
fild qword [ebp - 0x10]
cmp ecx, eax
fadd qword [0x65f040]
fstp qword [0x65f040]
je 0x65a844
xor eax, ecx
mov dword [0x65f020], eax
mov cl, byte [0x65f037]
mov dl, byte [0x65f036]
mov esi, dword [0x65f028]
mov eax, dword [0x65f02c]
xor dl, cl
mov byte [0x65fc4a], 0x70
mov byte [0x65f036], dl
mov edx, esi
shr edx, 1
add eax, edx
xor edx, edx
mov dword [0x65f02c], eax
and eax, 7
mov dl, cl
mov byte [0x65fc4b], 0x68
imul eax, edx
add esi, eax
mov dword [0x65f028], esi
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xb0]
mov dword [ebp - 8], eax
mov al, byte [0x65f03d]
mov cl, byte [0x65f031]
or cl, al
mov eax, dword [0x65f020]
mov byte [0x65f031], cl
mov cl, byte [0x65f035]
or cl, 2
mov esi, dword [0x65f024]
shr cl, 1
and ecx, 0xff
lea edx, [eax*8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x65f02c]
fild dword [ebp - 0xc]
or edx, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
xor ecx, esi
fdivr qword [0x65f048]
and ecx, 0x7fffffff
mov byte [0x65fc4c], 0x61
cmp ecx, 0x1438
mov byte [0x65fc4d], 0x42
fadd qword [0x65b840]
fstp qword [0x65fbe0]
fild qword [ebp - 0x10]
fstp qword [0x65f048]
jne 0x65a926
mov dword [0x65f028], edi
mov cl, byte [0x65f036]
mov dl, byte [0x65f035]
and dl, cl
mov byte [0x65f035], dl
mov edx, eax
shr edx, 5
and esi, edx
xor edx, edx
and eax, 8
mov dl, cl
imul eax, edx
mov edx, dword [0x65f02c]
mov dword [0x65f024], esi
or edx, eax
mov dword [0x65f02c], edx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 8]
movzx edx, word [ecx + 0xac]
mov eax, dword [ebp - 8]
xor eax, 0xfffffffe
shl eax, 0xe
or eax, edx
shl eax, 8
or eax, dword [ecx + 0xa8]
shl eax, 8
or eax, dword [ecx + 0xa4]
mov dword [ebp - 8], eax
mov al, byte [0x65f03f]
mov cl, byte [0x65f032]
xor cl, al
mov eax, dword [0x65f02c]
mov byte [0x65f032], cl
mov cl, byte [0x65f030]
or cl, 0xc
mov byte [0x65fc4e], bl
shr cl, 2
and ecx, 0xff
mov bl, byte [0x65f034]
mov dword [ebp + 8], ecx
mov ecx, dword [0x65f028]
fild dword [ebp + 8]
lea edx, [ecx + ecx]
mov dword [ebp - 0xc], edi
or edx, eax
mov byte [0x65fc4f], 0x65
fdivr qword [0x65fbd8]
mov dword [ebp - 0x10], edx
mov dl, byte [str.m_R]
and bl, dl
mov edx, eax
shl edx, 4
and ecx, edx
mov byte [0x65f034], bl
mov dword [0x65f028], ecx
mov ecx, dword [0x65f024]
mov edx, ecx
xor ebx, ebx
mov bl, byte [0x65f035]
and edx, 8
mov byte [0x65fc50], 0x6e
mov byte [0x65fc51], 0x64
imul edx, ebx
mov bl, byte [0x65f033]
or eax, edx
mov dl, byte [0x65f03e]
mov dword [0x65f02c], eax
fadd qword [0x65fbd0]
xor bl, dl
mov dl, byte [0x65f031]
or dl, 0xc
mov eax, dword [ebp - 8]
shr dl, 2
fstp qword [0x65fbd8]
fild qword [ebp - 0x10]
and edx, 0xff
mov byte [0x65f033], bl
mov dword [ebp + 8], edx
mov edx, dword [0x65f020]
fadd qword [0x65f040]
add edx, edx
mov dword [ebp - 0xc], edi
shr eax, 0x10
or edx, ecx
fstp qword [0x65f040]
fild dword [ebp + 8]
mov dword [ebp - 0x10], edx
fdivr qword [0x65fc40]
fadd qword [0x65fbe0]
fstp qword [0x65fc40]
fild qword [ebp - 0x10]
pop edi
pop esi
pop ebx
fadd qword [0x65f048]
fstp qword [0x65f048]
mov esp, ebp
pop ebp
ret