Thanks to the help of seedat0r who reported the bugs.
Changes:
- ASCII dumping now works fine
- Doesn't throw exceptions anymore with certain pbpat.1 files
- As long as either a CR or an LF are found, it'll parse the file properly
- Added a dll to parse files from within other programs. Prototype of the export is as follows (no explanation for the parms, too obvious)
Code:
bool __stdcall DumpSignatures(const char * p_sourceFile, const char * p_destFile, bool p_produceASCII)
Edit: the function return true if successful.
For the least experienced, the actual name to GetProcAddress for is _DumpSignatures@12

Use it!
.Net Framework 3.5 is still required