
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int from_backend_untrusted(void *frontend,char *data,int len)

{
  int iVar1;
  
  iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len);
  return iVar1;
}



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

void FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)

{
  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);
  return;
}


PUSH EBX
CALL 0x0001b410
ADD EBX,0x579ae
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0xd1c]
CALL 0x00045cc0
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_00058df0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" { (expression_statement "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);" (call_expression "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd1c)" * (cast_expression "(undefined4 *)(param_1 + 0xd1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd1c)" ( (binary_expression "param_1 + 0xd1c" identifier + number_literal) )))) , 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/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint from_backend_untrusted(void *frontend,char *data,int len)\n\n{\n  int iVar1;\n  \n  iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len);\n  return iVar1;\n}\n\n" comment comment comment (function_definition "int from_backend_untrusted(void *frontend,char *data,int len)\n\n{\n  int iVar1;\n  \n  iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len);\n  return iVar1;\n}" primitive_type (function_declarator "from_backend_untrusted(void *frontend,char *data,int len)" identifier (parameter_list "(void *frontend,char *data,int len)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "char *data" primitive_type (pointer_declarator "*data" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len);" (assignment_expression "iVar1 = term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len)" identifier = (call_expression "term_data_untrusted(*(Terminal **)((int)frontend + 0xd1c),data,len)" identifier (argument_list "(*(Terminal **)((int)frontend + 0xd1c),data,len)" ( (pointer_expression "*(Terminal **)((int)frontend + 0xd1c)" * (cast_expression "(Terminal **)((int)frontend + 0xd1c)" ( (type_descriptor "Terminal **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)frontend + 0xd1c)" ( (binary_expression "(int)frontend + 0xd1c" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" { (expression_statement "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);" (call_expression "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd1c)" * (cast_expression "(undefined4 *)(param_1 + 0xd1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd1c)" ( (binary_expression "param_1 + 0xd1c" identifier + number_literal) )))) , identifier , identifier ))) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00058df0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00058df0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);\n  return;\n}" ({ "{") (expression_statement "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);" (call_expression "FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" (identifier "FUN_00045cc0") (argument_list "(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xd1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xd1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd1c)" (( "(") (binary_expression "param_1 + 0xd1c" (identifier "param_1") (+ "+") (number_literal "0xd1c")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(void *frontend,char *data,int len)

{
  int iVar1;
  
  iVar1 = var_1(*(type_1 **)((int)frontend + 0xd1c),data,len);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (identifier)))) (return_statement))))

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

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

{
  FUN_00045cc0(*(undefined4 *)(param_1 + 0xd1c),param_2,param_3);
  return;
}

