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

int mkfifo_main(int argc,char **argv)

{
}



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

undefined4 FUN_00087e44(undefined4 param_1,int param_2)

{
  __mode_t __mode;
  char *__path;
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  
  __mode = FUN_00091305();
  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);
  __path = (char *)*piVar3;
  if (__path != (char *)0x0) {
    uVar2 = 0;
    do {
      iVar1 = mkfifo(__path,__mode);
      if (iVar1 < 0) {
        FUN_00018eb7();
        uVar2 = 1;
      }
      piVar3 = piVar3 + 1;
      __path = (char *)*piVar3;
    } while (__path != (char *)0x0);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017f70();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
CALL 0x00017640
ADD EBX,0x48bd0
MOV ESI,dword ptr [ESP + 0x24]
MOV EAX,ESI
CALL 0x00091305
MOV EDI,EAX
MOV EAX,dword ptr [EBX + 0x574]
MOV EAX,dword ptr [EAX]
LEA ESI,[ESI + EAX*0x4]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00087ea6
XOR EBP,EBP
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00017500
ADD ESP,0x10
TEST EAX,EAX
JNS 0x00087e93
MOV EAX,dword ptr [ESI]
CALL 0x00018eb7
MOV EBP,0x1
ADD ESI,0x4
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JNZ 0x00087e76
MOV EAX,EBP
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017f70
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00087e44(undefined4 param_1,int param_2)\n\n{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017f70();\n}\n\n" comment (function_definition "undefined4 FUN_00087e44(undefined4 param_1,int param_2)\n\n{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017f70();\n}" type_identifier (function_declarator "FUN_00087e44(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017f70();\n}" { (declaration "__mode_t __mode;" type_identifier identifier ;) (declaration "char *__path;" primitive_type (pointer_declarator "*__path" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "__mode = FUN_00091305();" (assignment_expression "__mode = FUN_00091305()" identifier = (call_expression "FUN_00091305()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);" (assignment_expression "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" identifier = (cast_expression "(int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + *(int *)PTR_optind_000d0f94 * 4)" ( (binary_expression "param_2 + *(int *)PTR_optind_000d0f94 * 4" identifier + (binary_expression "*(int *)PTR_optind_000d0f94 * 4" (pointer_expression "*(int *)PTR_optind_000d0f94" * (cast_expression "(int *)PTR_optind_000d0f94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) )))) ;) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" identifier = (cast_expression "(char *)*piVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" if (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);" do (compound_statement "{\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    }" { (expression_statement "iVar1 = mkfifo(__path,__mode);" (assignment_expression "iVar1 = mkfifo(__path,__mode)" identifier = (call_expression "mkfifo(__path,__mode)" identifier (argument_list "(__path,__mode)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" { (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" identifier = (cast_expression "(char *)*piVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) while (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "FUN_00017f70();" (call_expression "FUN_00017f70()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint mkfifo_main(int argc,char **argv)\n\n{\n}\n\n" comment (function_definition "int mkfifo_main(int argc,char **argv)\n\n{\n}" primitive_type (function_declarator "mkfifo_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 FUN_00087e44(undefined4 param_1,int param_2)\n\n{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    \n  FUN_00017f70();\n}\n\n" (function_definition "undefined4 FUN_00087e44(undefined4 param_1,int param_2)\n\n{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    \n  FUN_00017f70();\n}" type_identifier (function_declarator "FUN_00087e44(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    \n  FUN_00017f70();\n}" { (declaration "__mode_t __mode;" type_identifier identifier ;) (declaration "char *__path;" primitive_type (pointer_declarator "*__path" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "__mode = FUN_00091305();" (assignment_expression "__mode = FUN_00091305()" identifier = (call_expression "FUN_00091305()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);" (assignment_expression "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" identifier = (cast_expression "(int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + *(int *)PTR_optind_000d0f94 * 4)" ( (binary_expression "param_2 + *(int *)PTR_optind_000d0f94 * 4" identifier + (binary_expression "*(int *)PTR_optind_000d0f94 * 4" (pointer_expression "*(int *)PTR_optind_000d0f94" * (cast_expression "(int *)PTR_optind_000d0f94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) )))) ;) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" identifier = (cast_expression "(char *)*piVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (if_statement "if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" if (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);" do (compound_statement "{\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    }" { (expression_statement "iVar1 = mkfifo(__path,__mode);" (assignment_expression "iVar1 = mkfifo(__path,__mode)" identifier = (call_expression "mkfifo(__path,__mode)" identifier (argument_list "(__path,__mode)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" { (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" identifier = (cast_expression "(char *)*piVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) while (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_00017f70();" (call_expression "FUN_00017f70()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * 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 = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_00087e44(undefined4 param_1,int param_2)\n\n{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    \n  FUN_00017f70();\n}" (type_identifier "undefined4") (function_declarator "FUN_00087e44(undefined4 param_1,int param_2)" (identifier "FUN_00087e44") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  __mode_t __mode;\n  char *__path;\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  __mode = FUN_00091305();\n  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);\n  __path = (char *)*piVar3;\n  if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }\n                    \n  FUN_00017f70();\n}" ({ "{") (declaration "__mode_t __mode;" (type_identifier "__mode_t") (identifier "__mode") (; ";")) (declaration "char *__path;" (primitive_type "char") (pointer_declarator "*__path" (* "*") (identifier "__path")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "__mode = FUN_00091305();" (assignment_expression "__mode = FUN_00091305()" (identifier "__mode") (= "=") (call_expression "FUN_00091305()" (identifier "FUN_00091305") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);" (assignment_expression "piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + *(int *)PTR_optind_000d0f94 * 4)" (( "(") (binary_expression "param_2 + *(int *)PTR_optind_000d0f94 * 4" (identifier "param_2") (+ "+") (binary_expression "*(int *)PTR_optind_000d0f94 * 4" (pointer_expression "*(int *)PTR_optind_000d0f94" (* "*") (cast_expression "(int *)PTR_optind_000d0f94" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_000d0f94"))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" (identifier "__path") (= "=") (cast_expression "(char *)*piVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (if_statement "if (__path != (char *)0x0) {\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(__path != (char *)0x0)" (( "(") (binary_expression "__path != (char *)0x0" (identifier "__path") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    } while (__path != (char *)0x0);" (do "do") (compound_statement "{\n      iVar1 = mkfifo(__path,__mode);\n      if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }\n      piVar3 = piVar3 + 1;\n      __path = (char *)*piVar3;\n    }" ({ "{") (expression_statement "iVar1 = mkfifo(__path,__mode);" (assignment_expression "iVar1 = mkfifo(__path,__mode)" (identifier "iVar1") (= "=") (call_expression "mkfifo(__path,__mode)" (identifier "mkfifo") (argument_list "(__path,__mode)" (( "(") (identifier "__path") (, ",") (identifier "__mode") () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00018eb7();\n        uVar2 = 1;\n      }" ({ "{") (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" (identifier "FUN_00018eb7") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__path = (char *)*piVar3;" (assignment_expression "__path = (char *)*piVar3" (identifier "__path") (= "=") (cast_expression "(char *)*piVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__path != (char *)0x0)" (( "(") (binary_expression "__path != (char *)0x0" (identifier "__path") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_00017f70();" (call_expression "FUN_00017f70()" (identifier "FUN_00017f70") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(int argc,char **argv)

{
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

undefined4 MASKED(undefined4 param_1,int param_2)

{
  __mode_t __mode;
  char *__path;
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  
  __mode = FUN_00091305();
  piVar3 = (int *)(param_2 + *(int *)PTR_optind_000d0f94 * 4);
  __path = (char *)*piVar3;
  if (__path != (char *)0x0) {
    uVar2 = 0;
    do {
      iVar1 = mkfifo(__path,__mode);
      if (iVar1 < 0) {
        FUN_00018eb7();
        uVar2 = 1;
      }
      piVar3 = piVar3 + 1;
      __path = (char *)*piVar3;
    } while (__path != (char *)0x0);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017f70();
}

