As a Brazilian, I have to say that unfortunately this country does not have stronger economic ties with Iran, even though we would be happy to sell them anything they needed apart from weapons of mass destruction - Chinese products dominate most of Iranian markets.
In an attempt to expand the country's diplomatic influence, the current Brazilian government tried to mediate between Iran and the US before the UN imposed sanctions. So the ties are merely political and derived from momentary convenience. Even so, the government believed there was some way to influence the Iranian government and offered political asylum for Ashtiani. As you reported, the offer was turned down, since the Brazilian government was "not fully aware of what was going on in Iran".
That is it.