In the three months through June , AIG recorded a $ 636m paper gain on derivatives held by its Financial Products division , which has lost more than $ 20bn on complex bets since the beginning of the crisis .