Piece of code to detect hooks placed by EDR/AV/Malware in the Import Address Table and replace them with original addresses
You can find the post related to this PoC here : https://alice.climent-pommeret.red/posts/how-and-why-to-unhook-the-import-address-table/