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

void __regparm3 display_data(bfd_size_type printed,uchar *data,bfd_size_type len)

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  uint uVar4;
  
  puVar3 = PTR_stdout_0006ffdc;
  if ((do_wide == 0) && ((0x50 - printed) / 3 <= len)) {
    uVar4 = 0;
    if (len != 0) {
      do {
        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {
          putc(10,*(FILE **)puVar3);
        }
        pbVar1 = data + uVar4;
        uVar4 = uVar4 + 1;
        printf(" %02x",(uint)*pbVar1);
      } while (len != uVar4);
    }
  }
  else {
    pbVar1 = data + len;
    if (len != 0) {
      do {
        bVar2 = *data;
        data = data + 1;
        printf(" %02x",(uint)bVar2);
      } while (pbVar1 != data);
    }
  }
  return;
}



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

void __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  uint uVar4;
  
  puVar3 = PTR_stdout_0006ffdc;
  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {
    uVar4 = 0;
    if (param_3 != 0) {
      do {
        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {
          putc(10,*(FILE **)puVar3);
        }
        pbVar1 = param_2 + uVar4;
        uVar4 = uVar4 + 1;
        printf(" %02x",(uint)*pbVar1);
      } while (param_3 != uVar4);
    }
  }
  else {
    pbVar1 = param_2 + param_3;
    if (param_3 != 0) {
      do {
        bVar2 = *param_2;
        param_2 = param_2 + 1;
        printf(" %02x",(uint)bVar2);
      } while (pbVar1 != param_2);
    }
  }
  return;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000143a0
ADD EBX,0x53ab5
SUB ESP,0x1c
MOV dword ptr [ESP + 0x8],ECX
LEA EDX,[EBX + 0x3ab4]
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JNZ 0x0001c5e8
MOV EDX,0x50
MOV ECX,0xaaaaaaab
SUB EDX,EAX
MOV EAX,EDX
MUL ECX
MOV EAX,dword ptr [ESP + 0x8]
SHR EDX,0x1
CMP EDX,EAX
JA 0x0001c5e8
MOV ECX,dword ptr [EBX + 0xffffffdc]
XOR ESI,ESI
LEA EDI,[EBX + 0xfffe0710]
MOV dword ptr [ESP + 0xc],ECX
TEST EAX,EAX
JNZ 0x0001c5bb
JMP 0x0001c618
MOVZX EAX,byte ptr [EBP + ESI*0x1]
SUB ESP,0x8
ADD ESI,0x1
PUSH EAX
PUSH EDI
CALL 0x000130b0
ADD ESP,0x10
CMP dword ptr [ESP + 0x8],ESI
JZ 0x0001c618
MOV EAX,0x4ec4ec4f
MUL ESI
SHR EDX,0x3
IMUL EDX,EDX,0x1a
CMP ESI,EDX
JNZ 0x0001c5a0
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
PUSH dword ptr [EAX]
PUSH 0xa
CALL 0x00013690
ADD ESP,0x10
JMP 0x0001c5a0
MOV EAX,dword ptr [ESP + 0x8]
LEA EDI,[EBX + 0xfffe0710]
LEA ESI,[EBP + EAX*0x1]
TEST EAX,EAX
JZ 0x0001c618
LEA ESI,[ESI]
MOVZX EAX,byte ptr [EBP]
SUB ESP,0x8
ADD EBP,0x1
PUSH EAX
PUSH EDI
CALL 0x000130b0
ADD ESP,0x10
CMP ESI,EBP
JNZ 0x0001c600
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c540(int param_1,byte *param_2,uint param_3)" identifier (parameter_list "(int param_1,byte *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "puVar3 = PTR_stdout_0006ffdc;" (assignment_expression "puVar3 = PTR_stdout_0006ffdc" identifier = identifier) ;) (if_statement "if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" if (parenthesized_expression "((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3))" ( (binary_expression "(DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)" (parenthesized_expression "(DAT_00073ab4 == 0)" ( (binary_expression "DAT_00073ab4 == 0" identifier == number_literal) )) && (parenthesized_expression "((0x50U - param_1) / 3 <= param_3)" ( (binary_expression "(0x50U - param_1) / 3 <= param_3" (binary_expression "(0x50U - param_1) / 3" (parenthesized_expression "(0x50U - param_1)" ( (binary_expression "0x50U - param_1" number_literal - identifier) )) / number_literal) <= identifier) ))) )) (compound_statement "{\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" { (do_statement "do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);" do (compound_statement "{\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      }" { (if_statement "if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }" if (parenthesized_expression "(uVar4 == (uVar4 / 0x1a) * 0x1a)" ( (binary_expression "uVar4 == (uVar4 / 0x1a) * 0x1a" identifier == (binary_expression "(uVar4 / 0x1a) * 0x1a" (parenthesized_expression "(uVar4 / 0x1a)" ( (binary_expression "uVar4 / 0x1a" identifier / number_literal) )) * number_literal)) )) (compound_statement "{\n          putc(10,*(FILE **)puVar3);\n        }" { (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pbVar1 = param_2 + uVar4;" (assignment_expression "pbVar1 = param_2 + uVar4" identifier = (binary_expression "param_2 + uVar4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)*pbVar1);" (call_expression "printf(" %02x",(uint)*pbVar1)" identifier (argument_list "(" %02x",(uint)*pbVar1)" ( (string_literal "" %02x"" " string_content ") , (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(param_3 != uVar4)" ( (binary_expression "param_3 != uVar4" identifier != identifier) )) ;) })) }) (else_clause "else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" else (compound_statement "{\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" { (expression_statement "pbVar1 = param_2 + param_3;" (assignment_expression "pbVar1 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (if_statement "if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" { (do_statement "do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);" do (compound_statement "{\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      }" { (expression_statement "bVar2 = *param_2;" (assignment_expression "bVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)bVar2);" (call_expression "printf(" %02x",(uint)bVar2)" identifier (argument_list "(" %02x",(uint)bVar2)" ( (string_literal "" %02x"" " string_content ") , (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) while (parenthesized_expression "(pbVar1 != param_2)" ( (binary_expression "pbVar1 != 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\nvoid __regparm3 display_data(bfd_size_type printed,uchar *data,bfd_size_type len)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((do_wide == 0) && ((0x50 - printed) / 3 <= len)) {\n    uVar4 = 0;\n    if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }\n  }\n  else {\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 display_data(bfd_size_type printed,uchar *data,bfd_size_type len)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((do_wide == 0) && ((0x50 - printed) / 3 <= len)) {\n    uVar4 = 0;\n    if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }\n  }\n  else {\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "display_data(bfd_size_type printed,uchar *data,bfd_size_type len)" identifier (parameter_list "(bfd_size_type printed,uchar *data,bfd_size_type len)" ( (parameter_declaration "bfd_size_type printed" type_identifier identifier) , (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "bfd_size_type len" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((do_wide == 0) && ((0x50 - printed) / 3 <= len)) {\n    uVar4 = 0;\n    if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }\n  }\n  else {\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "puVar3 = PTR_stdout_0006ffdc;" (assignment_expression "puVar3 = PTR_stdout_0006ffdc" identifier = identifier) ;) (if_statement "if ((do_wide == 0) && ((0x50 - printed) / 3 <= len)) {\n    uVar4 = 0;\n    if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }\n  }\n  else {\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }" if (parenthesized_expression "((do_wide == 0) && ((0x50 - printed) / 3 <= len))" ( (binary_expression "(do_wide == 0) && ((0x50 - printed) / 3 <= len)" (parenthesized_expression "(do_wide == 0)" ( (binary_expression "do_wide == 0" identifier == number_literal) )) && (parenthesized_expression "((0x50 - printed) / 3 <= len)" ( (binary_expression "(0x50 - printed) / 3 <= len" (binary_expression "(0x50 - printed) / 3" (parenthesized_expression "(0x50 - printed)" ( (binary_expression "0x50 - printed" number_literal - identifier) )) / number_literal) <= identifier) ))) )) (compound_statement "{\n    uVar4 = 0;\n    if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (len != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);\n    }" { (do_statement "do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (len != uVar4);" do (compound_statement "{\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = data + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      }" { (if_statement "if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }" if (parenthesized_expression "(uVar4 == (uVar4 / 0x1a) * 0x1a)" ( (binary_expression "uVar4 == (uVar4 / 0x1a) * 0x1a" identifier == (binary_expression "(uVar4 / 0x1a) * 0x1a" (parenthesized_expression "(uVar4 / 0x1a)" ( (binary_expression "uVar4 / 0x1a" identifier / number_literal) )) * number_literal)) )) (compound_statement "{\n          putc(10,*(FILE **)puVar3);\n        }" { (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pbVar1 = data + uVar4;" (assignment_expression "pbVar1 = data + uVar4" identifier = (binary_expression "data + uVar4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)*pbVar1);" (call_expression "printf(" %02x",(uint)*pbVar1)" identifier (argument_list "(" %02x",(uint)*pbVar1)" ( (string_literal "" %02x"" " string_content ") , (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(len != uVar4)" ( (binary_expression "len != uVar4" identifier != identifier) )) ;) })) }) (else_clause "else {\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }" else (compound_statement "{\n    pbVar1 = data + len;\n    if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }\n  }" { (expression_statement "pbVar1 = data + len;" (assignment_expression "pbVar1 = data + len" identifier = (binary_expression "data + len" identifier + identifier)) ;) (if_statement "if (len != 0) {\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);\n    }" { (do_statement "do {\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != data);" do (compound_statement "{\n        bVar2 = *data;\n        data = data + 1;\n        printf(" %02x",(uint)bVar2);\n      }" { (expression_statement "bVar2 = *data;" (assignment_expression "bVar2 = *data" identifier = (pointer_expression "*data" * identifier)) ;) (expression_statement "data = data + 1;" (assignment_expression "data = data + 1" identifier = (binary_expression "data + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)bVar2);" (call_expression "printf(" %02x",(uint)bVar2)" identifier (argument_list "(" %02x",(uint)bVar2)" ( (string_literal "" %02x"" " string_content ") , (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) while (parenthesized_expression "(pbVar1 != data)" ( (binary_expression "pbVar1 != data" identifier != identifier) )) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c540(int param_1,byte *param_2,uint param_3)" identifier (parameter_list "(int param_1,byte *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "puVar3 = PTR_stdout_0006ffdc;" (assignment_expression "puVar3 = PTR_stdout_0006ffdc" identifier = identifier) ;) (if_statement "if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" if (parenthesized_expression "((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3))" ( (binary_expression "(DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)" (parenthesized_expression "(DAT_00073ab4 == 0)" ( (binary_expression "DAT_00073ab4 == 0" identifier == number_literal) )) && (parenthesized_expression "((0x50U - param_1) / 3 <= param_3)" ( (binary_expression "(0x50U - param_1) / 3 <= param_3" (binary_expression "(0x50U - param_1) / 3" (parenthesized_expression "(0x50U - param_1)" ( (binary_expression "0x50U - param_1" number_literal - identifier) )) / number_literal) <= identifier) ))) )) (compound_statement "{\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" { (do_statement "do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);" do (compound_statement "{\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      }" { (if_statement "if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }" if (parenthesized_expression "(uVar4 == (uVar4 / 0x1a) * 0x1a)" ( (binary_expression "uVar4 == (uVar4 / 0x1a) * 0x1a" identifier == (binary_expression "(uVar4 / 0x1a) * 0x1a" (parenthesized_expression "(uVar4 / 0x1a)" ( (binary_expression "uVar4 / 0x1a" identifier / number_literal) )) * number_literal)) )) (compound_statement "{\n          putc(10,*(FILE **)puVar3);\n        }" { (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pbVar1 = param_2 + uVar4;" (assignment_expression "pbVar1 = param_2 + uVar4" identifier = (binary_expression "param_2 + uVar4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)*pbVar1);" (call_expression "printf(" %02x",(uint)*pbVar1)" identifier (argument_list "(" %02x",(uint)*pbVar1)" ( (string_literal "" %02x"" " string_content ") , (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ))) ;) }) while (parenthesized_expression "(param_3 != uVar4)" ( (binary_expression "param_3 != uVar4" identifier != identifier) )) ;) })) }) (else_clause "else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" else (compound_statement "{\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" { (expression_statement "pbVar1 = param_2 + param_3;" (assignment_expression "pbVar1 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (if_statement "if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" { (do_statement "do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);" do (compound_statement "{\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      }" { (expression_statement "bVar2 = *param_2;" (assignment_expression "bVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "printf(" %02x",(uint)bVar2);" (call_expression "printf(" %02x",(uint)bVar2)" identifier (argument_list "(" %02x",(uint)bVar2)" ( (string_literal "" %02x"" " string_content ") , (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) while (parenthesized_expression "(pbVar1 != param_2)" ( (binary_expression "pbVar1 != param_2" identifier != identifier) )) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) / LIT) <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression (parenthesized_expression ( (binary_expression IDENT / LIT) )) * LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression (parenthesized_expression ( IDENT )) * IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001c540(int param_1,byte *param_2,uint param_3)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001c540(int param_1,byte *param_2,uint param_3)" (identifier "FUN_0001c540") (parameter_list "(int param_1,byte *param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  \n  puVar3 = PTR_stdout_0006ffdc;\n  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "puVar3 = PTR_stdout_0006ffdc;" (assignment_expression "puVar3 = PTR_stdout_0006ffdc" (identifier "puVar3") (= "=") (identifier "PTR_stdout_0006ffdc")) (; ";")) (if_statement "if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }\n  else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" (if "if") (parenthesized_expression "((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3))" (( "(") (binary_expression "(DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)" (parenthesized_expression "(DAT_00073ab4 == 0)" (( "(") (binary_expression "DAT_00073ab4 == 0" (identifier "DAT_00073ab4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((0x50U - param_1) / 3 <= param_3)" (( "(") (binary_expression "(0x50U - param_1) / 3 <= param_3" (binary_expression "(0x50U - param_1) / 3" (parenthesized_expression "(0x50U - param_1)" (( "(") (binary_expression "0x50U - param_1" (number_literal "0x50U") (- "-") (identifier "param_1")) () ")")) (/ "/") (number_literal "3")) (<= "<=") (identifier "param_3")) () ")"))) () ")")) (compound_statement "{\n    uVar4 = 0;\n    if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }\n  }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 != 0) {\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);\n    }" ({ "{") (do_statement "do {\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      } while (param_3 != uVar4);" (do "do") (compound_statement "{\n        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }\n        pbVar1 = param_2 + uVar4;\n        uVar4 = uVar4 + 1;\n        printf(" %02x",(uint)*pbVar1);\n      }" ({ "{") (if_statement "if (uVar4 == (uVar4 / 0x1a) * 0x1a) {\n          putc(10,*(FILE **)puVar3);\n        }" (if "if") (parenthesized_expression "(uVar4 == (uVar4 / 0x1a) * 0x1a)" (( "(") (binary_expression "uVar4 == (uVar4 / 0x1a) * 0x1a" (identifier "uVar4") (== "==") (binary_expression "(uVar4 / 0x1a) * 0x1a" (parenthesized_expression "(uVar4 / 0x1a)" (( "(") (binary_expression "uVar4 / 0x1a" (identifier "uVar4") (/ "/") (number_literal "0x1a")) () ")")) (* "*") (number_literal "0x1a"))) () ")")) (compound_statement "{\n          putc(10,*(FILE **)puVar3);\n        }" ({ "{") (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" (identifier "putc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (} "}"))) (expression_statement "pbVar1 = param_2 + uVar4;" (assignment_expression "pbVar1 = param_2 + uVar4" (identifier "pbVar1") (= "=") (binary_expression "param_2 + uVar4" (identifier "param_2") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "printf(" %02x",(uint)*pbVar1);" (call_expression "printf(" %02x",(uint)*pbVar1)" (identifier "printf") (argument_list "(" %02x",(uint)*pbVar1)" (( "(") (string_literal "" %02x"" (" """) (string_content " %02x") (" """)) (, ",") (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar1")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != uVar4)" (( "(") (binary_expression "param_3 != uVar4" (identifier "param_3") (!= "!=") (identifier "uVar4")) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" (else "else") (compound_statement "{\n    pbVar1 = param_2 + param_3;\n    if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }\n  }" ({ "{") (expression_statement "pbVar1 = param_2 + param_3;" (assignment_expression "pbVar1 = param_2 + param_3" (identifier "pbVar1") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (if_statement "if (param_3 != 0) {\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);\n    }" ({ "{") (do_statement "do {\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      } while (pbVar1 != param_2);" (do "do") (compound_statement "{\n        bVar2 = *param_2;\n        param_2 = param_2 + 1;\n        printf(" %02x",(uint)bVar2);\n      }" ({ "{") (expression_statement "bVar2 = *param_2;" (assignment_expression "bVar2 = *param_2" (identifier "bVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "printf(" %02x",(uint)bVar2);" (call_expression "printf(" %02x",(uint)bVar2)" (identifier "printf") (argument_list "(" %02x",(uint)bVar2)" (( "(") (string_literal "" %02x"" (" """) (string_content " %02x") (" """)) (, ",") (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar1 != param_2)" (( "(") (binary_expression "pbVar1 != param_2" (identifier "pbVar1") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 var_2,type_2 *var_6,type_1 var_3)

{
  type_3 *var_8;
  type_3 bVar2;
  type_4 *puVar3;
  type_5 var_4;
  
  puVar3 = PTR_stdout_0006ffdc;
  if ((var_1 == 0) && ((0x50 - var_2) / 3 <= var_3)) {
    var_4 = 0;
    if (var_3 != 0) {
      do {
        if (var_4 == (var_4 / 0x1a) * 0x1a) {
          var_5(10,*(type_6 **)puVar3);
        }
        var_8 = var_6 + var_4;
        var_4 = var_4 + 1;
        var_7(" %02x",(type_5)*var_8);
      } while (var_3 != var_4);
    }
  }
  else {
    var_8 = var_6 + var_3;
    if (var_3 != 0) {
      do {
        bVar2 = *var_6;
        var_6 = var_6 + 1;
        var_7(" %02x",(type_5)bVar2);
      } while (var_8 != var_6);
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (return_statement))))

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

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

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  uint uVar4;
  
  puVar3 = PTR_stdout_0006ffdc;
  if ((DAT_00073ab4 == 0) && ((0x50U - param_1) / 3 <= param_3)) {
    uVar4 = 0;
    if (param_3 != 0) {
      do {
        if (uVar4 == (uVar4 / 0x1a) * 0x1a) {
          putc(10,*(FILE **)puVar3);
        }
        pbVar1 = param_2 + uVar4;
        uVar4 = uVar4 + 1;
        printf(" %02x",(uint)*pbVar1);
      } while (param_3 != uVar4);
    }
  }
  else {
    pbVar1 = param_2 + param_3;
    if (param_3 != 0) {
      do {
        bVar2 = *param_2;
        param_2 = param_2 + 1;
        printf(" %02x",(uint)bVar2);
      } while (pbVar1 != param_2);
    }
  }
  return;
}

