
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: const_iterator begin(Archive * this) */

const_iterator * __thiscall
gold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)

{
  *(undefined4 *)&__return_storage_ptr__->off_ = 8;
  __return_storage_ptr__->archive_ = this;
  *(undefined4 *)((int)&__return_storage_ptr__->off_ + 4) = 0;
  (__return_storage_ptr__->header_).name._M_dataplus._M_p =
       (pointer)&(__return_storage_ptr__->header_).name.field_2;
  (__return_storage_ptr__->header_).name._M_string_length = 0;
  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';
                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */
  const_iterator::read_next_header(__return_storage_ptr__);
  return __return_storage_ptr__;
}



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

undefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)

{
  param_1[1] = 8;
  *param_1 = param_2;
  param_1[2] = 0;
  param_1[3] = param_1 + 5;
  param_1[4] = 0;
  *(undefined1 *)(param_1 + 5) = 0;
                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */
  FUN_000b5120(param_1);
  return param_1;
}


CALL 0x000b4846
ADD EAX,0x35eccb
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,dword ptr [EBP + 0xc]
LEA EDI,[ESI + 0x14]
MOV dword ptr [ESI + 0x4],0x8
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],EDI
MOV dword ptr [ESI + 0x10],0x0
MOV byte ptr [ESI + 0x14],0x0
PUSH ESI
CALL 0x000b5120
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */\n  FUN_000b5120(param_1);\n  return param_1;\n}\n\n" comment (function_definition "undefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */\n  FUN_000b5120(param_1);\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_000b5330(undefined4 *param_1,undefined4 param_2)" * (function_declarator "FUN_000b5330(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */\n  FUN_000b5120(param_1);\n  return param_1;\n}" { (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = param_1 + 5;" (assignment_expression "param_1[3] = param_1 + 5" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1 + 5" identifier + number_literal)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 5) = 0" (pointer_expression "*(undefined1 *)(param_1 + 5)" * (cast_expression "(undefined1 *)(param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_000b5120(param_1);" (call_expression "FUN_000b5120(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: const_iterator begin(Archive * this) */\n\nconst_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)\n\n{\n  *(undefined4 *)&__return_storage_ptr__->off_ = 8;\n  __return_storage_ptr__->archive_ = this;\n  *(undefined4 *)((int)&__return_storage_ptr__->off_ + 4) = 0;\n  (__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;\n  (__return_storage_ptr__->header_).name._M_string_length = 0;\n  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';\n                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */\n  const_iterator::read_next_header(__return_storage_ptr__);\n  return __return_storage_ptr__;\n}\n\n" comment comment (ERROR "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)" (binary_expression "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this" (binary_expression "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__" (binary_expression "const_iterator * __thiscall" identifier * identifier) (ERROR "gold::Archive::begin(const_iterator" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Archive" , identifier) * identifier) )) (compound_statement "{\n  *(undefined4 *)&__return_storage_ptr__->off_ = 8;\n  __return_storage_ptr__->archive_ = this;\n  *(undefined4 *)((int)&__return_storage_ptr__->off_ + 4) = 0;\n  (__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;\n  (__return_storage_ptr__->header_).name._M_string_length = 0;\n  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';\n                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */\n  const_iterator::read_next_header(__return_storage_ptr__);\n  return __return_storage_ptr__;\n}" { (expression_statement "*(undefined4 *)&__return_storage_ptr__->off_ = 8;" (assignment_expression "*(undefined4 *)&__return_storage_ptr__->off_ = 8" (pointer_expression "*(undefined4 *)&__return_storage_ptr__->off_" * (cast_expression "(undefined4 *)&__return_storage_ptr__->off_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__return_storage_ptr__->off_" & (field_expression "__return_storage_ptr__->off_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "__return_storage_ptr__->archive_ = this;" (assignment_expression "__return_storage_ptr__->archive_ = this" (field_expression "__return_storage_ptr__->archive_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->off_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->off_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->off_ + 4)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->off_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->off_ + 4)" ( (binary_expression "(int)&__return_storage_ptr__->off_ + 4" (cast_expression "(int)&__return_storage_ptr__->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->off_" & (field_expression "__return_storage_ptr__->off_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;" (assignment_expression "(__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name._M_dataplus._M_p" (field_expression "(__return_storage_ptr__->header_).name._M_dataplus" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = (binary_expression "(pointer)&(__return_storage_ptr__->header_).name.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "(__return_storage_ptr__->header_).name._M_string_length = 0;" (assignment_expression "(__return_storage_ptr__->header_).name._M_string_length = 0" (field_expression "(__return_storage_ptr__->header_).name._M_string_length" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';" (assignment_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0'" (subscript_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0]" (field_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf" (field_expression "(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) comment (labeled_statement "const_iterator::read_next_header(__return_storage_ptr__);" statement_identifier : (ERROR ":" :) (expression_statement "read_next_header(__return_storage_ptr__);" (call_expression "read_next_header(__return_storage_ptr__)" identifier (argument_list "(__return_storage_ptr__)" ( identifier ))) ;)) (return_statement "return __return_storage_ptr__;" return identifier ;) }))
(translation_unit "undefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    \n  FUN_000b5120(param_1);\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    \n  FUN_000b5120(param_1);\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_000b5330(undefined4 *param_1,undefined4 param_2)" * (function_declarator "FUN_000b5330(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    \n  FUN_000b5120(param_1);\n  return param_1;\n}" { (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = param_1 + 5;" (assignment_expression "param_1[3] = param_1 + 5" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1 + 5" identifier + number_literal)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 5) = 0" (pointer_expression "*(undefined1 *)(param_1 + 5)" * (cast_expression "(undefined1 *)(param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b5120(param_1);" (call_expression "FUN_000b5120(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_000b5330(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    \n  FUN_000b5120(param_1);\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_000b5330(undefined4 *param_1,undefined4 param_2)" (* "*") (function_declarator "FUN_000b5330(undefined4 *param_1,undefined4 param_2)" (identifier "FUN_000b5330") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  param_1[1] = 8;\n  *param_1 = param_2;\n  param_1[2] = 0;\n  param_1[3] = param_1 + 5;\n  param_1[4] = 0;\n  *(undefined1 *)(param_1 + 5) = 0;\n                    \n  FUN_000b5120(param_1);\n  return param_1;\n}" ({ "{") (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "8")) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = param_1 + 5;" (assignment_expression "param_1[3] = param_1 + 5" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 5) = 0" (pointer_expression "*(undefined1 *)(param_1 + 5)" (* "*") (cast_expression "(undefined1 *)(param_1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 5)" (( "(") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_000b5120(param_1);" (call_expression "FUN_000b5120(param_1)" (identifier "FUN_000b5120") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: const_iterator begin(Archive * this) */

const_iterator * __thiscall
gold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)

{
  *(type_1 *)&__return_storage_ptr__->off_ = 8;
  __return_storage_ptr__->archive_ = this;
  *(type_1 *)((int)&__return_storage_ptr__->off_ + 4) = 0;
  (__return_storage_ptr__->header_).name._M_dataplus._M_p =
       (pointer)&(__return_storage_ptr__->header_).name.field_2;
  (__return_storage_ptr__->header_).name._M_string_length = 0;
  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';
                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */
  const_iterator::var_1(__return_storage_ptr__);
  return __return_storage_ptr__;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

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

undefined4 * MASKED(undefined4 *param_1,undefined4 param_2)

{
  param_1[1] = 8;
  *param_1 = param_2;
  param_1[2] = 0;
  param_1[3] = param_1 + 5;
  param_1[4] = 0;
  *(undefined1 *)(param_1 + 5) = 0;
                    /* try { // try from 000b536e to 000b5372 has its CatchHandler @ 000b5382 */
  FUN_000b5120(param_1);
  return param_1;
}

