Find out how the software was intended to work, how it actually works, and then apply this knowledge.