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

void MD5Update(MD5Context *s,uchar *p,uint len)

{
  s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo);
  s->lenlo = len + s->lenlo;
  if (0x3f < s->blkused + len) {
    MD5Update(s,p,len);
    return;
  }
  memcpy(s->block + s->blkused,p,len);
  s->blkused = s->blkused + len;
  return;
}



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

void MD5Update(int param_1,void *param_2,uint param_3)

{
  *(int *)(param_1 + 0x54) =
       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));
  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);
  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {
    FUN_00072c70();
    return;
  }
  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);
  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x0001c520
ADD EBX,0xc7314
MOV EDI,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,EDI
ADD EAX,dword ptr [ESI + 0x58]
ADC dword ptr [ESI + 0x54],0x0
MOV dword ptr [ESI + 0x58],EAX
MOV EAX,dword ptr [ESI + 0x50]
LEA ECX,[EAX + EDI*0x1]
CMP ECX,0x3f
JBE 0x00073470
POP EBX
MOV ECX,EDI
MOV EAX,ESI
POP ESI
POP EDI
JMP 0x00072c70
SUB ESP,0x4
LEA EAX,[ESI + EAX*0x1 + 0x10]
PUSH EDI
PUSH EDX
PUSH EAX
CALL 0x0001a820
ADD ESP,0x10
ADD dword ptr [ESI + 0x50],EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid MD5Update(int param_1,void *param_2,uint param_3)\n\n{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}\n\n" comment (function_definition "void MD5Update(int param_1,void *param_2,uint param_3)\n\n{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" primitive_type (function_declarator "MD5Update(int param_1,void *param_2,uint param_3)" identifier (parameter_list "(int param_1,void *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));" (assignment_expression "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" * (cast_expression "(int *)(param_1 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" * (cast_expression "(int *)(param_1 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_3,*(uint *)(param_1 + 0x58))" identifier (argument_list "(param_3,*(uint *)(param_1 + 0x58))" ( identifier , (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);" (assignment_expression "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58)" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "param_3 + *(uint *)(param_1 + 0x58)" identifier + (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))))) ;) (if_statement "if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }" if (parenthesized_expression "(0x3f < *(int *)(param_1 + 0x50) + param_3)" ( (binary_expression "0x3f < *(int *)(param_1 + 0x50) + param_3" number_literal < (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + identifier)) )) (compound_statement "{\n    FUN_00072c70();\n    return;\n  }" { (expression_statement "FUN_00072c70();" (call_expression "FUN_00072c70()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);" (call_expression "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" identifier (argument_list "((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" ( (cast_expression "(void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10 + *(int *)(param_1 + 0x50))" ( (binary_expression "param_1 + 0x10 + *(int *)(param_1 + 0x50)" (binary_expression "param_1 + 0x10" identifier + number_literal) + (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ))) , identifier , identifier ))) ;) (expression_statement "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;" (assignment_expression "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid MD5Update(MD5Context *s,uchar *p,uint len)\n\n{\n  s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo);\n  s->lenlo = len + s->lenlo;\n  if (0x3f < s->blkused + len) {\n    MD5Update(s,p,len);\n    return;\n  }\n  memcpy(s->block + s->blkused,p,len);\n  s->blkused = s->blkused + len;\n  return;\n}\n\n" comment (function_definition "void MD5Update(MD5Context *s,uchar *p,uint len)\n\n{\n  s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo);\n  s->lenlo = len + s->lenlo;\n  if (0x3f < s->blkused + len) {\n    MD5Update(s,p,len);\n    return;\n  }\n  memcpy(s->block + s->blkused,p,len);\n  s->blkused = s->blkused + len;\n  return;\n}" primitive_type (function_declarator "MD5Update(MD5Context *s,uchar *p,uint len)" identifier (parameter_list "(MD5Context *s,uchar *p,uint len)" ( (parameter_declaration "MD5Context *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "uchar *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "uint len" type_identifier identifier) ))) (compound_statement "{\n  s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo);\n  s->lenlo = len + s->lenlo;\n  if (0x3f < s->blkused + len) {\n    MD5Update(s,p,len);\n    return;\n  }\n  memcpy(s->block + s->blkused,p,len);\n  s->blkused = s->blkused + len;\n  return;\n}" { (expression_statement "s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo);" (assignment_expression "s->lenhi = s->lenhi + (uint)CARRY4(len,s->lenlo)" (field_expression "s->lenhi" identifier -> field_identifier) = (binary_expression "s->lenhi + (uint)CARRY4(len,s->lenlo)" (field_expression "s->lenhi" identifier -> field_identifier) + (cast_expression "(uint)CARRY4(len,s->lenlo)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(len,s->lenlo)" identifier (argument_list "(len,s->lenlo)" ( identifier , (field_expression "s->lenlo" identifier -> field_identifier) )))))) ;) (expression_statement "s->lenlo = len + s->lenlo;" (assignment_expression "s->lenlo = len + s->lenlo" (field_expression "s->lenlo" identifier -> field_identifier) = (binary_expression "len + s->lenlo" identifier + (field_expression "s->lenlo" identifier -> field_identifier))) ;) (if_statement "if (0x3f < s->blkused + len) {\n    MD5Update(s,p,len);\n    return;\n  }" if (parenthesized_expression "(0x3f < s->blkused + len)" ( (binary_expression "0x3f < s->blkused + len" number_literal < (binary_expression "s->blkused + len" (field_expression "s->blkused" identifier -> field_identifier) + identifier)) )) (compound_statement "{\n    MD5Update(s,p,len);\n    return;\n  }" { (expression_statement "MD5Update(s,p,len);" (call_expression "MD5Update(s,p,len)" identifier (argument_list "(s,p,len)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "memcpy(s->block + s->blkused,p,len);" (call_expression "memcpy(s->block + s->blkused,p,len)" identifier (argument_list "(s->block + s->blkused,p,len)" ( (binary_expression "s->block + s->blkused" (field_expression "s->block" identifier -> field_identifier) + (field_expression "s->blkused" identifier -> field_identifier)) , identifier , identifier ))) ;) (expression_statement "s->blkused = s->blkused + len;" (assignment_expression "s->blkused = s->blkused + len" (field_expression "s->blkused" identifier -> field_identifier) = (binary_expression "s->blkused + len" (field_expression "s->blkused" identifier -> field_identifier) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void MD5Update(int param_1,void *param_2,uint param_3)\n\n{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}\n\n" (function_definition "void MD5Update(int param_1,void *param_2,uint param_3)\n\n{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" primitive_type (function_declarator "MD5Update(int param_1,void *param_2,uint param_3)" identifier (parameter_list "(int param_1,void *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));" (assignment_expression "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" * (cast_expression "(int *)(param_1 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" * (cast_expression "(int *)(param_1 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_3,*(uint *)(param_1 + 0x58))" identifier (argument_list "(param_3,*(uint *)(param_1 + 0x58))" ( identifier , (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);" (assignment_expression "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58)" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "param_3 + *(uint *)(param_1 + 0x58)" identifier + (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))))) ;) (if_statement "if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }" if (parenthesized_expression "(0x3f < *(int *)(param_1 + 0x50) + param_3)" ( (binary_expression "0x3f < *(int *)(param_1 + 0x50) + param_3" number_literal < (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + identifier)) )) (compound_statement "{\n    FUN_00072c70();\n    return;\n  }" { (expression_statement "FUN_00072c70();" (call_expression "FUN_00072c70()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);" (call_expression "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" identifier (argument_list "((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" ( (cast_expression "(void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10 + *(int *)(param_1 + 0x50))" ( (binary_expression "param_1 + 0x10 + *(int *)(param_1 + 0x50)" (binary_expression "param_1 + 0x10" identifier + number_literal) + (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ))) , identifier , identifier ))) ;) (expression_statement "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;" (assignment_expression "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (return_statement return ;) })))
(function_definition "void MD5Update(int param_1,void *param_2,uint param_3)\n\n{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" (primitive_type "void") (function_declarator "MD5Update(int param_1,void *param_2,uint param_3)" (identifier "MD5Update") (parameter_list "(int param_1,void *param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  *(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));\n  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);\n  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }\n  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);\n  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;\n  return;\n}" ({ "{") (expression_statement "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));" (assignment_expression "*(int *)(param_1 + 0x54) =\n       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" (* "*") (cast_expression "(int *)(param_1 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (pointer_expression "*(int *)(param_1 + 0x54)" (* "*") (cast_expression "(int *)(param_1 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (+ "+") (cast_expression "(uint)CARRY4(param_3,*(uint *)(param_1 + 0x58))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(param_3,*(uint *)(param_1 + 0x58))" (identifier "CARRY4") (argument_list "(param_3,*(uint *)(param_1 + 0x58))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) () ")")))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);" (assignment_expression "*(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58)" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (binary_expression "param_3 + *(uint *)(param_1 + 0x58)" (identifier "param_3") (+ "+") (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))))) (; ";")) (if_statement "if (0x3f < *(int *)(param_1 + 0x50) + param_3) {\n    FUN_00072c70();\n    return;\n  }" (if "if") (parenthesized_expression "(0x3f < *(int *)(param_1 + 0x50) + param_3)" (( "(") (binary_expression "0x3f < *(int *)(param_1 + 0x50) + param_3" (number_literal "0x3f") (< "<") (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (identifier "param_3"))) () ")")) (compound_statement "{\n    FUN_00072c70();\n    return;\n  }" ({ "{") (expression_statement "FUN_00072c70();" (call_expression "FUN_00072c70()" (identifier "FUN_00072c70") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);" (call_expression "memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" (identifier "memcpy") (argument_list "((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3)" (( "(") (cast_expression "(void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10 + *(int *)(param_1 + 0x50))" (( "(") (binary_expression "param_1 + 0x10 + *(int *)(param_1 + 0x50)" (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) () ")"))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;" (assignment_expression "*(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x50) + param_3" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (identifier "param_3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *s,type_2 *p,type_3 var_2)

{
  s->lenhi = s->lenhi + (type_3)var_1(var_2,s->lenlo);
  s->lenlo = var_2 + s->lenlo;
  if (0x3f < s->blkused + var_2) {
    function_1(s,p,var_2);
    return;
  }
  var_3(s->block + s->blkused,p,var_2);
  s->blkused = s->blkused + var_2;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_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: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_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: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (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: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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)))))))) (identifier) (identifier)))) (expression_statement (assignment_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: (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: (identifier)))) (return_statement))))

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

void MASKED(int param_1,void *param_2,uint param_3)

{
  *(int *)(param_1 + 0x54) =
       *(int *)(param_1 + 0x54) + (uint)CARRY4(param_3,*(uint *)(param_1 + 0x58));
  *(uint *)(param_1 + 0x58) = param_3 + *(uint *)(param_1 + 0x58);
  if (0x3f < *(int *)(param_1 + 0x50) + param_3) {
    FUN_00072c70();
    return;
  }
  memcpy((void *)(param_1 + 0x10 + *(int *)(param_1 + 0x50)),param_2,param_3);
  *(int *)(param_1 + 0x50) = *(int *)(param_1 + 0x50) + param_3;
  return;
}

