SdbpMatchOem

NTSTATUS __stdcall SdbpMatchOem(VOID *pDB, UINT64 a2, INT64 a3){
  NTSTATUS v5; 
  unsigned int FirstTag; 
  unsigned int v7; 

  v5 = 0;
  FirstTag = SdbFindFirstTag((_DB *)pDB, a2, 0x7022u);
  v7 = FirstTag;
  if( !FirstTag )
    return 1;
  if( SdbpMatchDeviceString(pDB, *(const WCHAR **)a3, FirstTag, 0x6025u)
    && SdbpMatchDeviceString(pDB, *(const WCHAR **)(a3 + 8), v7, 0x6026u)
    && (unsigned int)SdbpMatchDeviceDWORD((_DB *)pDB, *(_DWORD *)(a3 + 44), v7, 0x4034u, 16437, 16438) )
  {
    return 1;
  }
  return v5;
}

Referenced by:

SdbpCheckKObject