extracting the firmware is pretty easy for the Aeotec stuff. Grab the .exe for your region from the aeotec website. Also, grab a copy of HxD Hex Editor.
Open the .exe in HxD. Scroll to the bottom until you find the filename of the firmware you opened
now, scroll up from there until you find a section that looks like this
The data you need starts here
and ends here

do not include the dots preceding the content or the filename at the end.
Once you have all that data selected, copy and paste it into a new file in HxD. In that new tab, select File > Export > 32 Bit Intel Hex
That file can now be used to flash using this App