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

void logevent(void *frontend,char *string)

{
  log_eventlog(*(void **)((int)frontend + 0xd20),string);
  logevent_dlg(*(void **)((int)frontend + 0x223c),string);
  return;
}



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

void FUN_00060b00(int param_1,undefined4 param_2)

{
  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);
  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x0001a360
ADD EBX,0x54cd8
MOV EDI,dword ptr [ESP + 0x14]
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESI + 0xd20]
CALL 0x0002b750
POP EAX
POP EDX
PUSH EDI
PUSH dword ptr [ESI + 0x223c]
CALL 0x00056e70
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00060b00(int param_1,undefined4 param_2)\n\n{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}\n\n" comment (function_definition "void FUN_00060b00(int param_1,undefined4 param_2)\n\n{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00060b00(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" { (expression_statement "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);" (call_expression "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd20),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" * (cast_expression "(undefined4 *)(param_1 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd20)" ( (binary_expression "param_1 + 0xd20" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" * (cast_expression "(undefined4 *)(param_1 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x223c)" ( (binary_expression "param_1 + 0x223c" 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\nvoid logevent(void *frontend,char *string)\n\n{\n  log_eventlog(*(void **)((int)frontend + 0xd20),string);\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}\n\n" comment comment (function_definition "void logevent(void *frontend,char *string)\n\n{\n  log_eventlog(*(void **)((int)frontend + 0xd20),string);\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}" primitive_type (function_declarator "logevent(void *frontend,char *string)" identifier (parameter_list "(void *frontend,char *string)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  log_eventlog(*(void **)((int)frontend + 0xd20),string);\n  logevent_dlg(*(void **)((int)frontend + 0x223c),string);\n  return;\n}" { (expression_statement "log_eventlog(*(void **)((int)frontend + 0xd20),string);" (call_expression "log_eventlog(*(void **)((int)frontend + 0xd20),string)" identifier (argument_list "(*(void **)((int)frontend + 0xd20),string)" ( (pointer_expression "*(void **)((int)frontend + 0xd20)" * (cast_expression "(void **)((int)frontend + 0xd20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)frontend + 0xd20)" ( (binary_expression "(int)frontend + 0xd20" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "logevent_dlg(*(void **)((int)frontend + 0x223c),string);" (call_expression "logevent_dlg(*(void **)((int)frontend + 0x223c),string)" identifier (argument_list "(*(void **)((int)frontend + 0x223c),string)" ( (pointer_expression "*(void **)((int)frontend + 0x223c)" * (cast_expression "(void **)((int)frontend + 0x223c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)frontend + 0x223c)" ( (binary_expression "(int)frontend + 0x223c" (cast_expression "(int)frontend" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00060b00(int param_1,undefined4 param_2)\n\n{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}\n\n" (function_definition "void FUN_00060b00(int param_1,undefined4 param_2)\n\n{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00060b00(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" { (expression_statement "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);" (call_expression "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd20),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" * (cast_expression "(undefined4 *)(param_1 + 0xd20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd20)" ( (binary_expression "param_1 + 0xd20" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" * (cast_expression "(undefined4 *)(param_1 + 0x223c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x223c)" ( (binary_expression "param_1 + 0x223c" identifier + number_literal) )))) , identifier ))) ;) (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) )))) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00060b00(int param_1,undefined4 param_2)\n\n{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00060b00(int param_1,undefined4 param_2)" (identifier "FUN_00060b00") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);\n  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);\n  return;\n}" ({ "{") (expression_statement "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);" (call_expression "FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2)" (identifier "FUN_0002b750") (argument_list "(*(undefined4 *)(param_1 + 0xd20),param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xd20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xd20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd20)" (( "(") (binary_expression "param_1 + 0xd20" (identifier "param_1") (+ "+") (number_literal "0xd20")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);" (call_expression "FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2)" (identifier "FUN_00056e70") (argument_list "(*(undefined4 *)(param_1 + 0x223c),param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x223c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x223c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x223c)" (( "(") (binary_expression "param_1 + 0x223c" (identifier "param_1") (+ "+") (number_literal "0x223c")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *frontend,char *string)

{
  var_1(*(void **)((int)frontend + 0xd20),string);
  var_2(*(void **)((int)frontend + 0x223c),string);
  return;
}


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

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

void MASKED(int param_1,undefined4 param_2)

{
  FUN_0002b750(*(undefined4 *)(param_1 + 0xd20),param_2);
  FUN_00056e70(*(undefined4 *)(param_1 + 0x223c),param_2);
  return;
}

