
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::get_catalogs() */

void std::get_catalogs(void)

{
}



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

undefined4 * FUN_00290a80(void)

{
  int iVar1;
  uint uVar2;
  
  if (DAT_0041c0d0 == '\0') {
    iVar1 = FUN_00246800(&DAT_0041c0d0);
    if (iVar1 != 0) {
      uVar2 = 0;
      do {
        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;
        uVar2 = uVar2 + 4;
      } while (uVar2 < 0x18);
      DAT_0041c0f8 = 0;
      DAT_0041c0fc = 0;
      DAT_0041c100 = 0;
      DAT_0041c104 = 0;
      FUN_00246970(&DAT_0041c0d0);
      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);
    }
  }
  return &DAT_0041c0e0;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x183578
MOVZX EAX,byte ptr [EBX + 0x80d0]
LEA ESI,[EBX + 0x80e0]
TEST AL,AL
JZ 0x00290aa8
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
LEA EDI,[EBX + 0x80d0]
LEA ESI,[EBX + 0x80e0]
PUSH EDI
CALL 0x00246800
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00290a9f
XOR EDX,EDX
XOR EAX,EAX
MOV dword ptr [EBX + EAX*0x1 + 0x80e0],EDX
ADD EAX,0x4
CMP EAX,0x18
JC 0x00290ac8
SUB ESP,0xc
LEA ESI,[EBX + 0x80e0]
MOV dword ptr [EBX + 0x80f8],0x0
PUSH EDI
MOV dword ptr [EBX + 0x80fc],0x0
MOV dword ptr [EBX + 0x8100],0x0
MOV dword ptr [EBX + 0x8104],0x0
CALL 0x00246970
ADD ESP,0xc
LEA EAX,[EBX + 0x2e4]
PUSH EAX
PUSH ESI
PUSH dword ptr [EBX + 0xffffffb8]
CALL 0x0002c3c0
ADD ESP,0x10
JMP 0x00290a9f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_00290a80(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}\n\n" comment (function_definition "undefined4 * FUN_00290a80(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" type_identifier (pointer_declarator "* FUN_00290a80(void)" * (function_declarator "FUN_00290a80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" if (parenthesized_expression "(DAT_0041c0d0 == '\0')" ( (binary_expression "DAT_0041c0d0 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" { (expression_statement "iVar1 = FUN_00246800(&DAT_0041c0d0);" (assignment_expression "iVar1 = FUN_00246800(&DAT_0041c0d0)" identifier = (call_expression "FUN_00246800(&DAT_0041c0d0)" identifier (argument_list "(&DAT_0041c0d0)" ( (pointer_expression "&DAT_0041c0d0" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);" do (compound_statement "{\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" * (cast_expression "(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_0041c0e0 + uVar2)" ( (binary_expression "(int)&DAT_0041c0e0 + uVar2" (cast_expression "(int)&DAT_0041c0e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_0041c0e0" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x18)" ( (binary_expression "uVar2 < 0x18" identifier < number_literal) )) ;) (expression_statement "DAT_0041c0f8 = 0;" (assignment_expression "DAT_0041c0f8 = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c0fc = 0;" (assignment_expression "DAT_0041c0fc = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c100 = 0;" (assignment_expression "DAT_0041c100 = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c104 = 0;" (assignment_expression "DAT_0041c104 = 0" identifier = number_literal) ;) (expression_statement "FUN_00246970(&DAT_0041c0d0);" (call_expression "FUN_00246970(&DAT_0041c0d0)" identifier (argument_list "(&DAT_0041c0d0)" ( (pointer_expression "&DAT_0041c0d0" & identifier) ))) ;) (expression_statement "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);" (call_expression "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" identifier (argument_list "(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" ( identifier , (pointer_expression "&DAT_0041c0e0" & identifier) , (pointer_expression "&PTR_LOOP_004142e4" & identifier) ))) ;) })) })) (return_statement "return &DAT_0041c0e0;" return (pointer_expression "&DAT_0041c0e0" & identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::get_catalogs() */\n\nvoid std::get_catalogs(void)\n\n{\n}\n\n" comment comment comment (function_definition "void std::get_catalogs(void)\n\n{\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "get_catalogs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 * FUN_00290a80(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}\n\n" (function_definition "undefined4 * FUN_00290a80(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" type_identifier (pointer_declarator "* FUN_00290a80(void)" * (function_declarator "FUN_00290a80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" if (parenthesized_expression "(DAT_0041c0d0 == '\0')" ( (binary_expression "DAT_0041c0d0 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" { (expression_statement "iVar1 = FUN_00246800(&DAT_0041c0d0);" (assignment_expression "iVar1 = FUN_00246800(&DAT_0041c0d0)" identifier = (call_expression "FUN_00246800(&DAT_0041c0d0)" identifier (argument_list "(&DAT_0041c0d0)" ( (pointer_expression "&DAT_0041c0d0" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);" do (compound_statement "{\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" * (cast_expression "(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_0041c0e0 + uVar2)" ( (binary_expression "(int)&DAT_0041c0e0 + uVar2" (cast_expression "(int)&DAT_0041c0e0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_0041c0e0" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x18)" ( (binary_expression "uVar2 < 0x18" identifier < number_literal) )) ;) (expression_statement "DAT_0041c0f8 = 0;" (assignment_expression "DAT_0041c0f8 = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c0fc = 0;" (assignment_expression "DAT_0041c0fc = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c100 = 0;" (assignment_expression "DAT_0041c100 = 0" identifier = number_literal) ;) (expression_statement "DAT_0041c104 = 0;" (assignment_expression "DAT_0041c104 = 0" identifier = number_literal) ;) (expression_statement "FUN_00246970(&DAT_0041c0d0);" (call_expression "FUN_00246970(&DAT_0041c0d0)" identifier (argument_list "(&DAT_0041c0d0)" ( (pointer_expression "&DAT_0041c0d0" & identifier) ))) ;) (expression_statement "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);" (call_expression "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" identifier (argument_list "(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" ( identifier , (pointer_expression "&DAT_0041c0e0" & identifier) , (pointer_expression "&PTR_LOOP_004142e4" & identifier) ))) ;) })) })) (return_statement "return &DAT_0041c0e0;" return (pointer_expression "&DAT_0041c0e0" & identifier) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) })) })) (return_statement return (pointer_expression & IDENT) ;) })))
(function_definition "undefined4 * FUN_00290a80(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00290a80(void)" (* "*") (function_declarator "FUN_00290a80(void)" (identifier "FUN_00290a80") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }\n  return &DAT_0041c0e0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (DAT_0041c0d0 == '\0') {\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" (if "if") (parenthesized_expression "(DAT_0041c0d0 == '\0')" (( "(") (binary_expression "DAT_0041c0d0 == '\0'" (identifier "DAT_0041c0d0") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar1 = FUN_00246800(&DAT_0041c0d0);\n    if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_00246800(&DAT_0041c0d0);" (assignment_expression "iVar1 = FUN_00246800(&DAT_0041c0d0)" (identifier "iVar1") (= "=") (call_expression "FUN_00246800(&DAT_0041c0d0)" (identifier "FUN_00246800") (argument_list "(&DAT_0041c0d0)" (( "(") (pointer_expression "&DAT_0041c0d0" (& "&") (identifier "DAT_0041c0d0")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);\n      DAT_0041c0f8 = 0;\n      DAT_0041c0fc = 0;\n      DAT_0041c100 = 0;\n      DAT_0041c104 = 0;\n      FUN_00246970(&DAT_0041c0d0);\n      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x18);" (do "do") (compound_statement "{\n        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" (* "*") (cast_expression "(undefined4 *)((int)&DAT_0041c0e0 + uVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_0041c0e0 + uVar2)" (( "(") (binary_expression "(int)&DAT_0041c0e0 + uVar2" (cast_expression "(int)&DAT_0041c0e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_0041c0e0" (& "&") (identifier "DAT_0041c0e0"))) (+ "+") (identifier "uVar2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 4" (identifier "uVar2") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 < 0x18)" (( "(") (binary_expression "uVar2 < 0x18" (identifier "uVar2") (< "<") (number_literal "0x18")) () ")")) (; ";")) (expression_statement "DAT_0041c0f8 = 0;" (assignment_expression "DAT_0041c0f8 = 0" (identifier "DAT_0041c0f8") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_0041c0fc = 0;" (assignment_expression "DAT_0041c0fc = 0" (identifier "DAT_0041c0fc") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_0041c100 = 0;" (assignment_expression "DAT_0041c100 = 0" (identifier "DAT_0041c100") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_0041c104 = 0;" (assignment_expression "DAT_0041c104 = 0" (identifier "DAT_0041c104") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00246970(&DAT_0041c0d0);" (call_expression "FUN_00246970(&DAT_0041c0d0)" (identifier "FUN_00246970") (argument_list "(&DAT_0041c0d0)" (( "(") (pointer_expression "&DAT_0041c0d0" (& "&") (identifier "DAT_0041c0d0")) () ")"))) (; ";")) (expression_statement "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);" (call_expression "__cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" (identifier "__cxa_atexit") (argument_list "(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4)" (( "(") (identifier "PTR_FUN_00413fb8") (, ",") (pointer_expression "&DAT_0041c0e0" (& "&") (identifier "DAT_0041c0e0")) (, ",") (pointer_expression "&PTR_LOOP_004142e4" (& "&") (identifier "PTR_LOOP_004142e4")) () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return &DAT_0041c0e0;" (return "return") (pointer_expression "&DAT_0041c0e0" (& "&") (identifier "DAT_0041c0e0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::get_catalogs() */

void std::function_1(void)

{
}


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

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

undefined4 * MASKED(void)

{
  int iVar1;
  uint uVar2;
  
  if (DAT_0041c0d0 == '\0') {
    iVar1 = FUN_00246800(&DAT_0041c0d0);
    if (iVar1 != 0) {
      uVar2 = 0;
      do {
        *(undefined4 *)((int)&DAT_0041c0e0 + uVar2) = 0;
        uVar2 = uVar2 + 4;
      } while (uVar2 < 0x18);
      DAT_0041c0f8 = 0;
      DAT_0041c0fc = 0;
      DAT_0041c100 = 0;
      DAT_0041c104 = 0;
      FUN_00246970(&DAT_0041c0d0);
      __cxa_atexit(PTR_FUN_00413fb8,&DAT_0041c0e0,&PTR_LOOP_004142e4);
    }
  }
  return &DAT_0041c0e0;
}

