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

char * wgnutls_errstr(int fd,void *arg)

{
  char *pcVar1;
  
  pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8));
  return pcVar1;
}



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

void FUN_000560a0(undefined4 param_1,int param_2)

{
  gnutls_strerror(*(undefined4 *)(param_2 + 8));
  return;
}


PUSH EBX
CALL 0x000190b0
ADD EBX,0x58b2a
SUB ESP,0x14
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX + 0x8]
CALL 0x00016ae0
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_000560a0(undefined4 param_1,int param_2)\n\n{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}\n\n" comment (function_definition "void FUN_000560a0(undefined4 param_1,int param_2)\n\n{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_000560a0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" { (expression_statement "gnutls_strerror(*(undefined4 *)(param_2 + 8));" (call_expression "gnutls_strerror(*(undefined4 *)(param_2 + 8))" identifier (argument_list "(*(undefined4 *)(param_2 + 8))" ( (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ))) ;) (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\nchar * wgnutls_errstr(int fd,void *arg)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8));\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * wgnutls_errstr(int fd,void *arg)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8));\n  return pcVar1;\n}" primitive_type (pointer_declarator "* wgnutls_errstr(int fd,void *arg)" * (function_declarator "wgnutls_errstr(int fd,void *arg)" identifier (parameter_list "(int fd,void *arg)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8));\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8));" (assignment_expression "pcVar1 = (char *)gnutls_strerror(*(undefined4 *)((int)arg + 8))" identifier = (cast_expression "(char *)gnutls_strerror(*(undefined4 *)((int)arg + 8))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gnutls_strerror(*(undefined4 *)((int)arg + 8))" identifier (argument_list "(*(undefined4 *)((int)arg + 8))" ( (pointer_expression "*(undefined4 *)((int)arg + 8)" * (cast_expression "(undefined4 *)((int)arg + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 8)" ( (binary_expression "(int)arg + 8" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))))) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "void FUN_000560a0(undefined4 param_1,int param_2)\n\n{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}\n\n" (function_definition "void FUN_000560a0(undefined4 param_1,int param_2)\n\n{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_000560a0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" { (expression_statement "gnutls_strerror(*(undefined4 *)(param_2 + 8));" (call_expression "gnutls_strerror(*(undefined4 *)(param_2 + 8))" identifier (argument_list "(*(undefined4 *)(param_2 + 8))" ( (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" 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) ))) (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) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000560a0(undefined4 param_1,int param_2)\n\n{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000560a0(undefined4 param_1,int param_2)" (identifier "FUN_000560a0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  gnutls_strerror(*(undefined4 *)(param_2 + 8));\n  return;\n}" ({ "{") (expression_statement "gnutls_strerror(*(undefined4 *)(param_2 + 8));" (call_expression "gnutls_strerror(*(undefined4 *)(param_2 + 8))" (identifier "gnutls_strerror") (argument_list "(*(undefined4 *)(param_2 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

char * function_1(int fd,void *arg)

{
  char *pcVar1;
  
  pcVar1 = (char *)var_1(*(type_1 *)((int)arg + 8));
  return pcVar1;
}


(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: (primitive_type) 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)))))))) (return_statement))))

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

void MASKED(undefined4 param_1,int param_2)

{
  gnutls_strerror(*(undefined4 *)(param_2 + 8));
  return;
}

