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

char * dir_name(char *file)

{
  char *pcVar1;
  
  pcVar1 = mdir_name(file);
  if (pcVar1 != (char *)0x0) {
    return pcVar1;
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}



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

void FUN_0001cc70(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001cd10(param_1);
  if (iVar1 != 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00023120();
}


PUSH EBX
CALL 0x000132d0
ADD EBX,0x1c38a
SUB ESP,0x14
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001cd10
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001cc94
ADD ESP,0x8
POP EBX
RET
CALL 0x00023120
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001cc70(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023120();\n}\n\n" comment (function_definition "void FUN_0001cc70(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023120();\n}" primitive_type (function_declarator "FUN_0001cc70(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00023120();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001cd10(param_1);" (assignment_expression "iVar1 = FUN_0001cd10(param_1)" identifier = (call_expression "FUN_0001cd10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00023120();" (call_expression "FUN_00023120()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * dir_name(char *file)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = mdir_name(file);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}\n\n" comment comment (function_definition "char * dir_name(char *file)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = mdir_name(file);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" primitive_type (pointer_declarator "* dir_name(char *file)" * (function_declarator "dir_name(char *file)" identifier (parameter_list "(char *file)" ( (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = mdir_name(file);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = mdir_name(file);" (assignment_expression "pcVar1 = mdir_name(file)" identifier = (call_expression "mdir_name(file)" identifier (argument_list "(file)" ( identifier )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_0001cc70(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00023120();\n}\n\n" (function_definition "void FUN_0001cc70(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00023120();\n}" primitive_type (function_declarator "FUN_0001cc70(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00023120();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001cd10(param_1);" (assignment_expression "iVar1 = FUN_0001cd10(param_1)" identifier = (call_expression "FUN_0001cd10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00023120();" (call_expression "FUN_00023120()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0001cc70(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00023120();\n}" (primitive_type "void") (function_declarator "FUN_0001cc70(undefined4 param_1)" (identifier "FUN_0001cc70") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001cd10(param_1);\n  if (iVar1 != 0) {\n    return;\n  }\n                    \n  FUN_00023120();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0001cd10(param_1);" (assignment_expression "iVar1 = FUN_0001cd10(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0001cd10(param_1)" (identifier "FUN_0001cd10") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00023120();" (call_expression "FUN_00023120()" (identifier "FUN_00023120") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * function_1(char *file)

{
  char *var_2;
  
  var_2 = var_1(file);
  if (var_2 != (char *)0x0) {
    return var_2;
  }
                    /* WARNING: Subroutine does not return */
  var_3();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001cd10(param_1);
  if (iVar1 != 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00023120();
}

