At this point the Challenger is high and pointed away from the KSC landing strip. I believe the Gliding RTLS FSW would be able to handle the situation from MECO onward. This The Gliding RTLS TAEM (Terminal Area Energy Management) program would bemake the turns necessary to line up with the HAC (heading alignment cone).
*TAEM guidance is divided into four sections or phases. The four phases are:
• Acquisition phase
• Heading alignment phase
• Prefinal phase
The key to understanding how TAEM works is the concept of "range-to-go." In order for TAEM guidance to work, it must know the accurate distance the shuttle must fly before it can land. It is not enough to know the straight line distance from the shuttle to the runway. This is obvious when one considers that the shuttle must approach the runway at the proper speed and direction. Therefore, the turn necessary to get the shuttle lined up for landing must be taken into account.
To model these turns, the shuttle computers project what is called a “nominal” RTLS once MECOheading alignment cone or HAC. This HAC is setan imaginary cone in space which is located 7 n. mi. from the end of the runway. The projection of this cone at any altitude is a circle which describes a turn the shuttle must make to get lined up with the runway. By approaching the HAC on a tangent and then turning on the HAC, the shuttle will complete the turn lined up with the runway center line. For each runway, there are two HACs, one on each side of the runway. The shuttle is normally targeted for the farther HAC, which is called the overhead HAC since the shuttle must make a long overhead turn to get lined up on the runway. The nearer HAC is the straight-in HAC, and the shuttle makes a shorter turn to get lined up. It can also be seen that the overhead HAC requires more energy. Therefore, the selection of these HACs is partly a function of energy*.
https://www.aerospacearchives.tk/rtls-abort/grtls-guidance.html