
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void enumerate_diag_pages(void)

{
  bool bVar1;
  char *pcVar2;
  undefined *puVar3;
  int iVar4;
  diag_page_abbrev *pdVar5;
  diag_page_code *pdVar6;
  
  puts("Diagnostic pages, followed by abbreviation(s) then page code:");
  if (dpc_arr[0].desc != (char *)0x0) {
    pcVar2 = dpc_arr[0].desc;
    pdVar6 = dpc_arr;
    do {
      __printf_chk(1,"    %s  [",pcVar2);
      iVar4 = pdVar6->page_code;
      if (dp_abbrev[0].abbrev != (char *)0x0) {
        pdVar5 = dp_abbrev;
        bVar1 = false;
        pcVar2 = dp_abbrev[0].abbrev;
        do {
          if (pdVar5->page_code == iVar4) {
            puVar3 = &DAT_0001f995;
            if (bVar1) {
              puVar3 = &DAT_0001f084;
            }
            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);
            iVar4 = pdVar6->page_code;
            bVar1 = true;
          }
          pdVar5 = pdVar5 + 1;
          pcVar2 = pdVar5->abbrev;
        } while (pcVar2 != (char *)0x0);
      }
      __printf_chk(1,"] [0x%x]\n",iVar4);
      pcVar2 = pdVar6[1].desc;
      pdVar6 = pdVar6 + 1;
    } while (pcVar2 != (char *)0x0);
  }
  return;
}



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

void FUN_000162a0(void)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined **ppuVar4;
  undefined4 *puVar5;
  
  puts("Diagnostic pages, followed by abbreviation(s) then page code:");
  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {
    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;
    puVar5 = &DAT_0002c920;
    do {
      __printf_chk(1,"    %s  [",puVar2);
      puVar2 = (undefined *)*puVar5;
      if (PTR_DAT_0002c700 != (undefined *)0x0) {
        ppuVar4 = &PTR_DAT_0002c700;
        bVar1 = false;
        puVar3 = PTR_DAT_0002c700;
        do {
          if (ppuVar4[1] == puVar2) {
            puVar2 = &DAT_0001f995;
            if (bVar1) {
              puVar2 = &DAT_0001f084;
            }
            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);
            puVar2 = (undefined *)*puVar5;
            bVar1 = true;
          }
          ppuVar4 = ppuVar4 + 2;
          puVar3 = *ppuVar4;
        } while (puVar3 != (undefined *)0x0);
      }
      __printf_chk(1,"] [0x%x]\n",puVar2);
      puVar2 = (undefined *)puVar5[3];
      puVar5 = puVar5 + 2;
    } while (puVar2 != (undefined *)0x0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000159e0
ADD EBX,0x14c17
SUB ESP,0x28
LEA EAX,[EBX + 0xffff5b70]
PUSH EAX
CALL 0x000121c0
MOV EAX,dword ptr [EBX + 0x1a64]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001637c
LEA ECX,[EBX + 0xffff41e6]
LEA EDI,[EBX + 0x1a60]
MOV dword ptr [ESP + 0x4],ECX
LEA ECX,[0x1840]
MOV dword ptr [ESP + 0xc],ECX
LEA ECX,[EBX + 0xffff4b92]
MOV dword ptr [ESP + 0x8],ECX
LEA ECX,[EBX + 0xffff4ad5]
MOV dword ptr [ESP],ECX
LEA ESI,[ESI]
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0xc]
PUSH 0x1
CALL 0x00012310
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + EBX*0x1]
TEST EAX,EAX
JZ 0x00016360
LEA ESI,[EBX + 0x1840]
XOR ECX,ECX
LEA EBP,[EBX + 0xffff41c4]
LEA ESI,[ESI]
CMP dword ptr [ESI + 0x4],EDX
JNZ 0x00016357
MOV EDX,dword ptr [ESP]
TEST CL,CL
PUSH EAX
LEA EAX,[EBX + 0xffff41c6]
CMOVNZ EDX,EBP
PUSH EDX
PUSH EAX
PUSH 0x1
CALL 0x00012310
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
MOV ECX,0x1
ADD ESI,0x8
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JNZ 0x00016330
SUB ESP,0x4
ADD EDI,0x8
PUSH EDX
PUSH dword ptr [ESP + 0x10]
PUSH 0x1
CALL 0x00012310
MOV EAX,dword ptr [EDI + 0x4]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00016300
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 FUN_000162a0(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000162a0(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000162a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puts("Diagnostic pages, followed by abbreviation(s) then page code:");" (call_expression "puts("Diagnostic pages, followed by abbreviation(s) then page code:")" identifier (argument_list "("Diagnostic pages, followed by abbreviation(s) then page code:")" ( (string_literal ""Diagnostic pages, followed by abbreviation(s) then page code:"" " string_content ") ))) ;) (if_statement "if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" if (parenthesized_expression "(PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0)" ( (binary_expression "PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" { (expression_statement "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;" (assignment_expression "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924" identifier = identifier) ;) (expression_statement "puVar5 = &DAT_0002c920;" (assignment_expression "puVar5 = &DAT_0002c920" identifier = (pointer_expression "&DAT_0002c920" & identifier)) ;) (do_statement "do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);" do (compound_statement "{\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    }" { (expression_statement "__printf_chk(1,"    %s  [",puVar2);" (call_expression "__printf_chk(1,"    %s  [",puVar2)" identifier (argument_list "(1,"    %s  [",puVar2)" ( number_literal , (string_literal ""    %s  ["" " string_content ") , identifier ))) ;) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" identifier = (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" if (parenthesized_expression "(PTR_DAT_0002c700 != (undefined *)0x0)" ( (binary_expression "PTR_DAT_0002c700 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" { (expression_statement "ppuVar4 = &PTR_DAT_0002c700;" (assignment_expression "ppuVar4 = &PTR_DAT_0002c700" identifier = (pointer_expression "&PTR_DAT_0002c700" & identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "puVar3 = PTR_DAT_0002c700;" (assignment_expression "puVar3 = PTR_DAT_0002c700" identifier = identifier) ;) (do_statement "do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);" do (compound_statement "{\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        }" { (if_statement "if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" if (parenthesized_expression "(ppuVar4[1] == puVar2)" ( (binary_expression "ppuVar4[1] == puVar2" (subscript_expression "ppuVar4[1]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" { (expression_statement "puVar2 = &DAT_0001f995;" (assignment_expression "puVar2 = &DAT_0001f995" identifier = (pointer_expression "&DAT_0001f995" & identifier)) ;) (if_statement "if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              puVar2 = &DAT_0001f084;\n            }" { (expression_statement "puVar2 = &DAT_0001f084;" (assignment_expression "puVar2 = &DAT_0001f084" identifier = (pointer_expression "&DAT_0001f084" & identifier)) ;) })) (expression_statement "__printf_chk(1,&DAT_0001f086,puVar2,puVar3);" (call_expression "__printf_chk(1,&DAT_0001f086,puVar2,puVar3)" identifier (argument_list "(1,&DAT_0001f086,puVar2,puVar3)" ( number_literal , (pointer_expression "&DAT_0001f086" & identifier) , identifier , identifier ))) ;) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" identifier = (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) (expression_statement "ppuVar4 = ppuVar4 + 2;" (assignment_expression "ppuVar4 = ppuVar4 + 2" identifier = (binary_expression "ppuVar4 + 2" identifier + number_literal)) ;) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) }) while (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "__printf_chk(1,"] [0x%x]\n",puVar2);" (call_expression "__printf_chk(1,"] [0x%x]\n",puVar2)" identifier (argument_list "(1,"] [0x%x]\n",puVar2)" ( number_literal , (string_literal ""] [0x%x]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "puVar2 = (undefined *)puVar5[3];" (assignment_expression "puVar2 = (undefined *)puVar5[3]" identifier = (cast_expression "(undefined *)puVar5[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = puVar5 + 2;" (assignment_expression "puVar5 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != (undefined *)0x0)" ( (binary_expression "puVar2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid enumerate_diag_pages(void)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  diag_page_abbrev *pdVar5;\n  diag_page_code *pdVar6;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (dpc_arr[0].desc != (char *)0x0) {\n    pcVar2 = dpc_arr[0].desc;\n    pdVar6 = dpc_arr;\n    do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);\n  }\n  return;\n}\n\n" comment comment (function_definition "void enumerate_diag_pages(void)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  diag_page_abbrev *pdVar5;\n  diag_page_code *pdVar6;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (dpc_arr[0].desc != (char *)0x0) {\n    pcVar2 = dpc_arr[0].desc;\n    pdVar6 = dpc_arr;\n    do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "enumerate_diag_pages(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  diag_page_abbrev *pdVar5;\n  diag_page_code *pdVar6;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (dpc_arr[0].desc != (char *)0x0) {\n    pcVar2 = dpc_arr[0].desc;\n    pdVar6 = dpc_arr;\n    do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "diag_page_abbrev *pdVar5;" type_identifier (pointer_declarator "*pdVar5" * identifier) ;) (declaration "diag_page_code *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (expression_statement "puts("Diagnostic pages, followed by abbreviation(s) then page code:");" (call_expression "puts("Diagnostic pages, followed by abbreviation(s) then page code:")" identifier (argument_list "("Diagnostic pages, followed by abbreviation(s) then page code:")" ( (string_literal ""Diagnostic pages, followed by abbreviation(s) then page code:"" " string_content ") ))) ;) (if_statement "if (dpc_arr[0].desc != (char *)0x0) {\n    pcVar2 = dpc_arr[0].desc;\n    pdVar6 = dpc_arr;\n    do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);\n  }" if (parenthesized_expression "(dpc_arr[0].desc != (char *)0x0)" ( (binary_expression "dpc_arr[0].desc != (char *)0x0" (field_expression "dpc_arr[0].desc" (subscript_expression "dpc_arr[0]" identifier [ number_literal ]) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar2 = dpc_arr[0].desc;\n    pdVar6 = dpc_arr;\n    do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);\n  }" { (expression_statement "pcVar2 = dpc_arr[0].desc;" (assignment_expression "pcVar2 = dpc_arr[0].desc" identifier = (field_expression "dpc_arr[0].desc" (subscript_expression "dpc_arr[0]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pdVar6 = dpc_arr;" (assignment_expression "pdVar6 = dpc_arr" identifier = identifier) ;) (do_statement "do {\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    } while (pcVar2 != (char *)0x0);" do (compound_statement "{\n      __printf_chk(1,"    %s  [",pcVar2);\n      iVar4 = pdVar6->page_code;\n      if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",iVar4);\n      pcVar2 = pdVar6[1].desc;\n      pdVar6 = pdVar6 + 1;\n    }" { (expression_statement "__printf_chk(1,"    %s  [",pcVar2);" (call_expression "__printf_chk(1,"    %s  [",pcVar2)" identifier (argument_list "(1,"    %s  [",pcVar2)" ( number_literal , (string_literal ""    %s  ["" " string_content ") , identifier ))) ;) (expression_statement "iVar4 = pdVar6->page_code;" (assignment_expression "iVar4 = pdVar6->page_code" identifier = (field_expression "pdVar6->page_code" identifier -> field_identifier)) ;) (if_statement "if (dp_abbrev[0].abbrev != (char *)0x0) {\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }" if (parenthesized_expression "(dp_abbrev[0].abbrev != (char *)0x0)" ( (binary_expression "dp_abbrev[0].abbrev != (char *)0x0" (field_expression "dp_abbrev[0].abbrev" (subscript_expression "dp_abbrev[0]" identifier [ number_literal ]) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pdVar5 = dp_abbrev;\n        bVar1 = false;\n        pcVar2 = dp_abbrev[0].abbrev;\n        do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);\n      }" { (expression_statement "pdVar5 = dp_abbrev;" (assignment_expression "pdVar5 = dp_abbrev" identifier = identifier) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pcVar2 = dp_abbrev[0].abbrev;" (assignment_expression "pcVar2 = dp_abbrev[0].abbrev" identifier = (field_expression "dp_abbrev[0].abbrev" (subscript_expression "dp_abbrev[0]" identifier [ number_literal ]) . field_identifier)) ;) (do_statement "do {\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        } while (pcVar2 != (char *)0x0);" do (compound_statement "{\n          if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }\n          pdVar5 = pdVar5 + 1;\n          pcVar2 = pdVar5->abbrev;\n        }" { (if_statement "if (pdVar5->page_code == iVar4) {\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }" if (parenthesized_expression "(pdVar5->page_code == iVar4)" ( (binary_expression "pdVar5->page_code == iVar4" (field_expression "pdVar5->page_code" identifier -> field_identifier) == identifier) )) (compound_statement "{\n            puVar3 = &DAT_0001f995;\n            if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar3,pcVar2);\n            iVar4 = pdVar6->page_code;\n            bVar1 = true;\n          }" { (expression_statement "puVar3 = &DAT_0001f995;" (assignment_expression "puVar3 = &DAT_0001f995" identifier = (pointer_expression "&DAT_0001f995" & identifier)) ;) (if_statement "if (bVar1) {\n              puVar3 = &DAT_0001f084;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              puVar3 = &DAT_0001f084;\n            }" { (expression_statement "puVar3 = &DAT_0001f084;" (assignment_expression "puVar3 = &DAT_0001f084" identifier = (pointer_expression "&DAT_0001f084" & identifier)) ;) })) (expression_statement "__printf_chk(1,&DAT_0001f086,puVar3,pcVar2);" (call_expression "__printf_chk(1,&DAT_0001f086,puVar3,pcVar2)" identifier (argument_list "(1,&DAT_0001f086,puVar3,pcVar2)" ( number_literal , (pointer_expression "&DAT_0001f086" & identifier) , identifier , identifier ))) ;) (expression_statement "iVar4 = pdVar6->page_code;" (assignment_expression "iVar4 = pdVar6->page_code" identifier = (field_expression "pdVar6->page_code" identifier -> field_identifier)) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) (expression_statement "pdVar5 = pdVar5 + 1;" (assignment_expression "pdVar5 = pdVar5 + 1" identifier = (binary_expression "pdVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar2 = pdVar5->abbrev;" (assignment_expression "pcVar2 = pdVar5->abbrev" identifier = (field_expression "pdVar5->abbrev" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "__printf_chk(1,"] [0x%x]\n",iVar4);" (call_expression "__printf_chk(1,"] [0x%x]\n",iVar4)" identifier (argument_list "(1,"] [0x%x]\n",iVar4)" ( number_literal , (string_literal ""] [0x%x]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "pcVar2 = pdVar6[1].desc;" (assignment_expression "pcVar2 = pdVar6[1].desc" identifier = (field_expression "pdVar6[1].desc" (subscript_expression "pdVar6[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pdVar6 = pdVar6 + 1;" (assignment_expression "pdVar6 = pdVar6 + 1" identifier = (binary_expression "pdVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000162a0(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000162a0(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000162a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puts("Diagnostic pages, followed by abbreviation(s) then page code:");" (call_expression "puts("Diagnostic pages, followed by abbreviation(s) then page code:")" identifier (argument_list "("Diagnostic pages, followed by abbreviation(s) then page code:")" ( (string_literal ""Diagnostic pages, followed by abbreviation(s) then page code:"" " string_content ") ))) ;) (if_statement "if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" if (parenthesized_expression "(PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0)" ( (binary_expression "PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" { (expression_statement "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;" (assignment_expression "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924" identifier = identifier) ;) (expression_statement "puVar5 = &DAT_0002c920;" (assignment_expression "puVar5 = &DAT_0002c920" identifier = (pointer_expression "&DAT_0002c920" & identifier)) ;) (do_statement "do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);" do (compound_statement "{\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    }" { (expression_statement "__printf_chk(1,"    %s  [",puVar2);" (call_expression "__printf_chk(1,"    %s  [",puVar2)" identifier (argument_list "(1,"    %s  [",puVar2)" ( number_literal , (string_literal ""    %s  ["" " string_content ") , identifier ))) ;) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" identifier = (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" if (parenthesized_expression "(PTR_DAT_0002c700 != (undefined *)0x0)" ( (binary_expression "PTR_DAT_0002c700 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" { (expression_statement "ppuVar4 = &PTR_DAT_0002c700;" (assignment_expression "ppuVar4 = &PTR_DAT_0002c700" identifier = (pointer_expression "&PTR_DAT_0002c700" & identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "puVar3 = PTR_DAT_0002c700;" (assignment_expression "puVar3 = PTR_DAT_0002c700" identifier = identifier) ;) (do_statement "do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);" do (compound_statement "{\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        }" { (if_statement "if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" if (parenthesized_expression "(ppuVar4[1] == puVar2)" ( (binary_expression "ppuVar4[1] == puVar2" (subscript_expression "ppuVar4[1]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" { (expression_statement "puVar2 = &DAT_0001f995;" (assignment_expression "puVar2 = &DAT_0001f995" identifier = (pointer_expression "&DAT_0001f995" & identifier)) ;) (if_statement "if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              puVar2 = &DAT_0001f084;\n            }" { (expression_statement "puVar2 = &DAT_0001f084;" (assignment_expression "puVar2 = &DAT_0001f084" identifier = (pointer_expression "&DAT_0001f084" & identifier)) ;) })) (expression_statement "__printf_chk(1,&DAT_0001f086,puVar2,puVar3);" (call_expression "__printf_chk(1,&DAT_0001f086,puVar2,puVar3)" identifier (argument_list "(1,&DAT_0001f086,puVar2,puVar3)" ( number_literal , (pointer_expression "&DAT_0001f086" & identifier) , identifier , identifier ))) ;) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" identifier = (cast_expression "(undefined *)*puVar5" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) (expression_statement "ppuVar4 = ppuVar4 + 2;" (assignment_expression "ppuVar4 = ppuVar4 + 2" identifier = (binary_expression "ppuVar4 + 2" identifier + number_literal)) ;) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) }) while (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "__printf_chk(1,"] [0x%x]\n",puVar2);" (call_expression "__printf_chk(1,"] [0x%x]\n",puVar2)" identifier (argument_list "(1,"] [0x%x]\n",puVar2)" ( number_literal , (string_literal ""] [0x%x]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "puVar2 = (undefined *)puVar5[3];" (assignment_expression "puVar2 = (undefined *)puVar5[3]" identifier = (cast_expression "(undefined *)puVar5[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = puVar5 + 2;" (assignment_expression "puVar5 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != (undefined *)0x0)" ( (binary_expression "puVar2 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000162a0(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000162a0(void)" (identifier "FUN_000162a0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined **ppuVar4;\n  undefined4 *puVar5;\n  \n  puts("Diagnostic pages, followed by abbreviation(s) then page code:");\n  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined **ppuVar4;" (type_identifier "undefined") (pointer_declarator "**ppuVar4" (* "*") (pointer_declarator "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "puts("Diagnostic pages, followed by abbreviation(s) then page code:");" (call_expression "puts("Diagnostic pages, followed by abbreviation(s) then page code:")" (identifier "puts") (argument_list "("Diagnostic pages, followed by abbreviation(s) then page code:")" (( "(") (string_literal ""Diagnostic pages, followed by abbreviation(s) then page code:"" (" """) (string_content "Diagnostic pages, followed by abbreviation(s) then page code:") (" """)) () ")"))) (; ";")) (if_statement "if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" (if "if") (parenthesized_expression "(PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0)" (( "(") (binary_expression "PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0" (identifier "PTR_s_Supported_Diagnostic_Pages_0002c924") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;\n    puVar5 = &DAT_0002c920;\n    do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);\n  }" ({ "{") (expression_statement "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;" (assignment_expression "puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924" (identifier "puVar2") (= "=") (identifier "PTR_s_Supported_Diagnostic_Pages_0002c924")) (; ";")) (expression_statement "puVar5 = &DAT_0002c920;" (assignment_expression "puVar5 = &DAT_0002c920" (identifier "puVar5") (= "=") (pointer_expression "&DAT_0002c920" (& "&") (identifier "DAT_0002c920"))) (; ";")) (do_statement "do {\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    } while (puVar2 != (undefined *)0x0);" (do "do") (compound_statement "{\n      __printf_chk(1,"    %s  [",puVar2);\n      puVar2 = (undefined *)*puVar5;\n      if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }\n      __printf_chk(1,"] [0x%x]\n",puVar2);\n      puVar2 = (undefined *)puVar5[3];\n      puVar5 = puVar5 + 2;\n    }" ({ "{") (expression_statement "__printf_chk(1,"    %s  [",puVar2);" (call_expression "__printf_chk(1,"    %s  [",puVar2)" (identifier "__printf_chk") (argument_list "(1,"    %s  [",puVar2)" (( "(") (number_literal "1") (, ",") (string_literal ""    %s  ["" (" """) (string_content "    %s  [") (" """)) (, ",") (identifier "puVar2") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" (identifier "puVar2") (= "=") (cast_expression "(undefined *)*puVar5" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (if_statement "if (PTR_DAT_0002c700 != (undefined *)0x0) {\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" (if "if") (parenthesized_expression "(PTR_DAT_0002c700 != (undefined *)0x0)" (( "(") (binary_expression "PTR_DAT_0002c700 != (undefined *)0x0" (identifier "PTR_DAT_0002c700") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        ppuVar4 = &PTR_DAT_0002c700;\n        bVar1 = false;\n        puVar3 = PTR_DAT_0002c700;\n        do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);\n      }" ({ "{") (expression_statement "ppuVar4 = &PTR_DAT_0002c700;" (assignment_expression "ppuVar4 = &PTR_DAT_0002c700" (identifier "ppuVar4") (= "=") (pointer_expression "&PTR_DAT_0002c700" (& "&") (identifier "PTR_DAT_0002c700"))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "puVar3 = PTR_DAT_0002c700;" (assignment_expression "puVar3 = PTR_DAT_0002c700" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0002c700")) (; ";")) (do_statement "do {\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        } while (puVar3 != (undefined *)0x0);" (do "do") (compound_statement "{\n          if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }\n          ppuVar4 = ppuVar4 + 2;\n          puVar3 = *ppuVar4;\n        }" ({ "{") (if_statement "if (ppuVar4[1] == puVar2) {\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" (if "if") (parenthesized_expression "(ppuVar4[1] == puVar2)" (( "(") (binary_expression "ppuVar4[1] == puVar2" (subscript_expression "ppuVar4[1]" (identifier "ppuVar4") ([ "[") (number_literal "1") (] "]")) (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n            puVar2 = &DAT_0001f995;\n            if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }\n            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);\n            puVar2 = (undefined *)*puVar5;\n            bVar1 = true;\n          }" ({ "{") (expression_statement "puVar2 = &DAT_0001f995;" (assignment_expression "puVar2 = &DAT_0001f995" (identifier "puVar2") (= "=") (pointer_expression "&DAT_0001f995" (& "&") (identifier "DAT_0001f995"))) (; ";")) (if_statement "if (bVar1) {\n              puVar2 = &DAT_0001f084;\n            }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n              puVar2 = &DAT_0001f084;\n            }" ({ "{") (expression_statement "puVar2 = &DAT_0001f084;" (assignment_expression "puVar2 = &DAT_0001f084" (identifier "puVar2") (= "=") (pointer_expression "&DAT_0001f084" (& "&") (identifier "DAT_0001f084"))) (; ";")) (} "}"))) (expression_statement "__printf_chk(1,&DAT_0001f086,puVar2,puVar3);" (call_expression "__printf_chk(1,&DAT_0001f086,puVar2,puVar3)" (identifier "__printf_chk") (argument_list "(1,&DAT_0001f086,puVar2,puVar3)" (( "(") (number_literal "1") (, ",") (pointer_expression "&DAT_0001f086" (& "&") (identifier "DAT_0001f086")) (, ",") (identifier "puVar2") (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined *)*puVar5;" (assignment_expression "puVar2 = (undefined *)*puVar5" (identifier "puVar2") (= "=") (cast_expression "(undefined *)*puVar5" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}"))) (expression_statement "ppuVar4 = ppuVar4 + 2;" (assignment_expression "ppuVar4 = ppuVar4 + 2" (identifier "ppuVar4") (= "=") (binary_expression "ppuVar4 + 2" (identifier "ppuVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined *)0x0)" (( "(") (binary_expression "puVar3 != (undefined *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "__printf_chk(1,"] [0x%x]\n",puVar2);" (call_expression "__printf_chk(1,"] [0x%x]\n",puVar2)" (identifier "__printf_chk") (argument_list "(1,"] [0x%x]\n",puVar2)" (( "(") (number_literal "1") (, ",") (string_literal ""] [0x%x]\n"" (" """) (string_content "] [0x%x]") (escape_sequence "\n") (" """)) (, ",") (identifier "puVar2") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined *)puVar5[3];" (assignment_expression "puVar2 = (undefined *)puVar5[3]" (identifier "puVar2") (= "=") (cast_expression "(undefined *)puVar5[3]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "puVar5 = puVar5 + 2;" (assignment_expression "puVar5 = puVar5 + 2" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 2" (identifier "puVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != (undefined *)0x0)" (( "(") (binary_expression "puVar2 != (undefined *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  bool bVar1;
  char *var_5;
  type_1 *puVar3;
  int var_3;
  type_2 *var_4;
  type_3 *var_6;
  
  var_1("Diagnostic pages, followed by abbreviation(s) then page code:");
  if (dpc_arr[0].desc != (char *)0x0) {
    var_5 = dpc_arr[0].desc;
    var_6 = dpc_arr;
    do {
      var_2(1,"    %s  [",var_5);
      var_3 = var_6->page_code;
      if (dp_abbrev[0].abbrev != (char *)0x0) {
        var_4 = dp_abbrev;
        bVar1 = false;
        var_5 = dp_abbrev[0].abbrev;
        do {
          if (var_4->page_code == var_3) {
            puVar3 = &DAT_0001f995;
            if (bVar1) {
              puVar3 = &DAT_0001f084;
            }
            var_2(1,&DAT_0001f086,puVar3,var_5);
            var_3 = var_6->page_code;
            bVar1 = true;
          }
          var_4 = var_4 + 1;
          var_5 = var_4->abbrev;
        } while (var_5 != (char *)0x0);
      }
      var_2(1,"] [0x%x]\n",var_3);
      var_5 = var_6[1].desc;
      var_6 = var_6 + 1;
    } while (var_5 != (char *)0x0);
  }
  return;
}


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

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

void MASKED(void)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined **ppuVar4;
  undefined4 *puVar5;
  
  puts("Diagnostic pages, followed by abbreviation(s) then page code:");
  if (PTR_s_Supported_Diagnostic_Pages_0002c924 != (undefined *)0x0) {
    puVar2 = PTR_s_Supported_Diagnostic_Pages_0002c924;
    puVar5 = &DAT_0002c920;
    do {
      __printf_chk(1,"    %s  [",puVar2);
      puVar2 = (undefined *)*puVar5;
      if (PTR_DAT_0002c700 != (undefined *)0x0) {
        ppuVar4 = &PTR_DAT_0002c700;
        bVar1 = false;
        puVar3 = PTR_DAT_0002c700;
        do {
          if (ppuVar4[1] == puVar2) {
            puVar2 = &DAT_0001f995;
            if (bVar1) {
              puVar2 = &DAT_0001f084;
            }
            __printf_chk(1,&DAT_0001f086,puVar2,puVar3);
            puVar2 = (undefined *)*puVar5;
            bVar1 = true;
          }
          ppuVar4 = ppuVar4 + 2;
          puVar3 = *ppuVar4;
        } while (puVar3 != (undefined *)0x0);
      }
      __printf_chk(1,"] [0x%x]\n",puVar2);
      puVar2 = (undefined *)puVar5[3];
      puVar5 = puVar5 + 2;
    } while (puVar2 != (undefined *)0x0);
  }
  return;
}

