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

void sessionsaver_data_free(void *ssdv)

{
  get_sesslist((sesslist *)((int)ssdv + 0x1c),0);
  safefree(*(void **)((int)ssdv + 0x2c));
  safefree(ssdv);
  return;
}



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

void FUN_00020a70(int param_1)

{
  FUN_00036f10(param_1 + 0x1c,0);
  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));
  FUN_000301a0(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001a360
ADD EBX,0x94d6d
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH 0x0
LEA EAX,[ESI + 0x1c]
PUSH EAX
CALL 0x00036f10
POP EAX
PUSH dword ptr [ESI + 0x2c]
CALL 0x000301a0
MOV dword ptr [ESP],ESI
CALL 0x000301a0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00020a70(int param_1)\n\n{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_00020a70(int param_1)\n\n{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00020a70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" { (expression_statement "FUN_00036f10(param_1 + 0x1c,0);" (call_expression "FUN_00036f10(param_1 + 0x1c,0)" identifier (argument_list "(param_1 + 0x1c,0)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) , number_literal ))) ;) (expression_statement "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000301a0(param_1);" (call_expression "FUN_000301a0(param_1)" identifier (argument_list "(param_1)" ( 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 sessionsaver_data_free(void *ssdv)\n\n{\n  get_sesslist((sesslist *)((int)ssdv + 0x1c),0);\n  safefree(*(void **)((int)ssdv + 0x2c));\n  safefree(ssdv);\n  return;\n}\n\n" comment comment (function_definition "void sessionsaver_data_free(void *ssdv)\n\n{\n  get_sesslist((sesslist *)((int)ssdv + 0x1c),0);\n  safefree(*(void **)((int)ssdv + 0x2c));\n  safefree(ssdv);\n  return;\n}" primitive_type (function_declarator "sessionsaver_data_free(void *ssdv)" identifier (parameter_list "(void *ssdv)" ( (parameter_declaration "void *ssdv" primitive_type (pointer_declarator "*ssdv" * identifier)) ))) (compound_statement "{\n  get_sesslist((sesslist *)((int)ssdv + 0x1c),0);\n  safefree(*(void **)((int)ssdv + 0x2c));\n  safefree(ssdv);\n  return;\n}" { (expression_statement "get_sesslist((sesslist *)((int)ssdv + 0x1c),0);" (call_expression "get_sesslist((sesslist *)((int)ssdv + 0x1c),0)" identifier (argument_list "((sesslist *)((int)ssdv + 0x1c),0)" ( (cast_expression "(sesslist *)((int)ssdv + 0x1c)" ( (type_descriptor "sesslist *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ssdv + 0x1c)" ( (binary_expression "(int)ssdv + 0x1c" (cast_expression "(int)ssdv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , number_literal ))) ;) (expression_statement "safefree(*(void **)((int)ssdv + 0x2c));" (call_expression "safefree(*(void **)((int)ssdv + 0x2c))" identifier (argument_list "(*(void **)((int)ssdv + 0x2c))" ( (pointer_expression "*(void **)((int)ssdv + 0x2c)" * (cast_expression "(void **)((int)ssdv + 0x2c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ssdv + 0x2c)" ( (binary_expression "(int)ssdv + 0x2c" (cast_expression "(int)ssdv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "safefree(ssdv);" (call_expression "safefree(ssdv)" identifier (argument_list "(ssdv)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00020a70(int param_1)\n\n{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00020a70(int param_1)\n\n{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00020a70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" { (expression_statement "FUN_00036f10(param_1 + 0x1c,0);" (call_expression "FUN_00036f10(param_1 + 0x1c,0)" identifier (argument_list "(param_1 + 0x1c,0)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) , number_literal ))) ;) (expression_statement "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000301a0(param_1);" (call_expression "FUN_000301a0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00020a70(int param_1)\n\n{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00020a70(int param_1)" (identifier "FUN_00020a70") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  FUN_00036f10(param_1 + 0x1c,0);\n  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));\n  FUN_000301a0(param_1);\n  return;\n}" ({ "{") (expression_statement "FUN_00036f10(param_1 + 0x1c,0);" (call_expression "FUN_00036f10(param_1 + 0x1c,0)" (identifier "FUN_00036f10") (argument_list "(param_1 + 0x1c,0)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000301a0(*(undefined4 *)(param_1 + 0x2c))" (identifier "FUN_000301a0") (argument_list "(*(undefined4 *)(param_1 + 0x2c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000301a0(param_1);" (call_expression "FUN_000301a0(param_1)" (identifier "FUN_000301a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (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 *ssdv)

{
  var_1((type_1 *)((int)ssdv + 0x1c),0);
  var_2(*(void **)((int)ssdv + 0x2c));
  var_2(ssdv);
  return;
}


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

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

void MASKED(int param_1)

{
  FUN_00036f10(param_1 + 0x1c,0);
  FUN_000301a0(*(undefined4 *)(param_1 + 0x2c));
  FUN_000301a0(param_1);
  return;
}

