
/* WARNING: Unknown calling convention */

void hmacsha256_start(void *handle)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = (undefined4 *)((int)handle + 0xd8);
                    /* WARNING: Load size is inaccurate */
  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = *handle;
    handle = (undefined4 *)((int)handle + 4);
    puVar2 = puVar2 + 1;
  }
  return;
}



void FUN_00055c00(undefined4 *param_1)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = param_1 + 0x36;
  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = *param_1;
    param_1 = param_1 + 1;
    puVar2 = puVar2 + 1;
  }
  return;
}


PUSH EDI
MOV ECX,0x1b
PUSH ESI
MOV ESI,dword ptr [ESP + 0xc]
LEA EDI,[ESI + 0xd8]
MOVSD.REP ES:EDI,ESI
POP ESI
POP EDI
RET
(translation_unit "void FUN_00055c00(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00055c00(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00055c00(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = param_1 + 0x36;" (assignment_expression "puVar2 = param_1 + 0x36" identifier = (binary_expression "param_1 + 0x36" identifier + number_literal)) ;) (for_statement "for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x1b" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid hmacsha256_start(void *handle)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)((int)handle + 0xd8);\n                    /* WARNING: Load size is inaccurate */\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *handle;\n    handle = (undefined4 *)((int)handle + 4);\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void hmacsha256_start(void *handle)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)((int)handle + 0xd8);\n                    /* WARNING: Load size is inaccurate */\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *handle;\n    handle = (undefined4 *)((int)handle + 4);\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "hmacsha256_start(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)((int)handle + 0xd8);\n                    /* WARNING: Load size is inaccurate */\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *handle;\n    handle = (undefined4 *)((int)handle + 4);\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (undefined4 *)((int)handle + 0xd8);" (assignment_expression "puVar2 = (undefined4 *)((int)handle + 0xd8)" identifier = (cast_expression "(undefined4 *)((int)handle + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0xd8)" ( (binary_expression "(int)handle + 0xd8" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) comment (for_statement "for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *handle;\n    handle = (undefined4 *)((int)handle + 4);\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x1b" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = *handle;\n    handle = (undefined4 *)((int)handle + 4);\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = *handle;" (assignment_expression "*puVar2 = *handle" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*handle" * identifier)) ;) (expression_statement "handle = (undefined4 *)((int)handle + 4);" (assignment_expression "handle = (undefined4 *)((int)handle + 4)" identifier = (cast_expression "(undefined4 *)((int)handle + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00055c00(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00055c00(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00055c00(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = param_1 + 0x36;" (assignment_expression "puVar2 = param_1 + 0x36" identifier = (binary_expression "param_1 + 0x36" identifier + number_literal)) ;) (for_statement "for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x1b" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00055c00(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00055c00(undefined4 *param_1)" (identifier "FUN_00055c00") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = param_1 + 0x36;\n  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = param_1 + 0x36;" (assignment_expression "puVar2 = param_1 + 0x36" (identifier "puVar2") (= "=") (binary_expression "param_1 + 0x36" (identifier "param_1") (+ "+") (number_literal "0x36"))) (; ";")) (for_statement "for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar1 = 0x1b" (identifier "iVar1") (= "=") (number_literal "0x1b")) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar2 = *param_1;\n    param_1 = param_1 + 1;\n    puVar2 = puVar2 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(void *handle)

{
  int var_1;
  type_1 *var_2;
  
  var_2 = (type_1 *)((int)handle + 0xd8);
                    /* WARNING: Load size is inaccurate */
  for (var_1 = 0x1b; var_1 != 0; var_1 = var_1 + -1) {
    *var_2 = *handle;
    handle = (type_1 *)((int)handle + 4);
    var_2 = var_2 + 1;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = param_1 + 0x36;
  for (iVar1 = 0x1b; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = *param_1;
    param_1 = param_1 + 1;
    puVar2 = puVar2 + 1;
  }
  return;
}

