in PPLGuard/utils.cpp [93:97]
VOID PrintLastError(LPCWSTR pwszFunctionName)
{
DWORD dwLastError = GetLastError();
wprintf(L"[-] %ws failed with error code %d - %ws\n", pwszFunctionName, dwLastError, _com_error(HRESULT_FROM_WIN32(dwLastError)).ErrorMessage());
}