
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

int sysctl_main(int argc,char **argv)

{
  char *token [2];
  
}



uint FUN_0004fe0d(undefined4 param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  undefined1 *puVar3;
  uint uVar4;
  int *piVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  int unaff_EBP;
  int in_GS_OFFSET;
  undefined4 uStackY_50;
  undefined4 uStack_40;
  undefined1 local_3c [4];
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_28 [8];
  undefined4 local_20;
  
  FUN_00026ff7();
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);
  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);
  uVar1 = uVar1 ^ 3;
  *(uint *)(unaff_EBP + 0x81903) = uVar1;
  puVar6 = local_3c;
  puVar8 = local_3c;
  puVar7 = local_3c;
  if ((uVar1 & 0x10) == 0) {
    uStack_40 = 0x4ff1b;
    FUN_0001a17e();
    if ((uVar1 & 0xc) != 0) {
      uStack_40 = 0x4ff2b;
      uVar1 = FUN_0004fd0e();
      puVar7 = local_3c;
      goto LAB_0004ff37;
    }
    uVar1 = 0;
    if (*piVar5 != 0) {
      do {
        uStack_40 = 0x4ff58;
        FUN_0004fca1();
        uStack_40 = 0x4ff5f;
        uVar4 = FUN_0004fd0e();
        uVar1 = uVar1 | uVar4;
        piVar5 = piVar5 + 1;
      } while (*piVar5 != 0);
      goto LAB_0004ff37;
    }
  }
  else {
    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;
    if (*piVar5 == 0) {
      piVar5[-1] = unaff_EBP + 0x788e3;
      piVar5 = piVar5 + -1;
    }
    uStack_40 = 0x4fe8c;
    local_38 = FUN_00019ca7();
    local_34 = local_28;
    local_30 = unaff_EBP + 0x788f4;
    do {
      *(undefined4 *)(puVar6 + -4) = 0x4feaf;
      FUN_000ad99a();
      *(undefined4 *)(puVar6 + -4) = 0x4feba;
      FUN_0001a17e();
      puVar7 = puVar6;
      while( true ) {
        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;
        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;
        iVar2 = FUN_000ad9fd();
        puVar6 = puVar7 + -4;
        puVar8 = puVar7 + -4;
        if (iVar2 == 0) break;
        *(undefined4 *)(puVar7 + -8) = 0x4fee2;
        FUN_000b1d54();
        *(undefined4 *)(puVar7 + -8) = 0x4feeb;
        puVar3 = (undefined1 *)FUN_000b1d54();
        *(undefined4 *)(puVar7 + -8) = 0x4fef6;
        FUN_0004fca1();
        *puVar3 = 0x3d;
        *(undefined4 *)(puVar7 + -8) = 0x4ff05;
        FUN_000b18b4();
        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;
        FUN_0004fa1a();
        puVar7 = puVar7 + -4;
      }
      *(undefined4 *)(puVar7 + -8) = 0x4ff75;
      FUN_0001a1b1();
      piVar5 = piVar5 + 1;
    } while (*piVar5 != 0);
  }
  uVar1 = 0;
  puVar7 = puVar8;
LAB_0004ff37:
  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar7 + -4) = 0x4ff53;
    FUN_00017e10();
  }
  return uVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x34
CALL 0x00026ff7
ADD EBP,0x80c07
MOV EBX,dword ptr [ESP + 0x4c]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x24],EAX
XOR EAX,EAX
LEA EAX,[EBP + 0xffff7cd3]
PUSH EAX
PUSH EBX
CALL 0x000a8bdf
MOV ESI,EAX
MOV EAX,dword ptr [EBP + 0x574]
MOV EAX,dword ptr [EAX]
LEA EBX,[EBX + EAX*0x4]
XOR ESI,0x3
MOV dword ptr [EBP + 0xcfc],ESI
ADD ESP,0x10
TEST ESI,0x10
JZ 0x0004ff10
OR ESI,0x20
MOV dword ptr [EBP + 0xcfc],ESI
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JNZ 0x0004fe7c
LEA EAX,[EBP + 0xffff7cdc]
MOV dword ptr [EBX + -0x4],EAX
SUB EBX,0x4
MOV EDX,0x10000
LEA EAX,[EBP + 0xffff839c]
CALL 0x00019ca7
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [EBX]
LEA ECX,[ESP + 0x14]
MOV dword ptr [ESP + 0x8],ECX
LEA ESI,[EBP + 0xffff7cf7]
LEA EDX,[EBP + 0xffff7ced]
MOV dword ptr [ESP + 0xc],EDX
CALL 0x000ad99a
MOV EBP,EAX
MOV EAX,dword ptr [ESP + 0xc]
CALL 0x0001a17e
SUB ESP,0xc
PUSH ESI
MOV ECX,0x1840202
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBP
CALL 0x000ad9fd
ADD ESP,0xc
TEST EAX,EAX
JZ 0x0004ff6c
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x000b1d54
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x000b1d54
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0004fca1
MOV byte ptr [EDI],0x3d
LEA EAX,[EDI + 0x1]
MOV EDX,dword ptr [ESP + 0x18]
CALL 0x000b18b4
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0004fa1a
JMP 0x0004feba
LEA EAX,[EBP + 0xffff7ced]
CALL 0x0001a17e
AND ESI,0xc
JZ 0x0004ff2f
LEA EAX,[EBP + 0xffff839c]
CALL 0x0004fd0e
MOV ESI,EAX
JMP 0x0004ff37
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JNZ 0x0004ff53
XOR ESI,ESI
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x1c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0004ff4e
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e10
CALL 0x0004fca1
MOV EAX,dword ptr [EBX]
CALL 0x0004fd0e
OR ESI,EAX
ADD EBX,0x4
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JNZ 0x0004ff53
JMP 0x0004ff37
MOV EAX,dword ptr [ESP + 0x4]
CALL 0x0001a1b1
ADD EBX,0x4
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JNZ 0x0004feaa
JMP 0x0004ff35
(translation_unit "uint FUN_0004fe0d(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0004fe0d(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0004fe0d(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 uStackY_50;" type_identifier identifier ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 local_3c [4];" type_identifier (array_declarator "local_3c [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_28 [8];" type_identifier (array_declarator "local_28 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "FUN_00026ff7();" (call_expression "FUN_00026ff7()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" identifier = (call_expression "FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" identifier (argument_list "(param_2,unaff_EBP + 0x788da)" ( identifier , (binary_expression "unaff_EBP + 0x788da" identifier + number_literal) )))) ;) (expression_statement "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);" (assignment_expression "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" identifier = (cast_expression "(int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" ( (binary_expression "param_2 + **(int **)(unaff_EBP + 0x8117b) * 4" identifier + (binary_expression "**(int **)(unaff_EBP + 0x8117b) * 4" (pointer_expression "**(int **)(unaff_EBP + 0x8117b)" * (pointer_expression "*(int **)(unaff_EBP + 0x8117b)" * (cast_expression "(int **)(unaff_EBP + 0x8117b)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 0x8117b)" ( (binary_expression "unaff_EBP + 0x8117b" identifier + number_literal) ))))) * number_literal)) )))) ;) (expression_statement "uVar1 = uVar1 ^ 3;" (assignment_expression "uVar1 = uVar1 ^ 3" identifier = (binary_expression "uVar1 ^ 3" identifier ^ number_literal)) ;) (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" * (cast_expression "(uint *)(unaff_EBP + 0x81903)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x81903)" ( (binary_expression "unaff_EBP + 0x81903" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = local_3c;" (assignment_expression "puVar6 = local_3c" identifier = identifier) ;) (expression_statement "puVar8 = local_3c;" (assignment_expression "puVar8 = local_3c" identifier = identifier) ;) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" identifier = identifier) ;) (if_statement "if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" if (parenthesized_expression "((uVar1 & 0x10) == 0)" ( (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }" { (expression_statement "uStack_40 = 0x4ff1b;" (assignment_expression "uStack_40 = 0x4ff1b" identifier = number_literal) ;) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" if (parenthesized_expression "((uVar1 & 0xc) != 0)" ( (binary_expression "(uVar1 & 0xc) != 0" (parenthesized_expression "(uVar1 & 0xc)" ( (binary_expression "uVar1 & 0xc" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" { (expression_statement "uStack_40 = 0x4ff2b;" (assignment_expression "uStack_40 = 0x4ff2b" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_0004fd0e();" (assignment_expression "uVar1 = FUN_0004fd0e()" identifier = (call_expression "FUN_0004fd0e()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" identifier = identifier) ;) (goto_statement "goto LAB_0004ff37;" goto statement_identifier ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" if (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) (compound_statement "{\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" { (do_statement "do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);" do (compound_statement "{\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      }" { (expression_statement "uStack_40 = 0x4ff58;" (assignment_expression "uStack_40 = 0x4ff58" identifier = number_literal) ;) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_40 = 0x4ff5f;" (assignment_expression "uStack_40 = 0x4ff5f" identifier = number_literal) ;) (expression_statement "uVar4 = FUN_0004fd0e();" (assignment_expression "uVar4 = FUN_0004fd0e()" identifier = (call_expression "FUN_0004fd0e()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = uVar1 | uVar4;" (assignment_expression "uVar1 = uVar1 | uVar4" identifier = (binary_expression "uVar1 | uVar4" identifier | identifier)) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) ;) (goto_statement "goto LAB_0004ff37;" goto statement_identifier ;) })) }) (else_clause "else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" else (compound_statement "{\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" { (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" * (cast_expression "(uint *)(unaff_EBP + 0x81903)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x81903)" ( (binary_expression "unaff_EBP + 0x81903" identifier + number_literal) )))) = (binary_expression "uVar1 | 0x20" identifier | number_literal)) ;) (if_statement "if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" if (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" { (expression_statement "piVar5[-1] = unaff_EBP + 0x788e3;" (assignment_expression "piVar5[-1] = unaff_EBP + 0x788e3" (subscript_expression "piVar5[-1]" identifier [ number_literal ]) = (binary_expression "unaff_EBP + 0x788e3" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + -1;" (assignment_expression "piVar5 = piVar5 + -1" identifier = (binary_expression "piVar5 + -1" identifier + number_literal)) ;) })) (expression_statement "uStack_40 = 0x4fe8c;" (assignment_expression "uStack_40 = 0x4fe8c" identifier = number_literal) ;) (expression_statement "local_38 = FUN_00019ca7();" (assignment_expression "local_38 = FUN_00019ca7()" identifier = (call_expression "FUN_00019ca7()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "local_30 = unaff_EBP + 0x788f4;" (assignment_expression "local_30 = unaff_EBP + 0x788f4" identifier = (binary_expression "unaff_EBP + 0x788f4" identifier + number_literal)) ;) (do_statement "do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);" do (compound_statement "{\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    }" { (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feaf;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feaf" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000ad99a();" (call_expression "FUN_000ad99a()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feba;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feba" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (while_statement "while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" { (expression_statement "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;" (assignment_expression "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe" (pointer_expression "*(int *)(puVar7 + -0x10)" * (cast_expression "(int *)(puVar7 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = (binary_expression "unaff_EBP + 0x788fe" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x4fece;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x4fece" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = FUN_000ad9fd();" (assignment_expression "iVar2 = FUN_000ad9fd()" identifier = (call_expression "FUN_000ad9fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6 = puVar7 + -4;" (assignment_expression "puVar6 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar7 + -4;" (assignment_expression "puVar8 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fee2;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fee2" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b1d54();" (call_expression "FUN_000b1d54()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4feeb;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4feeb" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = (undefined1 *)FUN_000b1d54();" (assignment_expression "puVar3 = (undefined1 *)FUN_000b1d54()" identifier = (cast_expression "(undefined1 *)FUN_000b1d54()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b1d54()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fef6;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fef6" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" identifier (argument_list "()" ( ))) ;) (expression_statement "*puVar3 = 0x3d;" (assignment_expression "*puVar3 = 0x3d" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff05;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff05" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b18b4();" (call_expression "FUN_000b18b4()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff0e;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff0e" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004fa1a();" (call_expression "FUN_0004fa1a()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7 = puVar7 + -4;" (assignment_expression "puVar7 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) })) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff75;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff75" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001a1b1();" (call_expression "FUN_0001a1b1()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) ;) }))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (labeled_statement "LAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" statement_identifier : (if_statement "if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x1c)" * (cast_expression "(int *)(puVar7 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1c)" ( (binary_expression "puVar7 + 0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" { comment (expression_statement "*(undefined4 *)(puVar7 + -4) = 0x4ff53;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0x4ff53" (pointer_expression "*(undefined4 *)(puVar7 + -4)" * (cast_expression "(undefined4 *)(puVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -4)" ( (binary_expression "puVar7 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n\nint sysctl_main(int argc,char **argv)\n\n{\n  char *token [2];\n  \n}\n\n" comment (function_definition "int sysctl_main(int argc,char **argv)\n\n{\n  char *token [2];\n  \n}" primitive_type (function_declarator "sysctl_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  char *token [2];\n  \n}" { (declaration "char *token [2];" primitive_type (pointer_declarator "*token [2]" * (array_declarator "token [2]" identifier [ number_literal ])) ;) })))
(translation_unit "uint FUN_0004fe0d(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0004fe0d(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0004fe0d(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 uStackY_50;" type_identifier identifier ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 local_3c [4];" type_identifier (array_declarator "local_3c [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_28 [8];" type_identifier (array_declarator "local_28 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "FUN_00026ff7();" (call_expression "FUN_00026ff7()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" identifier = (call_expression "FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" identifier (argument_list "(param_2,unaff_EBP + 0x788da)" ( identifier , (binary_expression "unaff_EBP + 0x788da" identifier + number_literal) )))) ;) (expression_statement "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);" (assignment_expression "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" identifier = (cast_expression "(int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" ( (binary_expression "param_2 + **(int **)(unaff_EBP + 0x8117b) * 4" identifier + (binary_expression "**(int **)(unaff_EBP + 0x8117b) * 4" (pointer_expression "**(int **)(unaff_EBP + 0x8117b)" * (pointer_expression "*(int **)(unaff_EBP + 0x8117b)" * (cast_expression "(int **)(unaff_EBP + 0x8117b)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 0x8117b)" ( (binary_expression "unaff_EBP + 0x8117b" identifier + number_literal) ))))) * number_literal)) )))) ;) (expression_statement "uVar1 = uVar1 ^ 3;" (assignment_expression "uVar1 = uVar1 ^ 3" identifier = (binary_expression "uVar1 ^ 3" identifier ^ number_literal)) ;) (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" * (cast_expression "(uint *)(unaff_EBP + 0x81903)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x81903)" ( (binary_expression "unaff_EBP + 0x81903" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = local_3c;" (assignment_expression "puVar6 = local_3c" identifier = identifier) ;) (expression_statement "puVar8 = local_3c;" (assignment_expression "puVar8 = local_3c" identifier = identifier) ;) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" identifier = identifier) ;) (if_statement "if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" if (parenthesized_expression "((uVar1 & 0x10) == 0)" ( (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }" { (expression_statement "uStack_40 = 0x4ff1b;" (assignment_expression "uStack_40 = 0x4ff1b" identifier = number_literal) ;) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" if (parenthesized_expression "((uVar1 & 0xc) != 0)" ( (binary_expression "(uVar1 & 0xc) != 0" (parenthesized_expression "(uVar1 & 0xc)" ( (binary_expression "uVar1 & 0xc" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" { (expression_statement "uStack_40 = 0x4ff2b;" (assignment_expression "uStack_40 = 0x4ff2b" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_0004fd0e();" (assignment_expression "uVar1 = FUN_0004fd0e()" identifier = (call_expression "FUN_0004fd0e()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" identifier = identifier) ;) (goto_statement "goto LAB_0004ff37;" goto statement_identifier ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" if (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) (compound_statement "{\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" { (do_statement "do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);" do (compound_statement "{\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      }" { (expression_statement "uStack_40 = 0x4ff58;" (assignment_expression "uStack_40 = 0x4ff58" identifier = number_literal) ;) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_40 = 0x4ff5f;" (assignment_expression "uStack_40 = 0x4ff5f" identifier = number_literal) ;) (expression_statement "uVar4 = FUN_0004fd0e();" (assignment_expression "uVar4 = FUN_0004fd0e()" identifier = (call_expression "FUN_0004fd0e()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = uVar1 | uVar4;" (assignment_expression "uVar1 = uVar1 | uVar4" identifier = (binary_expression "uVar1 | uVar4" identifier | identifier)) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) ;) (goto_statement "goto LAB_0004ff37;" goto statement_identifier ;) })) }) (else_clause "else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" else (compound_statement "{\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" { (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" * (cast_expression "(uint *)(unaff_EBP + 0x81903)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x81903)" ( (binary_expression "unaff_EBP + 0x81903" identifier + number_literal) )))) = (binary_expression "uVar1 | 0x20" identifier | number_literal)) ;) (if_statement "if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" if (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" { (expression_statement "piVar5[-1] = unaff_EBP + 0x788e3;" (assignment_expression "piVar5[-1] = unaff_EBP + 0x788e3" (subscript_expression "piVar5[-1]" identifier [ number_literal ]) = (binary_expression "unaff_EBP + 0x788e3" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + -1;" (assignment_expression "piVar5 = piVar5 + -1" identifier = (binary_expression "piVar5 + -1" identifier + number_literal)) ;) })) (expression_statement "uStack_40 = 0x4fe8c;" (assignment_expression "uStack_40 = 0x4fe8c" identifier = number_literal) ;) (expression_statement "local_38 = FUN_00019ca7();" (assignment_expression "local_38 = FUN_00019ca7()" identifier = (call_expression "FUN_00019ca7()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "local_30 = unaff_EBP + 0x788f4;" (assignment_expression "local_30 = unaff_EBP + 0x788f4" identifier = (binary_expression "unaff_EBP + 0x788f4" identifier + number_literal)) ;) (do_statement "do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);" do (compound_statement "{\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    }" { (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feaf;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feaf" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000ad99a();" (call_expression "FUN_000ad99a()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feba;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feba" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (while_statement "while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" { (expression_statement "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;" (assignment_expression "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe" (pointer_expression "*(int *)(puVar7 + -0x10)" * (cast_expression "(int *)(puVar7 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = (binary_expression "unaff_EBP + 0x788fe" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x4fece;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x4fece" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = FUN_000ad9fd();" (assignment_expression "iVar2 = FUN_000ad9fd()" identifier = (call_expression "FUN_000ad9fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar6 = puVar7 + -4;" (assignment_expression "puVar6 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar7 + -4;" (assignment_expression "puVar8 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fee2;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fee2" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b1d54();" (call_expression "FUN_000b1d54()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4feeb;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4feeb" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = (undefined1 *)FUN_000b1d54();" (assignment_expression "puVar3 = (undefined1 *)FUN_000b1d54()" identifier = (cast_expression "(undefined1 *)FUN_000b1d54()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000b1d54()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fef6;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fef6" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" identifier (argument_list "()" ( ))) ;) (expression_statement "*puVar3 = 0x3d;" (assignment_expression "*puVar3 = 0x3d" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff05;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff05" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b18b4();" (call_expression "FUN_000b18b4()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff0e;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff0e" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004fa1a();" (call_expression "FUN_0004fa1a()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7 = puVar7 + -4;" (assignment_expression "puVar7 = puVar7 + -4" identifier = (binary_expression "puVar7 + -4" identifier + number_literal)) ;) })) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff75;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff75" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001a1b1();" (call_expression "FUN_0001a1b1()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) ;) }))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (labeled_statement "LAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" statement_identifier : (if_statement "if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x1c)" * (cast_expression "(int *)(puVar7 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1c)" ( (binary_expression "puVar7 + 0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" { (expression_statement "*(undefined4 *)(puVar7 + -4) = 0x4ff53;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0x4ff53" (pointer_expression "*(undefined4 *)(puVar7 + -4)" * (cast_expression "(undefined4 *)(puVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -4)" ( (binary_expression "puVar7 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0004fe0d(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0004fe0d(undefined4 param_1,int param_2)" (identifier "FUN_0004fe0d") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int *piVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  int unaff_EBP;\n  int in_GS_OFFSET;\n  undefined4 uStackY_50;\n  undefined4 uStack_40;\n  undefined1 local_3c [4];\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_28 [8];\n  undefined4 local_20;\n  \n  FUN_00026ff7();\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);\n  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);\n  uVar1 = uVar1 ^ 3;\n  *(uint *)(unaff_EBP + 0x81903) = uVar1;\n  puVar6 = local_3c;\n  puVar8 = local_3c;\n  puVar7 = local_3c;\n  if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }\n  uVar1 = 0;\n  puVar7 = puVar8;\nLAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 uStackY_50;" (type_identifier "undefined4") (identifier "uStackY_50") (; ";")) (declaration "undefined4 uStack_40;" (type_identifier "undefined4") (identifier "uStack_40") (; ";")) (declaration "undefined1 local_3c [4];" (type_identifier "undefined1") (array_declarator "local_3c [4]" (identifier "local_3c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_28 [8];" (type_identifier "undefined1") (array_declarator "local_28 [8]" (identifier "local_28") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "FUN_00026ff7();" (call_expression "FUN_00026ff7()" (identifier "FUN_00026ff7") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" (identifier "uVar1") (= "=") (call_expression "FUN_000a8bdf(param_2,unaff_EBP + 0x788da)" (identifier "FUN_000a8bdf") (argument_list "(param_2,unaff_EBP + 0x788da)" (( "(") (identifier "param_2") (, ",") (binary_expression "unaff_EBP + 0x788da" (identifier "unaff_EBP") (+ "+") (number_literal "0x788da")) () ")")))) (; ";")) (expression_statement "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);" (assignment_expression "piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" (identifier "piVar5") (= "=") (cast_expression "(int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4)" (( "(") (binary_expression "param_2 + **(int **)(unaff_EBP + 0x8117b) * 4" (identifier "param_2") (+ "+") (binary_expression "**(int **)(unaff_EBP + 0x8117b) * 4" (pointer_expression "**(int **)(unaff_EBP + 0x8117b)" (* "*") (pointer_expression "*(int **)(unaff_EBP + 0x8117b)" (* "*") (cast_expression "(int **)(unaff_EBP + 0x8117b)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBP + 0x8117b)" (( "(") (binary_expression "unaff_EBP + 0x8117b" (identifier "unaff_EBP") (+ "+") (number_literal "0x8117b")) () ")"))))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar1 = uVar1 ^ 3;" (assignment_expression "uVar1 = uVar1 ^ 3" (identifier "uVar1") (= "=") (binary_expression "uVar1 ^ 3" (identifier "uVar1") (^ "^") (number_literal "3"))) (; ";")) (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" (* "*") (cast_expression "(uint *)(unaff_EBP + 0x81903)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x81903)" (( "(") (binary_expression "unaff_EBP + 0x81903" (identifier "unaff_EBP") (+ "+") (number_literal "0x81903")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar6 = local_3c;" (assignment_expression "puVar6 = local_3c" (identifier "puVar6") (= "=") (identifier "local_3c")) (; ";")) (expression_statement "puVar8 = local_3c;" (assignment_expression "puVar8 = local_3c" (identifier "puVar8") (= "=") (identifier "local_3c")) (; ";")) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" (identifier "puVar7") (= "=") (identifier "local_3c")) (; ";")) (if_statement "if ((uVar1 & 0x10) == 0) {\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }\n  else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x10) == 0)" (( "(") (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" (( "(") (binary_expression "uVar1 & 0x10" (identifier "uVar1") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uStack_40 = 0x4ff1b;\n    FUN_0001a17e();\n    if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }\n    uVar1 = 0;\n    if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }\n  }" ({ "{") (expression_statement "uStack_40 = 0x4ff1b;" (assignment_expression "uStack_40 = 0x4ff1b" (identifier "uStack_40") (= "=") (number_literal "0x4ff1b")) (; ";")) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" (identifier "FUN_0001a17e") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((uVar1 & 0xc) != 0) {\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" (if "if") (parenthesized_expression "((uVar1 & 0xc) != 0)" (( "(") (binary_expression "(uVar1 & 0xc) != 0" (parenthesized_expression "(uVar1 & 0xc)" (( "(") (binary_expression "uVar1 & 0xc" (identifier "uVar1") (& "&") (number_literal "0xc")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uStack_40 = 0x4ff2b;\n      uVar1 = FUN_0004fd0e();\n      puVar7 = local_3c;\n      goto LAB_0004ff37;\n    }" ({ "{") (expression_statement "uStack_40 = 0x4ff2b;" (assignment_expression "uStack_40 = 0x4ff2b" (identifier "uStack_40") (= "=") (number_literal "0x4ff2b")) (; ";")) (expression_statement "uVar1 = FUN_0004fd0e();" (assignment_expression "uVar1 = FUN_0004fd0e()" (identifier "uVar1") (= "=") (call_expression "FUN_0004fd0e()" (identifier "FUN_0004fd0e") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = local_3c;" (assignment_expression "puVar7 = local_3c" (identifier "puVar7") (= "=") (identifier "local_3c")) (; ";")) (goto_statement "goto LAB_0004ff37;" (goto "goto") (statement_identifier "LAB_0004ff37") (; ";")) (} "}"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*piVar5 != 0) {\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" (if "if") (parenthesized_expression "(*piVar5 != 0)" (( "(") (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);\n      goto LAB_0004ff37;\n    }" ({ "{") (do_statement "do {\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      } while (*piVar5 != 0);" (do "do") (compound_statement "{\n        uStack_40 = 0x4ff58;\n        FUN_0004fca1();\n        uStack_40 = 0x4ff5f;\n        uVar4 = FUN_0004fd0e();\n        uVar1 = uVar1 | uVar4;\n        piVar5 = piVar5 + 1;\n      }" ({ "{") (expression_statement "uStack_40 = 0x4ff58;" (assignment_expression "uStack_40 = 0x4ff58" (identifier "uStack_40") (= "=") (number_literal "0x4ff58")) (; ";")) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" (identifier "FUN_0004fca1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_40 = 0x4ff5f;" (assignment_expression "uStack_40 = 0x4ff5f" (identifier "uStack_40") (= "=") (number_literal "0x4ff5f")) (; ";")) (expression_statement "uVar4 = FUN_0004fd0e();" (assignment_expression "uVar4 = FUN_0004fd0e()" (identifier "uVar4") (= "=") (call_expression "FUN_0004fd0e()" (identifier "FUN_0004fd0e") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = uVar1 | uVar4;" (assignment_expression "uVar1 = uVar1 | uVar4" (identifier "uVar1") (= "=") (binary_expression "uVar1 | uVar4" (identifier "uVar1") (| "|") (identifier "uVar4"))) (; ";")) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar5 != 0)" (( "(") (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (goto_statement "goto LAB_0004ff37;" (goto "goto") (statement_identifier "LAB_0004ff37") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" (else "else") (compound_statement "{\n    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;\n    if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }\n    uStack_40 = 0x4fe8c;\n    local_38 = FUN_00019ca7();\n    local_34 = local_28;\n    local_30 = unaff_EBP + 0x788f4;\n    do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);\n  }" ({ "{") (expression_statement "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;" (assignment_expression "*(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20" (pointer_expression "*(uint *)(unaff_EBP + 0x81903)" (* "*") (cast_expression "(uint *)(unaff_EBP + 0x81903)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x81903)" (( "(") (binary_expression "unaff_EBP + 0x81903" (identifier "unaff_EBP") (+ "+") (number_literal "0x81903")) () ")")))) (= "=") (binary_expression "uVar1 | 0x20" (identifier "uVar1") (| "|") (number_literal "0x20"))) (; ";")) (if_statement "if (*piVar5 == 0) {\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" (if "if") (parenthesized_expression "(*piVar5 == 0)" (( "(") (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar5[-1] = unaff_EBP + 0x788e3;\n      piVar5 = piVar5 + -1;\n    }" ({ "{") (expression_statement "piVar5[-1] = unaff_EBP + 0x788e3;" (assignment_expression "piVar5[-1] = unaff_EBP + 0x788e3" (subscript_expression "piVar5[-1]" (identifier "piVar5") ([ "[") (number_literal "-1") (] "]")) (= "=") (binary_expression "unaff_EBP + 0x788e3" (identifier "unaff_EBP") (+ "+") (number_literal "0x788e3"))) (; ";")) (expression_statement "piVar5 = piVar5 + -1;" (assignment_expression "piVar5 = piVar5 + -1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + -1" (identifier "piVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "uStack_40 = 0x4fe8c;" (assignment_expression "uStack_40 = 0x4fe8c" (identifier "uStack_40") (= "=") (number_literal "0x4fe8c")) (; ";")) (expression_statement "local_38 = FUN_00019ca7();" (assignment_expression "local_38 = FUN_00019ca7()" (identifier "local_38") (= "=") (call_expression "FUN_00019ca7()" (identifier "FUN_00019ca7") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" (identifier "local_34") (= "=") (identifier "local_28")) (; ";")) (expression_statement "local_30 = unaff_EBP + 0x788f4;" (assignment_expression "local_30 = unaff_EBP + 0x788f4" (identifier "local_30") (= "=") (binary_expression "unaff_EBP + 0x788f4" (identifier "unaff_EBP") (+ "+") (number_literal "0x788f4"))) (; ";")) (do_statement "do {\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    } while (*piVar5 != 0);" (do "do") (compound_statement "{\n      *(undefined4 *)(puVar6 + -4) = 0x4feaf;\n      FUN_000ad99a();\n      *(undefined4 *)(puVar6 + -4) = 0x4feba;\n      FUN_0001a17e();\n      puVar7 = puVar6;\n      while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }\n      *(undefined4 *)(puVar7 + -8) = 0x4ff75;\n      FUN_0001a1b1();\n      piVar5 = piVar5 + 1;\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feaf;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feaf" (pointer_expression "*(undefined4 *)(puVar6 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -4)" (( "(") (binary_expression "puVar6 + -4" (identifier "puVar6") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x4feaf")) (; ";")) (expression_statement "FUN_000ad99a();" (call_expression "FUN_000ad99a()" (identifier "FUN_000ad99a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -4) = 0x4feba;" (assignment_expression "*(undefined4 *)(puVar6 + -4) = 0x4feba" (pointer_expression "*(undefined4 *)(puVar6 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -4)" (( "(") (binary_expression "puVar6 + -4" (identifier "puVar6") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x4feba")) (; ";")) (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" (identifier "FUN_0001a17e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" (identifier "puVar7") (= "=") (identifier "puVar6")) (; ";")) (while_statement "while( true ) {\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;\n        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;\n        iVar2 = FUN_000ad9fd();\n        puVar6 = puVar7 + -4;\n        puVar8 = puVar7 + -4;\n        if (iVar2 == 0) break;\n        *(undefined4 *)(puVar7 + -8) = 0x4fee2;\n        FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4feeb;\n        puVar3 = (undefined1 *)FUN_000b1d54();\n        *(undefined4 *)(puVar7 + -8) = 0x4fef6;\n        FUN_0004fca1();\n        *puVar3 = 0x3d;\n        *(undefined4 *)(puVar7 + -8) = 0x4ff05;\n        FUN_000b18b4();\n        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;\n        FUN_0004fa1a();\n        puVar7 = puVar7 + -4;\n      }" ({ "{") (expression_statement "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;" (assignment_expression "*(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe" (pointer_expression "*(int *)(puVar7 + -0x10)" (* "*") (cast_expression "(int *)(puVar7 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x10)" (( "(") (binary_expression "puVar7 + -0x10" (identifier "puVar7") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (binary_expression "unaff_EBP + 0x788fe" (identifier "unaff_EBP") (+ "+") (number_literal "0x788fe"))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x4fece;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x4fece" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x14)" (( "(") (binary_expression "puVar7 + -0x14" (identifier "puVar7") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x4fece")) (; ";")) (expression_statement "iVar2 = FUN_000ad9fd();" (assignment_expression "iVar2 = FUN_000ad9fd()" (identifier "iVar2") (= "=") (call_expression "FUN_000ad9fd()" (identifier "FUN_000ad9fd") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar6 = puVar7 + -4;" (assignment_expression "puVar6 = puVar7 + -4" (identifier "puVar6") (= "=") (binary_expression "puVar7 + -4" (identifier "puVar7") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "puVar8 = puVar7 + -4;" (assignment_expression "puVar8 = puVar7 + -4" (identifier "puVar8") (= "=") (binary_expression "puVar7 + -4" (identifier "puVar7") (+ "+") (number_literal "-4"))) (; ";")) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fee2;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fee2" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4fee2")) (; ";")) (expression_statement "FUN_000b1d54();" (call_expression "FUN_000b1d54()" (identifier "FUN_000b1d54") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4feeb;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4feeb" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4feeb")) (; ";")) (expression_statement "puVar3 = (undefined1 *)FUN_000b1d54();" (assignment_expression "puVar3 = (undefined1 *)FUN_000b1d54()" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)FUN_000b1d54()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000b1d54()" (identifier "FUN_000b1d54") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4fef6;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4fef6" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4fef6")) (; ";")) (expression_statement "FUN_0004fca1();" (call_expression "FUN_0004fca1()" (identifier "FUN_0004fca1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*puVar3 = 0x3d;" (assignment_expression "*puVar3 = 0x3d" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0x3d")) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff05;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff05" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4ff05")) (; ";")) (expression_statement "FUN_000b18b4();" (call_expression "FUN_000b18b4()" (identifier "FUN_000b18b4") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff0e;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff0e" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4ff0e")) (; ";")) (expression_statement "FUN_0004fa1a();" (call_expression "FUN_0004fa1a()" (identifier "FUN_0004fa1a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar7 = puVar7 + -4;" (assignment_expression "puVar7 = puVar7 + -4" (identifier "puVar7") (= "=") (binary_expression "puVar7 + -4" (identifier "puVar7") (+ "+") (number_literal "-4"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(puVar7 + -8) = 0x4ff75;" (assignment_expression "*(undefined4 *)(puVar7 + -8) = 0x4ff75" (pointer_expression "*(undefined4 *)(puVar7 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -8)" (( "(") (binary_expression "puVar7 + -8" (identifier "puVar7") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4ff75")) (; ";")) (expression_statement "FUN_0001a1b1();" (call_expression "FUN_0001a1b1()" (identifier "FUN_0001a1b1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar5 != 0)" (( "(") (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (labeled_statement "LAB_0004ff37:\n  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" (statement_identifier "LAB_0004ff37") (: ":") (if_statement "if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x1c)" (* "*") (cast_expression "(int *)(puVar7 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x1c)" (( "(") (binary_expression "puVar7 + 0x1c" (identifier "puVar7") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    *(undefined4 *)(puVar7 + -4) = 0x4ff53;\n    FUN_00017e10();\n  }" ({ "{") (expression_statement "*(undefined4 *)(puVar7 + -4) = 0x4ff53;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0x4ff53" (pointer_expression "*(undefined4 *)(puVar7 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -4)" (( "(") (binary_expression "puVar7 + -4" (identifier "puVar7") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x4ff53")) (; ";")) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

int function_1(int argc,char **argv)

{
  char *token [2];
  
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

uint MASKED(undefined4 param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  undefined1 *puVar3;
  uint uVar4;
  int *piVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  int unaff_EBP;
  int in_GS_OFFSET;
  undefined4 uStackY_50;
  undefined4 uStack_40;
  undefined1 local_3c [4];
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_28 [8];
  undefined4 local_20;
  
  FUN_00026ff7();
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  uVar1 = FUN_000a8bdf(param_2,unaff_EBP + 0x788da);
  piVar5 = (int *)(param_2 + **(int **)(unaff_EBP + 0x8117b) * 4);
  uVar1 = uVar1 ^ 3;
  *(uint *)(unaff_EBP + 0x81903) = uVar1;
  puVar6 = local_3c;
  puVar8 = local_3c;
  puVar7 = local_3c;
  if ((uVar1 & 0x10) == 0) {
    uStack_40 = 0x4ff1b;
    FUN_0001a17e();
    if ((uVar1 & 0xc) != 0) {
      uStack_40 = 0x4ff2b;
      uVar1 = FUN_0004fd0e();
      puVar7 = local_3c;
      goto LAB_0004ff37;
    }
    uVar1 = 0;
    if (*piVar5 != 0) {
      do {
        uStack_40 = 0x4ff58;
        FUN_0004fca1();
        uStack_40 = 0x4ff5f;
        uVar4 = FUN_0004fd0e();
        uVar1 = uVar1 | uVar4;
        piVar5 = piVar5 + 1;
      } while (*piVar5 != 0);
      goto LAB_0004ff37;
    }
  }
  else {
    *(uint *)(unaff_EBP + 0x81903) = uVar1 | 0x20;
    if (*piVar5 == 0) {
      piVar5[-1] = unaff_EBP + 0x788e3;
      piVar5 = piVar5 + -1;
    }
    uStack_40 = 0x4fe8c;
    local_38 = FUN_00019ca7();
    local_34 = local_28;
    local_30 = unaff_EBP + 0x788f4;
    do {
      *(undefined4 *)(puVar6 + -4) = 0x4feaf;
      FUN_000ad99a();
      *(undefined4 *)(puVar6 + -4) = 0x4feba;
      FUN_0001a17e();
      puVar7 = puVar6;
      while( true ) {
        *(int *)(puVar7 + -0x10) = unaff_EBP + 0x788fe;
        *(undefined4 *)(puVar7 + -0x14) = 0x4fece;
        iVar2 = FUN_000ad9fd();
        puVar6 = puVar7 + -4;
        puVar8 = puVar7 + -4;
        if (iVar2 == 0) break;
        *(undefined4 *)(puVar7 + -8) = 0x4fee2;
        FUN_000b1d54();
        *(undefined4 *)(puVar7 + -8) = 0x4feeb;
        puVar3 = (undefined1 *)FUN_000b1d54();
        *(undefined4 *)(puVar7 + -8) = 0x4fef6;
        FUN_0004fca1();
        *puVar3 = 0x3d;
        *(undefined4 *)(puVar7 + -8) = 0x4ff05;
        FUN_000b18b4();
        *(undefined4 *)(puVar7 + -8) = 0x4ff0e;
        FUN_0004fa1a();
        puVar7 = puVar7 + -4;
      }
      *(undefined4 *)(puVar7 + -8) = 0x4ff75;
      FUN_0001a1b1();
      piVar5 = piVar5 + 1;
    } while (*piVar5 != 0);
  }
  uVar1 = 0;
  puVar7 = puVar8;
LAB_0004ff37:
  if (*(int *)(puVar7 + 0x1c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar7 + -4) = 0x4ff53;
    FUN_00017e10();
  }
  return uVar1;
}

