
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::TEMPNAMEPLACEHOLDERVALUE(char) */

void __thiscall std::string::operator+=(string *this,char param_1)

{
}



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

int * FUN_00281570(int *param_1,undefined1 param_2)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *param_1;
  iVar3 = *(int *)(iVar2 + -0xc);
  uVar1 = iVar3 + 1;
  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {
    FUN_00280ed0(param_1,uVar1);
  }
  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;
  iVar2 = *param_1;
  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {
    *(undefined4 *)(iVar2 + -4) = 0;
    *(uint *)(iVar2 + -0xc) = uVar1;
    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;
  }
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x192a87
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESI]
MOV EBP,dword ptr [EAX + -0xc]
LEA EDI,[EBP + 0x1]
CMP EDI,dword ptr [EAX + -0x8]
JA 0x0028159e
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JLE 0x002815b3
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL 0x00280ed0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESI]
MOV ECX,dword ptr [EAX + -0xc]
MOV byte ptr [EAX + ECX*0x1],DL
MOV EAX,dword ptr [ESI]
LEA EDX,[EAX + -0xc]
CMP EDX,dword ptr [EBX + 0xfffffffc]
JNZ 0x002815d8
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EAX + -0x4],0x0
MOV dword ptr [EAX + -0xc],EDI
MOV byte ptr [EAX + EBP*0x1 + 0x1],0x0
JMP 0x002815c8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00281570(int *param_1,undefined1 param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00281570(int *param_1,undefined1 param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00281570(int *param_1,undefined1 param_2)" * (function_declarator "FUN_00281570(int *param_1,undefined1 param_2)" identifier (parameter_list "(int *param_1,undefined1 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + -0xc)" identifier = (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = iVar3 + 1;" (assignment_expression "uVar1 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }" if (parenthesized_expression "((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4)))" ( (binary_expression "(*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))" (parenthesized_expression "(*(uint *)(iVar2 + -8) < uVar1)" ( (binary_expression "*(uint *)(iVar2 + -8) < uVar1" (pointer_expression "*(uint *)(iVar2 + -8)" * (cast_expression "(uint *)(iVar2 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -8)" ( (binary_expression "iVar2 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar2 + -4))" ( (binary_expression "0 < *(int *)(iVar2 + -4)" number_literal < (pointer_expression "*(int *)(iVar2 + -4)" * (cast_expression "(int *)(iVar2 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -4)" ( (binary_expression "iVar2 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    FUN_00280ed0(param_1,uVar1);\n  }" { (expression_statement "FUN_00280ed0(param_1,uVar1);" (call_expression "FUN_00280ed0(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * 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) ))))) )))) = identifier) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" if (parenthesized_expression "((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc)" ( (binary_expression "(undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc" (cast_expression "(undefined *)(iVar2 + -0xc)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))) != identifier) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + -4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + -4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + -4)" * (cast_expression "(undefined4 *)(iVar2 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -4)" ( (binary_expression "iVar2 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar2 + -0xc) = uVar1;" (assignment_expression "*(uint *)(iVar2 + -0xc) = uVar1" (pointer_expression "*(uint *)(iVar2 + -0xc)" * (cast_expression "(uint *)(iVar2 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar2 + 1 + iVar3) = 0;" (assignment_expression "*(undefined1 *)(iVar2 + 1 + iVar3) = 0" (pointer_expression "*(undefined1 *)(iVar2 + 1 + iVar3)" * (cast_expression "(undefined1 *)(iVar2 + 1 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + iVar3)" ( (binary_expression "iVar2 + 1 + iVar3" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) )))) = number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::string::TEMPNAMEPLACEHOLDERVALUE(char) */\n\nvoid __thiscall std::string::operator+=(string *this,char param_1)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall std::string::operator+=(string *this,char param_1)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::operator+=(string" identifier : : identifier : : identifier += ( identifier) (pointer_declarator "*this" * identifier) , identifier identifier )) (compound_statement "{\n}" { }))
(translation_unit "int * FUN_00281570(int *param_1,undefined1 param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}\n\n" (function_definition "int * FUN_00281570(int *param_1,undefined1 param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00281570(int *param_1,undefined1 param_2)" * (function_declarator "FUN_00281570(int *param_1,undefined1 param_2)" identifier (parameter_list "(int *param_1,undefined1 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 param_2" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + -0xc)" identifier = (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = iVar3 + 1;" (assignment_expression "uVar1 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }" if (parenthesized_expression "((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4)))" ( (binary_expression "(*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))" (parenthesized_expression "(*(uint *)(iVar2 + -8) < uVar1)" ( (binary_expression "*(uint *)(iVar2 + -8) < uVar1" (pointer_expression "*(uint *)(iVar2 + -8)" * (cast_expression "(uint *)(iVar2 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -8)" ( (binary_expression "iVar2 + -8" identifier + number_literal) )))) < identifier) )) || (parenthesized_expression "(0 < *(int *)(iVar2 + -4))" ( (binary_expression "0 < *(int *)(iVar2 + -4)" number_literal < (pointer_expression "*(int *)(iVar2 + -4)" * (cast_expression "(int *)(iVar2 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -4)" ( (binary_expression "iVar2 + -4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    FUN_00280ed0(param_1,uVar1);\n  }" { (expression_statement "FUN_00280ed0(param_1,uVar1);" (call_expression "FUN_00280ed0(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier ))) ;) })) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" * (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" ( (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" * 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) ))))) )))) = identifier) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" if (parenthesized_expression "((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc)" ( (binary_expression "(undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc" (cast_expression "(undefined *)(iVar2 + -0xc)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))) != identifier) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + -4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + -4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + -4)" * (cast_expression "(undefined4 *)(iVar2 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -4)" ( (binary_expression "iVar2 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar2 + -0xc) = uVar1;" (assignment_expression "*(uint *)(iVar2 + -0xc) = uVar1" (pointer_expression "*(uint *)(iVar2 + -0xc)" * (cast_expression "(uint *)(iVar2 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar2 + 1 + iVar3) = 0;" (assignment_expression "*(undefined1 *)(iVar2 + 1 + iVar3) = 0" (pointer_expression "*(undefined1 *)(iVar2 + 1 + iVar3)" * (cast_expression "(undefined1 *)(iVar2 + 1 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + iVar3)" ( (binary_expression "iVar2 + 1 + iVar3" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) )))) = number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00281570(int *param_1,undefined1 param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00281570(int *param_1,undefined1 param_2)" (* "*") (function_declarator "FUN_00281570(int *param_1,undefined1 param_2)" (identifier "FUN_00281570") (parameter_list "(int *param_1,undefined1 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 param_2" (type_identifier "undefined1") (identifier "param_2")) () ")")))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_1;\n  iVar3 = *(int *)(iVar2 + -0xc);\n  uVar1 = iVar3 + 1;\n  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }\n  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;\n  iVar2 = *param_1;\n  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + -0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "uVar1 = iVar3 + 1;" (assignment_expression "uVar1 = iVar3 + 1" (identifier "uVar1") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {\n    FUN_00280ed0(param_1,uVar1);\n  }" (if "if") (parenthesized_expression "((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4)))" (( "(") (binary_expression "(*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))" (parenthesized_expression "(*(uint *)(iVar2 + -8) < uVar1)" (( "(") (binary_expression "*(uint *)(iVar2 + -8) < uVar1" (pointer_expression "*(uint *)(iVar2 + -8)" (* "*") (cast_expression "(uint *)(iVar2 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -8)" (( "(") (binary_expression "iVar2 + -8" (identifier "iVar2") (+ "+") (number_literal "-8")) () ")")))) (< "<") (identifier "uVar1")) () ")")) (|| "||") (parenthesized_expression "(0 < *(int *)(iVar2 + -4))" (( "(") (binary_expression "0 < *(int *)(iVar2 + -4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar2 + -4)" (* "*") (cast_expression "(int *)(iVar2 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -4)" (( "(") (binary_expression "iVar2 + -4" (identifier "iVar2") (+ "+") (number_literal "-4")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n    FUN_00280ed0(param_1,uVar1);\n  }" ({ "{") (expression_statement "FUN_00280ed0(param_1,uVar1);" (call_expression "FUN_00280ed0(param_1,uVar1)" (identifier "FUN_00280ed0") (argument_list "(param_1,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;" (assignment_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2" (pointer_expression "*(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (* "*") (cast_expression "(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + *(int *)(*param_1 + -0xc))" (( "(") (binary_expression "*param_1 + *(int *)(*param_1 + -0xc)" (pointer_expression "*param_1" (* "*") (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")) () ")"))))) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" (if "if") (parenthesized_expression "((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc)" (( "(") (binary_expression "(undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc" (cast_expression "(undefined *)(iVar2 + -0xc)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))) (!= "!=") (identifier "PTR_DAT_00413ffc")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar2 + -4) = 0;\n    *(uint *)(iVar2 + -0xc) = uVar1;\n    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + -4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + -4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + -4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -4)" (( "(") (binary_expression "iVar2 + -4" (identifier "iVar2") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(iVar2 + -0xc) = uVar1;" (assignment_expression "*(uint *)(iVar2 + -0xc) = uVar1" (pointer_expression "*(uint *)(iVar2 + -0xc)" (* "*") (cast_expression "(uint *)(iVar2 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined1 *)(iVar2 + 1 + iVar3) = 0;" (assignment_expression "*(undefined1 *)(iVar2 + 1 + iVar3) = 0" (pointer_expression "*(undefined1 *)(iVar2 + 1 + iVar3)" (* "*") (cast_expression "(undefined1 *)(iVar2 + 1 + iVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1 + iVar3)" (( "(") (binary_expression "iVar2 + 1 + iVar3" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::TEMPNAMEPLACEHOLDERVALUE(char) */

void __thiscall std::string::operator+=(string *this,char param_1)

{
}


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

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

int * MASKED(int *param_1,undefined1 param_2)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *param_1;
  iVar3 = *(int *)(iVar2 + -0xc);
  uVar1 = iVar3 + 1;
  if ((*(uint *)(iVar2 + -8) < uVar1) || (0 < *(int *)(iVar2 + -4))) {
    FUN_00280ed0(param_1,uVar1);
  }
  *(undefined1 *)(*param_1 + *(int *)(*param_1 + -0xc)) = param_2;
  iVar2 = *param_1;
  if ((undefined *)(iVar2 + -0xc) != PTR_DAT_00413ffc) {
    *(undefined4 *)(iVar2 + -4) = 0;
    *(uint *)(iVar2 + -0xc) = uVar1;
    *(undefined1 *)(iVar2 + 1 + iVar3) = 0;
  }
  return param_1;
}

