
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void * stalloc(size_t nbytes)

{
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 FUN_000577a5(int param_1)

{
  undefined4 *puVar1;
  uint uVar2;
  uint uVar3;
  undefined4 *puVar4;
  
  uVar3 = param_1 + 7U & 0xfffffff8;
  uVar2 = DAT_000dc710[3];
  puVar4 = DAT_000dc710;
  if (uVar2 < uVar3) {
    if (uVar3 < 0x1f8) {
      uVar2 = 0x1f8;
    }
    else {
      uVar2 = uVar3;
      if (0xfffffffb < uVar3) {
                    /* WARNING: Subroutine does not return */
        FUN_00056c26("out of memory");
      }
    }
    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;
    puVar1 = (undefined4 *)FUN_0001a288();
    puVar4 = DAT_000dc710;
    *puVar1 = *DAT_000dc710;
    puVar4[1] = puVar1 + 1;
    puVar4[3] = uVar2;
    puVar4[2] = (int)(puVar1 + 1) + uVar2;
    *puVar4 = puVar1;
    FUN_00055de5();
    uVar2 = puVar4[3];
  }
  puVar4[1] = puVar4[1] + uVar3;
  puVar4[3] = uVar2 - uVar3;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
CALL 0x0001a228
ADD ECX,0x8426f
LEA EBX,[EAX + 0x7]
AND EBX,0xfffffff8
LEA EBP,[ECX + 0xcf0]
MOV ESI,dword ptr [EBP]
MOV EDX,dword ptr [ESI + 0xc]
CMP EDX,EBX
JNC 0x0005781d
CMP EBX,0x1f7
JA 0x000577e1
MOV EAX,0x1fc
MOV EDI,0x1f8
JMP 0x000577ea
MOV EAX,EBX
ADD EAX,0x4
JC 0x00057833
MOV EDI,EBX
LEA EDX,[ECX + 0xce8]
MOV ECX,dword ptr [EDX]
MOV EDX,dword ptr [ECX + 0x24]
INC EDX
MOV dword ptr [ECX + 0x24],EDX
CALL 0x0001a288
MOV ESI,dword ptr [EBP]
MOV EDX,dword ptr [ESI]
MOV dword ptr [EAX],EDX
LEA EDX,[EAX + 0x4]
MOV dword ptr [ESI + 0x4],EDX
MOV dword ptr [ESI + 0xc],EDI
ADD EDX,EDI
MOV dword ptr [ESI + 0x8],EDX
MOV dword ptr [ESI],EAX
CALL 0x00055de5
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,dword ptr [ESI + 0x4]
LEA ECX,[EAX + EBX*0x1]
MOV dword ptr [ESI + 0x4],ECX
SUB EDX,EBX
MOV dword ptr [ESI + 0xc],EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[ECX + 0xffff2856]
PUSH EAX
CALL 0x00056c26
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid __regparm3 FUN_000577a5(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000577a5(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000577a5(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar3 = param_1 + 7U & 0xfffffff8;" (assignment_expression "uVar3 = param_1 + 7U & 0xfffffff8" identifier = (binary_expression "param_1 + 7U & 0xfffffff8" (binary_expression "param_1 + 7U" identifier + number_literal) & number_literal)) ;) (expression_statement "uVar2 = DAT_000dc710[3];" (assignment_expression "uVar2 = DAT_000dc710[3]" identifier = (subscript_expression "DAT_000dc710[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" identifier = identifier) ;) (if_statement "if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" if (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) (compound_statement "{\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" { (if_statement "if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }" if (parenthesized_expression "(uVar3 < 0x1f8)" ( (binary_expression "uVar3 < 0x1f8" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x1f8;\n    }" { (expression_statement "uVar2 = 0x1f8;" (assignment_expression "uVar2 = 0x1f8" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }" else (compound_statement "{\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }\n    }" { (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (if_statement "if (0xfffffffb < uVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }" if (parenthesized_expression "(0xfffffffb < uVar3)" ( (binary_expression "0xfffffffb < uVar3" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00056c26("out of memory");\n      }" { comment (expression_statement "FUN_00056c26("out of memory");" (call_expression "FUN_00056c26("out of memory")" identifier (argument_list "("out of memory")" ( (string_literal ""out of memory"" " string_content ") ))) ;) })) }))) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) = (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001a288();" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a288()" identifier = (cast_expression "(undefined4 *)FUN_0001a288()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a288()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" identifier = identifier) ;) (expression_statement "*puVar1 = *DAT_000dc710;" (assignment_expression "*puVar1 = *DAT_000dc710" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*DAT_000dc710" * identifier)) ;) (expression_statement "puVar4[1] = puVar1 + 1;" (assignment_expression "puVar4[1] = puVar1 + 1" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[3] = uVar2;" (assignment_expression "puVar4[3] = uVar2" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = (int)(puVar1 + 1) + uVar2;" (assignment_expression "puVar4[2] = (int)(puVar1 + 1) + uVar2" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "(int)(puVar1 + 1) + uVar2" (cast_expression "(int)(puVar1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) + identifier)) ;) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = puVar4[3];" (assignment_expression "uVar2 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) })) (expression_statement "puVar4[1] = puVar4[1] + uVar3;" (assignment_expression "puVar4[1] = puVar4[1] + uVar3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (binary_expression "puVar4[1] + uVar3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "puVar4[3] = uVar2 - uVar3;" (assignment_expression "puVar4[3] = uVar2 - uVar3" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid * stalloc(size_t nbytes)\n\n{\n}\n\n" comment (function_definition "void * stalloc(size_t nbytes)\n\n{\n}" primitive_type (pointer_declarator "* stalloc(size_t nbytes)" * (function_declarator "stalloc(size_t nbytes)" identifier (parameter_list "(size_t nbytes)" ( (parameter_declaration "size_t nbytes" primitive_type identifier) )))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_000577a5(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000577a5(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000577a5(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar3 = param_1 + 7U & 0xfffffff8;" (assignment_expression "uVar3 = param_1 + 7U & 0xfffffff8" identifier = (binary_expression "param_1 + 7U & 0xfffffff8" (binary_expression "param_1 + 7U" identifier + number_literal) & number_literal)) ;) (expression_statement "uVar2 = DAT_000dc710[3];" (assignment_expression "uVar2 = DAT_000dc710[3]" identifier = (subscript_expression "DAT_000dc710[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" identifier = identifier) ;) (if_statement "if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" if (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) (compound_statement "{\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" { (if_statement "if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" if (parenthesized_expression "(uVar3 < 0x1f8)" ( (binary_expression "uVar3 < 0x1f8" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x1f8;\n    }" { (expression_statement "uVar2 = 0x1f8;" (assignment_expression "uVar2 = 0x1f8" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" else (compound_statement "{\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" { (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (if_statement "if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }" if (parenthesized_expression "(0xfffffffb < uVar3)" ( (binary_expression "0xfffffffb < uVar3" number_literal < identifier) )) (compound_statement "{\n                    \n        FUN_00056c26("out of memory");\n      }" { (expression_statement "FUN_00056c26("out of memory");" (call_expression "FUN_00056c26("out of memory")" identifier (argument_list "("out of memory")" ( (string_literal ""out of memory"" " string_content ") ))) ;) })) }))) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) = (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001a288();" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a288()" identifier = (cast_expression "(undefined4 *)FUN_0001a288()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a288()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" identifier = identifier) ;) (expression_statement "*puVar1 = *DAT_000dc710;" (assignment_expression "*puVar1 = *DAT_000dc710" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*DAT_000dc710" * identifier)) ;) (expression_statement "puVar4[1] = puVar1 + 1;" (assignment_expression "puVar4[1] = puVar1 + 1" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[3] = uVar2;" (assignment_expression "puVar4[3] = uVar2" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = (int)(puVar1 + 1) + uVar2;" (assignment_expression "puVar4[2] = (int)(puVar1 + 1) + uVar2" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "(int)(puVar1 + 1) + uVar2" (cast_expression "(int)(puVar1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) + identifier)) ;) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = puVar4[3];" (assignment_expression "uVar2 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) })) (expression_statement "puVar4[1] = puVar4[1] + uVar3;" (assignment_expression "puVar4[1] = puVar4[1] + uVar3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (binary_expression "puVar4[1] + uVar3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "puVar4[3] = uVar2 - uVar3;" (assignment_expression "puVar4[3] = uVar2 - uVar3" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) }))) (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - IDENT)) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000577a5(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000577a5(int param_1)" (identifier "FUN_000577a5") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  uVar3 = param_1 + 7U & 0xfffffff8;\n  uVar2 = DAT_000dc710[3];\n  puVar4 = DAT_000dc710;\n  if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }\n  puVar4[1] = puVar4[1] + uVar3;\n  puVar4[3] = uVar2 - uVar3;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "uVar3 = param_1 + 7U & 0xfffffff8;" (assignment_expression "uVar3 = param_1 + 7U & 0xfffffff8" (identifier "uVar3") (= "=") (binary_expression "param_1 + 7U & 0xfffffff8" (binary_expression "param_1 + 7U" (identifier "param_1") (+ "+") (number_literal "7U")) (& "&") (number_literal "0xfffffff8"))) (; ";")) (expression_statement "uVar2 = DAT_000dc710[3];" (assignment_expression "uVar2 = DAT_000dc710[3]" (identifier "uVar2") (= "=") (subscript_expression "DAT_000dc710[3]" (identifier "DAT_000dc710") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" (identifier "puVar4") (= "=") (identifier "DAT_000dc710")) (; ";")) (if_statement "if (uVar2 < uVar3) {\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" (if "if") (parenthesized_expression "(uVar2 < uVar3)" (( "(") (binary_expression "uVar2 < uVar3" (identifier "uVar2") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n    if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }\n    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n    puVar1 = (undefined4 *)FUN_0001a288();\n    puVar4 = DAT_000dc710;\n    *puVar1 = *DAT_000dc710;\n    puVar4[1] = puVar1 + 1;\n    puVar4[3] = uVar2;\n    puVar4[2] = (int)(puVar1 + 1) + uVar2;\n    *puVar4 = puVar1;\n    FUN_00055de5();\n    uVar2 = puVar4[3];\n  }" ({ "{") (if_statement "if (uVar3 < 0x1f8) {\n      uVar2 = 0x1f8;\n    }\n    else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" (if "if") (parenthesized_expression "(uVar3 < 0x1f8)" (( "(") (binary_expression "uVar3 < 0x1f8" (identifier "uVar3") (< "<") (number_literal "0x1f8")) () ")")) (compound_statement "{\n      uVar2 = 0x1f8;\n    }" ({ "{") (expression_statement "uVar2 = 0x1f8;" (assignment_expression "uVar2 = 0x1f8" (identifier "uVar2") (= "=") (number_literal "0x1f8")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" (else "else") (compound_statement "{\n      uVar2 = uVar3;\n      if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }\n    }" ({ "{") (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" (identifier "uVar2") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (0xfffffffb < uVar3) {\n                    \n        FUN_00056c26("out of memory");\n      }" (if "if") (parenthesized_expression "(0xfffffffb < uVar3)" (( "(") (binary_expression "0xfffffffb < uVar3" (number_literal "0xfffffffb") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n                    \n        FUN_00056c26("out of memory");\n      }" ({ "{") (expression_statement "FUN_00056c26("out of memory");" (call_expression "FUN_00056c26("out of memory")" (identifier "FUN_00056c26") (argument_list "("out of memory")" (( "(") (string_literal ""out of memory"" (" """) (string_content "out of memory") (" """)) () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" (* "*") (cast_expression "(int *)(DAT_000dc708 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0x24)" (( "(") (binary_expression "DAT_000dc708 + 0x24" (identifier "DAT_000dc708") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" (* "*") (cast_expression "(int *)(DAT_000dc708 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0x24)" (( "(") (binary_expression "DAT_000dc708 + 0x24" (identifier "DAT_000dc708") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0001a288();" (assignment_expression "puVar1 = (undefined4 *)FUN_0001a288()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0001a288()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a288()" (identifier "FUN_0001a288") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar4 = DAT_000dc710;" (assignment_expression "puVar4 = DAT_000dc710" (identifier "puVar4") (= "=") (identifier "DAT_000dc710")) (; ";")) (expression_statement "*puVar1 = *DAT_000dc710;" (assignment_expression "*puVar1 = *DAT_000dc710" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*DAT_000dc710" (* "*") (identifier "DAT_000dc710"))) (; ";")) (expression_statement "puVar4[1] = puVar1 + 1;" (assignment_expression "puVar4[1] = puVar1 + 1" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4[3] = uVar2;" (assignment_expression "puVar4[3] = uVar2" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar4[2] = (int)(puVar1 + 1) + uVar2;" (assignment_expression "puVar4[2] = (int)(puVar1 + 1) + uVar2" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(int)(puVar1 + 1) + uVar2" (cast_expression "(int)(puVar1 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (+ "+") (identifier "uVar2"))) (; ";")) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" (identifier "FUN_00055de5") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = puVar4[3];" (assignment_expression "uVar2 = puVar4[3]" (identifier "uVar2") (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}"))) (expression_statement "puVar4[1] = puVar4[1] + uVar3;" (assignment_expression "puVar4[1] = puVar4[1] + uVar3" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar4[1] + uVar3" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "uVar3"))) (; ";")) (expression_statement "puVar4[3] = uVar2 - uVar3;" (assignment_expression "puVar4[3] = uVar2 - uVar3" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "uVar2 - uVar3" (identifier "uVar2") (- "-") (identifier "uVar3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void * function_1(size_t nbytes)

{
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 MASKED(int param_1)

{
  undefined4 *puVar1;
  uint uVar2;
  uint uVar3;
  undefined4 *puVar4;
  
  uVar3 = param_1 + 7U & 0xfffffff8;
  uVar2 = DAT_000dc710[3];
  puVar4 = DAT_000dc710;
  if (uVar2 < uVar3) {
    if (uVar3 < 0x1f8) {
      uVar2 = 0x1f8;
    }
    else {
      uVar2 = uVar3;
      if (0xfffffffb < uVar3) {
                    /* WARNING: Subroutine does not return */
        FUN_00056c26("out of memory");
      }
    }
    *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;
    puVar1 = (undefined4 *)FUN_0001a288();
    puVar4 = DAT_000dc710;
    *puVar1 = *DAT_000dc710;
    puVar4[1] = puVar1 + 1;
    puVar4[3] = uVar2;
    puVar4[2] = (int)(puVar1 + 1) + uVar2;
    *puVar4 = puVar1;
    FUN_00055de5();
    uVar2 = puVar4[3];
  }
  puVar4[1] = puVar4[1] + uVar3;
  puVar4[3] = uVar2 - uVar3;
  return;
}

