I don't understand why they designed such a loose and bug-ridden format in the first place.
What's the point of having weird undocumented behaviour that dramatically affects compatibility and even worse, changes across OS versions.
Give this a read, if you haven't seen it already: http://reversinglabs.com/advisory/pecoff.php
If that doesn't make you curl up on the floor and weep like a 5 year-old, kudos to you good sir