PipCreateEntry

_TREE_ENTRY *__stdcall PipCreateEntry(_UNICODE_STRING *GroupName){
  _TREE_ENTRY *result; 
  _TREE_ENTRY *v3; 

  result = (_TREE_ENTRY *)ExAllocatePoolWithTag(1ui64, GroupName->Length + 48i64, 1852403792i64);
  v3 = result;
  if( result )
  {
    *(_OWORD *)result = 0i64;
    *((_OWORD *)result + 1) = 0i64;
    *((_OWORD *)result + 2) = 0i64;
    *((_WORD *)result + 16) = GroupName->Length;
    *((_WORD *)result + 17) = GroupName->Length;
    *((_QWORD *)result + 5) = result + 12;
    memmove(result + 12, GroupName->Buffer, GroupName->Length);
    return v3;
  }
  return result;
}

Referenced by:

PipLookupGroupName