How to analyze a corrupt raw file?

Right after what looks like an XMP packet

But given that the JPEG is offset WAY deep into the file vs where it should be, the JPEG may be truncated