
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::ostream& std::endl<char, std::char_traits<char> >(std::ostream&) */

ostream * std::endl<char,std::char_traits<char>>(ostream *param_1)

{
}



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

void FUN_003bb570(int *param_1)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  
  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);
  if (piVar1 != (int *)0x0) {
    if ((char)piVar1[7] == '\0') {
      FUN_003f3f90(piVar1);
      iVar3 = 10;
      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {
        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);
        iVar3 = (int)cVar2;
      }
    }
    else {
      iVar3 = (int)*(char *)((int)piVar1 + 0x27);
    }
    uVar4 = FUN_003bb310(param_1,iVar3);
    FUN_003ba8d0(uVar4);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_003f3900();
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00050b50
ADD EBX,0x22ea84
MOV EAX,dword ptr [EDI]
MOV EAX,dword ptr [EAX + -0xc]
MOV ESI,dword ptr [EDI + EAX*0x1 + 0x7c]
TEST ESI,ESI
JZ 0x003bb5e6
CMP byte ptr [ESI + 0x1c],0x0
JZ 0x003bb5b8
MOVSX EAX,byte ptr [ESI + 0x27]
SUB ESP,0x8
PUSH EAX
PUSH EDI
CALL 0x003bb310
MOV dword ptr [ESP],EAX
CALL 0x003ba8d0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH ESI
CALL 0x003f3f90
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,0xa
CMP EDX,dword ptr [EBX + 0xfffffd2c]
JZ 0x003bb599
SUB ESP,0x8
PUSH 0xa
PUSH ESI
CALL EDX
MOVSX EAX,AL
ADD ESP,0x10
JMP 0x003bb599
CALL 0x003f3900
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_003bb570(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_003f3900();\n}\n\n" comment (function_definition "void FUN_003bb570(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_003f3900();\n}" primitive_type (function_declarator "FUN_003bb570(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_003f3900();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" { (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }" { (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "iVar3 = 10;" (assignment_expression "iVar3 = 10" identifier = number_literal) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_005e9d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" { (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,10)" ( identifier , number_literal )))) ;) (expression_statement "iVar3 = (int)cVar2;" (assignment_expression "iVar3 = (int)cVar2" identifier = (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" else (compound_statement "{\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" { (expression_statement "iVar3 = (int)*(char *)((int)piVar1 + 0x27);" (assignment_expression "iVar3 = (int)*(char *)((int)piVar1 + 0x27)" identifier = (cast_expression "(int)*(char *)((int)piVar1 + 0x27)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)piVar1 + 0x27)" * (cast_expression "(char *)((int)piVar1 + 0x27)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x27)" ( (binary_expression "(int)piVar1 + 0x27" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) }))) (expression_statement "uVar4 = FUN_003bb310(param_1,iVar3);" (assignment_expression "uVar4 = FUN_003bb310(param_1,iVar3)" identifier = (call_expression "FUN_003bb310(param_1,iVar3)" identifier (argument_list "(param_1,iVar3)" ( identifier , identifier )))) ;) (expression_statement "FUN_003ba8d0(uVar4);" (call_expression "FUN_003ba8d0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_003f3900();" (call_expression "FUN_003f3900()" identifier (argument_list "()" ( ))) ;) })))
(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::ostream& std::endl<char, std::char_traits<char> >(std::ostream&) */\n\nostream * std::endl<char,std::char_traits<char>>(ostream *param_1)\n\n{\n}\n\n" comment comment comment (ERROR "ostream * std::endl<char," (binary_expression "ostream * std::endl<char" (binary_expression "ostream * std" identifier * identifier) (ERROR "::endl" : : identifier) < identifier) ,) (labeled_statement "std::char_traits<char>>(ostream *param_1)\n\n{\n}" statement_identifier : (ERROR ":char_traits<char>>(ostream *param_1)" : (binary_expression "char_traits<char>>(ostream *param_1)" identifier < (binary_expression "char>>(ostream *param_1)" identifier >> (parenthesized_expression "(ostream *param_1)" ( (binary_expression "ostream *param_1" identifier * identifier) ))))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_003bb570(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    \n  FUN_003f3900();\n}\n\n" (function_definition "void FUN_003bb570(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    \n  FUN_003f3900();\n}" primitive_type (function_declarator "FUN_003bb570(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    \n  FUN_003f3900();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" { (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }" { (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "iVar3 = 10;" (assignment_expression "iVar3 = 10" identifier = number_literal) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_005e9d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" { (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,10)" ( identifier , number_literal )))) ;) (expression_statement "iVar3 = (int)cVar2;" (assignment_expression "iVar3 = (int)cVar2" identifier = (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" else (compound_statement "{\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" { (expression_statement "iVar3 = (int)*(char *)((int)piVar1 + 0x27);" (assignment_expression "iVar3 = (int)*(char *)((int)piVar1 + 0x27)" identifier = (cast_expression "(int)*(char *)((int)piVar1 + 0x27)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)piVar1 + 0x27)" * (cast_expression "(char *)((int)piVar1 + 0x27)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x27)" ( (binary_expression "(int)piVar1 + 0x27" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ;) }))) (expression_statement "uVar4 = FUN_003bb310(param_1,iVar3);" (assignment_expression "uVar4 = FUN_003bb310(param_1,iVar3)" identifier = (call_expression "FUN_003bb310(param_1,iVar3)" identifier (argument_list "(param_1,iVar3)" ( identifier , identifier )))) ;) (expression_statement "FUN_003ba8d0(uVar4);" (call_expression "FUN_003ba8d0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_003f3900();" (call_expression "FUN_003f3900()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_003bb570(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    \n  FUN_003f3900();\n}" (primitive_type "void") (function_declarator "FUN_003bb570(int *param_1)" (identifier "FUN_003bb570") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }\n                    \n  FUN_003f3900();\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }\n    uVar4 = FUN_003bb310(param_1,iVar3);\n    FUN_003ba8d0(uVar4);\n    return;\n  }" ({ "{") (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }\n    else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" (if "if") (parenthesized_expression "((char)piVar1[7] == '\0')" (( "(") (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_003f3f90(piVar1);\n      iVar3 = 10;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }\n    }" ({ "{") (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" (identifier "FUN_003f3f90") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "iVar3 = 10;" (assignment_expression "iVar3 = 10" (identifier "iVar3") (= "=") (number_literal "10")) (; ";")) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" (( "(") (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (cast_expression "(code *)PTR_FUN_005e9d2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_005e9d2c"))) () ")")) (compound_statement "{\n        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);\n        iVar3 = (int)cVar2;\n      }" ({ "{") (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar1,10)" (( "(") (identifier "piVar1") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "iVar3 = (int)cVar2;" (assignment_expression "iVar3 = (int)cVar2" (identifier "iVar3") (= "=") (cast_expression "(int)cVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar2"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" (else "else") (compound_statement "{\n      iVar3 = (int)*(char *)((int)piVar1 + 0x27);\n    }" ({ "{") (expression_statement "iVar3 = (int)*(char *)((int)piVar1 + 0x27);" (assignment_expression "iVar3 = (int)*(char *)((int)piVar1 + 0x27)" (identifier "iVar3") (= "=") (cast_expression "(int)*(char *)((int)piVar1 + 0x27)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)piVar1 + 0x27)" (* "*") (cast_expression "(char *)((int)piVar1 + 0x27)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x27)" (( "(") (binary_expression "(int)piVar1 + 0x27" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x27")) () ")")))))) (; ";")) (} "}")))) (expression_statement "uVar4 = FUN_003bb310(param_1,iVar3);" (assignment_expression "uVar4 = FUN_003bb310(param_1,iVar3)" (identifier "uVar4") (= "=") (call_expression "FUN_003bb310(param_1,iVar3)" (identifier "FUN_003bb310") (argument_list "(param_1,iVar3)" (( "(") (identifier "param_1") (, ",") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "FUN_003ba8d0(uVar4);" (call_expression "FUN_003ba8d0(uVar4)" (identifier "FUN_003ba8d0") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_003f3900();" (call_expression "FUN_003f3900()" (identifier "FUN_003f3900") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::ostream& std::endl<char, std::char_traits<char> >(std::ostream&) */

ostream * std::endl<char,std::char_traits<char>>(ostream *param_1)

{
}


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

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

void MASKED(int *param_1)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  
  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);
  if (piVar1 != (int *)0x0) {
    if ((char)piVar1[7] == '\0') {
      FUN_003f3f90(piVar1);
      iVar3 = 10;
      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {
        cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,10);
        iVar3 = (int)cVar2;
      }
    }
    else {
      iVar3 = (int)*(char *)((int)piVar1 + 0x27);
    }
    uVar4 = FUN_003bb310(param_1,iVar3);
    FUN_003ba8d0(uVar4);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_003f3900();
}

