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

void * sha256_finish_ctx(sha256_ctx *ctx,void *resbuf)

{
  void *pvVar1;
  
  sha256_conclude_ctx((sha256_ctx *)0x15977);
  pvVar1 = sha256_read_ctx(ctx,resbuf);
  return pvVar1;
}



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

void FUN_00015970(undefined4 param_1,undefined4 param_2)

{
  FUN_000158b0(0x15977);
  FUN_000130e0(param_1,param_2);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000126a0
ADD EBX,0x9689
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,ESI
CALL 0x000158b0
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x000130e0
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_00015970(undefined4 param_1,undefined4 param_2)\n\n{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}\n\n" comment (function_definition "void FUN_00015970(undefined4 param_1,undefined4 param_2)\n\n{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00015970(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 identifier) ))) (compound_statement "{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" { (expression_statement "FUN_000158b0(0x15977);" (call_expression "FUN_000158b0(0x15977)" identifier (argument_list "(0x15977)" ( number_literal ))) ;) (expression_statement "FUN_000130e0(param_1,param_2);" (call_expression "FUN_000130e0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , 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 * sha256_finish_ctx(sha256_ctx *ctx,void *resbuf)\n\n{\n  void *pvVar1;\n  \n  sha256_conclude_ctx((sha256_ctx *)0x15977);\n  pvVar1 = sha256_read_ctx(ctx,resbuf);\n  return pvVar1;\n}\n\n" comment comment (function_definition "void * sha256_finish_ctx(sha256_ctx *ctx,void *resbuf)\n\n{\n  void *pvVar1;\n  \n  sha256_conclude_ctx((sha256_ctx *)0x15977);\n  pvVar1 = sha256_read_ctx(ctx,resbuf);\n  return pvVar1;\n}" primitive_type (pointer_declarator "* sha256_finish_ctx(sha256_ctx *ctx,void *resbuf)" * (function_declarator "sha256_finish_ctx(sha256_ctx *ctx,void *resbuf)" identifier (parameter_list "(sha256_ctx *ctx,void *resbuf)" ( (parameter_declaration "sha256_ctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "void *resbuf" primitive_type (pointer_declarator "*resbuf" * identifier)) )))) (compound_statement "{\n  void *pvVar1;\n  \n  sha256_conclude_ctx((sha256_ctx *)0x15977);\n  pvVar1 = sha256_read_ctx(ctx,resbuf);\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "sha256_conclude_ctx((sha256_ctx *)0x15977);" (call_expression "sha256_conclude_ctx((sha256_ctx *)0x15977)" identifier (argument_list "((sha256_ctx *)0x15977)" ( (cast_expression "(sha256_ctx *)0x15977" ( (type_descriptor "sha256_ctx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "pvVar1 = sha256_read_ctx(ctx,resbuf);" (assignment_expression "pvVar1 = sha256_read_ctx(ctx,resbuf)" identifier = (call_expression "sha256_read_ctx(ctx,resbuf)" identifier (argument_list "(ctx,resbuf)" ( identifier , identifier )))) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void FUN_00015970(undefined4 param_1,undefined4 param_2)\n\n{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00015970(undefined4 param_1,undefined4 param_2)\n\n{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00015970(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 identifier) ))) (compound_statement "{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" { (expression_statement "FUN_000158b0(0x15977);" (call_expression "FUN_000158b0(0x15977)" identifier (argument_list "(0x15977)" ( number_literal ))) ;) (expression_statement "FUN_000130e0(param_1,param_2);" (call_expression "FUN_000130e0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , 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 ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00015970(undefined4 param_1,undefined4 param_2)\n\n{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00015970(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00015970") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  FUN_000158b0(0x15977);\n  FUN_000130e0(param_1,param_2);\n  return;\n}" ({ "{") (expression_statement "FUN_000158b0(0x15977);" (call_expression "FUN_000158b0(0x15977)" (identifier "FUN_000158b0") (argument_list "(0x15977)" (( "(") (number_literal "0x15977") () ")"))) (; ";")) (expression_statement "FUN_000130e0(param_1,param_2);" (call_expression "FUN_000130e0(param_1,param_2)" (identifier "FUN_000130e0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (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(type_1 *ctx,void *resbuf)

{
  void *pvVar1;
  
  var_1((type_1 *)0x15977);
  pvVar1 = var_2(ctx,resbuf);
  return pvVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  FUN_000158b0(0x15977);
  FUN_000130e0(param_1,param_2);
  return;
}

