Please see this page for more information on how ATP works with your Azure Storage account. "The threat protection tools don’t scan the uploaded files, rather they examine the storage logs and compare the hashes of newly uploaded files with those of known viruses, trojans, spyware, and ransomware."
If this is not adequate for your use case I suggest you move forward with one of the solutions listed in the MSDN thread.
Hope this helps!
-----------------
Please don’t forget to "Accept the answer" and "up-vote" wherever the information provided helps you, this can be beneficial to other community members.