This is a small library for handling the PE Header, Import Table, Export Table and Section Table of the Pe files. It is fully coded in MASM, so it is very fast and really small.
Everything works fine until the line if ( pAddImp( (char*)LibraryName, (char*)FuncName ) ) gets executed. The functions creates a section named +Pumqara but it corrupts the file and gives an access violation error.
I tested the function with a simple console program made with VC++ 6