ooc: According to the PF wiki Azathoth is indeed a god in the PF setting.
Malacarus prepares these spells on the first day (before leaving):
[sblock=Spells Prepared, day one]
0-mage hand, prestidigitation, ghost sound, detect magic, disrupt undead
1-ray of enfeeblement(2), mage armor*, charm person, silent image, unseen servant, shield(2),
2-blindness/deafness, mirror image(2), command undead (2), hideous laughter, detect thoughts(2),
3-dispel magic, suggestion, fly, nondetection, ray of exhaustion, displacement, magic circle against evil, dimensional anchor,
4-enervation, greater invisibility(2), dimension door, scrying, dimensional anchor, animate dead,
5-magic jar, teleport, quickened true strike, persistent image, overland flight*, telekinesis, contact other plane,
6-greater dispel magic, contingency, flesh to stone, mislead, true seeing,,
7-quickened displacement(2), project image, waves of exhaustion(2)limited wish, control undead,
8-horrid wilting, mind blank*, polymorph any object ,symbol of death, discern location, greater planar binding, quickened enervation,
9-dominate monster, extended mind blank(3)* wish, astral projection
[/sblock]
One of the extended mind blanks is for himself, the other two are for any party members who would like them. If anyone comes to pick up a mind blank, Malacarus will warn them to beware of an ambush, which was predicted by divine powers, and to tell Xanfire that owls wisdom and owl's wisdom, mass would be very good spells to prepare.
Malacarus will then cast contingency on himself so that if he is attacked by weapon, natural weapon, or spell, to immediately cast mislead with the illusion of himself 20 feet behind him. He will also recast the symbol of death on his spellbook.
[sblock=DM only]
Once the heroes have left, Malacarus will set up a calling diagram via magic circle against evil, taking 10 on the spellcraft check for a total of 43.
He will then cast a dimensional anchor on his calling diagram before using greater planar binding to bring in a cornugon devil.
"I have an offer for you. I require your services as a bodyguard for a week. I am willing to pay up to 20,000 gp for your services.
If you refuse to cooperate, I am a necromancer. You know full well the price of noncooperation. Not simply my wrath, but existence as we know it will cease to end. Probably even yours and your rediculous little evil-worshipping community you've got going on there. If you cooperate with me, you will be well rewarded.
Shall we discuss terms?"
[/sblock]
[sblock=Spells Prepared, day two]
0-mage hand, prestidigitation, ghost sound, detect magic, disrupt undead
1-ray of enfeeblement(2), mage armor*, charm person, silent image, unseen servant, shield(2),
2-blindness/deafness, mirror image(2), command undead (2), hideous laughter, detect thoughts(2),
3-dispel magic, suggestion, fly, nondetection, ray of exhaustion, displacement(2),
4-enervation, greater invisibility(2), dimension door(2), scrying, phantasmal killer, animate dead,
5-magic jar, teleport, dominate person, persistent image, overland flight*, telekinesis, contact other plane,
6-greater dispel magic, create undead, flesh to stone(2), true seeing, mass suggestion, quickened mirror image,
7-quickened displacement(2), project image, waves of exhaustion(2), limited wish, control undead,
8-horrid wilting, polymorph any object (2), discern location, summon monster VIII, quickened enervation(2),
9-gate, time stop, shapechange, shades, wish, astral projection
[/sblock]
*=already cast on self