>>528481634
As long as you defeat Lei before the end of turn 5, find Miki before the end of turn 6, take Shangri-la before the end of turn 7, defeat RedEye in turn 8 and lose no region before the end of turn 8, you are on the track for an A ending.
You will still receive a C ending if you choose wrong or fail the final operation, of course.