
void * xmemdup(void *s,int n)

{
  size_t unaff_EBX;
  
                    /* WARNING: Subroutine does not return */
  xmalloc(unaff_EBX);
}



void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)

{
  undefined1 *puVar1;
  byte bVar2;
  
  bVar2 = 0;
  puVar1 = (undefined1 *)FUN_00019b1c();
  for (; param_2 != 0; param_2 = param_2 + -1) {
    *puVar1 = *param_1;
    param_1 = param_1 + (uint)bVar2 * -2 + 1;
    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,EAX
MOV EBX,EDX
MOV EAX,EDX
CALL 0x00019b1c
MOV EDI,EAX
MOV ECX,EBX
MOVSB.REP ES:EDI,ESI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019c26(undefined1 *param_1,int param_2)" identifier (parameter_list "(undefined1 *param_1,int param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined1 *)FUN_00019b1c();" (assignment_expression "puVar1 = (undefined1 *)FUN_00019b1c()" identifier = (cast_expression "(undefined1 *)FUN_00019b1c()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (for_statement "for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" for ( ; (binary_expression "param_2 != 0" identifier != number_literal) ; (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" { (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + (uint)bVar2 * -2 + 1;" (assignment_expression "param_1 = param_1 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "param_1 + (uint)bVar2 * -2 + 1" (binary_expression "param_1 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar1 = puVar1 + (uint)bVar2 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "puVar1 + (uint)bVar2 * -2 + 1" (binary_expression "puVar1 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void * xmemdup(void *s,int n)\n\n{\n  size_t unaff_EBX;\n  \n                    /* WARNING: Subroutine does not return */\n  xmalloc(unaff_EBX);\n}\n\n" (function_definition "void * xmemdup(void *s,int n)\n\n{\n  size_t unaff_EBX;\n  \n                    /* WARNING: Subroutine does not return */\n  xmalloc(unaff_EBX);\n}" primitive_type (pointer_declarator "* xmemdup(void *s,int n)" * (function_declarator "xmemdup(void *s,int n)" identifier (parameter_list "(void *s,int n)" ( (parameter_declaration "void *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "int n" primitive_type identifier) )))) (compound_statement "{\n  size_t unaff_EBX;\n  \n                    /* WARNING: Subroutine does not return */\n  xmalloc(unaff_EBX);\n}" { (declaration "size_t unaff_EBX;" primitive_type identifier ;) comment (expression_statement "xmalloc(unaff_EBX);" (call_expression "xmalloc(unaff_EBX)" identifier (argument_list "(unaff_EBX)" ( identifier ))) ;) })))
(translation_unit "void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019c26(undefined1 *param_1,int param_2)" identifier (parameter_list "(undefined1 *param_1,int param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined1 *)FUN_00019b1c();" (assignment_expression "puVar1 = (undefined1 *)FUN_00019b1c()" identifier = (cast_expression "(undefined1 *)FUN_00019b1c()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (for_statement "for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" for ( ; (binary_expression "param_2 != 0" identifier != number_literal) ; (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" { (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + (uint)bVar2 * -2 + 1;" (assignment_expression "param_1 = param_1 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "param_1 + (uint)bVar2 * -2 + 1" (binary_expression "param_1 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar1 = puVar1 + (uint)bVar2 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (uint)bVar2 * -2 + 1" identifier = (binary_expression "puVar1 + (uint)bVar2 * -2 + 1" (binary_expression "puVar1 + (uint)bVar2 * -2" identifier + (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (for_statement for ( ; (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 (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00019c26(undefined1 *param_1,int param_2)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00019c26(undefined1 *param_1,int param_2)" (identifier "FUN_00019c26") (parameter_list "(undefined1 *param_1,int param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  \n  bVar2 = 0;\n  puVar1 = (undefined1 *)FUN_00019b1c();\n  for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" (identifier "bVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = (undefined1 *)FUN_00019b1c();" (assignment_expression "puVar1 = (undefined1 *)FUN_00019b1c()" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)FUN_00019b1c()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b1c()" (identifier "FUN_00019b1c") (argument_list "()" (( "(") () ")"))))) (; ";")) (for_statement "for (; param_2 != 0; param_2 = param_2 + -1) {\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar1 = *param_1;\n    param_1 = param_1 + (uint)bVar2 * -2 + 1;\n    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar1 = *param_1;" (assignment_expression "*puVar1 = *param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_1 = param_1 + (uint)bVar2 * -2 + 1;" (assignment_expression "param_1 = param_1 + (uint)bVar2 * -2 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + (uint)bVar2 * -2 + 1" (binary_expression "param_1 + (uint)bVar2 * -2" (identifier "param_1") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = puVar1 + (uint)bVar2 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (uint)bVar2 * -2 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + (uint)bVar2 * -2 + 1" (binary_expression "puVar1 + (uint)bVar2 * -2" (identifier "puVar1") (+ "+") (binary_expression "(uint)bVar2 * -2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void * function_1(void *s,int n)

{
  size_t unaff_EBX;
  
                    /* WARNING: Subroutine does not return */
  var_1(unaff_EBX);
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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))))) (for_statement 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: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (return_statement))))

void __regparm3 MASKED(undefined1 *param_1,int param_2)

{
  undefined1 *puVar1;
  byte bVar2;
  
  bVar2 = 0;
  puVar1 = (undefined1 *)FUN_00019b1c();
  for (; param_2 != 0; param_2 = param_2 + -1) {
    *puVar1 = *param_1;
    param_1 = param_1 + (uint)bVar2 * -2 + 1;
    puVar1 = puVar1 + (uint)bVar2 * -2 + 1;
  }
  return;
}

