A local structure theorem on 5-connected graphs