import struct,sys d=open(sys.argv[1],'rb').read() print(len(d),hex(len(d))) o=0x8000 while True: e=d[o:o+32] if e[:2]!=b'\xaa\x50': break t,s,off,sz=struct.unpack('