If you already own a legal license for Cubase 5 and possess the necessary hardware eLicenser, you can attempt to install it on a modern PC using these steps:
After downloading the setup file, follow these steps to install Cubase 5 on your Windows 10 system:
after the main installation to improve stability on newer systems. Steinberg Forums Installation Steps for Windows 10