I just tried searching Obama giving Brazil money to drill for oil and I found an article in the AJC blaming bad republicans and mean bad oil companies for the high price of gas. It is insane.
Had you done a good job of researching, you would have learned that no money was given to Brazil for drilling for oil.
What happened was the bank loans to American firms acting as subcontractors on the projects were insured by the Export/Import bank against a host of problems, mostly political.
The process is ordinary and necessary to promote export sales. They regularly support projects of Boeing and GE and other mega exporters.
To actually be successful, research Export Import Bank and Overseas Private Investment Corporation