
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00011676) */
/* WARNING: Removing unreachable block (ram,0x00011680) */

void __do_global_dtors_aux(void)

{
  if (completed_6888 == '\0') {
    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {
      __cxa_finalize(__dso_handle);
    }
    deregister_tm_clones();
    completed_6888 = '\x01';
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00011676) */
/* WARNING: Removing unreachable block (ram,0x00011680) */

void FUN_00011620(void)

{
  if (DAT_0001a160 == '\0') {
    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {
      __cxa_finalize(PTR_LOOP_0001a0e4);
    }
    FUN_00011590();
    DAT_0001a160 = '\x01';
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011580
ADD EBX,0x89d5
SUB ESP,0xc
CMP byte ptr [EBX + 0x160],0x0
JNZ 0x000116a2
MOV EAX,dword ptr [EBX + 0xffffffc4]
TEST EAX,EAX
JZ 0x00011658
SUB ESP,0xc
PUSH dword ptr [EBX + 0xe4]
CALL 0x00011330
ADD ESP,0x10
LEA EDI,[EBX + 0xfffffe58]
LEA ESI,[EBX + 0xfffffe5c]
MOV EAX,dword ptr [EBX + 0x164]
SUB ESI,EDI
SAR ESI,0x2
SUB ESI,0x1
CMP EAX,ESI
JNC 0x00011696
LEA ESI,[ESI]
LEA ESI,[ESI]
ADD EAX,0x1
MOV dword ptr [EBX + 0x164],EAX
CALL dword ptr [EDI + EAX*0x4]
MOV EAX,dword ptr [EBX + 0x164]
CMP EAX,ESI
JC 0x00011680
CALL 0x00011590
MOV byte ptr [EBX + 0x160],0x1
LEA ESP,[EBP + -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/* WARNING: Removing unreachable block (ram,0x00011676) */\n/* WARNING: Removing unreachable block (ram,0x00011680) */\n\nvoid FUN_00011620(void)\n\n{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void FUN_00011620(void)\n\n{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011620(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" { (if_statement "if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" if (parenthesized_expression "(DAT_0001a160 == '\0')" ( (binary_expression "DAT_0001a160 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" { (if_statement "if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" if (parenthesized_expression "(PTR___cxa_finalize_00019fc4 != (undefined *)0x0)" ( (binary_expression "PTR___cxa_finalize_00019fc4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" { (expression_statement "__cxa_finalize(PTR_LOOP_0001a0e4);" (call_expression "__cxa_finalize(PTR_LOOP_0001a0e4)" identifier (argument_list "(PTR_LOOP_0001a0e4)" ( identifier ))) ;) })) (expression_statement "FUN_00011590();" (call_expression "FUN_00011590()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0001a160 = '\x01';" (assignment_expression "DAT_0001a160 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x00011676) */\n/* WARNING: Removing unreachable block (ram,0x00011680) */\n\nvoid __do_global_dtors_aux(void)\n\n{\n  if (completed_6888 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }\n    deregister_tm_clones();\n    completed_6888 = '\x01';\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __do_global_dtors_aux(void)\n\n{\n  if (completed_6888 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }\n    deregister_tm_clones();\n    completed_6888 = '\x01';\n  }\n  return;\n}" primitive_type (function_declarator "__do_global_dtors_aux(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (completed_6888 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }\n    deregister_tm_clones();\n    completed_6888 = '\x01';\n  }\n  return;\n}" { (if_statement "if (completed_6888 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }\n    deregister_tm_clones();\n    completed_6888 = '\x01';\n  }" if (parenthesized_expression "(completed_6888 == '\0')" ( (binary_expression "completed_6888 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }\n    deregister_tm_clones();\n    completed_6888 = '\x01';\n  }" { (if_statement "if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(__dso_handle);\n    }" if (parenthesized_expression "(PTR___cxa_finalize_00019fc4 != (undefined *)0x0)" ( (binary_expression "PTR___cxa_finalize_00019fc4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __cxa_finalize(__dso_handle);\n    }" { (expression_statement "__cxa_finalize(__dso_handle);" (call_expression "__cxa_finalize(__dso_handle)" identifier (argument_list "(__dso_handle)" ( identifier ))) ;) })) (expression_statement "deregister_tm_clones();" (call_expression "deregister_tm_clones()" identifier (argument_list "()" ( ))) ;) (expression_statement "completed_6888 = '\x01';" (assignment_expression "completed_6888 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00011620(void)\n\n{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}\n\n" (function_definition "void FUN_00011620(void)\n\n{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00011620(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" { (if_statement "if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" if (parenthesized_expression "(DAT_0001a160 == '\0')" ( (binary_expression "DAT_0001a160 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" { (if_statement "if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" if (parenthesized_expression "(PTR___cxa_finalize_00019fc4 != (undefined *)0x0)" ( (binary_expression "PTR___cxa_finalize_00019fc4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" { (expression_statement "__cxa_finalize(PTR_LOOP_0001a0e4);" (call_expression "__cxa_finalize(PTR_LOOP_0001a0e4)" identifier (argument_list "(PTR_LOOP_0001a0e4)" ( identifier ))) ;) })) (expression_statement "FUN_00011590();" (call_expression "FUN_00011590()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0001a160 = '\x01';" (assignment_expression "DAT_0001a160 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (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 ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00011620(void)\n\n{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00011620(void)" (identifier "FUN_00011620") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_0001a160 == '\0') {\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" (if "if") (parenthesized_expression "(DAT_0001a160 == '\0')" (( "(") (binary_expression "DAT_0001a160 == '\0'" (identifier "DAT_0001a160") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }\n    FUN_00011590();\n    DAT_0001a160 = '\x01';\n  }" ({ "{") (if_statement "if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" (if "if") (parenthesized_expression "(PTR___cxa_finalize_00019fc4 != (undefined *)0x0)" (( "(") (binary_expression "PTR___cxa_finalize_00019fc4 != (undefined *)0x0" (identifier "PTR___cxa_finalize_00019fc4") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __cxa_finalize(PTR_LOOP_0001a0e4);\n    }" ({ "{") (expression_statement "__cxa_finalize(PTR_LOOP_0001a0e4);" (call_expression "__cxa_finalize(PTR_LOOP_0001a0e4)" (identifier "__cxa_finalize") (argument_list "(PTR_LOOP_0001a0e4)" (( "(") (identifier "PTR_LOOP_0001a0e4") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00011590();" (call_expression "FUN_00011590()" (identifier "FUN_00011590") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_0001a160 = '\x01';" (assignment_expression "DAT_0001a160 = '\x01'" (identifier "DAT_0001a160") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00011676) */
/* WARNING: Removing unreachable block (ram,0x00011680) */

void function_1(void)

{
  if (var_1 == '\0') {
    if (var_2 != (type_1 *)0x0) {
      var_3(__dso_handle);
    }
    var_4();
    var_1 = '\x01';
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00011676) */
/* WARNING: Removing unreachable block (ram,0x00011680) */

void MASKED(void)

{
  if (DAT_0001a160 == '\0') {
    if (PTR___cxa_finalize_00019fc4 != (undefined *)0x0) {
      __cxa_finalize(PTR_LOOP_0001a0e4);
    }
    FUN_00011590();
    DAT_0001a160 = '\x01';
  }
  return;
}

