Please use the Msf::Post::Windows::Registry mixin and its registry_getvaldata method if possible