Hyperion Resources, a closely held Dallas investment firm, said it might build an oil refinery in South Dakota to capitalize on record gasoline prices.