
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void init_bash_argv(void)

{
  if (bash_argv_initialized != 0) {
    return;
  }
  save_bash_argv();
  bash_argv_initialized = 1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void init_bash_argv(void)

{
  if (bash_argv_initialized != 0) {
    return;
  }
  save_bash_argv();
  bash_argv_initialized = 1;
  return;
}


CALL 0x00032ddd
ADD EAX,0xf374b
PUSH EBX
SUB ESP,0x8
LEA EBX,[EAX + 0x485c]
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JZ 0x000568d0
ADD ESP,0x8
POP EBX
RET
CALL 0x00056880
MOV dword ptr [EBX],0x1
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}\n\n" comment (function_definition "void init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" primitive_type (function_declarator "init_bash_argv(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" { (if_statement "if (bash_argv_initialized != 0) {\n    return;\n  }" if (parenthesized_expression "(bash_argv_initialized != 0)" ( (binary_expression "bash_argv_initialized != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "save_bash_argv();" (call_expression "save_bash_argv()" identifier (argument_list "()" ( ))) ;) (expression_statement "bash_argv_initialized = 1;" (assignment_expression "bash_argv_initialized = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}\n\n" comment comment (function_definition "void init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" primitive_type (function_declarator "init_bash_argv(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" { (if_statement "if (bash_argv_initialized != 0) {\n    return;\n  }" if (parenthesized_expression "(bash_argv_initialized != 0)" ( (binary_expression "bash_argv_initialized != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "save_bash_argv();" (call_expression "save_bash_argv()" identifier (argument_list "()" ( ))) ;) (expression_statement "bash_argv_initialized = 1;" (assignment_expression "bash_argv_initialized = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}\n\n" (function_definition "void init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" primitive_type (function_declarator "init_bash_argv(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" { (if_statement "if (bash_argv_initialized != 0) {\n    return;\n  }" if (parenthesized_expression "(bash_argv_initialized != 0)" ( (binary_expression "bash_argv_initialized != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "save_bash_argv();" (call_expression "save_bash_argv()" identifier (argument_list "()" ( ))) ;) (expression_statement "bash_argv_initialized = 1;" (assignment_expression "bash_argv_initialized = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void init_bash_argv(void)\n\n{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" (primitive_type "void") (function_declarator "init_bash_argv(void)" (identifier "init_bash_argv") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (bash_argv_initialized != 0) {\n    return;\n  }\n  save_bash_argv();\n  bash_argv_initialized = 1;\n  return;\n}" ({ "{") (if_statement "if (bash_argv_initialized != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(bash_argv_initialized != 0)" (( "(") (binary_expression "bash_argv_initialized != 0" (identifier "bash_argv_initialized") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "save_bash_argv();" (call_expression "save_bash_argv()" (identifier "save_bash_argv") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bash_argv_initialized = 1;" (assignment_expression "bash_argv_initialized = 1" (identifier "bash_argv_initialized") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 != 0) {
    return;
  }
  var_2();
  var_1 = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (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))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(void)

{
  if (bash_argv_initialized != 0) {
    return;
  }
  save_bash_argv();
  bash_argv_initialized = 1;
  return;
}

