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

void __cxa_free_exception(int param_1)

{
  void *__ptr;
  
  __ptr = (void *)(param_1 + -0x60);
  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {
    (anonymous_namespace)::pool::free(__ptr);
    return;
  }
  free(__ptr);
  return;
}



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

void FUN_001ac310(int param_1)

{
  void *__ptr;
  
  __ptr = (void *)(param_1 + -0x60);
  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {
    FUN_001abfa0();
    return;
  }
  free(__ptr);
  return;
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x192cea
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
SUB EAX,0x60
MOV EDX,dword ptr [EBX + 0x73fc]
CMP EAX,EDX
JBE 0x001ac348
ADD EDX,dword ptr [EBX + 0x7400]
CMP EAX,EDX
JNC 0x001ac348
ADD ESP,0x8
POP EBX
JMP 0x001abfa0
SUB ESP,0xc
PUSH EAX
CALL 0x00028420
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001ac310(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}\n\n" comment (function_definition "void FUN_001ac310(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "FUN_001ac310(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = (void *)(param_1 + -0x60);" (assignment_expression "__ptr = (void *)(param_1 + -0x60)" identifier = (cast_expression "(void *)(param_1 + -0x60)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) ;) (if_statement "if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }" if (parenthesized_expression "((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400)))" ( (binary_expression "(DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" (parenthesized_expression "(DAT_003463fc < __ptr)" ( (binary_expression "DAT_003463fc < __ptr" identifier < identifier) )) && (parenthesized_expression "(__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" ( (binary_expression "__ptr < (void *)((int)DAT_003463fc + DAT_00346400)" identifier < (cast_expression "(void *)((int)DAT_003463fc + DAT_00346400)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)DAT_003463fc + DAT_00346400)" ( (binary_expression "(int)DAT_003463fc + DAT_00346400" (cast_expression "(int)DAT_003463fc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ))) )) (compound_statement "{\n    FUN_001abfa0();\n    return;\n  }" { (expression_statement "FUN_001abfa0();" (call_expression "FUN_001abfa0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __cxa_free_exception(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    (anonymous_namespace)::pool::free(__ptr);\n    return;\n  }\n  free(__ptr);\n  return;\n}\n\n" comment (function_definition "void __cxa_free_exception(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    (anonymous_namespace)::pool::free(__ptr);\n    return;\n  }\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "__cxa_free_exception(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    (anonymous_namespace)::pool::free(__ptr);\n    return;\n  }\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = (void *)(param_1 + -0x60);" (assignment_expression "__ptr = (void *)(param_1 + -0x60)" identifier = (cast_expression "(void *)(param_1 + -0x60)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) ;) (if_statement "if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    (anonymous_namespace)::pool::free(__ptr);\n    return;\n  }" if (parenthesized_expression "((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400)))" ( (binary_expression "(DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" (parenthesized_expression "(DAT_003463fc < __ptr)" ( (binary_expression "DAT_003463fc < __ptr" identifier < identifier) )) && (parenthesized_expression "(__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" ( (binary_expression "__ptr < (void *)((int)DAT_003463fc + DAT_00346400)" identifier < (cast_expression "(void *)((int)DAT_003463fc + DAT_00346400)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)DAT_003463fc + DAT_00346400)" ( (binary_expression "(int)DAT_003463fc + DAT_00346400" (cast_expression "(int)DAT_003463fc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ))) )) (compound_statement "{\n    (anonymous_namespace)::pool::free(__ptr);\n    return;\n  }" { (ERROR "(anonymous_namespace)::" (parenthesized_expression "(anonymous_namespace)" ( identifier )) : :) (labeled_statement "pool::free(__ptr);" statement_identifier : (ERROR ":" :) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;)) (return_statement "return;" return ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001ac310(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}\n\n" (function_definition "void FUN_001ac310(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "FUN_001ac310(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = (void *)(param_1 + -0x60);" (assignment_expression "__ptr = (void *)(param_1 + -0x60)" identifier = (cast_expression "(void *)(param_1 + -0x60)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -0x60)" ( (binary_expression "param_1 + -0x60" identifier + number_literal) )))) ;) (if_statement "if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }" if (parenthesized_expression "((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400)))" ( (binary_expression "(DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" (parenthesized_expression "(DAT_003463fc < __ptr)" ( (binary_expression "DAT_003463fc < __ptr" identifier < identifier) )) && (parenthesized_expression "(__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" ( (binary_expression "__ptr < (void *)((int)DAT_003463fc + DAT_00346400)" identifier < (cast_expression "(void *)((int)DAT_003463fc + DAT_00346400)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)DAT_003463fc + DAT_00346400)" ( (binary_expression "(int)DAT_003463fc + DAT_00346400" (cast_expression "(int)DAT_003463fc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ))) )) (compound_statement "{\n    FUN_001abfa0();\n    return;\n  }" { (expression_statement "FUN_001abfa0();" (call_expression "FUN_001abfa0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001ac310(int param_1)\n\n{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001ac310(int param_1)" (identifier "FUN_001ac310") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  void *__ptr;\n  \n  __ptr = (void *)(param_1 + -0x60);\n  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }\n  free(__ptr);\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (expression_statement "__ptr = (void *)(param_1 + -0x60);" (assignment_expression "__ptr = (void *)(param_1 + -0x60)" (identifier "__ptr") (= "=") (cast_expression "(void *)(param_1 + -0x60)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -0x60)" (( "(") (binary_expression "param_1 + -0x60" (identifier "param_1") (+ "+") (number_literal "-0x60")) () ")")))) (; ";")) (if_statement "if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {\n    FUN_001abfa0();\n    return;\n  }" (if "if") (parenthesized_expression "((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400)))" (( "(") (binary_expression "(DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" (parenthesized_expression "(DAT_003463fc < __ptr)" (( "(") (binary_expression "DAT_003463fc < __ptr" (identifier "DAT_003463fc") (< "<") (identifier "__ptr")) () ")")) (&& "&&") (parenthesized_expression "(__ptr < (void *)((int)DAT_003463fc + DAT_00346400))" (( "(") (binary_expression "__ptr < (void *)((int)DAT_003463fc + DAT_00346400)" (identifier "__ptr") (< "<") (cast_expression "(void *)((int)DAT_003463fc + DAT_00346400)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)DAT_003463fc + DAT_00346400)" (( "(") (binary_expression "(int)DAT_003463fc + DAT_00346400" (cast_expression "(int)DAT_003463fc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_003463fc")) (+ "+") (identifier "DAT_00346400")) () ")")))) () ")"))) () ")")) (compound_statement "{\n    FUN_001abfa0();\n    return;\n  }" ({ "{") (expression_statement "FUN_001abfa0();" (call_expression "FUN_001abfa0()" (identifier "FUN_001abfa0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int var_1)

{
  void *var_3;
  
  var_3 = (void *)(var_1 + -0x60);
  if ((var_2 < var_3) && (var_3 < (void *)((int)var_2 + var_4))) {
    (anonymous_namespace)::pool::var_5(var_3);
    return;
  }
  var_5(var_3);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (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: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_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: (primitive_type)) value: (identifier)) right: (identifier)))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(int param_1)

{
  void *__ptr;
  
  __ptr = (void *)(param_1 + -0x60);
  if ((DAT_003463fc < __ptr) && (__ptr < (void *)((int)DAT_003463fc + DAT_00346400))) {
    FUN_001abfa0();
    return;
  }
  free(__ptr);
  return;
}

