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

cfi_insn_data * alloc_cfi_insn_data(void)

{
  fde_entry *pfVar1;
  cfi_insn_data *pcVar2;
  
  pcVar2 = (cfi_insn_data *)xcalloc(1,0x24);
  pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;
  *pfVar1->last = pcVar2;
  pfVar1->last = (cfi_insn_data **)pcVar2;
  return pcVar2;
}



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

void FUN_0001d690(void)

{
  int iVar1;
  undefined4 uVar2;
  
  uVar2 = xcalloc(1,0x24);
  iVar1 = **(int **)(DAT_000778c8 + 0x48);
  **(undefined4 **)(iVar1 + 0x10) = uVar2;
  *(undefined4 *)(iVar1 + 0x10) = uVar2;
  return;
}


PUSH EBX
CALL 0x00016040
ADD EBX,0x5096a
SUB ESP,0x10
PUSH 0x24
PUSH 0x1
CALL 0x00014790
LEA EDX,[EBX + 0x98c8]
MOV EDX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x48]
MOV EDX,dword ptr [EDX]
MOV ECX,dword ptr [EDX + 0x10]
MOV dword ptr [ECX],EAX
MOV dword ptr [EDX + 0x10],EAX
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001d690(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_0001d690(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0001d690(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = xcalloc(1,0x24);" (assignment_expression "uVar2 = xcalloc(1,0x24)" identifier = (call_expression "xcalloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal )))) ;) (expression_statement "iVar1 = **(int **)(DAT_000778c8 + 0x48);" (assignment_expression "iVar1 = **(int **)(DAT_000778c8 + 0x48)" identifier = (pointer_expression "**(int **)(DAT_000778c8 + 0x48)" * (pointer_expression "*(int **)(DAT_000778c8 + 0x48)" * (cast_expression "(int **)(DAT_000778c8 + 0x48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000778c8 + 0x48)" ( (binary_expression "DAT_000778c8 + 0x48" identifier + number_literal) )))))) ;) (expression_statement "**(undefined4 **)(iVar1 + 0x10) = uVar2;" (assignment_expression "**(undefined4 **)(iVar1 + 0x10) = uVar2" (pointer_expression "**(undefined4 **)(iVar1 + 0x10)" * (pointer_expression "*(undefined4 **)(iVar1 + 0x10)" * (cast_expression "(undefined4 **)(iVar1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = 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\ncfi_insn_data * alloc_cfi_insn_data(void)\n\n{\n  fde_entry *pfVar1;\n  cfi_insn_data *pcVar2;\n  \n  pcVar2 = (cfi_insn_data *)xcalloc(1,0x24);\n  pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;\n  *pfVar1->last = pcVar2;\n  pfVar1->last = (cfi_insn_data **)pcVar2;\n  return pcVar2;\n}\n\n" comment comment (function_definition "cfi_insn_data * alloc_cfi_insn_data(void)\n\n{\n  fde_entry *pfVar1;\n  cfi_insn_data *pcVar2;\n  \n  pcVar2 = (cfi_insn_data *)xcalloc(1,0x24);\n  pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;\n  *pfVar1->last = pcVar2;\n  pfVar1->last = (cfi_insn_data **)pcVar2;\n  return pcVar2;\n}" type_identifier (pointer_declarator "* alloc_cfi_insn_data(void)" * (function_declarator "alloc_cfi_insn_data(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  fde_entry *pfVar1;\n  cfi_insn_data *pcVar2;\n  \n  pcVar2 = (cfi_insn_data *)xcalloc(1,0x24);\n  pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;\n  *pfVar1->last = pcVar2;\n  pfVar1->last = (cfi_insn_data **)pcVar2;\n  return pcVar2;\n}" { (declaration "fde_entry *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (declaration "cfi_insn_data *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = (cfi_insn_data *)xcalloc(1,0x24);" (assignment_expression "pcVar2 = (cfi_insn_data *)xcalloc(1,0x24)" identifier = (cast_expression "(cfi_insn_data *)xcalloc(1,0x24)" ( (type_descriptor "cfi_insn_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal ))))) ;) (expression_statement "pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;" (assignment_expression "pfVar1 = frchain_now->frch_cfi_data->cur_fde_data" identifier = (field_expression "frchain_now->frch_cfi_data->cur_fde_data" (field_expression "frchain_now->frch_cfi_data" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "*pfVar1->last = pcVar2;" (assignment_expression "*pfVar1->last = pcVar2" (pointer_expression "*pfVar1->last" * (field_expression "pfVar1->last" identifier -> field_identifier)) = identifier) ;) (expression_statement "pfVar1->last = (cfi_insn_data **)pcVar2;" (assignment_expression "pfVar1->last = (cfi_insn_data **)pcVar2" (field_expression "pfVar1->last" identifier -> field_identifier) = (cast_expression "(cfi_insn_data **)pcVar2" ( (type_descriptor "cfi_insn_data **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "void FUN_0001d690(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_0001d690(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0001d690(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = xcalloc(1,0x24);" (assignment_expression "uVar2 = xcalloc(1,0x24)" identifier = (call_expression "xcalloc(1,0x24)" identifier (argument_list "(1,0x24)" ( number_literal , number_literal )))) ;) (expression_statement "iVar1 = **(int **)(DAT_000778c8 + 0x48);" (assignment_expression "iVar1 = **(int **)(DAT_000778c8 + 0x48)" identifier = (pointer_expression "**(int **)(DAT_000778c8 + 0x48)" * (pointer_expression "*(int **)(DAT_000778c8 + 0x48)" * (cast_expression "(int **)(DAT_000778c8 + 0x48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000778c8 + 0x48)" ( (binary_expression "DAT_000778c8 + 0x48" identifier + number_literal) )))))) ;) (expression_statement "**(undefined4 **)(iVar1 + 0x10) = uVar2;" (assignment_expression "**(undefined4 **)(iVar1 + 0x10) = uVar2" (pointer_expression "**(undefined4 **)(iVar1 + 0x10)" * (pointer_expression "*(undefined4 **)(iVar1 + 0x10)" * (cast_expression "(undefined4 **)(iVar1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001d690(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001d690(void)" (identifier "FUN_0001d690") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = xcalloc(1,0x24);\n  iVar1 = **(int **)(DAT_000778c8 + 0x48);\n  **(undefined4 **)(iVar1 + 0x10) = uVar2;\n  *(undefined4 *)(iVar1 + 0x10) = uVar2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = xcalloc(1,0x24);" (assignment_expression "uVar2 = xcalloc(1,0x24)" (identifier "uVar2") (= "=") (call_expression "xcalloc(1,0x24)" (identifier "xcalloc") (argument_list "(1,0x24)" (( "(") (number_literal "1") (, ",") (number_literal "0x24") () ")")))) (; ";")) (expression_statement "iVar1 = **(int **)(DAT_000778c8 + 0x48);" (assignment_expression "iVar1 = **(int **)(DAT_000778c8 + 0x48)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(DAT_000778c8 + 0x48)" (* "*") (pointer_expression "*(int **)(DAT_000778c8 + 0x48)" (* "*") (cast_expression "(int **)(DAT_000778c8 + 0x48)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000778c8 + 0x48)" (( "(") (binary_expression "DAT_000778c8 + 0x48" (identifier "DAT_000778c8") (+ "+") (number_literal "0x48")) () ")")))))) (; ";")) (expression_statement "**(undefined4 **)(iVar1 + 0x10) = uVar2;" (assignment_expression "**(undefined4 **)(iVar1 + 0x10) = uVar2" (pointer_expression "**(undefined4 **)(iVar1 + 0x10)" (* "*") (pointer_expression "*(undefined4 **)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (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 */

type_1 * function_1(void)

{
  type_2 *pfVar1;
  type_1 *pcVar2;
  
  pcVar2 = (type_1 *)var_1(1,0x24);
  pfVar1 = frchain_now->frch_cfi_data->cur_fde_data;
  *pfVar1->last = pcVar2;
  pfVar1->last = (type_1 **)pcVar2;
  return pcVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (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: (identifier))) (return_statement))))

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

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  uVar2 = xcalloc(1,0x24);
  iVar1 = **(int **)(DAT_000778c8 + 0x48);
  **(undefined4 **)(iVar1 + 0x10) = uVar2;
  *(undefined4 *)(iVar1 + 0x10) = uVar2;
  return;
}

