Tehran wants to reassess its relations with Washington and is working hard to cultivate closer ties with Trump's allies in the Arab world.