
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::(anonymous namespace)::write_utf8_bom(std::(anonymous namespace)::range<char, true>&,
   std::codecvt_mode) [clone .part.19] */

void std::(anonymous_namespace)::write_utf8_bom(void)

{
}



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

undefined4 __regparm3 FUN_00435640(int *param_1)

{
  undefined2 *puVar1;
  
  puVar1 = (undefined2 *)*param_1;
  if ((uint)(param_1[1] - (int)puVar1) < 3) {
    return 0;
  }
  *puVar1 = DAT_004a62a5;
  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;
  *param_1 = *param_1 + 3;
  return 1;
}


PUSH EBX
MOV ECX,dword ptr [EAX]
CALL 0x00050b50
ADD EBX,0x1b49b8
MOV EDX,dword ptr [EAX + 0x4]
SUB EDX,ECX
CMP EDX,0x2
JA 0x00435660
XOR EAX,EAX
POP EBX
RET
MOVZX EDX,word ptr [EBX + 0xffebc2a5]
MOV word ptr [ECX],DX
MOVZX EDX,byte ptr [EBX + 0xffebc2a7]
MOV byte ptr [ECX + 0x2],DL
ADD dword ptr [EAX],0x3
MOV EAX,0x1
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00435640(int *param_1)\n\n{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00435640(int *param_1)\n\n{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00435640(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" { (declaration "undefined2 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined2 *)*param_1;" (assignment_expression "puVar1 = (undefined2 *)*param_1" identifier = (cast_expression "(undefined2 *)*param_1" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }" if (parenthesized_expression "((uint)(param_1[1] - (int)puVar1) < 3)" ( (binary_expression "(uint)(param_1[1] - (int)puVar1) < 3" (call_expression "(uint)(param_1[1] - (int)puVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[1] - (int)puVar1)" ( (binary_expression "param_1[1] - (int)puVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*puVar1 = DAT_004a62a5;" (assignment_expression "*puVar1 = DAT_004a62a5" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7;" (assignment_expression "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7" (pointer_expression "*(undefined1 *)(puVar1 + 1)" * (cast_expression "(undefined1 *)(puVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*param_1 = *param_1 + 3;" (assignment_expression "*param_1 = *param_1 + 3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 3" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::(anonymous namespace)::write_utf8_bom(std::(anonymous namespace)::range<char, true>&,\n   std::codecvt_mode) [clone .part.19] */\n\nvoid std::(anonymous_namespace)::write_utf8_bom(void)\n\n{\n}\n\n" comment comment (function_definition "void std::(anonymous_namespace)::write_utf8_bom(void)\n\n{\n}" primitive_type (ERROR "std::(anonymous_namespace)::" identifier : : ( identifier ) : :) (function_declarator "write_utf8_bom(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 __regparm3 FUN_00435640(int *param_1)\n\n{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00435640(int *param_1)\n\n{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00435640(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" { (declaration "undefined2 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined2 *)*param_1;" (assignment_expression "puVar1 = (undefined2 *)*param_1" identifier = (cast_expression "(undefined2 *)*param_1" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }" if (parenthesized_expression "((uint)(param_1[1] - (int)puVar1) < 3)" ( (binary_expression "(uint)(param_1[1] - (int)puVar1) < 3" (call_expression "(uint)(param_1[1] - (int)puVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[1] - (int)puVar1)" ( (binary_expression "param_1[1] - (int)puVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*puVar1 = DAT_004a62a5;" (assignment_expression "*puVar1 = DAT_004a62a5" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7;" (assignment_expression "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7" (pointer_expression "*(undefined1 *)(puVar1 + 1)" * (cast_expression "(undefined1 *)(puVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*param_1 = *param_1 + 3;" (assignment_expression "*param_1 = *param_1 + 3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 3" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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 * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00435640(int *param_1)\n\n{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00435640(int *param_1)" (identifier "FUN_00435640") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined2 *puVar1;\n  \n  puVar1 = (undefined2 *)*param_1;\n  if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }\n  *puVar1 = DAT_004a62a5;\n  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;\n  *param_1 = *param_1 + 3;\n  return 1;\n}" ({ "{") (declaration "undefined2 *puVar1;" (type_identifier "undefined2") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined2 *)*param_1;" (assignment_expression "puVar1 = (undefined2 *)*param_1" (identifier "puVar1") (= "=") (cast_expression "(undefined2 *)*param_1" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((uint)(param_1[1] - (int)puVar1) < 3) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((uint)(param_1[1] - (int)puVar1) < 3)" (( "(") (binary_expression "(uint)(param_1[1] - (int)puVar1) < 3" (call_expression "(uint)(param_1[1] - (int)puVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[1] - (int)puVar1)" (( "(") (binary_expression "param_1[1] - (int)puVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (- "-") (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1"))) () ")"))) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*puVar1 = DAT_004a62a5;" (assignment_expression "*puVar1 = DAT_004a62a5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "DAT_004a62a5")) (; ";")) (expression_statement "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7;" (assignment_expression "*(undefined1 *)(puVar1 + 1) = DAT_004a62a7" (pointer_expression "*(undefined1 *)(puVar1 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "DAT_004a62a7")) (; ";")) (expression_statement "*param_1 = *param_1 + 3;" (assignment_expression "*param_1 = *param_1 + 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "3"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::(anonymous namespace)::write_utf8_bom(std::(anonymous namespace)::range<char, true>&,
   std::codecvt_mode) [clone .part.19] */

void std::(anonymous_namespace)::function_1(void)

{
}


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

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

undefined4 __regparm3 MASKED(int *param_1)

{
  undefined2 *puVar1;
  
  puVar1 = (undefined2 *)*param_1;
  if ((uint)(param_1[1] - (int)puVar1) < 3) {
    return 0;
  }
  *puVar1 = DAT_004a62a5;
  *(undefined1 *)(puVar1 + 1) = DAT_004a62a7;
  *param_1 = *param_1 + 3;
  return 1;
}

