The oil and gas producer has benefited from rising energy prices