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

void __libc_csu_init(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  _init();
  iVar1 = 0;
  do {
    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);
    iVar1 = iVar1 + 1;
  } while (iVar1 != 0x10);
  return;
}



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

void FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  _DT_INIT();
  iVar1 = 0;
  do {
    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);
    iVar1 = iVar1 + 1;
  } while (iVar1 != 0x10);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0xf9e07
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x28]
CALL 0x00028000
LEA ESI,[EBX + 0xffff26b0]
LEA EAX,[EBX + 0xffff2670]
SUB ESI,EAX
SAR ESI,0x2
JZ 0x0024523d
XOR EDI,EDI
SUB ESP,0x4
PUSH EBP
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
CALL dword ptr [EBX + EDI*0x4 + 0xffff2670]
ADD EDI,0x1
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x00245220
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}\n\n" comment (function_definition "void FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" primitive_type (function_declarator "FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "_DT_INIT();" (call_expression "_DT_INIT()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);" do (compound_statement "{\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  }" { (expression_statement "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);" (call_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])" ( (pointer_expression "*(code *)(&__DT_INIT_ARRAY)[iVar1]" * (cast_expression "(code *)(&__DT_INIT_ARRAY)[iVar1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&__DT_INIT_ARRAY)[iVar1]" (parenthesized_expression "(&__DT_INIT_ARRAY)" ( (pointer_expression "&__DT_INIT_ARRAY" & identifier) )) [ identifier ]))) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x10)" ( (binary_expression "iVar1 != 0x10" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __libc_csu_init(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _init();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}\n\n" comment (function_definition "void __libc_csu_init(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _init();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" primitive_type (function_declarator "__libc_csu_init(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  _init();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "_init();" (call_expression "_init()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);" do (compound_statement "{\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  }" { (expression_statement "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);" (call_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])" ( (pointer_expression "*(code *)(&__DT_INIT_ARRAY)[iVar1]" * (cast_expression "(code *)(&__DT_INIT_ARRAY)[iVar1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&__DT_INIT_ARRAY)[iVar1]" (parenthesized_expression "(&__DT_INIT_ARRAY)" ( (pointer_expression "&__DT_INIT_ARRAY" & identifier) )) [ identifier ]))) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x10)" ( (binary_expression "iVar1 != 0x10" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}\n\n" (function_definition "void FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" primitive_type (function_declarator "FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "_DT_INIT();" (call_expression "_DT_INIT()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);" do (compound_statement "{\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  }" { (expression_statement "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);" (call_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])" ( (pointer_expression "*(code *)(&__DT_INIT_ARRAY)[iVar1]" * (cast_expression "(code *)(&__DT_INIT_ARRAY)[iVar1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&__DT_INIT_ARRAY)[iVar1]" (parenthesized_expression "(&__DT_INIT_ARRAY)" ( (pointer_expression "&__DT_INIT_ARRAY" & identifier) )) [ identifier ]))) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x10)" ( (binary_expression "iVar1 != 0x10" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002451f0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_002451f0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  _DT_INIT();\n  iVar1 = 0;\n  do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "_DT_INIT();" (call_expression "_DT_INIT()" (identifier "_DT_INIT") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x10);" (do "do") (compound_statement "{\n    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);\n    iVar1 = iVar1 + 1;\n  }" ({ "{") (expression_statement "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);" (call_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)(&__DT_INIT_ARRAY)[iVar1])" (( "(") (pointer_expression "*(code *)(&__DT_INIT_ARRAY)[iVar1]" (* "*") (cast_expression "(code *)(&__DT_INIT_ARRAY)[iVar1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(&__DT_INIT_ARRAY)[iVar1]" (parenthesized_expression "(&__DT_INIT_ARRAY)" (( "(") (pointer_expression "&__DT_INIT_ARRAY" (& "&") (identifier "__DT_INIT_ARRAY")) () ")")) ([ "[") (identifier "iVar1") (] "]")))) () ")")) (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x10)" (( "(") (binary_expression "iVar1 != 0x10" (identifier "iVar1") (!= "!=") (number_literal "0x10")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 param_1,type_1 param_2,type_1 param_3)

{
  int var_2;
  
  var_1();
  var_2 = 0;
  do {
    (*(type_2 *)(&__DT_INIT_ARRAY)[var_2])(param_1,param_2,param_3);
    var_2 = var_2 + 1;
  } while (var_2 != 0x10);
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier))))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  _DT_INIT();
  iVar1 = 0;
  do {
    (*(code *)(&__DT_INIT_ARRAY)[iVar1])(param_1,param_2,param_3);
    iVar1 = iVar1 + 1;
  } while (iVar1 != 0x10);
  return;
}

