A freestanding handstand push-up is vastly different than a headstand push-up (traditionally known as the handstand push-up in CrossFit).
Below you will find two articles and two videos to help you accomplish your goal of a freestanding handstand push-up.
The Handstand (article)
The Freestanding Handstand Push-Up (article) written by Roger Harrell.
Tyler