ExtractFileNameFromRegValue and fixed wcsncpy_s call

renamed function
print no key used if encryption key is 0
changed some flag names in the resourceparser, put resourceparser on the stack
renamed some functions