You'll have to use the standalone version of
KindleUnpack for that sort of thing. v0.73 is the latest. Even then, there's no guarantee that an apnx file contains "real" page numbers.
"Putting it back together" is done with kindlegen or KindlePreviewer.