Just read the Bulbapedia article.
"If the user has the
AbilityHuge Power or
Pure Power, Foul Play will be calculated with double the target's attack stat."
Yes, it is taken into account.
More generally, user item, status and ability are taken into account:
"With the exception of the Attack stat and Attack stat modifier, all other factors affecting damage calculation, including the item, Ability, type, and status ailment of the user of Foul Play, are incorporated as normal."
For example, if the user has tough claws, it will increase foul play's damage since it is a contact move.
Your calculation is right.