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

void script_set_common_allocation(void *closurev,int set)

{
  char *option;
  size_t length;
  
  if (set == 0) {
    length = 0x12;
    option = "--no-define-common";
  }
  else {
    length = 0xf;
    option = "--define-common";
  }
  script_parse_option(closurev,option,length);
  return;
}



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

void FUN_00116400(undefined4 param_1,int param_2)

{
  char *pcVar1;
  undefined4 uVar2;
  
  if (param_2 == 0) {
    uVar2 = 0x12;
    pcVar1 = "--no-define-common";
  }
  else {
    uVar2 = 0xf;
    pcVar1 = "--define-common";
  }
  FUN_00116450(param_1,pcVar1,uVar2);
  return;
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1ebbfa
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JNZ 0x00116438
MOV EDX,0x12
LEA EAX,[EBX + 0xfff2d1bf]
SUB ESP,0x4
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x00116450
ADD ESP,0x18
POP EBX
RET
MOV EDX,0xf
LEA EAX,[EBX + 0xfff2d1af]
JMP 0x00116422
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00116400(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}\n\n" comment (function_definition "void FUN_00116400(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00116400(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  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }" { (expression_statement "uVar2 = 0x12;" (assignment_expression "uVar2 = 0x12" identifier = number_literal) ;) (expression_statement "pcVar1 = "--no-define-common";" (assignment_expression "pcVar1 = "--no-define-common"" identifier = (string_literal ""--no-define-common"" " string_content ")) ;) }) (else_clause "else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" else (compound_statement "{\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" { (expression_statement "uVar2 = 0xf;" (assignment_expression "uVar2 = 0xf" identifier = number_literal) ;) (expression_statement "pcVar1 = "--define-common";" (assignment_expression "pcVar1 = "--define-common"" identifier = (string_literal ""--define-common"" " string_content ")) ;) }))) (expression_statement "FUN_00116450(param_1,pcVar1,uVar2);" (call_expression "FUN_00116450(param_1,pcVar1,uVar2)" identifier (argument_list "(param_1,pcVar1,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid script_set_common_allocation(void *closurev,int set)\n\n{\n  char *option;\n  size_t length;\n  \n  if (set == 0) {\n    length = 0x12;\n    option = "--no-define-common";\n  }\n  else {\n    length = 0xf;\n    option = "--define-common";\n  }\n  script_parse_option(closurev,option,length);\n  return;\n}\n\n" comment comment (function_definition "void script_set_common_allocation(void *closurev,int set)\n\n{\n  char *option;\n  size_t length;\n  \n  if (set == 0) {\n    length = 0x12;\n    option = "--no-define-common";\n  }\n  else {\n    length = 0xf;\n    option = "--define-common";\n  }\n  script_parse_option(closurev,option,length);\n  return;\n}" primitive_type (function_declarator "script_set_common_allocation(void *closurev,int set)" identifier (parameter_list "(void *closurev,int set)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "int set" primitive_type identifier) ))) (compound_statement "{\n  char *option;\n  size_t length;\n  \n  if (set == 0) {\n    length = 0x12;\n    option = "--no-define-common";\n  }\n  else {\n    length = 0xf;\n    option = "--define-common";\n  }\n  script_parse_option(closurev,option,length);\n  return;\n}" { (declaration "char *option;" primitive_type (pointer_declarator "*option" * identifier) ;) (declaration "size_t length;" primitive_type identifier ;) (if_statement "if (set == 0) {\n    length = 0x12;\n    option = "--no-define-common";\n  }\n  else {\n    length = 0xf;\n    option = "--define-common";\n  }" if (parenthesized_expression "(set == 0)" ( (binary_expression "set == 0" identifier == number_literal) )) (compound_statement "{\n    length = 0x12;\n    option = "--no-define-common";\n  }" { (expression_statement "length = 0x12;" (assignment_expression "length = 0x12" identifier = number_literal) ;) (expression_statement "option = "--no-define-common";" (assignment_expression "option = "--no-define-common"" identifier = (string_literal ""--no-define-common"" " string_content ")) ;) }) (else_clause "else {\n    length = 0xf;\n    option = "--define-common";\n  }" else (compound_statement "{\n    length = 0xf;\n    option = "--define-common";\n  }" { (expression_statement "length = 0xf;" (assignment_expression "length = 0xf" identifier = number_literal) ;) (expression_statement "option = "--define-common";" (assignment_expression "option = "--define-common"" identifier = (string_literal ""--define-common"" " string_content ")) ;) }))) (expression_statement "script_parse_option(closurev,option,length);" (call_expression "script_parse_option(closurev,option,length)" identifier (argument_list "(closurev,option,length)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00116400(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_00116400(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00116400(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  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }" { (expression_statement "uVar2 = 0x12;" (assignment_expression "uVar2 = 0x12" identifier = number_literal) ;) (expression_statement "pcVar1 = "--no-define-common";" (assignment_expression "pcVar1 = "--no-define-common"" identifier = (string_literal ""--no-define-common"" " string_content ")) ;) }) (else_clause "else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" else (compound_statement "{\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" { (expression_statement "uVar2 = 0xf;" (assignment_expression "uVar2 = 0xf" identifier = number_literal) ;) (expression_statement "pcVar1 = "--define-common";" (assignment_expression "pcVar1 = "--define-common"" identifier = (string_literal ""--define-common"" " string_content ")) ;) }))) (expression_statement "FUN_00116450(param_1,pcVar1,uVar2);" (call_expression "FUN_00116450(param_1,pcVar1,uVar2)" identifier (argument_list "(param_1,pcVar1,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00116400(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00116400(undefined4 param_1,int param_2)" (identifier "FUN_00116400") (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  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }\n  FUN_00116450(param_1,pcVar1,uVar2);\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_2 == 0) {\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }\n  else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0x12;\n    pcVar1 = "--no-define-common";\n  }" ({ "{") (expression_statement "uVar2 = 0x12;" (assignment_expression "uVar2 = 0x12" (identifier "uVar2") (= "=") (number_literal "0x12")) (; ";")) (expression_statement "pcVar1 = "--no-define-common";" (assignment_expression "pcVar1 = "--no-define-common"" (identifier "pcVar1") (= "=") (string_literal ""--no-define-common"" (" """) (string_content "--no-define-common") (" """))) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" (else "else") (compound_statement "{\n    uVar2 = 0xf;\n    pcVar1 = "--define-common";\n  }" ({ "{") (expression_statement "uVar2 = 0xf;" (assignment_expression "uVar2 = 0xf" (identifier "uVar2") (= "=") (number_literal "0xf")) (; ";")) (expression_statement "pcVar1 = "--define-common";" (assignment_expression "pcVar1 = "--define-common"" (identifier "pcVar1") (= "=") (string_literal ""--define-common"" (" """) (string_content "--define-common") (" """))) (; ";")) (} "}")))) (expression_statement "FUN_00116450(param_1,pcVar1,uVar2);" (call_expression "FUN_00116450(param_1,pcVar1,uVar2)" (identifier "FUN_00116450") (argument_list "(param_1,pcVar1,uVar2)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *closurev,int var_1)

{
  char *option;
  size_t length;
  
  if (var_1 == 0) {
    length = 0x12;
    option = "--no-define-common";
  }
  else {
    length = 0xf;
    option = "--define-common";
  }
  var_2(closurev,option,length);
  return;
}


(translation_unit (function_definition type: (primitive_type) 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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

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

void MASKED(undefined4 param_1,int param_2)

{
  char *pcVar1;
  undefined4 uVar2;
  
  if (param_2 == 0) {
    uVar2 = 0x12;
    pcVar1 = "--no-define-common";
  }
  else {
    uVar2 = 0xf;
    pcVar1 = "--define-common";
  }
  FUN_00116450(param_1,pcVar1,uVar2);
  return;
}

