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

int pageant_add_ssh2_key(ssh2_userkey *skey)

{
  ssh2_userkey *psVar1;
  
  psVar1 = (ssh2_userkey *)add234(ssh2keys,skey);
  return (uint)(psVar1 == skey);
}



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

bool FUN_0001ee10(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);
  return iVar1 == param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00015340
ADD EBX,0x65ed1
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH ESI
PUSH dword ptr [EBX + 0x3e0]
CALL 0x0004eea0
CMP EAX,ESI
SETZ AL
ADD ESP,0x14
MOVZX EAX,AL
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_0001ee10(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}\n\n" comment (function_definition "bool FUN_0001ee10(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" primitive_type (function_declarator "FUN_0001ee10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0004eea0(DAT_000850c8,param_1);" (assignment_expression "iVar1 = FUN_0004eea0(DAT_000850c8,param_1)" identifier = (call_expression "FUN_0004eea0(DAT_000850c8,param_1)" identifier (argument_list "(DAT_000850c8,param_1)" ( identifier , identifier )))) ;) (return_statement "return iVar1 == param_1;" return (binary_expression "iVar1 == param_1" identifier == identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint pageant_add_ssh2_key(ssh2_userkey *skey)\n\n{\n  ssh2_userkey *psVar1;\n  \n  psVar1 = (ssh2_userkey *)add234(ssh2keys,skey);\n  return (uint)(psVar1 == skey);\n}\n\n" comment comment (function_definition "int pageant_add_ssh2_key(ssh2_userkey *skey)\n\n{\n  ssh2_userkey *psVar1;\n  \n  psVar1 = (ssh2_userkey *)add234(ssh2keys,skey);\n  return (uint)(psVar1 == skey);\n}" primitive_type (function_declarator "pageant_add_ssh2_key(ssh2_userkey *skey)" identifier (parameter_list "(ssh2_userkey *skey)" ( (parameter_declaration "ssh2_userkey *skey" type_identifier (pointer_declarator "*skey" * identifier)) ))) (compound_statement "{\n  ssh2_userkey *psVar1;\n  \n  psVar1 = (ssh2_userkey *)add234(ssh2keys,skey);\n  return (uint)(psVar1 == skey);\n}" { (declaration "ssh2_userkey *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (expression_statement "psVar1 = (ssh2_userkey *)add234(ssh2keys,skey);" (assignment_expression "psVar1 = (ssh2_userkey *)add234(ssh2keys,skey)" identifier = (cast_expression "(ssh2_userkey *)add234(ssh2keys,skey)" ( (type_descriptor "ssh2_userkey *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "add234(ssh2keys,skey)" identifier (argument_list "(ssh2keys,skey)" ( identifier , identifier ))))) ;) (return_statement "return (uint)(psVar1 == skey);" return (call_expression "(uint)(psVar1 == skey)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar1 == skey)" ( (binary_expression "psVar1 == skey" identifier == identifier) ))) ;) })))
(translation_unit "bool FUN_0001ee10(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}\n\n" (function_definition "bool FUN_0001ee10(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" primitive_type (function_declarator "FUN_0001ee10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0004eea0(DAT_000850c8,param_1);" (assignment_expression "iVar1 = FUN_0004eea0(DAT_000850c8,param_1)" identifier = (call_expression "FUN_0004eea0(DAT_000850c8,param_1)" identifier (argument_list "(DAT_000850c8,param_1)" ( identifier , identifier )))) ;) (return_statement "return iVar1 == param_1;" return (binary_expression "iVar1 == param_1" identifier == identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return (binary_expression IDENT == IDENT) ;) })))
(function_definition "bool FUN_0001ee10(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" (primitive_type "bool") (function_declarator "FUN_0001ee10(int param_1)" (identifier "FUN_0001ee10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);\n  return iVar1 == param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0004eea0(DAT_000850c8,param_1);" (assignment_expression "iVar1 = FUN_0004eea0(DAT_000850c8,param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0004eea0(DAT_000850c8,param_1)" (identifier "FUN_0004eea0") (argument_list "(DAT_000850c8,param_1)" (( "(") (identifier "DAT_000850c8") (, ",") (identifier "param_1") () ")")))) (; ";")) (return_statement "return iVar1 == param_1;" (return "return") (binary_expression "iVar1 == param_1" (identifier "iVar1") (== "==") (identifier "param_1")) (; ";")) (} "}")))

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

int function_1(type_1 *var_3)

{
  type_1 *var_2;
  
  var_2 = (type_1 *)var_1(ssh2keys,var_3);
  return (uint)(var_2 == var_3);
}


(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 (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (return_statement (binary_expression left: (identifier) right: (identifier))))))

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

bool MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0004eea0(DAT_000850c8,param_1);
  return iVar1 == param_1;
}

