
void add_excluded_libs(char *list)

{
  char cVar1;
  excluded_lib *peVar2;
  char *__dest;
  void *pvVar3;
  char *pcVar4;
  size_t sVar5;
  char *p;
  
  if (*list == '\0') {
    return;
  }
  do {
    pcVar4 = strpbrk(list,",:");
    if (pcVar4 == (char *)0x0) {
      sVar5 = strlen(list);
      pcVar4 = list + sVar5;
    }
    peVar2 = (excluded_lib *)xmalloc(0x10);
    sVar5 = (long)pcVar4 - (long)list;
    peVar2->next = excluded_libs;
    __dest = (char *)xmalloc(sVar5 + 1);
    peVar2->name = __dest;
    pvVar3 = memcpy(__dest,list,sVar5);
    cVar1 = *pcVar4;
    excluded_libs = peVar2;
    *(undefined1 *)((long)pvVar3 + sVar5) = 0;
  } while ((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'));
  return;
}



void FUN_001180f0(char *param_1)

{
  char cVar1;
  undefined8 *puVar2;
  void *pvVar3;
  char *pcVar4;
  size_t sVar5;
  
  if (*param_1 == '\0') {
    return;
  }
  do {
    pcVar4 = strpbrk(param_1,",:");
    if (pcVar4 == (char *)0x0) {
      sVar5 = strlen(param_1);
      pcVar4 = param_1 + sVar5;
    }
    puVar2 = (undefined8 *)xmalloc(0x10);
    sVar5 = (long)pcVar4 - (long)param_1;
    puVar2[1] = DAT_00171290;
    pvVar3 = (void *)xmalloc(sVar5 + 1);
    *puVar2 = pvVar3;
    pvVar3 = memcpy(pvVar3,param_1,sVar5);
    cVar1 = *pcVar4;
    DAT_00171290 = puVar2;
    *(undefined1 *)((long)pvVar3 + sVar5) = 0;
  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));
  return;
}


CMP byte ptr [RDI],0x0
JZ 0x00118199
PUSH R14
LEA R14,[0x13f1d1]
PUSH R13
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
JMP 0x00118165
MOV EDI,0x10
MOV R13,RBX
CALL 0x00109c00
SUB R13,RBP
MOV R12,RAX
MOV RAX,qword ptr [0x00171290]
LEA RDI,[R13 + 0x1]
MOV qword ptr [R12 + 0x8],RAX
CALL 0x00109c00
MOV RDX,R13
MOV RSI,RBP
MOV RDI,RAX
MOV qword ptr [R12],RAX
CALL 0x001096a0
CMP byte ptr [RBX],0x0
MOV qword ptr [0x00171290],R12
MOV byte ptr [RAX + R13*0x1],0x0
JZ 0x00118190
CMP byte ptr [RBX + 0x1],0x0
LEA RBP,[RBX + 0x1]
JZ 0x00118190
MOV RSI,R14
MOV RDI,RBP
CALL 0x001097f0
MOV RBX,RAX
TEST RAX,RAX
JNZ 0x00118110
MOV RDI,RBP
CALL 0x001092e0
LEA RBX,[RBP + RAX*0x1]
JMP 0x00118110
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
RET
(translation_unit "void FUN_001180f0(char *param_1)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}\n\n" (function_definition "void FUN_001180f0(char *param_1)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" primitive_type (function_declarator "FUN_001180f0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (if_statement "if (*param_1 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));" do (compound_statement "{\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  }" { (expression_statement "pcVar4 = strpbrk(param_1,",:");" (assignment_expression "pcVar4 = strpbrk(param_1,",:")" identifier = (call_expression "strpbrk(param_1,",:")" identifier (argument_list "(param_1,",:")" ( identifier , (string_literal "",:"" " string_content ") )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" { (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar4 = param_1 + sVar5;" (assignment_expression "pcVar4 = param_1 + sVar5" identifier = (binary_expression "param_1 + sVar5" identifier + identifier)) ;) })) (expression_statement "puVar2 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(0x10)" identifier = (cast_expression "(undefined8 *)xmalloc(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "sVar5 = (long)pcVar4 - (long)param_1;" (assignment_expression "sVar5 = (long)pcVar4 - (long)param_1" identifier = (binary_expression "(long)pcVar4 - (long)param_1" (cast_expression "(long)pcVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "puVar2[1] = DAT_00171290;" (assignment_expression "puVar2[1] = DAT_00171290" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pvVar3 = (void *)xmalloc(sVar5 + 1);" (assignment_expression "pvVar3 = (void *)xmalloc(sVar5 + 1)" identifier = (cast_expression "(void *)xmalloc(sVar5 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = pvVar3;" (assignment_expression "*puVar2 = pvVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "pvVar3 = memcpy(pvVar3,param_1,sVar5);" (assignment_expression "pvVar3 = memcpy(pvVar3,param_1,sVar5)" identifier = (call_expression "memcpy(pvVar3,param_1,sVar5)" identifier (argument_list "(pvVar3,param_1,sVar5)" ( identifier , identifier , identifier )))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (expression_statement "DAT_00171290 = puVar2;" (assignment_expression "DAT_00171290 = puVar2" identifier = identifier) ;) (expression_statement "*(undefined1 *)((long)pvVar3 + sVar5) = 0;" (assignment_expression "*(undefined1 *)((long)pvVar3 + sVar5) = 0" (pointer_expression "*(undefined1 *)((long)pvVar3 + sVar5)" * (cast_expression "(undefined1 *)((long)pvVar3 + sVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + sVar5)" ( (binary_expression "(long)pvVar3 + sVar5" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'))" ( (binary_expression "(cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0')" (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1 = pcVar4 + 1, pcVar4[1] != '\0')" ( (comma_expression "param_1 = pcVar4 + 1, pcVar4[1] != '\0'" (assignment_expression "param_1 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "pcVar4[1] != '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void add_excluded_libs(char *list)\n\n{\n  char cVar1;\n  excluded_lib *peVar2;\n  char *__dest;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  char *p;\n  \n  if (*list == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(list,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }\n    peVar2 = (excluded_lib *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)list;\n    peVar2->next = excluded_libs;\n    __dest = (char *)xmalloc(sVar5 + 1);\n    peVar2->name = __dest;\n    pvVar3 = memcpy(__dest,list,sVar5);\n    cVar1 = *pcVar4;\n    excluded_libs = peVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}\n\n" (function_definition "void add_excluded_libs(char *list)\n\n{\n  char cVar1;\n  excluded_lib *peVar2;\n  char *__dest;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  char *p;\n  \n  if (*list == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(list,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }\n    peVar2 = (excluded_lib *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)list;\n    peVar2->next = excluded_libs;\n    __dest = (char *)xmalloc(sVar5 + 1);\n    peVar2->name = __dest;\n    pvVar3 = memcpy(__dest,list,sVar5);\n    cVar1 = *pcVar4;\n    excluded_libs = peVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" primitive_type (function_declarator "add_excluded_libs(char *list)" identifier (parameter_list "(char *list)" ( (parameter_declaration "char *list" primitive_type (pointer_declarator "*list" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  excluded_lib *peVar2;\n  char *__dest;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  char *p;\n  \n  if (*list == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(list,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }\n    peVar2 = (excluded_lib *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)list;\n    peVar2->next = excluded_libs;\n    __dest = (char *)xmalloc(sVar5 + 1);\n    peVar2->name = __dest;\n    pvVar3 = memcpy(__dest,list,sVar5);\n    cVar1 = *pcVar4;\n    excluded_libs = peVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "excluded_lib *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) (if_statement "if (*list == '\0') {\n    return;\n  }" if (parenthesized_expression "(*list == '\0')" ( (binary_expression "*list == '\0'" (pointer_expression "*list" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    pcVar4 = strpbrk(list,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }\n    peVar2 = (excluded_lib *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)list;\n    peVar2->next = excluded_libs;\n    __dest = (char *)xmalloc(sVar5 + 1);\n    peVar2->name = __dest;\n    pvVar3 = memcpy(__dest,list,sVar5);\n    cVar1 = *pcVar4;\n    excluded_libs = peVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'));" do (compound_statement "{\n    pcVar4 = strpbrk(list,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }\n    peVar2 = (excluded_lib *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)list;\n    peVar2->next = excluded_libs;\n    __dest = (char *)xmalloc(sVar5 + 1);\n    peVar2->name = __dest;\n    pvVar3 = memcpy(__dest,list,sVar5);\n    cVar1 = *pcVar4;\n    excluded_libs = peVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  }" { (expression_statement "pcVar4 = strpbrk(list,",:");" (assignment_expression "pcVar4 = strpbrk(list,",:")" identifier = (call_expression "strpbrk(list,",:")" identifier (argument_list "(list,",:")" ( identifier , (string_literal "",:"" " string_content ") )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(list);\n      pcVar4 = list + sVar5;\n    }" { (expression_statement "sVar5 = strlen(list);" (assignment_expression "sVar5 = strlen(list)" identifier = (call_expression "strlen(list)" identifier (argument_list "(list)" ( identifier )))) ;) (expression_statement "pcVar4 = list + sVar5;" (assignment_expression "pcVar4 = list + sVar5" identifier = (binary_expression "list + sVar5" identifier + identifier)) ;) })) (expression_statement "peVar2 = (excluded_lib *)xmalloc(0x10);" (assignment_expression "peVar2 = (excluded_lib *)xmalloc(0x10)" identifier = (cast_expression "(excluded_lib *)xmalloc(0x10)" ( (type_descriptor "excluded_lib *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "sVar5 = (long)pcVar4 - (long)list;" (assignment_expression "sVar5 = (long)pcVar4 - (long)list" identifier = (binary_expression "(long)pcVar4 - (long)list" (cast_expression "(long)pcVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)list" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "peVar2->next = excluded_libs;" (assignment_expression "peVar2->next = excluded_libs" (field_expression "peVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "__dest = (char *)xmalloc(sVar5 + 1);" (assignment_expression "__dest = (char *)xmalloc(sVar5 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "peVar2->name = __dest;" (assignment_expression "peVar2->name = __dest" (field_expression "peVar2->name" identifier -> field_identifier) = identifier) ;) (expression_statement "pvVar3 = memcpy(__dest,list,sVar5);" (assignment_expression "pvVar3 = memcpy(__dest,list,sVar5)" identifier = (call_expression "memcpy(__dest,list,sVar5)" identifier (argument_list "(__dest,list,sVar5)" ( identifier , identifier , identifier )))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (expression_statement "excluded_libs = peVar2;" (assignment_expression "excluded_libs = peVar2" identifier = identifier) ;) (expression_statement "*(undefined1 *)((long)pvVar3 + sVar5) = 0;" (assignment_expression "*(undefined1 *)((long)pvVar3 + sVar5) = 0" (pointer_expression "*(undefined1 *)((long)pvVar3 + sVar5)" * (cast_expression "(undefined1 *)((long)pvVar3 + sVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + sVar5)" ( (binary_expression "(long)pvVar3 + sVar5" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "((cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0'))" ( (binary_expression "(cVar1 != '\0') && (list = pcVar4 + 1, pcVar4[1] != '\0')" (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(list = pcVar4 + 1, pcVar4[1] != '\0')" ( (comma_expression "list = pcVar4 + 1, pcVar4[1] != '\0'" (assignment_expression "list = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "pcVar4[1] != '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001180f0(char *param_1)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}\n\n" (function_definition "void FUN_001180f0(char *param_1)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" primitive_type (function_declarator "FUN_001180f0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (if_statement "if (*param_1 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));" do (compound_statement "{\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  }" { (expression_statement "pcVar4 = strpbrk(param_1,",:");" (assignment_expression "pcVar4 = strpbrk(param_1,",:")" identifier = (call_expression "strpbrk(param_1,",:")" identifier (argument_list "(param_1,",:")" ( identifier , (string_literal "",:"" " string_content ") )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" { (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar4 = param_1 + sVar5;" (assignment_expression "pcVar4 = param_1 + sVar5" identifier = (binary_expression "param_1 + sVar5" identifier + identifier)) ;) })) (expression_statement "puVar2 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(0x10)" identifier = (cast_expression "(undefined8 *)xmalloc(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "sVar5 = (long)pcVar4 - (long)param_1;" (assignment_expression "sVar5 = (long)pcVar4 - (long)param_1" identifier = (binary_expression "(long)pcVar4 - (long)param_1" (cast_expression "(long)pcVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "puVar2[1] = DAT_00171290;" (assignment_expression "puVar2[1] = DAT_00171290" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pvVar3 = (void *)xmalloc(sVar5 + 1);" (assignment_expression "pvVar3 = (void *)xmalloc(sVar5 + 1)" identifier = (cast_expression "(void *)xmalloc(sVar5 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = pvVar3;" (assignment_expression "*puVar2 = pvVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "pvVar3 = memcpy(pvVar3,param_1,sVar5);" (assignment_expression "pvVar3 = memcpy(pvVar3,param_1,sVar5)" identifier = (call_expression "memcpy(pvVar3,param_1,sVar5)" identifier (argument_list "(pvVar3,param_1,sVar5)" ( identifier , identifier , identifier )))) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (expression_statement "DAT_00171290 = puVar2;" (assignment_expression "DAT_00171290 = puVar2" identifier = identifier) ;) (expression_statement "*(undefined1 *)((long)pvVar3 + sVar5) = 0;" (assignment_expression "*(undefined1 *)((long)pvVar3 + sVar5) = 0" (pointer_expression "*(undefined1 *)((long)pvVar3 + sVar5)" * (cast_expression "(undefined1 *)((long)pvVar3 + sVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + sVar5)" ( (binary_expression "(long)pvVar3 + sVar5" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'))" ( (binary_expression "(cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0')" (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1 = pcVar4 + 1, pcVar4[1] != '\0')" ( (comma_expression "param_1 = pcVar4 + 1, pcVar4[1] != '\0'" (assignment_expression "param_1 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "pcVar4[1] != '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence '))) ))) )) ;) (return_statement return ;) })))
(function_definition "void FUN_001180f0(char *param_1)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001180f0(char *param_1)" (identifier "FUN_001180f0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  void *pvVar3;\n  char *pcVar4;\n  size_t sVar5;\n  \n  if (*param_1 == '\0') {\n    return;\n  }\n  do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "void *pvVar3;" (primitive_type "void") (pointer_declarator "*pvVar3" (* "*") (identifier "pvVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (if_statement "if (*param_1 == '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));" (do "do") (compound_statement "{\n    pcVar4 = strpbrk(param_1,",:");\n    if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }\n    puVar2 = (undefined8 *)xmalloc(0x10);\n    sVar5 = (long)pcVar4 - (long)param_1;\n    puVar2[1] = DAT_00171290;\n    pvVar3 = (void *)xmalloc(sVar5 + 1);\n    *puVar2 = pvVar3;\n    pvVar3 = memcpy(pvVar3,param_1,sVar5);\n    cVar1 = *pcVar4;\n    DAT_00171290 = puVar2;\n    *(undefined1 *)((long)pvVar3 + sVar5) = 0;\n  }" ({ "{") (expression_statement "pcVar4 = strpbrk(param_1,",:");" (assignment_expression "pcVar4 = strpbrk(param_1,",:")" (identifier "pcVar4") (= "=") (call_expression "strpbrk(param_1,",:")" (identifier "strpbrk") (argument_list "(param_1,",:")" (( "(") (identifier "param_1") (, ",") (string_literal "",:"" (" """) (string_content ",:") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      sVar5 = strlen(param_1);\n      pcVar4 = param_1 + sVar5;\n    }" ({ "{") (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" (identifier "sVar5") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "pcVar4 = param_1 + sVar5;" (assignment_expression "pcVar4 = param_1 + sVar5" (identifier "pcVar4") (= "=") (binary_expression "param_1 + sVar5" (identifier "param_1") (+ "+") (identifier "sVar5"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined8 *)xmalloc(0x10);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(0x10)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)xmalloc(0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "sVar5 = (long)pcVar4 - (long)param_1;" (assignment_expression "sVar5 = (long)pcVar4 - (long)param_1" (identifier "sVar5") (= "=") (binary_expression "(long)pcVar4 - (long)param_1" (cast_expression "(long)pcVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pcVar4")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "puVar2[1] = DAT_00171290;" (assignment_expression "puVar2[1] = DAT_00171290" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_00171290")) (; ";")) (expression_statement "pvVar3 = (void *)xmalloc(sVar5 + 1);" (assignment_expression "pvVar3 = (void *)xmalloc(sVar5 + 1)" (identifier "pvVar3") (= "=") (cast_expression "(void *)xmalloc(sVar5 + 1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + 1)" (identifier "xmalloc") (argument_list "(sVar5 + 1)" (( "(") (binary_expression "sVar5 + 1" (identifier "sVar5") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*puVar2 = pvVar3;" (assignment_expression "*puVar2 = pvVar3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "pvVar3 = memcpy(pvVar3,param_1,sVar5);" (assignment_expression "pvVar3 = memcpy(pvVar3,param_1,sVar5)" (identifier "pvVar3") (= "=") (call_expression "memcpy(pvVar3,param_1,sVar5)" (identifier "memcpy") (argument_list "(pvVar3,param_1,sVar5)" (( "(") (identifier "pvVar3") (, ",") (identifier "param_1") (, ",") (identifier "sVar5") () ")")))) (; ";")) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" (identifier "cVar1") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (expression_statement "DAT_00171290 = puVar2;" (assignment_expression "DAT_00171290 = puVar2" (identifier "DAT_00171290") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(undefined1 *)((long)pvVar3 + sVar5) = 0;" (assignment_expression "*(undefined1 *)((long)pvVar3 + sVar5) = 0" (pointer_expression "*(undefined1 *)((long)pvVar3 + sVar5)" (* "*") (cast_expression "(undefined1 *)((long)pvVar3 + sVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)pvVar3 + sVar5)" (( "(") (binary_expression "(long)pvVar3 + sVar5" (cast_expression "(long)pvVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar3")) (+ "+") (identifier "sVar5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'))" (( "(") (binary_expression "(cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0')" (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_1 = pcVar4 + 1, pcVar4[1] != '\0')" (( "(") (comma_expression "param_1 = pcVar4 + 1, pcVar4[1] != '\0'" (assignment_expression "param_1 = pcVar4 + 1" (identifier "param_1") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (, ",") (binary_expression "pcVar4[1] != '\0'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_4)

{
  char var_8;
  type_1 *peVar2;
  char *__dest;
  void *pvVar3;
  char *var_2;
  size_t var_5;
  char *p;
  
  if (*var_4 == '\0') {
    return;
  }
  do {
    var_2 = var_1(var_4,",:");
    if (var_2 == (char *)0x0) {
      var_5 = var_3(var_4);
      var_2 = var_4 + var_5;
    }
    peVar2 = (type_1 *)var_6(0x10);
    var_5 = (long)var_2 - (long)var_4;
    peVar2->next = excluded_libs;
    __dest = (char *)var_6(var_5 + 1);
    peVar2->name = __dest;
    pvVar3 = var_7(__dest,var_4,var_5);
    var_8 = *var_2;
    excluded_libs = peVar2;
    *(type_2 *)((long)pvVar3 + var_5) = 0;
  } while ((var_8 != '\0') && (var_4 = var_2 + 1, var_2[1] != '\0'));
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))))) (return_statement))))

void MASKED(char *param_1)

{
  char cVar1;
  undefined8 *puVar2;
  void *pvVar3;
  char *pcVar4;
  size_t sVar5;
  
  if (*param_1 == '\0') {
    return;
  }
  do {
    pcVar4 = strpbrk(param_1,",:");
    if (pcVar4 == (char *)0x0) {
      sVar5 = strlen(param_1);
      pcVar4 = param_1 + sVar5;
    }
    puVar2 = (undefined8 *)xmalloc(0x10);
    sVar5 = (long)pcVar4 - (long)param_1;
    puVar2[1] = DAT_00171290;
    pvVar3 = (void *)xmalloc(sVar5 + 1);
    *puVar2 = pvVar3;
    pvVar3 = memcpy(pvVar3,param_1,sVar5);
    cVar1 = *pcVar4;
    DAT_00171290 = puVar2;
    *(undefined1 *)((long)pvVar3 + sVar5) = 0;
  } while ((cVar1 != '\0') && (param_1 = pcVar4 + 1, pcVar4[1] != '\0'));
  return;
}

