
void get_spec_stats(Spec_list *s)

{
  uint *puVar1;
  int *piVar2;
  int unaff_EDI;
  undefined6 uVar3;
  
  uVar3 = __x86_get_pc_thunk_di();
  piVar2 = (int *)uVar3;
  piVar2[6] = 0;
  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);
  *(undefined1 *)((int)piVar2 + 0x22) = 0;
  puVar1 = *(uint **)(*piVar2 + 4);
  if (puVar1 == (uint *)0x0) {
    piVar2[4] = 0;
    piVar2[5] = 0;
    return;
  }
  if (*puVar1 < 5) {
                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}



void FUN_000128e0(void)

{
  uint *puVar1;
  int *piVar2;
  int unaff_EDI;
  undefined6 uVar3;
  
  uVar3 = FUN_00013e8d();
  piVar2 = (int *)uVar3;
  piVar2[6] = 0;
  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);
  *(undefined1 *)((int)piVar2 + 0x22) = 0;
  puVar1 = *(uint **)(*piVar2 + 4);
  if (puVar1 == (uint *)0x0) {
    piVar2[4] = 0;
    piVar2[5] = 0;
    return;
  }
  if (*puVar1 < 5) {
                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}


PUSH EBP
XOR EDX,EDX
PUSH EDI
CALL 0x00013e8d
ADD EDI,0xc717
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [EAX + 0x18],0x0
MOV dword ptr [ESP + 0x1c],EAX
MOV word ptr [EAX + 0x20],DX
MOV byte ptr [EAX + 0x22],0x0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x18],EDI
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0xc],EAX
TEST EAX,EAX
JZ 0x00012ab6
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0x14],0x0
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0xc]
CMP dword ptr [EAX],0x4
JA 0x000113b5
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
MOV EDI,dword ptr [ECX + EAX*0x4 + 0xffffa274]
ADD EDI,ECX
JMP EDI
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x10],ESI
MOV dword ptr [EAX + 0x14],EDI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR ESI,ESI
XOR EDI,EDI
JMP 0x00012a6b
(translation_unit "void FUN_000128e0(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" (function_definition "void FUN_000128e0(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "FUN_000128e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined6 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00013e8d();" (assignment_expression "uVar3 = FUN_00013e8d()" identifier = (call_expression "FUN_00013e8d()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2 = (int *)uVar3;" (assignment_expression "piVar2 = (int *)uVar3" identifier = (cast_expression "(int *)uVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);" (assignment_expression "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20)" (pointer_expression "*(short *)(piVar2 + 8)" * (cast_expression "(short *)(piVar2 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (cast_expression "(short)((uint6)uVar3 >> 0x20)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "((uint6)uVar3 >> 0x20)" ( (binary_expression "(uint6)uVar3 >> 0x20" (cast_expression "(uint6)uVar3" ( (type_descriptor "uint6" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x22) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x22) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x22)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x22)" ( (binary_expression "(int)piVar2 + 0x22" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = *(uint **)(*piVar2 + 4);" (assignment_expression "puVar1 = *(uint **)(*piVar2 + 4)" identifier = (pointer_expression "*(uint **)(*piVar2 + 4)" * (cast_expression "(uint **)(*piVar2 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 4)" ( (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) ;) (if_statement "if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" if (parenthesized_expression "(puVar1 == (uint *)0x0)" ( (binary_expression "puVar1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" { (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" if (parenthesized_expression "(*puVar1 < 5)" ( (binary_expression "*puVar1 < 5" (pointer_expression "*puVar1" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();" (call_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))" ( (pointer_expression "*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" * (cast_expression "(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717" (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI" (pointer_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x698b + *puVar1 * 4)" ( (binary_expression "unaff_EDI + 0x698b + *puVar1 * 4" (binary_expression "unaff_EDI + 0x698b" identifier + number_literal) + (binary_expression "*puVar1 * 4" (pointer_expression "*puVar1" * identifier) * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void get_spec_stats(Spec_list *s)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = __x86_get_pc_thunk_di();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" (function_definition "void get_spec_stats(Spec_list *s)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = __x86_get_pc_thunk_di();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "get_spec_stats(Spec_list *s)" identifier (parameter_list "(Spec_list *s)" ( (parameter_declaration "Spec_list *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = __x86_get_pc_thunk_di();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined6 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = __x86_get_pc_thunk_di();" (assignment_expression "uVar3 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2 = (int *)uVar3;" (assignment_expression "piVar2 = (int *)uVar3" identifier = (cast_expression "(int *)uVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);" (assignment_expression "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20)" (pointer_expression "*(short *)(piVar2 + 8)" * (cast_expression "(short *)(piVar2 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (cast_expression "(short)((uint6)uVar3 >> 0x20)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "((uint6)uVar3 >> 0x20)" ( (binary_expression "(uint6)uVar3 >> 0x20" (cast_expression "(uint6)uVar3" ( (type_descriptor "uint6" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x22) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x22) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x22)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x22)" ( (binary_expression "(int)piVar2 + 0x22" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = *(uint **)(*piVar2 + 4);" (assignment_expression "puVar1 = *(uint **)(*piVar2 + 4)" identifier = (pointer_expression "*(uint **)(*piVar2 + 4)" * (cast_expression "(uint **)(*piVar2 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 4)" ( (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) ;) (if_statement "if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" if (parenthesized_expression "(puVar1 == (uint *)0x0)" ( (binary_expression "puVar1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" { (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (*puVar1 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" if (parenthesized_expression "(*puVar1 < 5)" ( (binary_expression "*puVar1 < 5" (pointer_expression "*puVar1" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();" (call_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))" ( (pointer_expression "*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" * (cast_expression "(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717" (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI" (pointer_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x698b + *puVar1 * 4)" ( (binary_expression "unaff_EDI + 0x698b + *puVar1 * 4" (binary_expression "unaff_EDI + 0x698b" identifier + number_literal) + (binary_expression "*puVar1 * 4" (pointer_expression "*puVar1" * identifier) * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_000128e0(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    \n  abort();\n}\n\n" (function_definition "void FUN_000128e0(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    \n  abort();\n}" primitive_type (function_declarator "FUN_000128e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    \n  abort();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined6 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00013e8d();" (assignment_expression "uVar3 = FUN_00013e8d()" identifier = (call_expression "FUN_00013e8d()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2 = (int *)uVar3;" (assignment_expression "piVar2 = (int *)uVar3" identifier = (cast_expression "(int *)uVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);" (assignment_expression "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20)" (pointer_expression "*(short *)(piVar2 + 8)" * (cast_expression "(short *)(piVar2 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (cast_expression "(short)((uint6)uVar3 >> 0x20)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "((uint6)uVar3 >> 0x20)" ( (binary_expression "(uint6)uVar3 >> 0x20" (cast_expression "(uint6)uVar3" ( (type_descriptor "uint6" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined1 *)((int)piVar2 + 0x22) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x22) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x22)" * (cast_expression "(undefined1 *)((int)piVar2 + 0x22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + 0x22)" ( (binary_expression "(int)piVar2 + 0x22" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = *(uint **)(*piVar2 + 4);" (assignment_expression "puVar1 = *(uint **)(*piVar2 + 4)" identifier = (pointer_expression "*(uint **)(*piVar2 + 4)" * (cast_expression "(uint **)(*piVar2 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 4)" ( (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) ;) (if_statement "if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" if (parenthesized_expression "(puVar1 == (uint *)0x0)" ( (binary_expression "puVar1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" { (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" if (parenthesized_expression "(*puVar1 < 5)" ( (binary_expression "*puVar1 < 5" (pointer_expression "*puVar1" * identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" { (expression_statement "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();" (call_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))" ( (pointer_expression "*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" * (cast_expression "(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" ( (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717" (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI" (pointer_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" * (cast_expression "(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x698b + *puVar1 * 4)" ( (binary_expression "unaff_EDI + 0x698b + *puVar1 * 4" (binary_expression "unaff_EDI + 0x698b" identifier + number_literal) + (binary_expression "*puVar1 * 4" (pointer_expression "*puVar1" * identifier) * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) + IDENT) + LIT) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_000128e0(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    \n  abort();\n}" (primitive_type "void") (function_declarator "FUN_000128e0(void)" (identifier "FUN_000128e0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined6 uVar3;\n  \n  uVar3 = FUN_00013e8d();\n  piVar2 = (int *)uVar3;\n  piVar2[6] = 0;\n  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);\n  *(undefined1 *)((int)piVar2 + 0x22) = 0;\n  puVar1 = *(uint **)(*piVar2 + 4);\n  if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }\n  if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }\n                    \n  abort();\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined6 uVar3;" (type_identifier "undefined6") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = FUN_00013e8d();" (assignment_expression "uVar3 = FUN_00013e8d()" (identifier "uVar3") (= "=") (call_expression "FUN_00013e8d()" (identifier "FUN_00013e8d") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar2 = (int *)uVar3;" (assignment_expression "piVar2 = (int *)uVar3" (identifier "piVar2") (= "=") (cast_expression "(int *)uVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar3"))) (; ";")) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" (identifier "piVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);" (assignment_expression "*(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20)" (pointer_expression "*(short *)(piVar2 + 8)" (* "*") (cast_expression "(short *)(piVar2 + 8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 8)" (( "(") (binary_expression "piVar2 + 8" (identifier "piVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (cast_expression "(short)((uint6)uVar3 >> 0x20)" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (parenthesized_expression "((uint6)uVar3 >> 0x20)" (( "(") (binary_expression "(uint6)uVar3 >> 0x20" (cast_expression "(uint6)uVar3" (( "(") (type_descriptor "uint6" (type_identifier "uint6")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)((int)piVar2 + 0x22) = 0;" (assignment_expression "*(undefined1 *)((int)piVar2 + 0x22) = 0" (pointer_expression "*(undefined1 *)((int)piVar2 + 0x22)" (* "*") (cast_expression "(undefined1 *)((int)piVar2 + 0x22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar2 + 0x22)" (( "(") (binary_expression "(int)piVar2 + 0x22" (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2")) (+ "+") (number_literal "0x22")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = *(uint **)(*piVar2 + 4);" (assignment_expression "puVar1 = *(uint **)(*piVar2 + 4)" (identifier "puVar1") (= "=") (pointer_expression "*(uint **)(*piVar2 + 4)" (* "*") (cast_expression "(uint **)(*piVar2 + 4)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 4)" (( "(") (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (puVar1 == (uint *)0x0) {\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 == (uint *)0x0)" (( "(") (binary_expression "puVar1 == (uint *)0x0" (identifier "puVar1") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    return;\n  }" ({ "{") (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*puVar1 < 5) {\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" (if "if") (parenthesized_expression "(*puVar1 < 5)" (( "(") (binary_expression "*puVar1 < 5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (< "<") (number_literal "5")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();" (call_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))" (( "(") (pointer_expression "*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" (* "*") (cast_expression "(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717" (binary_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI" (pointer_expression "*(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x698b + *puVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x698b + *puVar1 * 4)" (( "(") (binary_expression "unaff_EDI + 0x698b + *puVar1 * 4" (binary_expression "unaff_EDI + 0x698b" (identifier "unaff_EDI") (+ "+") (number_literal "0x698b")) (+ "+") (binary_expression "*puVar1 * 4" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (* "*") (number_literal "4"))) () ")")))) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0xc717")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *s)

{
  type_2 *var_3;
  int *var_2;
  int var_4;
  type_3 uVar3;
  
  uVar3 = var_1();
  var_2 = (int *)uVar3;
  var_2[6] = 0;
  *(short *)(var_2 + 8) = (short)((type_4)uVar3 >> 0x20);
  *(type_5 *)((int)var_2 + 0x22) = 0;
  var_3 = *(type_2 **)(*var_2 + 4);
  if (var_3 == (type_2 *)0x0) {
    var_2[4] = 0;
    var_2[5] = 0;
    return;
  }
  if (*var_3 < 5) {
                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(type_6 *)(*(int *)(var_4 + 0x698b + *var_3 * 4) + var_4 + 0xc717))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_5();
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) right: (identifier)) right: (number_literal)))))) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(void)

{
  uint *puVar1;
  int *piVar2;
  int unaff_EDI;
  undefined6 uVar3;
  
  uVar3 = FUN_00013e8d();
  piVar2 = (int *)uVar3;
  piVar2[6] = 0;
  *(short *)(piVar2 + 8) = (short)((uint6)uVar3 >> 0x20);
  *(undefined1 *)((int)piVar2 + 0x22) = 0;
  puVar1 = *(uint **)(*piVar2 + 4);
  if (puVar1 == (uint *)0x0) {
    piVar2[4] = 0;
    piVar2[5] = 0;
    return;
  }
  if (*puVar1 < 5) {
                    /* WARNING: Could not recover jumptable at 0x0001294c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(*(int *)(unaff_EDI + 0x698b + *puVar1 * 4) + unaff_EDI + 0xc717))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}

