
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<wchar_t>::do_tolower(wchar_t*, wchar_t const*) const */

void std::ctype<wchar_t>::do_tolower(wchar_t *param_1,wchar_t *param_2)

{
}



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

undefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  if (param_2 < param_3) {
    puVar2 = param_2;
    do {
      puVar3 = puVar2 + 1;
      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));
      *puVar2 = uVar1;
      puVar2 = puVar3;
    } while (puVar3 != (undefined4 *)
                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));
  }
  return param_3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x191777
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x24]
CMP EBP,dword ptr [ESP + 0x28]
JNC 0x002828cb
MOV EAX,dword ptr [ESP + 0x28]
SUB EAX,0x1
SUB EAX,EBP
SHR EAX,0x2
LEA EDI,[EBP + EAX*0x4 + 0x4]
SUB ESP,0x8
PUSH dword ptr [ESI + 0x8]
ADD EBP,0x4
PUSH dword ptr [EBP + -0x4]
CALL 0x0002c830
ADD ESP,0x10
MOV dword ptr [EBP + -0x4],EAX
CMP EBP,EDI
JNZ 0x002828b0
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,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\nundefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}\n\n" comment (function_definition "undefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" type_identifier (pointer_declarator "* FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" * (function_declarator "FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" { (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) (do_statement "do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));" do (compound_statement "{\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    }" { (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" identifier = (call_expression "__towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*puVar2,*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*puVar2" * identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "*puVar2 = uVar1;" (assignment_expression "*puVar2 = uVar1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4))" ( (binary_expression "puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" identifier != (cast_expression "(undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" ( (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4" (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" ( (binary_expression "(int)param_3 + (-1 - (int)param_2) & 0xfffffffcU" (binary_expression "(int)param_3 + (-1 - (int)param_2)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-1 - (int)param_2)" ( (binary_expression "-1 - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) )) ;) })) (return_statement "return param_3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ctype<wchar_t>::do_tolower(wchar_t*, wchar_t const*) const */\n\nvoid std::ctype<wchar_t>::do_tolower(wchar_t *param_1,wchar_t *param_2)\n\n{\n}\n\n" comment comment (function_definition "void std::ctype<wchar_t>::do_tolower(wchar_t *param_1,wchar_t *param_2)\n\n{\n}" primitive_type (ERROR "std::ctype<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "do_tolower(wchar_t *param_1,wchar_t *param_2)" identifier (parameter_list "(wchar_t *param_1,wchar_t *param_2)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}\n\n" (function_definition "undefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" type_identifier (pointer_declarator "* FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" * (function_declarator "FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" { (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) (do_statement "do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));" do (compound_statement "{\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    }" { (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" identifier = (call_expression "__towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*puVar2,*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*puVar2" * identifier) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "*puVar2 = uVar1;" (assignment_expression "*puVar2 = uVar1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4))" ( (binary_expression "puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" identifier != (cast_expression "(undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" ( (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4" (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" ( (binary_expression "(int)param_3 + (-1 - (int)param_2) & 0xfffffffcU" (binary_expression "(int)param_3 + (-1 - (int)param_2)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-1 - (int)param_2)" ( (binary_expression "-1 - (int)param_2" number_literal - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) ))) + number_literal) )))) )) ;) })) (return_statement "return param_3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) ))) + LIT) )))) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_00282880(int param_1,undefined4 *param_2,undefined4 *param_3)" (identifier "FUN_00282880") (parameter_list "(int param_1,undefined4 *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }\n  return param_3;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (if_statement "if (param_2 < param_3) {\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" (if "if") (parenthesized_expression "(param_2 < param_3)" (( "(") (binary_expression "param_2 < param_3" (identifier "param_2") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    puVar2 = param_2;\n    do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));\n  }" ({ "{") (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" (identifier "puVar2") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    } while (puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));" (do "do") (compound_statement "{\n      puVar3 = puVar2 + 1;\n      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));\n      *puVar2 = uVar1;\n      puVar2 = puVar3;\n    }" ({ "{") (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" (identifier "uVar1") (= "=") (call_expression "__towlower_l(*puVar2,*(undefined4 *)(param_1 + 8))" (identifier "__towlower_l") (argument_list "(*puVar2,*(undefined4 *)(param_1 + 8))" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "*puVar2 = uVar1;" (assignment_expression "*puVar2 = uVar1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" (identifier "puVar2") (= "=") (identifier "puVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4))" (( "(") (binary_expression "puVar3 != (undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)\n                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4)" (( "(") (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4" (binary_expression "(int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (parenthesized_expression "((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU)" (( "(") (binary_expression "(int)param_3 + (-1 - (int)param_2) & 0xfffffffcU" (binary_expression "(int)param_3 + (-1 - (int)param_2)" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (parenthesized_expression "(-1 - (int)param_2)" (( "(") (binary_expression "-1 - (int)param_2" (number_literal "-1") (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (& "&") (number_literal "0xfffffffcU")) () ")"))) (+ "+") (number_literal "4")) () ")")))) () ")")) (; ";")) (} "}"))) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<wchar_t>::do_tolower(wchar_t*, wchar_t const*) const */

void std::ctype<type_1>::function_1(type_1 *param_1,type_1 *param_2)

{
}


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

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

undefined4 * MASKED(int param_1,undefined4 *param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  if (param_2 < param_3) {
    puVar2 = param_2;
    do {
      puVar3 = puVar2 + 1;
      uVar1 = __towlower_l(*puVar2,*(undefined4 *)(param_1 + 8));
      *puVar2 = uVar1;
      puVar2 = puVar3;
    } while (puVar3 != (undefined4 *)
                       ((int)param_2 + ((int)param_3 + (-1 - (int)param_2) & 0xfffffffcU) + 4));
  }
  return param_3;
}

