Egypt formally asked the International Monetary Fund for a $4.8 billion loan today, seeking a desperately needed rescue package for its faltering economy but raising the possibility of painful restructuring in a country still reeling since its revolution more than 18 months ago.