It is all inside formhistory.dat in your Firefox profile directory. The problem is that it uses a incredibly bizarre and broken format to store it all in called "Mork" which was hacked together by some Netscape engineer years ago.