better reverse engineering of msk file loader