def METHOD_NAME(img):
    ret = None
    temp = re.findall(rb"\x68...\x00\x68...\x00\x68...\x00\x03\xc1", img)
    if temp != []:
        ret = b""
        temp = temp[0][:-2].split(b"\x68")[::-1]
        for a in temp:
            if a != b"":
                (addr,) = struct.unpack_from("<I", a)
                # print(hex(addr))
                addr -= 0x400000
                ret += img[addr : addr + 8]
    return ret