void * FUN_004177e0(undefined4 *param_1)

{
  void *pvVar1;
  int iVar2;
  
  pvVar1 = malloc(0x38)   //possible issue identified - semgrep
  if (pvVar1 != (void *)0x0) {
    ixmlElement_init(pvVar1);
    iVar2 = ixmlElement_setTagName(pvVar1,param_1[0xd]);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    iVar2 = ixmlNode_setNodeName(pvVar1,*param_1);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    iVar2 = FUN_00416a38(pvVar1,param_1[1]);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    iVar2 = FUN_00416d34(pvVar1,param_1[3]);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    iVar2 = FUN_00416b80(pvVar1,param_1[4]);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    iVar2 = FUN_00416ae4(pvVar1,param_1[5]);
    if (iVar2 != 0) {
      ixmlElement_free(pvVar1);
    }
    *(undefined4 *)((int)pvVar1 + 8) = 1;
  }
  return pvVar1;
}