The military takeover of Kirkuk has been complicated by the presence of powerful militias that are funded and supplied by Iran, leading to speculation and accusations from Kurdish officials that Baghdad was acting under the influence of Tehran.