My Macbook Pro (Mid 2012) got its HDD corrupted due to some hardware issue. The issue has been fixed, however the MacBook lost its system partition data. The recovery partition is still there, but due to some issues (Read here), it never got upgraded to El Capitan's Recovery HD. Thus if I want to download the OS from Recovery Mode, it is installing Yosemite in it.
Is there any way I can reformat the MacBook and clean install El Capitan without first downloading Yosemite, installing it and then upgrading. I don't have any other Mac, but I do have a Windows Desktop. How can I possibly download and clean install El Capitan?