
/* WARNING: Unknown calling convention */

uchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)

{
  uchar *puVar1;
  
  puVar1 = *(uchar **)((int)alg->extra + 8);
  *oidlen = *(int *)((int)alg->extra + 0xc);
  return puVar1;
}



undefined4 FUN_000523f0(int param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);
  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);
  return uVar1;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EAX + 0x38]
MOV ECX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EDX],ECX
RET
(translation_unit "undefined4 FUN_000523f0(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000523f0(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000523f0(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 8)" ( (binary_expression "*(int *)(param_1 + 0x38) + 8" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);" (assignment_expression "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0xc" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nuchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)\n\n{\n  uchar *puVar1;\n  \n  puVar1 = *(uchar **)((int)alg->extra + 8);\n  *oidlen = *(int *)((int)alg->extra + 0xc);\n  return puVar1;\n}\n\n" comment (function_definition "uchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)\n\n{\n  uchar *puVar1;\n  \n  puVar1 = *(uchar **)((int)alg->extra + 8);\n  *oidlen = *(int *)((int)alg->extra + 0xc);\n  return puVar1;\n}" type_identifier (pointer_declarator "* ec_alg_oid(ssh_signkey *alg,int *oidlen)" * (function_declarator "ec_alg_oid(ssh_signkey *alg,int *oidlen)" identifier (parameter_list "(ssh_signkey *alg,int *oidlen)" ( (parameter_declaration "ssh_signkey *alg" type_identifier (pointer_declarator "*alg" * identifier)) , (parameter_declaration "int *oidlen" primitive_type (pointer_declarator "*oidlen" * identifier)) )))) (compound_statement "{\n  uchar *puVar1;\n  \n  puVar1 = *(uchar **)((int)alg->extra + 8);\n  *oidlen = *(int *)((int)alg->extra + 0xc);\n  return puVar1;\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *(uchar **)((int)alg->extra + 8);" (assignment_expression "puVar1 = *(uchar **)((int)alg->extra + 8)" identifier = (pointer_expression "*(uchar **)((int)alg->extra + 8)" * (cast_expression "(uchar **)((int)alg->extra + 8)" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)alg->extra + 8)" ( (binary_expression "(int)alg->extra + 8" (cast_expression "(int)alg->extra" ( (type_descriptor "int" primitive_type) ) (field_expression "alg->extra" identifier -> field_identifier)) + number_literal) ))))) ;) (expression_statement "*oidlen = *(int *)((int)alg->extra + 0xc);" (assignment_expression "*oidlen = *(int *)((int)alg->extra + 0xc)" (pointer_expression "*oidlen" * identifier) = (pointer_expression "*(int *)((int)alg->extra + 0xc)" * (cast_expression "(int *)((int)alg->extra + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)alg->extra + 0xc)" ( (binary_expression "(int)alg->extra + 0xc" (cast_expression "(int)alg->extra" ( (type_descriptor "int" primitive_type) ) (field_expression "alg->extra" identifier -> field_identifier)) + number_literal) ))))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_000523f0(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000523f0(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000523f0(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 8)" ( (binary_expression "*(int *)(param_1 + 0x38) + 8" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);" (assignment_expression "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x38) + 0xc" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000523f0(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000523f0(int param_1,undefined4 *param_2)" (identifier "FUN_000523f0") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);\n  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + 8" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);" (assignment_expression "*param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + 0xc" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 *alg,int *oidlen)

{
  type_1 *puVar1;
  
  puVar1 = *(type_1 **)((int)alg->extra + 8);
  *oidlen = *(int *)((int)alg->extra + 0xc);
  return puVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 8);
  *param_2 = *(undefined4 *)(*(int *)(param_1 + 0x38) + 0xc);
  return uVar1;
}

