Does the latest Xcode iPhone emulator using iOS 9 allow for genuine iCloud restore? So I've been trying to find a Windows iOS 9 emulator and failed, but came across Xcode. I have a Windows laptop but I can use either visualbox or VMware to run macOS El Capitan.

I found out that Mac OS has Xcode which is basically an iOS emulator. I need that emulator for one reason only - to be able to use iCloud and restore. From Apple's site I saw a picture of that emulator and saw iCloud option in settings. However, is that emulator capable of something as complex as restoring from an actual active iCloud and copy all my files from my iPhone onto that emulator and show all the files I have on my iPhone on that emulator?

I really don't want to go through all the trouble of running Mac OS on Windows and then Xcode with a potential to mess something up to then realize the emulator cannot restore from iCloud. If any of you guys are aware or would test it and respond, I would be forever grateful. There's a reason I need it done that way so don't bother telling me it's kind of stupid.
Xcode is not an emulator. Xcode is an integrated development environment (IDE) for macOS and iOS software that happens to include an iOS simulator for the purposes of testing software that is in development.

No, you cannot restore an iCloud backup onto it. It can only be used to run software being developed in Xcode.