
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void parse_mount_options(void)

{
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)

{
  uint uVar1;
  char *pcVar2;
  size_t sVar3;
  int iVar4;
  char *pcVar5;
  int iVar6;
  uint local_2c;
  
  local_2c = 0x8000;
  do {
    pcVar2 = strchr(param_1,0x2c);
    if (pcVar2 != (char *)0x0) {
      *pcVar2 = '\0';
    }
    iVar6 = 0;
    pcVar5 = "loop";
    do {
      sVar3 = strlen(pcVar5);
      iVar4 = strncasecmp(pcVar5,param_1,sVar3);
      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {
        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);
        if ((int)uVar1 < 0) {
          local_2c = local_2c & uVar1;
          goto joined_r0x0006dceb;
        }
        local_2c = local_2c | uVar1;
        if (pcVar2 == (char *)0x0) {
          return local_2c;
        }
        goto LAB_0006dced;
      }
      pcVar5 = pcVar5 + sVar3 + 1;
      iVar6 = iVar6 + 1;
    } while (iVar6 != 0x2c);
    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {
      pcVar5 = (char *)*param_2;
      strlen(param_1);
      if (pcVar5 == (char *)0x0) {
        pcVar5 = (char *)FUN_0001a2be();
        *param_2 = pcVar5;
      }
      else {
        sVar3 = strlen(pcVar5);
        pcVar5 = (char *)FUN_0001a2be();
        *param_2 = pcVar5;
        if (sVar3 != 0) {
          pcVar5[sVar3] = ',';
          pcVar5 = pcVar5 + sVar3 + 1;
        }
      }
      strcpy(pcVar5,param_1);
    }
joined_r0x0006dceb:
    if (pcVar2 == (char *)0x0) {
      return local_2c;
    }
LAB_0006dced:
    *pcVar2 = ',';
    param_1 = pcVar2 + 1;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
CALL 0x00017650
ADD EBX,0x6de16
MOV ESI,EAX
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x10],0x8000
LEA EAX,[EBX + 0xffff95e7]
MOV dword ptr [ESP + 0x14],EAX
SUB ESP,0x8
PUSH 0x2c
PUSH ESI
CALL 0x00016ad0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JNZ 0x0006dd41
MOV EBP,dword ptr [ESP + 0x14]
XOR EDX,EDX
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x00016b40
ADD ESP,0xc
PUSH EAX
MOV dword ptr [ESP + 0x20],EAX
PUSH ESI
PUSH EBP
CALL 0x00016ea0
ADD ESP,0x10
TEST EAX,EAX
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
JNZ 0x0006dca1
CMP byte ptr [ESI + ECX*0x1],0x0
JNZ 0x0006dc9a
MOV EAX,dword ptr [EBX + EDX*0x4 + 0xfffe4bc0]
TEST EAX,EAX
JNS 0x0006dd33
AND dword ptr [ESP + 0x10],EAX
TEST EDI,EDI
JNZ 0x0006dced
MOV EAX,dword ptr [ESP + 0x10]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EBP + ECX*0x1 + -0x1],0x3d
JZ 0x0006dc77
LEA EBP,[EBP + ECX*0x1 + 0x1]
INC EDX
CMP EDX,0x2c
JNZ 0x0006dc46
CMP byte ptr [ESI],0x0
JZ 0x0006dc8a
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x0006dc8a
MOV EBP,dword ptr [EAX]
SUB ESP,0xc
PUSH ESI
CALL 0x00016b40
ADD ESP,0x10
MOV EDX,EAX
TEST EBP,EBP
JNZ 0x0006dcf8
ADD EDX,0x2
XOR EAX,EAX
CALL 0x0001a2be
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [ECX],EAX
SUB ESP,0x8
PUSH ESI
PUSH EAX
CALL 0x000167f0
ADD ESP,0x10
TEST EDI,EDI
JZ 0x0006dc8e
MOV byte ptr [EDI],0x2c
LEA ESI,[EDI + 0x1]
JMP 0x0006dc28
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0xc
PUSH EBP
CALL 0x00016b40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
LEA EDX,[EAX + EDX*0x1 + 0x2]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,EBP
CALL 0x0001a2be
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [ECX],EAX
MOV ECX,dword ptr [ESP + 0x18]
TEST ECX,ECX
JZ 0x0006dcdc
MOV byte ptr [EAX + ECX*0x1],0x2c
LEA EAX,[EAX + ECX*0x1 + 0x1]
JMP 0x0006dcdc
OR dword ptr [ESP + 0x10],EAX
TEST EDI,EDI
JZ 0x0006dc8e
JMP 0x0006dced
MOV byte ptr [EAX],0x0
JMP 0x0006dc40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}\n\n" comment (function_definition "uint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0006dbfe(char *param_1,undefined4 *param_2)" identifier (parameter_list "(char *param_1,undefined4 *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "local_2c = 0x8000;" (assignment_expression "local_2c = 0x8000" identifier = number_literal) ;) (do_statement "do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  }" { (expression_statement "pcVar2 = strchr(param_1,0x2c);" (assignment_expression "pcVar2 = strchr(param_1,0x2c)" identifier = (call_expression "strchr(param_1,0x2c)" identifier (argument_list "(param_1,0x2c)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *pcVar2 = '\0';\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = "loop";" (assignment_expression "pcVar5 = "loop"" identifier = (string_literal ""loop"" " string_content ")) ;) (do_statement "do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);" do (compound_statement "{\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    }" { (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "iVar4 = strncasecmp(pcVar5,param_1,sVar3);" (assignment_expression "iVar4 = strncasecmp(pcVar5,param_1,sVar3)" identifier = (call_expression "strncasecmp(pcVar5,param_1,sVar3)" identifier (argument_list "(pcVar5,param_1,sVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" if (parenthesized_expression "((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))))" ( (binary_expression "(iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" ( (parenthesized_expression "(param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))" ( (binary_expression "param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')" (binary_expression "param_1[sVar3] == '\0'" (subscript_expression "param_1[sVar3]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(pcVar5[sVar3 - 1] == '=')" ( (binary_expression "pcVar5[sVar3 - 1] == '='" (subscript_expression "pcVar5[sVar3 - 1]" identifier [ (binary_expression "sVar3 - 1" identifier - number_literal) ]) == (char_literal "'='" ' character ')) ))) )) ))) )) (compound_statement "{\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" { (expression_statement "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);" (assignment_expression "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4)" identifier = (pointer_expression "*(uint *)(&DAT_000c05e0 + iVar6 * 4)" * (cast_expression "(uint *)(&DAT_000c05e0 + iVar6 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000c05e0 + iVar6 * 4)" ( (binary_expression "&DAT_000c05e0 + iVar6 * 4" (pointer_expression "&DAT_000c05e0" & identifier) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" { (expression_statement "local_2c = local_2c & uVar1;" (assignment_expression "local_2c = local_2c & uVar1" identifier = (binary_expression "local_2c & uVar1" identifier & identifier)) ;) (goto_statement "goto joined_r0x0006dceb;" goto statement_identifier ;) })) (expression_statement "local_2c = local_2c | uVar1;" (assignment_expression "local_2c = local_2c | uVar1" identifier = (binary_expression "local_2c | uVar1" identifier | identifier)) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return local_2c;\n        }" { (return_statement "return local_2c;" return identifier ;) })) (goto_statement "goto LAB_0006dced;" goto statement_identifier ;) })) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" identifier = (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" identifier + identifier) + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x2c)" ( (binary_expression "iVar6 != 0x2c" identifier != number_literal) )) ;) (if_statement "if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" if (parenthesized_expression "((*param_1 != '\0') && (param_2 != (undefined4 *)0x0))" ( (binary_expression "(*param_1 != '\0') && (param_2 != (undefined4 *)0x0)" (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" { (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "strlen(param_1);" (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }" { (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" identifier = (cast_expression "(char *)FUN_0001a2be()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2be()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) }) (else_clause "else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" else (compound_statement "{\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" { (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" identifier = (cast_expression "(char *)FUN_0001a2be()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2be()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" { (expression_statement "pcVar5[sVar3] = ',';" (assignment_expression "pcVar5[sVar3] = ','" (subscript_expression "pcVar5[sVar3]" identifier [ identifier ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" identifier = (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" identifier + identifier) + number_literal)) ;) })) }))) (expression_statement "strcpy(pcVar5,param_1);" (call_expression "strcpy(pcVar5,param_1)" identifier (argument_list "(pcVar5,param_1)" ( identifier , identifier ))) ;) })) (labeled_statement "joined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" statement_identifier : (if_statement "if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return local_2c;\n    }" { (return_statement "return local_2c;" return identifier ;) }))) (labeled_statement "LAB_0006dced:\n    *pcVar2 = ',';" statement_identifier : (expression_statement "*pcVar2 = ',';" (assignment_expression "*pcVar2 = ','" (pointer_expression "*pcVar2" * identifier) = (char_literal "','" ' character ')) ;)) (expression_statement "param_1 = pcVar2 + 1;" (assignment_expression "param_1 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid parse_mount_options(void)\n\n{\n}\n\n" comment (function_definition "void parse_mount_options(void)\n\n{\n}" primitive_type (function_declarator "parse_mount_options(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "uint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}\n\n" (function_definition "uint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0006dbfe(char *param_1,undefined4 *param_2)" identifier (parameter_list "(char *param_1,undefined4 *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "local_2c = 0x8000;" (assignment_expression "local_2c = 0x8000" identifier = number_literal) ;) (do_statement "do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  }" { (expression_statement "pcVar2 = strchr(param_1,0x2c);" (assignment_expression "pcVar2 = strchr(param_1,0x2c)" identifier = (call_expression "strchr(param_1,0x2c)" identifier (argument_list "(param_1,0x2c)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *pcVar2 = '\0';\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = "loop";" (assignment_expression "pcVar5 = "loop"" identifier = (string_literal ""loop"" " string_content ")) ;) (do_statement "do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);" do (compound_statement "{\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    }" { (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "iVar4 = strncasecmp(pcVar5,param_1,sVar3);" (assignment_expression "iVar4 = strncasecmp(pcVar5,param_1,sVar3)" identifier = (call_expression "strncasecmp(pcVar5,param_1,sVar3)" identifier (argument_list "(pcVar5,param_1,sVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" if (parenthesized_expression "((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))))" ( (binary_expression "(iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" ( (parenthesized_expression "(param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))" ( (binary_expression "param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')" (binary_expression "param_1[sVar3] == '\0'" (subscript_expression "param_1[sVar3]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(pcVar5[sVar3 - 1] == '=')" ( (binary_expression "pcVar5[sVar3 - 1] == '='" (subscript_expression "pcVar5[sVar3 - 1]" identifier [ (binary_expression "sVar3 - 1" identifier - number_literal) ]) == (char_literal "'='" ' character ')) ))) )) ))) )) (compound_statement "{\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" { (expression_statement "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);" (assignment_expression "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4)" identifier = (pointer_expression "*(uint *)(&DAT_000c05e0 + iVar6 * 4)" * (cast_expression "(uint *)(&DAT_000c05e0 + iVar6 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000c05e0 + iVar6 * 4)" ( (binary_expression "&DAT_000c05e0 + iVar6 * 4" (pointer_expression "&DAT_000c05e0" & identifier) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" { (expression_statement "local_2c = local_2c & uVar1;" (assignment_expression "local_2c = local_2c & uVar1" identifier = (binary_expression "local_2c & uVar1" identifier & identifier)) ;) (goto_statement "goto joined_r0x0006dceb;" goto statement_identifier ;) })) (expression_statement "local_2c = local_2c | uVar1;" (assignment_expression "local_2c = local_2c | uVar1" identifier = (binary_expression "local_2c | uVar1" identifier | identifier)) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return local_2c;\n        }" { (return_statement "return local_2c;" return identifier ;) })) (goto_statement "goto LAB_0006dced;" goto statement_identifier ;) })) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" identifier = (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" identifier + identifier) + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x2c)" ( (binary_expression "iVar6 != 0x2c" identifier != number_literal) )) ;) (if_statement "if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" if (parenthesized_expression "((*param_1 != '\0') && (param_2 != (undefined4 *)0x0))" ( (binary_expression "(*param_1 != '\0') && (param_2 != (undefined4 *)0x0)" (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" { (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "strlen(param_1);" (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }" { (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" identifier = (cast_expression "(char *)FUN_0001a2be()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2be()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) }) (else_clause "else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" else (compound_statement "{\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" { (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" identifier = (cast_expression "(char *)FUN_0001a2be()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2be()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" { (expression_statement "pcVar5[sVar3] = ',';" (assignment_expression "pcVar5[sVar3] = ','" (subscript_expression "pcVar5[sVar3]" identifier [ identifier ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" identifier = (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" identifier + identifier) + number_literal)) ;) })) }))) (expression_statement "strcpy(pcVar5,param_1);" (call_expression "strcpy(pcVar5,param_1)" identifier (argument_list "(pcVar5,param_1)" ( identifier , identifier ))) ;) })) (labeled_statement "joined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" statement_identifier : (if_statement "if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return local_2c;\n    }" { (return_statement "return local_2c;" return identifier ;) }))) (labeled_statement "LAB_0006dced:\n    *pcVar2 = ',';" statement_identifier : (expression_statement "*pcVar2 = ',';" (assignment_expression "*pcVar2 = ','" (pointer_expression "*pcVar2" * identifier) = (char_literal "','" ' character ')) ;)) (expression_statement "param_1 = pcVar2 + 1;" (assignment_expression "param_1 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (char_literal ' character ')) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "uint __regparm3 FUN_0006dbfe(char *param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0006dbfe(char *param_1,undefined4 *param_2)" (identifier "FUN_0006dbfe") (parameter_list "(char *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  uint local_2c;\n  \n  local_2c = 0x8000;\n  do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "local_2c = 0x8000;" (assignment_expression "local_2c = 0x8000" (identifier "local_2c") (= "=") (number_literal "0x8000")) (; ";")) (do_statement "do {\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    pcVar2 = strchr(param_1,0x2c);\n    if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }\n    iVar6 = 0;\n    pcVar5 = "loop";\n    do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);\n    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }\njoined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }\nLAB_0006dced:\n    *pcVar2 = ',';\n    param_1 = pcVar2 + 1;\n  }" ({ "{") (expression_statement "pcVar2 = strchr(param_1,0x2c);" (assignment_expression "pcVar2 = strchr(param_1,0x2c)" (identifier "pcVar2") (= "=") (call_expression "strchr(param_1,0x2c)" (identifier "strchr") (argument_list "(param_1,0x2c)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2c") () ")")))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) {\n      *pcVar2 = '\0';\n    }" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *pcVar2 = '\0';\n    }" ({ "{") (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar5 = "loop";" (assignment_expression "pcVar5 = "loop"" (identifier "pcVar5") (= "=") (string_literal ""loop"" (" """) (string_content "loop") (" """))) (; ";")) (do_statement "do {\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    } while (iVar6 != 0x2c);" (do "do") (compound_statement "{\n      sVar3 = strlen(pcVar5);\n      iVar4 = strncasecmp(pcVar5,param_1,sVar3);\n      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }\n      pcVar5 = pcVar5 + sVar3 + 1;\n      iVar6 = iVar6 + 1;\n    }" ({ "{") (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar5)" (identifier "strlen") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "iVar4 = strncasecmp(pcVar5,param_1,sVar3);" (assignment_expression "iVar4 = strncasecmp(pcVar5,param_1,sVar3)" (identifier "iVar4") (= "=") (call_expression "strncasecmp(pcVar5,param_1,sVar3)" (identifier "strncasecmp") (argument_list "(pcVar5,param_1,sVar3)" (( "(") (identifier "pcVar5") (, ",") (identifier "param_1") (, ",") (identifier "sVar3") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" (if "if") (parenthesized_expression "((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))))" (( "(") (binary_expression "(iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))" (( "(") (parenthesized_expression "(param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '='))" (( "(") (binary_expression "param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')" (binary_expression "param_1[sVar3] == '\0'" (subscript_expression "param_1[sVar3]" (identifier "param_1") ([ "[") (identifier "sVar3") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(pcVar5[sVar3 - 1] == '=')" (( "(") (binary_expression "pcVar5[sVar3 - 1] == '='" (subscript_expression "pcVar5[sVar3 - 1]" (identifier "pcVar5") ([ "[") (binary_expression "sVar3 - 1" (identifier "sVar3") (- "-") (number_literal "1")) (] "]")) (== "==") (char_literal "'='" (' "'") (character "=") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);\n        if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }\n        local_2c = local_2c | uVar1;\n        if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }\n        goto LAB_0006dced;\n      }" ({ "{") (expression_statement "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);" (assignment_expression "uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(&DAT_000c05e0 + iVar6 * 4)" (* "*") (cast_expression "(uint *)(&DAT_000c05e0 + iVar6 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000c05e0 + iVar6 * 4)" (( "(") (binary_expression "&DAT_000c05e0 + iVar6 * 4" (pointer_expression "&DAT_000c05e0" (& "&") (identifier "DAT_000c05e0")) (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if ((int)uVar1 < 0) {\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" (if "if") (parenthesized_expression "((int)uVar1 < 0)" (( "(") (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          local_2c = local_2c & uVar1;\n          goto joined_r0x0006dceb;\n        }" ({ "{") (expression_statement "local_2c = local_2c & uVar1;" (assignment_expression "local_2c = local_2c & uVar1" (identifier "local_2c") (= "=") (binary_expression "local_2c & uVar1" (identifier "local_2c") (& "&") (identifier "uVar1"))) (; ";")) (goto_statement "goto joined_r0x0006dceb;" (goto "goto") (statement_identifier "joined_r0x0006dceb") (; ";")) (} "}"))) (expression_statement "local_2c = local_2c | uVar1;" (assignment_expression "local_2c = local_2c | uVar1" (identifier "local_2c") (= "=") (binary_expression "local_2c | uVar1" (identifier "local_2c") (| "|") (identifier "uVar1"))) (; ";")) (if_statement "if (pcVar2 == (char *)0x0) {\n          return local_2c;\n        }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return local_2c;\n        }" ({ "{") (return_statement "return local_2c;" (return "return") (identifier "local_2c") (; ";")) (} "}"))) (goto_statement "goto LAB_0006dced;" (goto "goto") (statement_identifier "LAB_0006dced") (; ";")) (} "}"))) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" (identifier "pcVar5") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0x2c)" (( "(") (binary_expression "iVar6 != 0x2c" (identifier "iVar6") (!= "!=") (number_literal "0x2c")) () ")")) (; ";")) (if_statement "if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" (if "if") (parenthesized_expression "((*param_1 != '\0') && (param_2 != (undefined4 *)0x0))" (( "(") (binary_expression "(*param_1 != '\0') && (param_2 != (undefined4 *)0x0)" (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != (undefined4 *)0x0)" (( "(") (binary_expression "param_2 != (undefined4 *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n      pcVar5 = (char *)*param_2;\n      strlen(param_1);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }\n      strcpy(pcVar5,param_1);\n    }" ({ "{") (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" (identifier "pcVar5") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "strlen(param_1);" (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (pcVar5 == (char *)0x0) {\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }\n      else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(pcVar5 == (char *)0x0)" (( "(") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n      }" ({ "{") (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" (identifier "pcVar5") (= "=") (cast_expression "(char *)FUN_0001a2be()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a2be()" (identifier "FUN_0001a2be") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "pcVar5")) (; ";")) (} "}")) (else_clause "else {\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" (else "else") (compound_statement "{\n        sVar3 = strlen(pcVar5);\n        pcVar5 = (char *)FUN_0001a2be();\n        *param_2 = pcVar5;\n        if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }\n      }" ({ "{") (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar5)" (identifier "strlen") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "pcVar5 = (char *)FUN_0001a2be();" (assignment_expression "pcVar5 = (char *)FUN_0001a2be()" (identifier "pcVar5") (= "=") (cast_expression "(char *)FUN_0001a2be()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a2be()" (identifier "FUN_0001a2be") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*param_2 = pcVar5;" (assignment_expression "*param_2 = pcVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "pcVar5")) (; ";")) (if_statement "if (sVar3 != 0) {\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" (if "if") (parenthesized_expression "(sVar3 != 0)" (( "(") (binary_expression "sVar3 != 0" (identifier "sVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar5[sVar3] = ',';\n          pcVar5 = pcVar5 + sVar3 + 1;\n        }" ({ "{") (expression_statement "pcVar5[sVar3] = ',';" (assignment_expression "pcVar5[sVar3] = ','" (subscript_expression "pcVar5[sVar3]" (identifier "pcVar5") ([ "[") (identifier "sVar3") (] "]")) (= "=") (char_literal "','" (' "'") (character ",") (' "'"))) (; ";")) (expression_statement "pcVar5 = pcVar5 + sVar3 + 1;" (assignment_expression "pcVar5 = pcVar5 + sVar3 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + sVar3 + 1" (binary_expression "pcVar5 + sVar3" (identifier "pcVar5") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "strcpy(pcVar5,param_1);" (call_expression "strcpy(pcVar5,param_1)" (identifier "strcpy") (argument_list "(pcVar5,param_1)" (( "(") (identifier "pcVar5") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (labeled_statement "joined_r0x0006dceb:\n    if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" (statement_identifier "joined_r0x0006dceb") (: ":") (if_statement "if (pcVar2 == (char *)0x0) {\n      return local_2c;\n    }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return local_2c;\n    }" ({ "{") (return_statement "return local_2c;" (return "return") (identifier "local_2c") (; ";")) (} "}")))) (labeled_statement "LAB_0006dced:\n    *pcVar2 = ',';" (statement_identifier "LAB_0006dced") (: ":") (expression_statement "*pcVar2 = ',';" (assignment_expression "*pcVar2 = ','" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (char_literal "','" (' "'") (character ",") (' "'"))) (; ";"))) (expression_statement "param_1 = pcVar2 + 1;" (assignment_expression "param_1 = pcVar2 + 1" (identifier "param_1") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void function_1(void)

{
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (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: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (character))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (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 (return_statement (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (labeled_statement label: (statement_identifier) (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 (return_statement (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint __regparm3 MASKED(char *param_1,undefined4 *param_2)

{
  uint uVar1;
  char *pcVar2;
  size_t sVar3;
  int iVar4;
  char *pcVar5;
  int iVar6;
  uint local_2c;
  
  local_2c = 0x8000;
  do {
    pcVar2 = strchr(param_1,0x2c);
    if (pcVar2 != (char *)0x0) {
      *pcVar2 = '\0';
    }
    iVar6 = 0;
    pcVar5 = "loop";
    do {
      sVar3 = strlen(pcVar5);
      iVar4 = strncasecmp(pcVar5,param_1,sVar3);
      if ((iVar4 == 0) && ((param_1[sVar3] == '\0' || (pcVar5[sVar3 - 1] == '=')))) {
        uVar1 = *(uint *)(&DAT_000c05e0 + iVar6 * 4);
        if ((int)uVar1 < 0) {
          local_2c = local_2c & uVar1;
          goto joined_r0x0006dceb;
        }
        local_2c = local_2c | uVar1;
        if (pcVar2 == (char *)0x0) {
          return local_2c;
        }
        goto LAB_0006dced;
      }
      pcVar5 = pcVar5 + sVar3 + 1;
      iVar6 = iVar6 + 1;
    } while (iVar6 != 0x2c);
    if ((*param_1 != '\0') && (param_2 != (undefined4 *)0x0)) {
      pcVar5 = (char *)*param_2;
      strlen(param_1);
      if (pcVar5 == (char *)0x0) {
        pcVar5 = (char *)FUN_0001a2be();
        *param_2 = pcVar5;
      }
      else {
        sVar3 = strlen(pcVar5);
        pcVar5 = (char *)FUN_0001a2be();
        *param_2 = pcVar5;
        if (sVar3 != 0) {
          pcVar5[sVar3] = ',';
          pcVar5 = pcVar5 + sVar3 + 1;
        }
      }
      strcpy(pcVar5,param_1);
    }
joined_r0x0006dceb:
    if (pcVar2 == (char *)0x0) {
      return local_2c;
    }
LAB_0006dced:
    *pcVar2 = ',';
    param_1 = pcVar2 + 1;
  } while( true );
}

