
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::Catalogs::~Catalogs() */

void __thiscall std::Catalogs::~Catalogs(Catalogs *this)

{
}



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

void FUN_002903f0(int param_1)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 0x1c);
  piVar2 = *(int **)(param_1 + 0x20);
  if (piVar3 != piVar2) {
    do {
      iVar1 = *piVar3;
      if (iVar1 != 0) {
        free(*(void **)(iVar1 + 4));
        FUN_0024a980(iVar1 + 8);
        FUN_00248220(iVar1);
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(param_1 + 0x20) != piVar3);
    piVar2 = *(int **)(param_1 + 0x1c);
  }
  if (piVar2 != (int *)0x0) {
    FUN_00248220(piVar2);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x183c07
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EBP + 0x1c]
MOV EAX,dword ptr [EBP + 0x20]
CMP ESI,EAX
JZ 0x00290442
MOV EDI,dword ptr [ESI]
TEST EDI,EDI
JZ 0x00290437
SUB ESP,0xc
PUSH dword ptr [EDI + 0x4]
CALL 0x0002c700
LEA EAX,[EDI + 0x8]
MOV dword ptr [ESP],EAX
CALL 0x0024a980
MOV dword ptr [ESP],EDI
CALL 0x00248220
ADD ESP,0x10
ADD ESI,0x4
CMP dword ptr [EBP + 0x20],ESI
JNZ 0x00290410
MOV EAX,dword ptr [EBP + 0x1c]
TEST EAX,EAX
JZ 0x00290452
SUB ESP,0xc
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002903f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_002903f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002903f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(piVar3 != piVar2)" ( (binary_expression "piVar3 != piVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" { (do_statement "do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);" do (compound_statement "{\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" { (expression_statement "free(*(void **)(iVar1 + 4));" (call_expression "free(*(void **)(iVar1 + 4))" identifier (argument_list "(*(void **)(iVar1 + 4))" ( (pointer_expression "*(void **)(iVar1 + 4)" * (cast_expression "(void **)(iVar1 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0024a980(iVar1 + 8);" (call_expression "FUN_0024a980(iVar1 + 8)" identifier (argument_list "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))) ;) (expression_statement "FUN_00248220(iVar1);" (call_expression "FUN_00248220(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x20) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x20) != piVar3" (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != identifier) )) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (if_statement "if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00248220(piVar2);\n  }" { (expression_statement "FUN_00248220(piVar2);" (call_expression "FUN_00248220(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::Catalogs::~Catalogs() */\n\nvoid __thiscall std::Catalogs::~Catalogs(Catalogs *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall std::Catalogs::~Catalogs(Catalogs *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::Catalogs::~" identifier : : identifier : : ~) (function_declarator "Catalogs(Catalogs *this)" identifier (parameter_list "(Catalogs *this)" ( (parameter_declaration "Catalogs *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_002903f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002903f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002903f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(piVar3 != piVar2)" ( (binary_expression "piVar3 != piVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" { (do_statement "do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);" do (compound_statement "{\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" { (expression_statement "free(*(void **)(iVar1 + 4));" (call_expression "free(*(void **)(iVar1 + 4))" identifier (argument_list "(*(void **)(iVar1 + 4))" ( (pointer_expression "*(void **)(iVar1 + 4)" * (cast_expression "(void **)(iVar1 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0024a980(iVar1 + 8);" (call_expression "FUN_0024a980(iVar1 + 8)" identifier (argument_list "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))) ;) (expression_statement "FUN_00248220(iVar1);" (call_expression "FUN_00248220(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x20) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x20) != piVar3" (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != identifier) )) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) (if_statement "if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00248220(piVar2);\n  }" { (expression_statement "FUN_00248220(piVar2);" (call_expression "FUN_00248220(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002903f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002903f0(int param_1)" (identifier "FUN_002903f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x1c);\n  piVar2 = *(int **)(param_1 + 0x20);\n  if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }\n  if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "piVar3 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x1c)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x20)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (piVar3 != piVar2) {\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" (if "if") (parenthesized_expression "(piVar3 != piVar2)" (( "(") (binary_expression "piVar3 != piVar2" (identifier "piVar3") (!= "!=") (identifier "piVar2")) () ")")) (compound_statement "{\n    do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);\n    piVar2 = *(int **)(param_1 + 0x1c);\n  }" ({ "{") (do_statement "do {\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x20) != piVar3);" (do "do") (compound_statement "{\n      iVar1 = *piVar3;\n      if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }\n      piVar3 = piVar3 + 1;\n    }" ({ "{") (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if (iVar1 != 0) {\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        free(*(void **)(iVar1 + 4));\n        FUN_0024a980(iVar1 + 8);\n        FUN_00248220(iVar1);\n      }" ({ "{") (expression_statement "free(*(void **)(iVar1 + 4));" (call_expression "free(*(void **)(iVar1 + 4))" (identifier "free") (argument_list "(*(void **)(iVar1 + 4))" (( "(") (pointer_expression "*(void **)(iVar1 + 4)" (* "*") (cast_expression "(void **)(iVar1 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0024a980(iVar1 + 8);" (call_expression "FUN_0024a980(iVar1 + 8)" (identifier "FUN_0024a980") (argument_list "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "FUN_00248220(iVar1);" (call_expression "FUN_00248220(iVar1)" (identifier "FUN_00248220") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0x20) != piVar3)" (( "(") (binary_expression "*(int **)(param_1 + 0x20) != piVar3" (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (piVar2 != (int *)0x0) {\n    FUN_00248220(piVar2);\n  }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_00248220(piVar2);\n  }" ({ "{") (expression_statement "FUN_00248220(piVar2);" (call_expression "FUN_00248220(piVar2)" (identifier "FUN_00248220") (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::Catalogs::~Catalogs() */

void __thiscall std::function_1::~function_1(function_1 *this)

{
}


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

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 0x1c);
  piVar2 = *(int **)(param_1 + 0x20);
  if (piVar3 != piVar2) {
    do {
      iVar1 = *piVar3;
      if (iVar1 != 0) {
        free(*(void **)(iVar1 + 4));
        FUN_0024a980(iVar1 + 8);
        FUN_00248220(iVar1);
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(param_1 + 0x20) != piVar3);
    piVar2 = *(int **)(param_1 + 0x1c);
  }
  if (piVar2 != (int *)0x0) {
    FUN_00248220(piVar2);
  }
  return;
}

