We can't use RegGetValueA because RegGetValueA converts wide string to non UTF-8 string, which results in crashing when printing