reverse-engineer
verb
°To derive or duplicate the design, technical specifications, manufacturing methods, or functionality of an object by studying an existing product, prototype, etc.
noun
°A person whose job is to reverse-engineer products.
synonyms: hack