I sort of understand where you are going, but I am confused about a few things. I don't know what the MZ-header and PE-header are. And I don't know what I need to unpack it as. Thanks.
He's refering to the format of executables (.dll uses the same format as .exe). He's saying you could search the Microsoft site for documentation on the file format and work your way through it to extra the info you need.