Iran is using the nuclear program to potentially get some concessions, even as it seeks closer ties with Russia and China.