
void * start_stab(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)

{
  undefined8 *puVar1;
  undefined8 *puVar2;
  ulong uVar3;
  byte bVar4;
  
  bVar4 = 0;
  puVar1 = (undefined8 *)xmalloc(0x1b0);
  puVar1[0x35] = 0;
  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))
                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;
  }
  *puVar1 = abfd;
  *(bfd_boolean *)(puVar1 + 1) = sections;
  puVar1[2] = syms;
  puVar1[3] = symcount;
  *(undefined4 *)(puVar1 + 0x10) = 1;
  puVar2 = (undefined8 *)xmalloc(8);
  puVar1[0xd] = 0xffffffffffffffff;
  *puVar2 = 0;
  puVar1[0x11] = puVar2;
  return puVar1;
}



undefined8 *
FUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
            undefined8 param_5)

{
  undefined8 *puVar1;
  undefined8 *puVar2;
  ulong uVar3;
  byte bVar4;
  
  bVar4 = 0;
  puVar1 = (undefined8 *)xmalloc(0x1b0);
  puVar1[0x35] = 0;
  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))
                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;
  }
  *puVar1 = param_2;
  *(undefined4 *)(puVar1 + 1) = param_3;
  puVar1[2] = param_4;
  puVar1[3] = param_5;
  *(undefined4 *)(puVar1 + 0x10) = 1;
  puVar2 = (undefined8 *)xmalloc(8);
  puVar1[0xd] = 0xffffffffffffffff;
  *puVar2 = 0;
  puVar1[0x11] = puVar2;
  return puVar1;
}


PUSH R14
MOV EDI,0x1b0
MOV R14,RSI
PUSH R13
MOV R13D,EDX
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,R8
PUSH RBX
CALL 0x00104370
LEA RDI,[RAX + 0x8]
MOV RCX,RAX
MOV RBX,RAX
MOV qword ptr [RAX + 0x1a8],0x0
AND RDI,-0x8
XOR EAX,EAX
SUB RCX,RDI
ADD ECX,0x1b0
SHR ECX,0x3
STOSQ.REP RDI
MOV EDI,0x8
MOV qword ptr [RBX],R14
MOV dword ptr [RBX + 0x8],R13D
MOV qword ptr [RBX + 0x10],R12
MOV qword ptr [RBX + 0x18],RBP
MOV dword ptr [RBX + 0x80],0x1
CALL 0x00104370
MOV qword ptr [RBX + 0x68],-0x1
MOV qword ptr [RAX],0x0
MOV qword ptr [RBX + 0x88],RAX
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "undefined8 *\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}\n\n" (function_definition "undefined8 *\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "*\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" * (function_declarator "FUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x1b0);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x1b0)" identifier = (cast_expression "(undefined8 *)xmalloc(0x1b0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x1b0)" identifier (argument_list "(0x1b0)" ( number_literal ))))) ;) (expression_statement "puVar1[0x35] = 0;" (assignment_expression "puVar1[0x35] = 0" (subscript_expression "puVar1[0x35]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" for ( (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1" identifier = (binary_expression "puVar2 + (ulong)bVar4 * -2 + 1" (binary_expression "puVar2 + (ulong)bVar4 * -2" identifier + (binary_expression "(ulong)bVar4 * -2" (cast_expression "(ulong)bVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + 1) = param_3;" (assignment_expression "*(undefined4 *)(puVar1 + 1) = param_3" (pointer_expression "*(undefined4 *)(puVar1 + 1)" * (cast_expression "(undefined4 *)(puVar1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = param_5;" (assignment_expression "puVar1[3] = param_5" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x10) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x10)" * (cast_expression "(undefined4 *)(puVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x10)" ( (binary_expression "puVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)xmalloc(8);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(8)" identifier = (cast_expression "(undefined8 *)xmalloc(8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[0xd] = 0xffffffffffffffff;" (assignment_expression "puVar1[0xd] = 0xffffffffffffffff" (subscript_expression "puVar1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar1[0x11] = puVar2;" (assignment_expression "puVar1[0x11] = puVar2" (subscript_expression "puVar1[0x11]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "void * start_stab(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = abfd;\n  *(bfd_boolean *)(puVar1 + 1) = sections;\n  puVar1[2] = syms;\n  puVar1[3] = symcount;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}\n\n" (function_definition "void * start_stab(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = abfd;\n  *(bfd_boolean *)(puVar1 + 1) = sections;\n  puVar1[2] = syms;\n  puVar1[3] = symcount;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" primitive_type (pointer_declarator "* start_stab(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)" * (function_declarator "start_stab(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)" identifier (parameter_list "(void *dhandle,bfd *abfd,bfd_boolean sections,asymbol **syms,long symcount)" ( (parameter_declaration "void *dhandle" primitive_type (pointer_declarator "*dhandle" * identifier)) , (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "bfd_boolean sections" type_identifier identifier) , (parameter_declaration "asymbol **syms" type_identifier (pointer_declarator "**syms" * (pointer_declarator "*syms" * identifier))) , (parameter_declaration "long symcount" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = abfd;\n  *(bfd_boolean *)(puVar1 + 1) = sections;\n  puVar1[2] = syms;\n  puVar1[3] = symcount;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x1b0);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x1b0)" identifier = (cast_expression "(undefined8 *)xmalloc(0x1b0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x1b0)" identifier (argument_list "(0x1b0)" ( number_literal ))))) ;) (expression_statement "puVar1[0x35] = 0;" (assignment_expression "puVar1[0x35] = 0" (subscript_expression "puVar1[0x35]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" for ( (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1" identifier = (binary_expression "puVar2 + (ulong)bVar4 * -2 + 1" (binary_expression "puVar2 + (ulong)bVar4 * -2" identifier + (binary_expression "(ulong)bVar4 * -2" (cast_expression "(ulong)bVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*puVar1 = abfd;" (assignment_expression "*puVar1 = abfd" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(bfd_boolean *)(puVar1 + 1) = sections;" (assignment_expression "*(bfd_boolean *)(puVar1 + 1) = sections" (pointer_expression "*(bfd_boolean *)(puVar1 + 1)" * (cast_expression "(bfd_boolean *)(puVar1 + 1)" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[2] = syms;" (assignment_expression "puVar1[2] = syms" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = symcount;" (assignment_expression "puVar1[3] = symcount" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x10) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x10)" * (cast_expression "(undefined4 *)(puVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x10)" ( (binary_expression "puVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)xmalloc(8);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(8)" identifier = (cast_expression "(undefined8 *)xmalloc(8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[0xd] = 0xffffffffffffffff;" (assignment_expression "puVar1[0xd] = 0xffffffffffffffff" (subscript_expression "puVar1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar1[0x11] = puVar2;" (assignment_expression "puVar1[0x11] = puVar2" (subscript_expression "puVar1[0x11]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "undefined8 *\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}\n\n" (function_definition "undefined8 *\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "*\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" * (function_declarator "FUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x1b0);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x1b0)" identifier = (cast_expression "(undefined8 *)xmalloc(0x1b0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x1b0)" identifier (argument_list "(0x1b0)" ( number_literal ))))) ;) (expression_statement "puVar1[0x35] = 0;" (assignment_expression "puVar1[0x35] = 0" (subscript_expression "puVar1[0x35]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" for ( (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1" identifier = (binary_expression "puVar2 + (ulong)bVar4 * -2 + 1" (binary_expression "puVar2 + (ulong)bVar4 * -2" identifier + (binary_expression "(ulong)bVar4 * -2" (cast_expression "(ulong)bVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + 1) = param_3;" (assignment_expression "*(undefined4 *)(puVar1 + 1) = param_3" (pointer_expression "*(undefined4 *)(puVar1 + 1)" * (cast_expression "(undefined4 *)(puVar1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = param_5;" (assignment_expression "puVar1[3] = param_5" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x10) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x10)" * (cast_expression "(undefined4 *)(puVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x10)" ( (binary_expression "puVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)xmalloc(8);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(8)" identifier = (cast_expression "(undefined8 *)xmalloc(8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[0xd] = 0xffffffffffffffff;" (assignment_expression "puVar1[0xd] = 0xffffffffffffffff" (subscript_expression "puVar1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar1[0x11] = puVar2;" (assignment_expression "puVar1[0x11] = puVar2" (subscript_expression "puVar1[0x11]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) )) + LIT) >> LIT) )))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 *\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)\n\n{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" (type_identifier "undefined8") (pointer_declarator "*\nFUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" (* "*") (function_declarator "FUN_00115da0(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" (identifier "FUN_00115da0") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n            undefined8 param_5)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *puVar2;\n  ulong uVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar1 = (undefined8 *)xmalloc(0x1b0);\n  puVar1[0x35] = 0;\n  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }\n  *puVar1 = param_2;\n  *(undefined4 *)(puVar1 + 1) = param_3;\n  puVar1[2] = param_4;\n  puVar1[3] = param_5;\n  *(undefined4 *)(puVar1 + 0x10) = 1;\n  puVar2 = (undefined8 *)xmalloc(8);\n  puVar1[0xd] = 0xffffffffffffffff;\n  *puVar2 = 0;\n  puVar1[0x11] = puVar2;\n  return puVar1;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x1b0);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x1b0)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)xmalloc(0x1b0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x1b0)" (identifier "xmalloc") (argument_list "(0x1b0)" (( "(") (number_literal "0x1b0") () ")"))))) (; ";")) (expression_statement "puVar1[0x35] = 0;" (assignment_expression "puVar1[0x35] = 0" (subscript_expression "puVar1[0x35]" (identifier "puVar1") ([ "[") (number_literal "0x35") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")")))) (; ";")) (for_statement "for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (identifier "uVar3") (= "=") (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3)" (( "(") (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                       + 0x1b0U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" (( "(") (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")"))))) () ")")) (+ "+") (number_literal "0x1b0U")) (>> ">>") (number_literal "3")) () ")")))) (; ";") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (ulong)bVar4 * -2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + (ulong)bVar4 * -2 + 1" (binary_expression "puVar2 + (ulong)bVar4 * -2" (identifier "puVar2") (+ "+") (binary_expression "(ulong)bVar4 * -2" (cast_expression "(ulong)bVar4" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar4")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 1) = param_3;" (assignment_expression "*(undefined4 *)(puVar1 + 1) = param_3" (pointer_expression "*(undefined4 *)(puVar1 + 1)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar1[3] = param_5;" (assignment_expression "puVar1[3] = param_5" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x10) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x10)" (( "(") (binary_expression "puVar1 + 0x10" (identifier "puVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar2 = (undefined8 *)xmalloc(8);" (assignment_expression "puVar2 = (undefined8 *)xmalloc(8)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)xmalloc(8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(8)" (identifier "xmalloc") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar1[0xd] = 0xffffffffffffffff;" (assignment_expression "puVar1[0xd] = 0xffffffffffffffff" (subscript_expression "puVar1[0xd]" (identifier "puVar1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0x11] = puVar2;" (assignment_expression "puVar1[0x11] = puVar2" (subscript_expression "puVar1[0x11]" (identifier "puVar1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (identifier "puVar2")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

void * function_1(void *dhandle,type_1 *abfd,type_2 sections,type_3 **syms,long symcount)

{
  type_4 *var_2;
  type_4 *var_4;
  type_5 var_3;
  type_6 bVar4;
  
  bVar4 = 0;
  var_2 = (type_4 *)var_1(0x1b0);
  var_2[0x35] = 0;
  var_4 = (type_4 *)((type_5)(var_2 + 1) & 0xfffffffffffffff8);
  for (var_3 = (type_5)(((int)var_2 - (int)(type_4 *)((type_5)(var_2 + 1) & 0xfffffffffffffff8))
                       + 0x1b0U >> 3); var_3 != 0; var_3 = var_3 - 1) {
    *var_4 = 0;
    var_4 = var_4 + (type_5)bVar4 * -2 + 1;
  }
  *var_2 = abfd;
  *(type_2 *)(var_2 + 1) = sections;
  var_2[2] = syms;
  var_2[3] = symcount;
  *(type_7 *)(var_2 + 0x10) = 1;
  var_4 = (type_4 *)var_1(8);
  var_2[0xd] = 0xffffffffffffffff;
  *var_4 = 0;
  var_2[0x11] = var_4;
  return var_2;
}


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

undefined8 *
MASKED(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
            undefined8 param_5)

{
  undefined8 *puVar1;
  undefined8 *puVar2;
  ulong uVar3;
  byte bVar4;
  
  bVar4 = 0;
  puVar1 = (undefined8 *)xmalloc(0x1b0);
  puVar1[0x35] = 0;
  puVar2 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
  for (uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))
                       + 0x1b0U >> 3); uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (ulong)bVar4 * -2 + 1;
  }
  *puVar1 = param_2;
  *(undefined4 *)(puVar1 + 1) = param_3;
  puVar1[2] = param_4;
  puVar1[3] = param_5;
  *(undefined4 *)(puVar1 + 0x10) = 1;
  puVar2 = (undefined8 *)xmalloc(8);
  puVar1[0xd] = 0xffffffffffffffff;
  *puVar2 = 0;
  puVar1[0x11] = puVar2;
  return puVar1;
}

