On a working Windows 8.1 machine, see Control Panel\All Control Panel Items\Recovery\Create a Recovery Drive.
Create a Recovery Drive and use that to boot from in a faulty machine and try accessing the advanced startup options/safe mode.
When you create a Recovery Drive you are given the option (via a check box) to copy across the hidden recovery partition from your machine. If you choose that option then the size of USB required will be many times larger than if you don't choose the option.
Create installation media for Windows 8.1
http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media?ocid=tp_css_createmedia
Try contacting your OEM for the Windows 8 Recovery Media. For a small charge they should be able to supply you with a copy on DVD or USB. This will allow you to reinstall Windows 8 to factory settings as of day one.
How to create a system image to refresh your Windows 8 PC
http://support.microsoft.com/kb/2748351
How to create a custom refresh image in Windows 8
http://www.bleepingcomputer.com/tutorials/create-custom-refresh-image-in-windows-8/