chip45 bootloader in Atmega32U4
The dump you have shown is identical to the original hex in all the parts that matter. The boot code finishes at byte address 7F30. Subsequent lines of the dump that are filled with FF are just showing blank bytes in the flash memory.

The couple of lines at the end of the original hex file which are different are not part of the actual boot code. The second to last line is Intel Hex record type 03, which sets the segment address to 7800 (starting address of the boot code). The last line simply marks the end of the file.

Your problem must be due to something else. Perhaps your fuse settings are wrong, or you have a wiring error, or it's the wrong bootloader for your setup.