The only issue with a non-stop flight to Somalia is the distance from Kuala Lumpur to Beijing is 2700 miles. While the distance from Kuala Lumpur to Mogadishu is 3900 miles(add an extra 300+ miles for the first hour of flight North).
From what I understand, while the plane has the actual capability to carry enough fuel to fly 5-6000+ miles. It typically will only carry enough fuel for the scheduled trip(and a little extra for any ‘emergency’).
Maybe someone with definitive knowledge can give a more accurate/detailed response.
So I’m not so sure the airplane would’ve been carrying enough fuel to make it to Somalia(non-stop).
That’s why Prospero shows that refueling stop on that Palau.