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

void xmalloc_failed(size_t size)

{
  void *pvVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar3 = first_break;
  if (first_break == (char *)0x0) {
    pvVar1 = sbrk(0);
    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;
  }
  else {
    pvVar1 = sbrk(0);
    iVar2 = (int)pvVar1 - (int)pcVar3;
  }
  pcVar3 = ": ";
  if (*name == '\0') {
    pcVar3 = "";
  }
  fprintf(*(FILE **)PTR_stderr_00018fdc,
          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,
          iVar2);
                    /* WARNING: Subroutine does not return */
  xexit(1);
}



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

void FUN_00014470(void)

{
  void *pvVar1;
  int iVar2;
  char *pcVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int aiStack_30 [5];
  undefined4 uStack_c;
  
  iVar2 = DAT_00019290;
  uStack_c = 0x14477;
  puVar5 = (undefined1 *)&stack0xfffffff4;
  if (DAT_00019290 == 0) goto LAB_000144d9;
  pvVar1 = sbrk(0);
  iVar2 = (int)pvVar1 - iVar2;
  puVar4 = (undefined1 *)&stack0xfffffff4;
  do {
    pcVar3 = ": ";
    if (*PTR_s__00019194 == '\0') {
      pcVar3 = "";
    }
    *(int *)(puVar4 + -0xc) = iVar2;
    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);
    *(char **)(puVar4 + -0x14) = pcVar3;
    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;
    *(char **)(puVar4 + -0x1c) =
         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";
    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;
    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;
    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));
    puVar5 = puVar4 + -0x10;
    *(undefined4 *)(puVar4 + -0x10) = 1;
    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;
    FUN_000143f0();
LAB_000144d9:
    *(undefined4 *)(puVar5 + -0x10) = 0;
    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;
    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));
    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;
    puVar4 = puVar5;
  } while( true );
}


PUSH ESI
PUSH EBX
CALL 0x000117c0
ADD EBX,0x4b89
SUB ESP,0x4
MOV ESI,dword ptr [EBX + 0x290]
TEST ESI,ESI
JZ 0x000144d9
SUB ESP,0xc
PUSH 0x0
CALL 0x00011240
ADD ESP,0x10
SUB EAX,ESI
MOV ECX,dword ptr [EBX + 0x194]
LEA EDX,[EBX + 0xffffc941]
LEA ESI,[EBX + 0xffffc53a]
CMP byte ptr [ECX],0x0
CMOVZ EDX,ESI
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffffd320]
PUSH dword ptr [ESP + 0x1c]
PUSH EDX
PUSH ECX
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffdc]
PUSH dword ptr [EAX]
CALL 0x000111c0
ADD ESP,0x14
PUSH 0x1
CALL 0x000143f0
SUB ESP,0xc
PUSH 0x0
CALL 0x00011240
ADD ESP,0x10
SUB EAX,dword ptr [EBX + 0xfffffff8]
JMP 0x00014499
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00014470(void)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}\n\n" comment (function_definition "void FUN_00014470(void)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00014470(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int aiStack_30 [5];" primitive_type (array_declarator "aiStack_30 [5]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "iVar2 = DAT_00019290;" (assignment_expression "iVar2 = DAT_00019290" identifier = identifier) ;) (expression_statement "uStack_c = 0x14477;" (assignment_expression "uStack_c = 0x14477" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar5 = (undefined1 *)&stack0xfffffff4" identifier = (cast_expression "(undefined1 *)&stack0xfffffff4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xfffffff4" & identifier))) ;) (if_statement "if (DAT_00019290 == 0) goto LAB_000144d9;" if (parenthesized_expression "(DAT_00019290 == 0)" ( (binary_expression "DAT_00019290 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000144d9;" goto statement_identifier ;)) (expression_statement "pvVar1 = sbrk(0);" (assignment_expression "pvVar1 = sbrk(0)" identifier = (call_expression "sbrk(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "iVar2 = (int)pvVar1 - iVar2;" (assignment_expression "iVar2 = (int)pvVar1 - iVar2" identifier = (binary_expression "(int)pvVar1 - iVar2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) (expression_statement "puVar4 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar4 = (undefined1 *)&stack0xfffffff4" identifier = (cast_expression "(undefined1 *)&stack0xfffffff4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xfffffff4" & identifier))) ;) (do_statement "do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );" do (compound_statement "{\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  }" { (expression_statement "pcVar3 = ": ";" (assignment_expression "pcVar3 = ": "" identifier = (string_literal "": "" " string_content ")) ;) (if_statement "if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }" if (parenthesized_expression "(*PTR_s__00019194 == '\0')" ( (binary_expression "*PTR_s__00019194 == '\0'" (pointer_expression "*PTR_s__00019194" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar3 = "";\n    }" { (expression_statement "pcVar3 = "";" (assignment_expression "pcVar3 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "*(int *)(puVar4 + -0xc) = iVar2;" (assignment_expression "*(int *)(puVar4 + -0xc) = iVar2" (pointer_expression "*(int *)(puVar4 + -0xc)" * (cast_expression "(int *)(puVar4 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10)" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar4 + 0x10)" * (cast_expression "(undefined4 *)(puVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x10)" ( (binary_expression "puVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(puVar4 + -0x14) = pcVar3;" (assignment_expression "*(char **)(puVar4 + -0x14) = pcVar3" (pointer_expression "*(char **)(puVar4 + -0x14)" * (cast_expression "(char **)(puVar4 + -0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194;" (assignment_expression "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194" (pointer_expression "*(undefined **)(puVar4 + -0x18)" * (cast_expression "(undefined **)(puVar4 + -0x18)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";" (assignment_expression "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" (pointer_expression "*(char **)(puVar4 + -0x1c)" * (cast_expression "(char **)(puVar4 + -0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) = (string_literal ""\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" " escape_sequence string_content escape_sequence ")) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" * (cast_expression "(undefined4 *)(puVar4 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stderr_00018fdc" * (cast_expression "(undefined4 *)PTR_stderr_00018fdc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x144cf;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x144cf" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" * (cast_expression "(undefined4 *)(puVar4 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x24)" ( (binary_expression "puVar4 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));" (call_expression "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" identifier (argument_list "(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" ( (pointer_expression "*(FILE **)(puVar4 + -0x20)" * (cast_expression "(FILE **)(puVar4 + -0x20)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar4 + -0x1c)" * (cast_expression "(char **)(puVar4 + -0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "puVar5 = puVar4 + -0x10;" (assignment_expression "puVar5 = puVar4 + -0x10" identifier = (binary_expression "puVar4 + -0x10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x144d9;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x144d9" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000143f0();" (call_expression "FUN_000143f0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(puVar5 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar5 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar5 + -0x10)" * (cast_expression "(undefined4 *)(puVar5 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x144e3;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x144e3" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));" (assignment_expression "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10))" identifier = (call_expression "sbrk(*(intptr_t *)(puVar5 + -0x10))" identifier (argument_list "(*(intptr_t *)(puVar5 + -0x10))" ( (pointer_expression "*(intptr_t *)(puVar5 + -0x10)" * (cast_expression "(intptr_t *)(puVar5 + -0x10)" ( (type_descriptor "intptr_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) )))) ;) (expression_statement "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;" (assignment_expression "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8" identifier = (binary_expression "(int)pvVar1 - (int)PTR_environ_00018ff8" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)PTR_environ_00018ff8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid xmalloc_failed(size_t size)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = first_break;\n  if (first_break == (char *)0x0) {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n  }\n  else {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }\n  pcVar3 = ": ";\n  if (*name == '\0') {\n    pcVar3 = "";\n  }\n  fprintf(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}\n\n" comment comment (function_definition "void xmalloc_failed(size_t size)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = first_break;\n  if (first_break == (char *)0x0) {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n  }\n  else {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }\n  pcVar3 = ": ";\n  if (*name == '\0') {\n    pcVar3 = "";\n  }\n  fprintf(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}" primitive_type (function_declarator "xmalloc_failed(size_t size)" identifier (parameter_list "(size_t size)" ( (parameter_declaration "size_t size" primitive_type identifier) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = first_break;\n  if (first_break == (char *)0x0) {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n  }\n  else {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }\n  pcVar3 = ": ";\n  if (*name == '\0') {\n    pcVar3 = "";\n  }\n  fprintf(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar3 = first_break;" (assignment_expression "pcVar3 = first_break" identifier = identifier) ;) (if_statement "if (first_break == (char *)0x0) {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n  }\n  else {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }" if (parenthesized_expression "(first_break == (char *)0x0)" ( (binary_expression "first_break == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n  }" { (expression_statement "pvVar1 = sbrk(0);" (assignment_expression "pvVar1 = sbrk(0)" identifier = (call_expression "sbrk(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;" (assignment_expression "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8" identifier = (binary_expression "(int)pvVar1 - (int)PTR_environ_00018ff8" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)PTR_environ_00018ff8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }" else (compound_statement "{\n    pvVar1 = sbrk(0);\n    iVar2 = (int)pvVar1 - (int)pcVar3;\n  }" { (expression_statement "pvVar1 = sbrk(0);" (assignment_expression "pvVar1 = sbrk(0)" identifier = (call_expression "sbrk(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "iVar2 = (int)pvVar1 - (int)pcVar3;" (assignment_expression "iVar2 = (int)pvVar1 - (int)pcVar3" identifier = (binary_expression "(int)pvVar1 - (int)pcVar3" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "pcVar3 = ": ";" (assignment_expression "pcVar3 = ": "" identifier = (string_literal "": "" " string_content ")) ;) (if_statement "if (*name == '\0') {\n    pcVar3 = "";\n  }" if (parenthesized_expression "(*name == '\0')" ( (binary_expression "*name == '\0'" (pointer_expression "*name" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = "";\n  }" { (expression_statement "pcVar3 = "";" (assignment_expression "pcVar3 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "fprintf(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2);" (call_expression "fprintf(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2)" identifier (argument_list "(*(FILE **)PTR_stderr_00018fdc,\n          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,\n          iVar2)" ( (pointer_expression "*(FILE **)PTR_stderr_00018fdc" * (cast_expression "(FILE **)PTR_stderr_00018fdc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" " escape_sequence string_content escape_sequence ") , identifier , identifier , identifier , identifier ))) ;) comment (expression_statement "xexit(1);" (call_expression "xexit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_00014470(void)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}\n\n" (function_definition "void FUN_00014470(void)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00014470(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int aiStack_30 [5];" primitive_type (array_declarator "aiStack_30 [5]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "iVar2 = DAT_00019290;" (assignment_expression "iVar2 = DAT_00019290" identifier = identifier) ;) (expression_statement "uStack_c = 0x14477;" (assignment_expression "uStack_c = 0x14477" identifier = number_literal) ;) (expression_statement "puVar5 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar5 = (undefined1 *)&stack0xfffffff4" identifier = (cast_expression "(undefined1 *)&stack0xfffffff4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xfffffff4" & identifier))) ;) (if_statement "if (DAT_00019290 == 0) goto LAB_000144d9;" if (parenthesized_expression "(DAT_00019290 == 0)" ( (binary_expression "DAT_00019290 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000144d9;" goto statement_identifier ;)) (expression_statement "pvVar1 = sbrk(0);" (assignment_expression "pvVar1 = sbrk(0)" identifier = (call_expression "sbrk(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "iVar2 = (int)pvVar1 - iVar2;" (assignment_expression "iVar2 = (int)pvVar1 - iVar2" identifier = (binary_expression "(int)pvVar1 - iVar2" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) (expression_statement "puVar4 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar4 = (undefined1 *)&stack0xfffffff4" identifier = (cast_expression "(undefined1 *)&stack0xfffffff4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xfffffff4" & identifier))) ;) (do_statement "do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );" do (compound_statement "{\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  }" { (expression_statement "pcVar3 = ": ";" (assignment_expression "pcVar3 = ": "" identifier = (string_literal "": "" " string_content ")) ;) (if_statement "if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }" if (parenthesized_expression "(*PTR_s__00019194 == '\0')" ( (binary_expression "*PTR_s__00019194 == '\0'" (pointer_expression "*PTR_s__00019194" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar3 = "";\n    }" { (expression_statement "pcVar3 = "";" (assignment_expression "pcVar3 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "*(int *)(puVar4 + -0xc) = iVar2;" (assignment_expression "*(int *)(puVar4 + -0xc) = iVar2" (pointer_expression "*(int *)(puVar4 + -0xc)" * (cast_expression "(int *)(puVar4 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10)" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar4 + 0x10)" * (cast_expression "(undefined4 *)(puVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x10)" ( (binary_expression "puVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(puVar4 + -0x14) = pcVar3;" (assignment_expression "*(char **)(puVar4 + -0x14) = pcVar3" (pointer_expression "*(char **)(puVar4 + -0x14)" * (cast_expression "(char **)(puVar4 + -0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194;" (assignment_expression "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194" (pointer_expression "*(undefined **)(puVar4 + -0x18)" * (cast_expression "(undefined **)(puVar4 + -0x18)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";" (assignment_expression "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" (pointer_expression "*(char **)(puVar4 + -0x1c)" * (cast_expression "(char **)(puVar4 + -0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) = (string_literal ""\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" " escape_sequence string_content escape_sequence ")) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" * (cast_expression "(undefined4 *)(puVar4 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stderr_00018fdc" * (cast_expression "(undefined4 *)PTR_stderr_00018fdc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x144cf;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x144cf" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" * (cast_expression "(undefined4 *)(puVar4 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x24)" ( (binary_expression "puVar4 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));" (call_expression "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" identifier (argument_list "(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" ( (pointer_expression "*(FILE **)(puVar4 + -0x20)" * (cast_expression "(FILE **)(puVar4 + -0x20)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar4 + -0x1c)" * (cast_expression "(char **)(puVar4 + -0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "puVar5 = puVar4 + -0x10;" (assignment_expression "puVar5 = puVar4 + -0x10" identifier = (binary_expression "puVar4 + -0x10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x144d9;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x144d9" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000143f0();" (call_expression "FUN_000143f0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(puVar5 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar5 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar5 + -0x10)" * (cast_expression "(undefined4 *)(puVar5 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x144e3;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x144e3" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));" (assignment_expression "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10))" identifier = (call_expression "sbrk(*(intptr_t *)(puVar5 + -0x10))" identifier (argument_list "(*(intptr_t *)(puVar5 + -0x10))" ( (pointer_expression "*(intptr_t *)(puVar5 + -0x10)" * (cast_expression "(intptr_t *)(puVar5 + -0x10)" ( (type_descriptor "intptr_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) )))) ;) (expression_statement "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;" (assignment_expression "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8" identifier = (binary_expression "(int)pvVar1 - (int)PTR_environ_00018ff8" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)PTR_environ_00018ff8" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (string_literal " escape_sequence string_content escape_sequence ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00014470(void)\n\n{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00014470(void)" (identifier "FUN_00014470") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int aiStack_30 [5];\n  undefined4 uStack_c;\n  \n  iVar2 = DAT_00019290;\n  uStack_c = 0x14477;\n  puVar5 = (undefined1 *)&stack0xfffffff4;\n  if (DAT_00019290 == 0) goto LAB_000144d9;\n  pvVar1 = sbrk(0);\n  iVar2 = (int)pvVar1 - iVar2;\n  puVar4 = (undefined1 *)&stack0xfffffff4;\n  do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );\n}" ({ "{") (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int aiStack_30 [5];" (primitive_type "int") (array_declarator "aiStack_30 [5]" (identifier "aiStack_30") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "iVar2 = DAT_00019290;" (assignment_expression "iVar2 = DAT_00019290" (identifier "iVar2") (= "=") (identifier "DAT_00019290")) (; ";")) (expression_statement "uStack_c = 0x14477;" (assignment_expression "uStack_c = 0x14477" (identifier "uStack_c") (= "=") (number_literal "0x14477")) (; ";")) (expression_statement "puVar5 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar5 = (undefined1 *)&stack0xfffffff4" (identifier "puVar5") (= "=") (cast_expression "(undefined1 *)&stack0xfffffff4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0xfffffff4" (& "&") (identifier "stack0xfffffff4")))) (; ";")) (if_statement "if (DAT_00019290 == 0) goto LAB_000144d9;" (if "if") (parenthesized_expression "(DAT_00019290 == 0)" (( "(") (binary_expression "DAT_00019290 == 0" (identifier "DAT_00019290") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000144d9;" (goto "goto") (statement_identifier "LAB_000144d9") (; ";"))) (expression_statement "pvVar1 = sbrk(0);" (assignment_expression "pvVar1 = sbrk(0)" (identifier "pvVar1") (= "=") (call_expression "sbrk(0)" (identifier "sbrk") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar2 = (int)pvVar1 - iVar2;" (assignment_expression "iVar2 = (int)pvVar1 - iVar2" (identifier "iVar2") (= "=") (binary_expression "(int)pvVar1 - iVar2" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (identifier "iVar2"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)&stack0xfffffff4;" (assignment_expression "puVar4 = (undefined1 *)&stack0xfffffff4" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)&stack0xfffffff4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0xfffffff4" (& "&") (identifier "stack0xfffffff4")))) (; ";")) (do_statement "do {\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  } while( true );" (do "do") (compound_statement "{\n    pcVar3 = ": ";\n    if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }\n    *(int *)(puVar4 + -0xc) = iVar2;\n    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);\n    *(char **)(puVar4 + -0x14) = pcVar3;\n    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;\n    *(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";\n    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;\n    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;\n    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));\n    puVar5 = puVar4 + -0x10;\n    *(undefined4 *)(puVar4 + -0x10) = 1;\n    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;\n    FUN_000143f0();\nLAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;\n    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;\n    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));\n    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;\n    puVar4 = puVar5;\n  }" ({ "{") (expression_statement "pcVar3 = ": ";" (assignment_expression "pcVar3 = ": "" (identifier "pcVar3") (= "=") (string_literal "": "" (" """) (string_content ": ") (" """))) (; ";")) (if_statement "if (*PTR_s__00019194 == '\0') {\n      pcVar3 = "";\n    }" (if "if") (parenthesized_expression "(*PTR_s__00019194 == '\0')" (( "(") (binary_expression "*PTR_s__00019194 == '\0'" (pointer_expression "*PTR_s__00019194" (* "*") (identifier "PTR_s__00019194")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar3 = "";\n    }" ({ "{") (expression_statement "pcVar3 = "";" (assignment_expression "pcVar3 = """ (identifier "pcVar3") (= "=") (string_literal """" (" """) (" """))) (; ";")) (} "}"))) (expression_statement "*(int *)(puVar4 + -0xc) = iVar2;" (assignment_expression "*(int *)(puVar4 + -0xc) = iVar2" (pointer_expression "*(int *)(puVar4 + -0xc)" (* "*") (cast_expression "(int *)(puVar4 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10)" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x10)" (( "(") (binary_expression "puVar4 + -0x10" (identifier "puVar4") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(puVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x10)" (( "(") (binary_expression "puVar4 + 0x10" (identifier "puVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(char **)(puVar4 + -0x14) = pcVar3;" (assignment_expression "*(char **)(puVar4 + -0x14) = pcVar3" (pointer_expression "*(char **)(puVar4 + -0x14)" (* "*") (cast_expression "(char **)(puVar4 + -0x14)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "pcVar3")) (; ";")) (expression_statement "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194;" (assignment_expression "*(undefined **)(puVar4 + -0x18) = PTR_s__00019194" (pointer_expression "*(undefined **)(puVar4 + -0x18)" (* "*") (cast_expression "(undefined **)(puVar4 + -0x18)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x18)" (( "(") (binary_expression "puVar4 + -0x18" (identifier "puVar4") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "PTR_s__00019194")) (; ";")) (expression_statement "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";" (assignment_expression "*(char **)(puVar4 + -0x1c) =\n         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" (pointer_expression "*(char **)(puVar4 + -0x1c)" (* "*") (cast_expression "(char **)(puVar4 + -0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x1c)" (( "(") (binary_expression "puVar4 + -0x1c" (identifier "puVar4") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (string_literal ""\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n"" (" """) (escape_sequence "\n") (string_content "%s%sout of memory allocating %lu bytes after a total of %lu bytes") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x20)" (( "(") (binary_expression "puVar4 + -0x20" (identifier "puVar4") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00018fdc" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00018fdc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00018fdc")))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x144cf;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x144cf" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x24)" (( "(") (binary_expression "puVar4 + -0x24" (identifier "puVar4") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x144cf")) (; ";")) (expression_statement "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));" (call_expression "fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" (identifier "fprintf") (argument_list "(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c))" (( "(") (pointer_expression "*(FILE **)(puVar4 + -0x20)" (* "*") (cast_expression "(FILE **)(puVar4 + -0x20)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x20)" (( "(") (binary_expression "puVar4 + -0x20" (identifier "puVar4") (+ "+") (number_literal "-0x20")) () ")")))) (, ",") (pointer_expression "*(char **)(puVar4 + -0x1c)" (* "*") (cast_expression "(char **)(puVar4 + -0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x1c)" (( "(") (binary_expression "puVar4 + -0x1c" (identifier "puVar4") (+ "+") (number_literal "-0x1c")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar5 = puVar4 + -0x10;" (assignment_expression "puVar5 = puVar4 + -0x10" (identifier "puVar5") (= "=") (binary_expression "puVar4 + -0x10" (identifier "puVar4") (+ "+") (number_literal "-0x10"))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x10)" (( "(") (binary_expression "puVar4 + -0x10" (identifier "puVar4") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x144d9;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x144d9" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x144d9")) (; ";")) (expression_statement "FUN_000143f0();" (call_expression "FUN_000143f0()" (identifier "FUN_000143f0") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000144d9:\n    *(undefined4 *)(puVar5 + -0x10) = 0;" (statement_identifier "LAB_000144d9") (: ":") (expression_statement "*(undefined4 *)(puVar5 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar5 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar5 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0x10)" (( "(") (binary_expression "puVar5 + -0x10" (identifier "puVar5") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x144e3;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x144e3" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0x14)" (( "(") (binary_expression "puVar5 + -0x14" (identifier "puVar5") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x144e3")) (; ";")) (expression_statement "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));" (assignment_expression "pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10))" (identifier "pvVar1") (= "=") (call_expression "sbrk(*(intptr_t *)(puVar5 + -0x10))" (identifier "sbrk") (argument_list "(*(intptr_t *)(puVar5 + -0x10))" (( "(") (pointer_expression "*(intptr_t *)(puVar5 + -0x10)" (* "*") (cast_expression "(intptr_t *)(puVar5 + -0x10)" (( "(") (type_descriptor "intptr_t *" (primitive_type "intptr_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0x10)" (( "(") (binary_expression "puVar5 + -0x10" (identifier "puVar5") (+ "+") (number_literal "-0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;" (assignment_expression "iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8" (identifier "iVar2") (= "=") (binary_expression "(int)pvVar1 - (int)PTR_environ_00018ff8" (cast_expression "(int)pvVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar1")) (- "-") (cast_expression "(int)PTR_environ_00018ff8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "PTR_environ_00018ff8")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

void function_1(size_t size)

{
  void *pvVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar3 = var_1;
  if (var_1 == (char *)0x0) {
    pvVar1 = var_2(0);
    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;
  }
  else {
    pvVar1 = var_2(0);
    iVar2 = (int)pvVar1 - (int)pcVar3;
  }
  pcVar3 = ": ";
  if (*name == '\0') {
    pcVar3 = "";
  }
  var_3(*(type_1 **)PTR_stderr_00018fdc,
          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",name,pcVar3,size,
          iVar2);
                    /* WARNING: Subroutine does not return */
  var_4(1);
}


(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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (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))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (string_literal (escape_sequence) (string_content) (escape_sequence)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (true))))))

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

void MASKED(void)

{
  void *pvVar1;
  int iVar2;
  char *pcVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int aiStack_30 [5];
  undefined4 uStack_c;
  
  iVar2 = DAT_00019290;
  uStack_c = 0x14477;
  puVar5 = (undefined1 *)&stack0xfffffff4;
  if (DAT_00019290 == 0) goto LAB_000144d9;
  pvVar1 = sbrk(0);
  iVar2 = (int)pvVar1 - iVar2;
  puVar4 = (undefined1 *)&stack0xfffffff4;
  do {
    pcVar3 = ": ";
    if (*PTR_s__00019194 == '\0') {
      pcVar3 = "";
    }
    *(int *)(puVar4 + -0xc) = iVar2;
    *(undefined4 *)(puVar4 + -0x10) = *(undefined4 *)(puVar4 + 0x10);
    *(char **)(puVar4 + -0x14) = pcVar3;
    *(undefined **)(puVar4 + -0x18) = PTR_s__00019194;
    *(char **)(puVar4 + -0x1c) =
         "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n";
    *(undefined4 *)(puVar4 + -0x20) = *(undefined4 *)PTR_stderr_00018fdc;
    *(undefined4 *)(puVar4 + -0x24) = 0x144cf;
    fprintf(*(FILE **)(puVar4 + -0x20),*(char **)(puVar4 + -0x1c));
    puVar5 = puVar4 + -0x10;
    *(undefined4 *)(puVar4 + -0x10) = 1;
    *(undefined4 *)(puVar4 + -0x14) = 0x144d9;
    FUN_000143f0();
LAB_000144d9:
    *(undefined4 *)(puVar5 + -0x10) = 0;
    *(undefined4 *)(puVar5 + -0x14) = 0x144e3;
    pvVar1 = sbrk(*(intptr_t *)(puVar5 + -0x10));
    iVar2 = (int)pvVar1 - (int)PTR_environ_00018ff8;
    puVar4 = puVar5;
  } while( true );
}

