SnowLeopardW: This is where you'd start:
https://www.mobileread.com/forums/sho...31#post1747631, if interested in KUAL. But read the follow-up comments in that thread since the thirst ZIP is broken and it seems to me that those "magic numbers" differ Kindle to Kindle (DX being different from K2, or something).