wcsstr

WCHAR *__cdecl wcsstr(const WCHAR *Str, const WCHAR *SubStr){
  WCHAR *v3; 
  WCHAR v5; 
  signed __int64 i; 
  const WCHAR *v7; 
  v3 = (WCHAR *)Str;
  if( !*SubStr )
    return(WCHAR *)Str;
  v5 = *Str;
  if( !*Str )
    return 0i64;
  for( i = (char *)Str - (char *)SubStr; ; i += 2i64 )
  {
    v7 = SubStr;
    if( v5 )
      break;
LABEL_9:
    if( !*v7 )
      return v3;
    v5 = *++v3;
    if( !*v3 )
      return 0i64;
  }
  while( *v7 )
  {
    if( *(const WCHAR *)((char *)v7 + i) == *v7 )
    {
      if( *(const WCHAR *)((char *)++v7 + i) )
        continue;
    }
    goto LABEL_9;
  }
  return v3;
}

Referenced by:

BcpGetProgressMessages
BiGetObjectReferenceFromEfiEntry
BiIsWinPEBoot
BiUpdateObjectReferenceInEfiEntry
EtwpGenerateFileName
IopCheckIfNotNativeDriver
PfSnIsHostingApplication
PiGetDeviceRegProperty
PiGetDeviceRegistryProperty
PopGetBitlockerKeyLocation
SiGetBiosSystemPartition
SiGetBootDeviceName
SiIsWinPEBoot
SmUniqueIdParseProductName
SubstringMatch