
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

void cfi_add_advance_loc(symbolS *label)

{
  frch_cfi_data *pfVar1;
  symbolS *psVar2;
  cfi_insn_data *pcVar3;
  
  pcVar3 = alloc_cfi_insn_data();
  pcVar3->insn = 0x40;
  pfVar1 = frchain_now->frch_cfi_data;
  psVar2 = pfVar1->last_address;
  (pcVar3->u).ll.lab2 = label;
  (pcVar3->u).ri.reg = (uint)psVar2;
  pfVar1->last_address = label;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_0001ec40(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar3 = FUN_0001d1c0();
  *(undefined4 *)(iVar3 + 4) = 0x40;
  iVar1 = *(int *)(DAT_00084988 + 0x48);
  uVar2 = *(undefined4 *)(iVar1 + 4);
  *(undefined4 *)(iVar3 + 0xc) = param_1;
  *(undefined4 *)(iVar3 + 8) = uVar2;
  *(undefined4 *)(iVar1 + 4) = param_1;
  return;
}


PUSH ESI
CALL 0x0001f79c
ADD ESI,0x5c3ba
PUSH EBX
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x0001d1c0
LEA EDX,[ESI + 0x9988]
MOV dword ptr [EAX + 0x4],0x40
MOV EDX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x48]
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EAX + 0xc],EBX
MOV dword ptr [EAX + 0x8],ECX
MOV dword ptr [EDX + 0x4],EBX
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_0001ec40(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}\n\n" comment (function_definition "void FUN_0001ec40(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0001ec40(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = FUN_0001d1c0();" (assignment_expression "iVar3 = FUN_0001d1c0()" identifier = (call_expression "FUN_0001d1c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0x40;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0x40" (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(DAT_00084988 + 0x48);" (assignment_expression "iVar1 = *(int *)(DAT_00084988 + 0x48)" identifier = (pointer_expression "*(int *)(DAT_00084988 + 0x48)" * (cast_expression "(int *)(DAT_00084988 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00084988 + 0x48)" ( (binary_expression "DAT_00084988 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Unknown calling convention */\n\nvoid cfi_add_advance_loc(symbolS *label)\n\n{\n  frch_cfi_data *pfVar1;\n  symbolS *psVar2;\n  cfi_insn_data *pcVar3;\n  \n  pcVar3 = alloc_cfi_insn_data();\n  pcVar3->insn = 0x40;\n  pfVar1 = frchain_now->frch_cfi_data;\n  psVar2 = pfVar1->last_address;\n  (pcVar3->u).ll.lab2 = label;\n  (pcVar3->u).ri.reg = (uint)psVar2;\n  pfVar1->last_address = label;\n  return;\n}\n\n" comment comment (function_definition "void cfi_add_advance_loc(symbolS *label)\n\n{\n  frch_cfi_data *pfVar1;\n  symbolS *psVar2;\n  cfi_insn_data *pcVar3;\n  \n  pcVar3 = alloc_cfi_insn_data();\n  pcVar3->insn = 0x40;\n  pfVar1 = frchain_now->frch_cfi_data;\n  psVar2 = pfVar1->last_address;\n  (pcVar3->u).ll.lab2 = label;\n  (pcVar3->u).ri.reg = (uint)psVar2;\n  pfVar1->last_address = label;\n  return;\n}" primitive_type (function_declarator "cfi_add_advance_loc(symbolS *label)" identifier (parameter_list "(symbolS *label)" ( (parameter_declaration "symbolS *label" type_identifier (pointer_declarator "*label" * identifier)) ))) (compound_statement "{\n  frch_cfi_data *pfVar1;\n  symbolS *psVar2;\n  cfi_insn_data *pcVar3;\n  \n  pcVar3 = alloc_cfi_insn_data();\n  pcVar3->insn = 0x40;\n  pfVar1 = frchain_now->frch_cfi_data;\n  psVar2 = pfVar1->last_address;\n  (pcVar3->u).ll.lab2 = label;\n  (pcVar3->u).ri.reg = (uint)psVar2;\n  pfVar1->last_address = label;\n  return;\n}" { (declaration "frch_cfi_data *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (declaration "symbolS *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "cfi_insn_data *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar3 = alloc_cfi_insn_data();" (assignment_expression "pcVar3 = alloc_cfi_insn_data()" identifier = (call_expression "alloc_cfi_insn_data()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3->insn = 0x40;" (assignment_expression "pcVar3->insn = 0x40" (field_expression "pcVar3->insn" identifier -> field_identifier) = number_literal) ;) (expression_statement "pfVar1 = frchain_now->frch_cfi_data;" (assignment_expression "pfVar1 = frchain_now->frch_cfi_data" identifier = (field_expression "frchain_now->frch_cfi_data" identifier -> field_identifier)) ;) (expression_statement "psVar2 = pfVar1->last_address;" (assignment_expression "psVar2 = pfVar1->last_address" identifier = (field_expression "pfVar1->last_address" identifier -> field_identifier)) ;) (expression_statement "(pcVar3->u).ll.lab2 = label;" (assignment_expression "(pcVar3->u).ll.lab2 = label" (field_expression "(pcVar3->u).ll.lab2" (field_expression "(pcVar3->u).ll" (parenthesized_expression "(pcVar3->u)" ( (field_expression "pcVar3->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(pcVar3->u).ri.reg = (uint)psVar2;" (assignment_expression "(pcVar3->u).ri.reg = (uint)psVar2" (field_expression "(pcVar3->u).ri.reg" (field_expression "(pcVar3->u).ri" (parenthesized_expression "(pcVar3->u)" ( (field_expression "pcVar3->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(uint)psVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pfVar1->last_address = label;" (assignment_expression "pfVar1->last_address = label" (field_expression "pfVar1->last_address" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001ec40(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}\n\n" (function_definition "void FUN_0001ec40(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0001ec40(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = FUN_0001d1c0();" (assignment_expression "iVar3 = FUN_0001d1c0()" identifier = (call_expression "FUN_0001d1c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0x40;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0x40" (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(DAT_00084988 + 0x48);" (assignment_expression "iVar1 = *(int *)(DAT_00084988 + 0x48)" identifier = (pointer_expression "*(int *)(DAT_00084988 + 0x48)" * (cast_expression "(int *)(DAT_00084988 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00084988 + 0x48)" ( (binary_expression "DAT_00084988 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) ;) (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_0001ec40(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001ec40(undefined4 param_1)" (identifier "FUN_0001ec40") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar3 = FUN_0001d1c0();\n  *(undefined4 *)(iVar3 + 4) = 0x40;\n  iVar1 = *(int *)(DAT_00084988 + 0x48);\n  uVar2 = *(undefined4 *)(iVar1 + 4);\n  *(undefined4 *)(iVar3 + 0xc) = param_1;\n  *(undefined4 *)(iVar3 + 8) = uVar2;\n  *(undefined4 *)(iVar1 + 4) = param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = FUN_0001d1c0();" (assignment_expression "iVar3 = FUN_0001d1c0()" (identifier "iVar3") (= "=") (call_expression "FUN_0001d1c0()" (identifier "FUN_0001d1c0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 4) = 0x40;" (assignment_expression "*(undefined4 *)(iVar3 + 4) = 0x40" (pointer_expression "*(undefined4 *)(iVar3 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0x40")) (; ";")) (expression_statement "iVar1 = *(int *)(DAT_00084988 + 0x48);" (assignment_expression "iVar1 = *(int *)(DAT_00084988 + 0x48)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_00084988 + 0x48)" (* "*") (cast_expression "(int *)(DAT_00084988 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00084988 + 0x48)" (( "(") (binary_expression "DAT_00084988 + 0x48" (identifier "DAT_00084988") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(iVar1 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar3 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 4) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

void function_1(type_1 *label)

{
  type_2 *pfVar1;
  type_1 *psVar2;
  type_3 *pcVar3;
  
  pcVar3 = var_1();
  pcVar3->insn = 0x40;
  pfVar1 = frchain_now->type_2;
  psVar2 = pfVar1->last_address;
  (pcVar3->u).ll.lab2 = label;
  (pcVar3->u).ri.reg = (type_4)psVar2;
  pfVar1->last_address = label;
  return;
}


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

void MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar3 = FUN_0001d1c0();
  *(undefined4 *)(iVar3 + 4) = 0x40;
  iVar1 = *(int *)(DAT_00084988 + 0x48);
  uVar2 = *(undefined4 *)(iVar1 + 4);
  *(undefined4 *)(iVar3 + 0xc) = param_1;
  *(undefined4 *)(iVar3 + 8) = uVar2;
  *(undefined4 *)(iVar1 + 4) = param_1;
  return;
}

