The Illinois attorney general, Lisa Madigan, has long had a complicated relationship with Gov. Rod R. Blagojevich, who is a colleague but hardly a friend.