The superintendent shall have the power to examine or cause to be examined every agency located in this state of any foreign bank for the purpose of ascertaining whether it has violated any law of the state and for such other purposes and to such other matters as the superintendent may prescribe.
Ala. Code § 5-3A-5 (1975)