
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_finalize_sections(Target_i386 * this, Layout * layout,
   Input_objects * param_2, Symbol_table * symtab) */

void __thiscall
anon_unknown.dwarf_218a7e::Target_i386::do_finalize_sections
          (Target_i386 *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab)

{
}



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

int FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  int iVar2;
  int *piVar3;
  undefined4 extraout_ECX;
  int *piVar4;
  undefined4 extraout_EDX;
  undefined4 unaff_EBP;
  undefined8 uVar5;
  undefined8 uVar6;
  
  iVar2 = *(int *)(param_1 + 0x18);
  if (iVar2 != 0) {
    iVar2 = *(int *)(iVar2 + 0x2c);
  }
  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);
  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {
    uVar1 = FUN_00065d80();
    FUN_002292b0(param_1 + 0x34,uVar1);
  }
  if (*(int *)(param_1 + 0x28) != 0) {
    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);
    iVar2 = FUN_00064d00();
    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;
  }
  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {
    iVar2 = DAT_005ea7c8;
    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&
       ((*(int *)(param_1 + 0x18) == 0 ||
        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {
      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,
                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));
      return iVar2;
    }
    return iVar2;
  }
  FUN_00064a50();
  uVar5 = FUN_00074f0a(param_2,unaff_EBP);
  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);
  param_2 = param_2 + 0x584047;
  iVar2 = *piVar4;
  if (iVar2 == 0) {
    piVar3 = (int *)FUN_003ac4d0(0x40);
    uVar6 = FUN_002c5bb0(0x20);
    piVar3[9] = (int)uVar6;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[1] = 0;
    *piVar3 = param_2 + -0xdfd0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);
    piVar3[0xb] = 0;
    *(undefined1 *)(piVar3 + 0xc) = 0;
    piVar3[0xd] = 0;
    piVar3[0xe] = 0;
    piVar3[0xf] = 0;
    *piVar4 = (int)piVar3;
    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);
    iVar2 = *piVar4;
    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);
    }
  }
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x584127
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00065ef4
MOV EAX,dword ptr [EAX + 0x2c]
SUB ESP,0x4
PUSH 0x0
PUSH 0x1
PUSH dword ptr [ESI + 0x2c]
PUSH EAX
PUSH dword ptr [ESI + 0x1c]
PUSH 0x1
PUSH EDI
CALL 0x00274fd0
ADD ESP,0x20
MOV EAX,dword ptr [ESI + 0x38]
CMP dword ptr [ESI + 0x34],EAX
JZ 0x00065f2f
MOV EDX,EDI
LEA EAX,[ESI + 0x2c]
CALL 0x00065d80
SUB ESP,0x8
PUSH EAX
LEA EAX,[ESI + 0x34]
PUSH EAX
CALL 0x002292b0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x28]
TEST EAX,EAX
JZ 0x00065f44
MOV EDX,dword ptr [ESI + 0x1c]
MOV EBP,dword ptr [EDX + 0xc]
CALL 0x00064d00
MOV dword ptr [EAX + 0x34],EBP
LEA EAX,[EBX + 0x7c8]
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX + 0x10],0x0
JZ 0x00065f9c
CMP byte ptr [EAX + 0x11],0x0
JZ 0x00065f66
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00065f70
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JZ 0x00065f70
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + 0x4]
SUB ESP,0xc
MOVZX EAX,byte ptr [EAX + 0xac]
PUSH EAX
LEA EAX,[EBX + 0xfffea7c0]
PUSH EAX
PUSH 0x2
PUSH EDI
PUSH dword ptr [ESP + 0x48]
CALL 0x0034fae0
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00064a50
NOP
LEA ESI,[ESI]
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 unaff_EBP;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" { (expression_statement "iVar2 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);" (call_expression "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" identifier (argument_list "(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" ( (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" { (expression_statement "uVar1 = FUN_00065d80();" (assignment_expression "uVar1 = FUN_00065d80()" identifier = (call_expression "FUN_00065d80()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_002292b0(param_1 + 0x34,uVar1);" (call_expression "FUN_002292b0(param_1 + 0x34,uVar1)" identifier (argument_list "(param_1 + 0x34,uVar1)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x28) != 0)" ( (binary_expression "*(int *)(param_1 + 0x28) != 0" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" { (expression_statement "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);" (assignment_expression "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_00064d00();" (assignment_expression "iVar2 = FUN_00064d00()" identifier = (call_expression "FUN_00064d00()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP;" (assignment_expression "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP" (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x10)" ( (binary_expression "DAT_005ea7c8 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" { (expression_statement "iVar2 = DAT_005ea7c8;" (assignment_expression "iVar2 = DAT_005ea7c8" identifier = identifier) ;) (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" if (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))))" ( (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x11)" ( (binary_expression "DAT_005ea7c8 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" * (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" { (expression_statement "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (assignment_expression "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier = (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier (argument_list "(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" ( identifier , identifier , number_literal , (pointer_expression "&PTR_s___rel_iplt_start_005d47c0" & identifier) , (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" * (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" ( (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) )))) ;) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "FUN_00064a50();" (call_expression "FUN_00064a50()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = FUN_00074f0a(param_2,unaff_EBP);" (assignment_expression "uVar5 = FUN_00074f0a(param_2,unaff_EBP)" identifier = (call_expression "FUN_00074f0a(param_2,unaff_EBP)" identifier (argument_list "(param_2,unaff_EBP)" ( identifier , identifier )))) ;) (expression_statement "piVar4 = (int *)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar4 = (int *)((ulonglong)uVar5 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = param_2 + 0x584047;" (assignment_expression "param_2 = param_2 + 0x584047" identifier = (binary_expression "param_2 + 0x584047" identifier + number_literal)) ;) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" { (expression_statement "piVar3 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar3 = (int *)FUN_003ac4d0(0x40)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" identifier = (call_expression "FUN_002c5bb0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar6;" (assignment_expression "piVar3[9] = (int)uVar6" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar3 = param_2 + -0xdfd0;" (assignment_expression "*piVar3 = param_2 + -0xdfd0" (pointer_expression "*piVar3" * identifier) = (binary_expression "param_2 + -0xdfd0" identifier + number_literal)) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar3 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 0xc) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 0xc)" * (cast_expression "(undefined1 *)(piVar3 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 0xc)" ( (binary_expression "piVar3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar3[0xd] = 0;" (assignment_expression "piVar3[0xd] = 0" (subscript_expression "piVar3[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xe] = 0;" (assignment_expression "piVar3[0xe] = 0" (subscript_expression "piVar3[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xf] = 0;" (assignment_expression "piVar3[0xf] = 0" (subscript_expression "piVar3[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar4 = (int)piVar3;" (assignment_expression "*piVar4 = (int)piVar3" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);" (call_expression "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" identifier (argument_list "(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" ( identifier , (binary_expression "param_2 + -0x19cb7e" identifier + number_literal) , number_literal , number_literal , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20))" ( (binary_expression "*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) != (pointer_expression "*(int *)(*(int *)uVar5 + 0x20)" * (cast_expression "(int *)(*(int *)uVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)uVar5 + 0x20)" ( (binary_expression "*(int *)uVar5 + 0x20" (pointer_expression "*(int *)uVar5" * (cast_expression "(int *)uVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" { comment (expression_statement "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);" (call_expression "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" identifier (argument_list "(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" ( (binary_expression "param_2 + -0x19cc45" identifier + number_literal) , number_literal , (binary_expression "param_2 + -0x19adc0" identifier + number_literal) , identifier ))) ;) })) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void do_finalize_sections(Target_i386 * this, Layout * layout,\n   Input_objects * param_2, Symbol_table * symtab) */\n\nvoid __thiscall\nanon_unknown.dwarf_218a7e::Target_i386::do_finalize_sections\n          (Target_i386 *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab)\n\n{\n}\n\n" comment comment comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_218a7e::Target_i386::do_finalize_sections\n          (Target_i386 *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_218a7e::Target_i386::" identifier . identifier : : identifier : :) (function_declarator "do_finalize_sections\n          (Target_i386 *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab)" identifier (parameter_list "(Target_i386 *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab)" ( (parameter_declaration "Target_i386 *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "Input_objects *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "int FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 unaff_EBP;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" { (expression_statement "iVar2 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);" (call_expression "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" identifier (argument_list "(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" ( (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" { (expression_statement "uVar1 = FUN_00065d80();" (assignment_expression "uVar1 = FUN_00065d80()" identifier = (call_expression "FUN_00065d80()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_002292b0(param_1 + 0x34,uVar1);" (call_expression "FUN_002292b0(param_1 + 0x34,uVar1)" identifier (argument_list "(param_1 + 0x34,uVar1)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x28) != 0)" ( (binary_expression "*(int *)(param_1 + 0x28) != 0" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" { (expression_statement "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);" (assignment_expression "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_00064d00();" (assignment_expression "iVar2 = FUN_00064d00()" identifier = (call_expression "FUN_00064d00()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP;" (assignment_expression "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP" (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x10)" ( (binary_expression "DAT_005ea7c8 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" { (expression_statement "iVar2 = DAT_005ea7c8;" (assignment_expression "iVar2 = DAT_005ea7c8" identifier = identifier) ;) (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" if (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))))" ( (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x11)" ( (binary_expression "DAT_005ea7c8 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" * (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" { (expression_statement "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (assignment_expression "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier = (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier (argument_list "(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" ( identifier , identifier , number_literal , (pointer_expression "&PTR_s___rel_iplt_start_005d47c0" & identifier) , (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" * (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" ( (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) )))) ;) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "FUN_00064a50();" (call_expression "FUN_00064a50()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = FUN_00074f0a(param_2,unaff_EBP);" (assignment_expression "uVar5 = FUN_00074f0a(param_2,unaff_EBP)" identifier = (call_expression "FUN_00074f0a(param_2,unaff_EBP)" identifier (argument_list "(param_2,unaff_EBP)" ( identifier , identifier )))) ;) (expression_statement "piVar4 = (int *)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar4 = (int *)((ulonglong)uVar5 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = param_2 + 0x584047;" (assignment_expression "param_2 = param_2 + 0x584047" identifier = (binary_expression "param_2 + 0x584047" identifier + number_literal)) ;) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" { (expression_statement "piVar3 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar3 = (int *)FUN_003ac4d0(0x40)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" identifier = (call_expression "FUN_002c5bb0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar3[9] = (int)uVar6;" (assignment_expression "piVar3[9] = (int)uVar6" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" * (cast_expression "(byte *)(piVar3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 7)" ( (binary_expression "piVar3 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar3 = param_2 + -0xdfd0;" (assignment_expression "*piVar3 = param_2 + -0xdfd0" (pointer_expression "*piVar3" * identifier) = (binary_expression "param_2 + -0xdfd0" identifier + number_literal)) ;) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar3 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 0xc) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 0xc)" * (cast_expression "(undefined1 *)(piVar3 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3 + 0xc)" ( (binary_expression "piVar3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar3[0xd] = 0;" (assignment_expression "piVar3[0xd] = 0" (subscript_expression "piVar3[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xe] = 0;" (assignment_expression "piVar3[0xe] = 0" (subscript_expression "piVar3[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xf] = 0;" (assignment_expression "piVar3[0xf] = 0" (subscript_expression "piVar3[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar4 = (int)piVar3;" (assignment_expression "*piVar4 = (int)piVar3" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);" (call_expression "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" identifier (argument_list "(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" ( identifier , (binary_expression "param_2 + -0x19cb7e" identifier + number_literal) , number_literal , number_literal , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20))" ( (binary_expression "*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) != (pointer_expression "*(int *)(*(int *)uVar5 + 0x20)" * (cast_expression "(int *)(*(int *)uVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)uVar5 + 0x20)" ( (binary_expression "*(int *)uVar5 + 0x20" (pointer_expression "*(int *)uVar5" * (cast_expression "(int *)uVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (compound_statement "{\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" { (expression_statement "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);" (call_expression "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" identifier (argument_list "(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" ( (binary_expression "param_2 + -0x19cc45" identifier + number_literal) , number_literal , (binary_expression "param_2 + -0x19adc0" identifier + number_literal) , identifier ))) ;) })) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) (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 IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , LIT , LIT , IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_00065ed0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00065ed0") (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 extraout_ECX;\n  int *piVar4;\n  undefined4 extraout_EDX;\n  undefined4 unaff_EBP;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  \n  iVar2 = *(int *)(param_1 + 0x18);\n  if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }\n  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }\n  if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }\n  FUN_00064a50();\n  uVar5 = FUN_00074f0a(param_2,unaff_EBP);\n  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);\n  param_2 = param_2 + 0x584047;\n  iVar2 = *piVar4;\n  if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }\n  return iVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "undefined4 unaff_EBP;" (type_identifier "undefined4") (identifier "unaff_EBP") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = *(int *)(iVar2 + 0x2c);\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x2c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0x2c)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);" (call_expression "FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" (identifier "FUN_00274fd0") (argument_list "(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0)" (( "(") (identifier "param_2") (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" (( "(") (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    uVar1 = FUN_00065d80();\n    FUN_002292b0(param_1 + 0x34,uVar1);\n  }" ({ "{") (expression_statement "uVar1 = FUN_00065d80();" (assignment_expression "uVar1 = FUN_00065d80()" (identifier "uVar1") (= "=") (call_expression "FUN_00065d80()" (identifier "FUN_00065d80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_002292b0(param_1 + 0x34,uVar1);" (call_expression "FUN_002292b0(param_1 + 0x34,uVar1)" (identifier "FUN_002292b0") (argument_list "(param_1 + 0x34,uVar1)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x28) != 0) {\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x28) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x28) != 0" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);\n    iVar2 = FUN_00064d00();\n    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;\n  }" ({ "{") (expression_statement "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);" (assignment_expression "unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" (identifier "unaff_EBP") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar2 = FUN_00064d00();" (assignment_expression "iVar2 = FUN_00064d00()" (identifier "iVar2") (= "=") (call_expression "FUN_00064d00()" (identifier "FUN_00064d00") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP;" (assignment_expression "*(undefined4 *)(iVar2 + 0x34) = unaff_EBP" (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "unaff_EBP")) (; ";")) (} "}"))) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" (( "(") (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" (* "*") (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 0x10)" (( "(") (binary_expression "DAT_005ea7c8 + 0x10" (identifier "DAT_005ea7c8") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar2 = DAT_005ea7c8;\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }\n    return iVar2;\n  }" ({ "{") (expression_statement "iVar2 = DAT_005ea7c8;" (assignment_expression "iVar2 = DAT_005ea7c8" (identifier "iVar2") (= "=") (identifier "DAT_005ea7c8")) (; ";")) (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" (if "if") (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))))" (( "(") (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" (( "(") (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" (* "*") (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 0x11)" (( "(") (binary_expression "DAT_005ea7c8 + 0x11" (identifier "DAT_005ea7c8") (+ "+") (number_literal "0x11")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0))" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == 0 ||\n        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)" (( "(") (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")"))))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return iVar2;\n    }" ({ "{") (expression_statement "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (assignment_expression "iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" (identifier "iVar2") (= "=") (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" (identifier "FUN_0034fae0") (argument_list "(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,\n                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" (( "(") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (number_literal "2") (, ",") (pointer_expression "&PTR_s___rel_iplt_start_005d47c0" (& "&") (identifier "PTR_s___rel_iplt_start_005d47c0")) (, ",") (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" (( "(") (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xac")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "FUN_00064a50();" (call_expression "FUN_00064a50()" (identifier "FUN_00064a50") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar5 = FUN_00074f0a(param_2,unaff_EBP);" (assignment_expression "uVar5 = FUN_00074f0a(param_2,unaff_EBP)" (identifier "uVar5") (= "=") (call_expression "FUN_00074f0a(param_2,unaff_EBP)" (identifier "FUN_00074f0a") (argument_list "(param_2,unaff_EBP)" (( "(") (identifier "param_2") (, ",") (identifier "unaff_EBP") () ")")))) (; ";")) (expression_statement "piVar4 = (int *)((ulonglong)uVar5 >> 0x20);" (assignment_expression "piVar4 = (int *)((ulonglong)uVar5 >> 0x20)" (identifier "piVar4") (= "=") (cast_expression "(int *)((ulonglong)uVar5 >> 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 + 0x584047;" (assignment_expression "param_2 = param_2 + 0x584047" (identifier "param_2") (= "=") (binary_expression "param_2 + 0x584047" (identifier "param_2") (+ "+") (number_literal "0x584047"))) (; ";")) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" (identifier "iVar2") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = (int *)FUN_003ac4d0(0x40);\n    uVar6 = FUN_002c5bb0(0x20);\n    piVar3[9] = (int)uVar6;\n    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;\n    piVar3[1] = 0;\n    *piVar3 = param_2 + -0xdfd0;\n    piVar3[2] = 0;\n    piVar3[3] = 0;\n    piVar3[4] = 0;\n    piVar3[5] = -1;\n    piVar3[6] = -1;\n    piVar3[8] = 0;\n    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);\n    piVar3[0xb] = 0;\n    *(undefined1 *)(piVar3 + 0xc) = 0;\n    piVar3[0xd] = 0;\n    piVar3[0xe] = 0;\n    piVar3[0xf] = 0;\n    *piVar4 = (int)piVar3;\n    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);\n    iVar2 = *piVar4;\n    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }\n  }" ({ "{") (expression_statement "piVar3 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar3 = (int *)FUN_003ac4d0(0x40)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_003ac4d0(0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x40)" (identifier "FUN_003ac4d0") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" (identifier "uVar6") (= "=") (call_expression "FUN_002c5bb0(0x20)" (identifier "FUN_002c5bb0") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "piVar3[9] = (int)uVar6;" (assignment_expression "piVar3[9] = (int)uVar6" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(piVar3 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar3 + 7)" (* "*") (cast_expression "(byte *)(piVar3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 7)" (( "(") (binary_expression "piVar3 + 7" (identifier "piVar3") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "0xe0"))) (; ";")) (expression_statement "piVar3[1] = 0;" (assignment_expression "piVar3[1] = 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar3 = param_2 + -0xdfd0;" (assignment_expression "*piVar3 = param_2 + -0xdfd0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (binary_expression "param_2 + -0xdfd0" (identifier "param_2") (+ "+") (number_literal "-0xdfd0"))) (; ";")) (expression_statement "piVar3[2] = 0;" (assignment_expression "piVar3[2] = 0" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[3] = 0;" (assignment_expression "piVar3[3] = 0" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[5] = -1;" (assignment_expression "piVar3[5] = -1" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar3[6] = -1;" (assignment_expression "piVar3[6] = -1" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" (identifier "piVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar3[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar3 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(piVar3 + 0xc) = 0" (pointer_expression "*(undefined1 *)(piVar3 + 0xc)" (* "*") (cast_expression "(undefined1 *)(piVar3 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3 + 0xc)" (( "(") (binary_expression "piVar3 + 0xc" (identifier "piVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[0xd] = 0;" (assignment_expression "piVar3[0xd] = 0" (subscript_expression "piVar3[0xd]" (identifier "piVar3") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[0xe] = 0;" (assignment_expression "piVar3[0xe] = 0" (subscript_expression "piVar3[0xe]" (identifier "piVar3") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[0xf] = 0;" (assignment_expression "piVar3[0xf] = 0" (subscript_expression "piVar3[0xf]" (identifier "piVar3") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar4 = (int)piVar3;" (assignment_expression "*piVar4 = (int)piVar3" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);" (call_expression "FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" (identifier "FUN_0027afd0") (argument_list "(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0)" (( "(") (identifier "extraout_ECX") (, ",") (binary_expression "param_2 + -0x19cb7e" (identifier "param_2") (+ "+") (number_literal "-0x19cb7e")) (, ",") (number_literal "9") (, ",") (number_literal "2") (, ",") (number_literal "0") (, ",") (identifier "piVar3") (, ",") (number_literal "5") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" (identifier "iVar2") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20))" (( "(") (binary_expression "*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)" (pointer_expression "*(int *)(iVar2 + 0x20)" (* "*") (cast_expression "(int *)(iVar2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (pointer_expression "*(int *)(*(int *)uVar5 + 0x20)" (* "*") (cast_expression "(int *)(*(int *)uVar5 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)uVar5 + 0x20)" (( "(") (binary_expression "*(int *)uVar5 + 0x20" (pointer_expression "*(int *)uVar5" (* "*") (cast_expression "(int *)uVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar5"))) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n                    \n      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);\n    }" ({ "{") (expression_statement "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);" (call_expression "FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" (identifier "FUN_002446e0") (argument_list "(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX)" (( "(") (binary_expression "param_2 + -0x19cc45" (identifier "param_2") (+ "+") (number_literal "-0x19cc45")) (, ",") (number_literal "0x4a6") (, ",") (binary_expression "param_2 + -0x19adc0" (identifier "param_2") (+ "+") (number_literal "-0x19adc0")) (, ",") (identifier "extraout_EDX") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_finalize_sections(Target_i386 * this, Layout * layout,
   Input_objects * param_2, Symbol_table * symtab) */

void __thiscall
anon_unknown.dwarf_218a7e::type_1::function_1
          (type_1 *this,type_2 *layout,type_3 *param_3,type_4 *symtab)

{
}


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

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

int MASKED(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  int iVar2;
  int *piVar3;
  undefined4 extraout_ECX;
  int *piVar4;
  undefined4 extraout_EDX;
  undefined4 unaff_EBP;
  undefined8 uVar5;
  undefined8 uVar6;
  
  iVar2 = *(int *)(param_1 + 0x18);
  if (iVar2 != 0) {
    iVar2 = *(int *)(iVar2 + 0x2c);
  }
  FUN_00274fd0(param_2,1,*(undefined4 *)(param_1 + 0x1c),iVar2,*(undefined4 *)(param_1 + 0x2c),1,0);
  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {
    uVar1 = FUN_00065d80();
    FUN_002292b0(param_1 + 0x34,uVar1);
  }
  if (*(int *)(param_1 + 0x28) != 0) {
    unaff_EBP = *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0xc);
    iVar2 = FUN_00064d00();
    *(undefined4 *)(iVar2 + 0x34) = unaff_EBP;
  }
  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {
    iVar2 = DAT_005ea7c8;
    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&
       ((*(int *)(param_1 + 0x18) == 0 ||
        (iVar2 = *(int *)(*(int *)(param_1 + 0x18) + 0x34), iVar2 == 0)))) {
      iVar2 = FUN_0034fae0(param_4,param_2,2,&PTR_s___rel_iplt_start_005d47c0,
                           *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));
      return iVar2;
    }
    return iVar2;
  }
  FUN_00064a50();
  uVar5 = FUN_00074f0a(param_2,unaff_EBP);
  piVar4 = (int *)((ulonglong)uVar5 >> 0x20);
  param_2 = param_2 + 0x584047;
  iVar2 = *piVar4;
  if (iVar2 == 0) {
    piVar3 = (int *)FUN_003ac4d0(0x40);
    uVar6 = FUN_002c5bb0(0x20);
    piVar3[9] = (int)uVar6;
    *(byte *)(piVar3 + 7) = *(byte *)(piVar3 + 7) & 0xe0;
    piVar3[1] = 0;
    *piVar3 = param_2 + -0xdfd0;
    piVar3[2] = 0;
    piVar3[3] = 0;
    piVar3[4] = 0;
    piVar3[5] = -1;
    piVar3[6] = -1;
    piVar3[8] = 0;
    piVar3[10] = (int)((ulonglong)uVar6 >> 0x20);
    piVar3[0xb] = 0;
    *(undefined1 *)(piVar3 + 0xc) = 0;
    piVar3[0xd] = 0;
    piVar3[0xe] = 0;
    piVar3[0xf] = 0;
    *piVar4 = (int)piVar3;
    FUN_0027afd0(extraout_ECX,param_2 + -0x19cb7e,9,2,0,piVar3,5,0);
    iVar2 = *piVar4;
    if (*(int *)(iVar2 + 0x20) != *(int *)(*(int *)uVar5 + 0x20)) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0(param_2 + -0x19cc45,0x4a6,param_2 + -0x19adc0,extraout_EDX);
    }
  }
  return iVar2;
}

