A win32 port is definitely possible, in fact I thought it would be easy, so I just tried it.
Alas, I was wrong
I use libcrypto (openssl) which is a PITA to cross-compile. I use it for MD5 calculation and RSA signing. I assume windows has a library to do that, so I might have to provide an alternative implementation.
I also use libiconv for charset conversion, it seems to cross-compile ok, so I'll just statically link it I guess.
Then theres little thinks like using mmap to read files... damn you windows for not being unix...
BTW. phatdb is a GPL library, which afaik you cannot link with non-gpl code.