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

Ssh_gss_stat ssh_gssapi_acquire_cred(ssh_gss_library *lib,Ssh_gss_ctx *ctx)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)safemalloc(1,0xc);
  puVar1[1] = 0;
  *puVar1 = 0;
  puVar1[2] = 0;
  *ctx = puVar1;
  return SSH_GSS_OK;
}



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

undefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);
  puVar1[1] = 0;
  *puVar1 = 0;
  puVar1[2] = 0;
  *param_2 = puVar1;
  return 0;
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x576ba
SUB ESP,0x10
PUSH 0xc
PUSH 0x1
CALL 0x0001a9b0
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EDX],EAX
ADD ESP,0x18
XOR EAX,EAX
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" type_identifier (function_declarator "FUN_000526d0(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc)" identifier = (cast_expression "(undefined4 *)FUN_0001a9b0(1,0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a9b0(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = puVar1;" (assignment_expression "*param_2 = puVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nSsh_gss_stat ssh_gssapi_acquire_cred(ssh_gss_library *lib,Ssh_gss_ctx *ctx)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)safemalloc(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *ctx = puVar1;\n  return SSH_GSS_OK;\n}\n\n" comment comment (function_definition "Ssh_gss_stat ssh_gssapi_acquire_cred(ssh_gss_library *lib,Ssh_gss_ctx *ctx)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)safemalloc(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *ctx = puVar1;\n  return SSH_GSS_OK;\n}" type_identifier (function_declarator "ssh_gssapi_acquire_cred(ssh_gss_library *lib,Ssh_gss_ctx *ctx)" identifier (parameter_list "(ssh_gss_library *lib,Ssh_gss_ctx *ctx)" ( (parameter_declaration "ssh_gss_library *lib" type_identifier (pointer_declarator "*lib" * identifier)) , (parameter_declaration "Ssh_gss_ctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)safemalloc(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *ctx = puVar1;\n  return SSH_GSS_OK;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)safemalloc(1,0xc);" (assignment_expression "puVar1 = (undefined4 *)safemalloc(1,0xc)" identifier = (cast_expression "(undefined4 *)safemalloc(1,0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*ctx = puVar1;" (assignment_expression "*ctx = puVar1" (pointer_expression "*ctx" * identifier) = identifier) ;) (return_statement "return SSH_GSS_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" type_identifier (function_declarator "FUN_000526d0(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc)" identifier = (cast_expression "(undefined4 *)FUN_0001a9b0(1,0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a9b0(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = puVar1;" (assignment_expression "*param_2 = puVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000526d0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000526d0(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_000526d0") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);\n  puVar1[1] = 0;\n  *puVar1 = 0;\n  puVar1[2] = 0;\n  *param_2 = puVar1;\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0001a9b0(1,0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a9b0(1,0xc)" (identifier "FUN_0001a9b0") (argument_list "(1,0xc)" (( "(") (number_literal "1") (, ",") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = puVar1;" (assignment_expression "*param_2 = puVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "puVar1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 function_1(type_2 *lib,type_3 *ctx)

{
  type_4 *puVar1;
  
  puVar1 = (type_4 *)var_1(1,0xc);
  puVar1[1] = 0;
  *puVar1 = 0;
  puVar1[2] = 0;
  *ctx = puVar1;
  return SSH_GSS_OK;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))))

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

undefined4 MASKED(undefined4 param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_0001a9b0(1,0xc);
  puVar1[1] = 0;
  *puVar1 = 0;
  puVar1[2] = 0;
  *param_2 = puVar1;
  return 0;
}

