
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void wordinit(void)

{
  int iVar1;
  wint_t *pwVar2;
  _Bool *p_Var3;
  
  p_Var3 = sbwordchar;
  pwVar2 = localeinfo.sbctowc;
  do {
    while (*pwVar2 == 0x5f) {
      pwVar2 = pwVar2 + 1;
      *p_Var3 = true;
      p_Var3 = p_Var3 + 1;
      if ((_Bool *)pwVar2 == &match_words) {
        return;
      }
    }
    iVar1 = iswalnum(*pwVar2);
    *p_Var3 = iVar1 != 0;
    pwVar2 = pwVar2 + 1;
    p_Var3 = p_Var3 + 1;
  } while ((_Bool *)pwVar2 != &match_words);
  return;
}



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

void FUN_0001e900(void)

{
  int iVar1;
  wint_t *pwVar2;
  undefined1 *puVar3;
  
  puVar3 = &DAT_00048240;
  pwVar2 = &DAT_0004c624;
  do {
    while (*pwVar2 == 0x5f) {
      pwVar2 = pwVar2 + 1;
      *puVar3 = 1;
      puVar3 = puVar3 + 1;
      if (pwVar2 == (wint_t *)&DAT_0004ca24) {
        return;
      }
    }
    iVar1 = iswalnum(*pwVar2);
    *puVar3 = iVar1 != 0;
    pwVar2 = pwVar2 + 1;
    puVar3 = puVar3 + 1;
  } while (pwVar2 != (wint_t *)&DAT_0004ca24);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000142a0
ADD EBX,0x294e3
SUB ESP,0xc
LEA EBP,[EBX + 0x4734]
LEA EDI,[EBX + 0x454]
LEA ESI,[EBP + 0x104]
ADD EBP,0x504
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI]
CMP EAX,0x5f
JZ 0x0001e960
SUB ESP,0xc
PUSH EAX
CALL 0x00012440
ADD ESP,0x10
TEST EAX,EAX
SETNZ byte ptr [EDI]
ADD ESI,0x4
ADD EDI,0x1
CMP ESI,EBP
JNZ 0x0001e930
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESI,0x4
MOV byte ptr [EDI],0x1
ADD EDI,0x1
CMP ESI,EBP
JNZ 0x0001e930
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\nvoid FUN_0001e900(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}\n\n" comment (function_definition "void FUN_0001e900(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" primitive_type (function_declarator "FUN_0001e900(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "wint_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = &DAT_00048240;" (assignment_expression "puVar3 = &DAT_00048240" identifier = (pointer_expression "&DAT_00048240" & identifier)) ;) (expression_statement "pwVar2 = &DAT_0004c624;" (assignment_expression "pwVar2 = &DAT_0004c624" identifier = (pointer_expression "&DAT_0004c624" & identifier)) ;) (do_statement "do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);" do (compound_statement "{\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  }" { (while_statement "while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" while (parenthesized_expression "(*pwVar2 == 0x5f)" ( (binary_expression "*pwVar2 == 0x5f" (pointer_expression "*pwVar2" * identifier) == number_literal) )) (compound_statement "{\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" { (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = 1;" (assignment_expression "*puVar3 = 1" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }" if (parenthesized_expression "(pwVar2 == (wint_t *)&DAT_0004ca24)" ( (binary_expression "pwVar2 == (wint_t *)&DAT_0004ca24" identifier == (cast_expression "(wint_t *)&DAT_0004ca24" ( (type_descriptor "wint_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0004ca24" & identifier))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar1 = iswalnum(*pwVar2);" (assignment_expression "iVar1 = iswalnum(*pwVar2)" identifier = (call_expression "iswalnum(*pwVar2)" identifier (argument_list "(*pwVar2)" ( (pointer_expression "*pwVar2" * identifier) )))) ;) (expression_statement "*puVar3 = iVar1 != 0;" (assignment_expression "*puVar3 = iVar1 != 0" (pointer_expression "*puVar3" * identifier) = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pwVar2 != (wint_t *)&DAT_0004ca24)" ( (binary_expression "pwVar2 != (wint_t *)&DAT_0004ca24" identifier != (cast_expression "(wint_t *)&DAT_0004ca24" ( (type_descriptor "wint_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0004ca24" & identifier))) )) ;) (return_statement "return;" return ;) })))
(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\nvoid wordinit(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  _Bool *p_Var3;\n  \n  p_Var3 = sbwordchar;\n  pwVar2 = localeinfo.sbctowc;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *p_Var3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    p_Var3 = p_Var3 + 1;\n  } while ((_Bool *)pwVar2 != &match_words);\n  return;\n}\n\n" comment comment (function_definition "void wordinit(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  _Bool *p_Var3;\n  \n  p_Var3 = sbwordchar;\n  pwVar2 = localeinfo.sbctowc;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *p_Var3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    p_Var3 = p_Var3 + 1;\n  } while ((_Bool *)pwVar2 != &match_words);\n  return;\n}" primitive_type (function_declarator "wordinit(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  wint_t *pwVar2;\n  _Bool *p_Var3;\n  \n  p_Var3 = sbwordchar;\n  pwVar2 = localeinfo.sbctowc;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *p_Var3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    p_Var3 = p_Var3 + 1;\n  } while ((_Bool *)pwVar2 != &match_words);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "wint_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "_Bool *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (expression_statement "p_Var3 = sbwordchar;" (assignment_expression "p_Var3 = sbwordchar" identifier = identifier) ;) (expression_statement "pwVar2 = localeinfo.sbctowc;" (assignment_expression "pwVar2 = localeinfo.sbctowc" identifier = (field_expression "localeinfo.sbctowc" identifier . field_identifier)) ;) (do_statement "do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *p_Var3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    p_Var3 = p_Var3 + 1;\n  } while ((_Bool *)pwVar2 != &match_words);" do (compound_statement "{\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *p_Var3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    p_Var3 = p_Var3 + 1;\n  }" { (while_statement "while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }" while (parenthesized_expression "(*pwVar2 == 0x5f)" ( (binary_expression "*pwVar2 == 0x5f" (pointer_expression "*pwVar2" * identifier) == number_literal) )) (compound_statement "{\n      pwVar2 = pwVar2 + 1;\n      *p_Var3 = true;\n      p_Var3 = p_Var3 + 1;\n      if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }\n    }" { (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "*p_Var3 = true;" (assignment_expression "*p_Var3 = true" (pointer_expression "*p_Var3" * identifier) = true) ;) (expression_statement "p_Var3 = p_Var3 + 1;" (assignment_expression "p_Var3 = p_Var3 + 1" identifier = (binary_expression "p_Var3 + 1" identifier + number_literal)) ;) (if_statement "if ((_Bool *)pwVar2 == &match_words) {\n        return;\n      }" if (parenthesized_expression "((_Bool *)pwVar2 == &match_words)" ( (binary_expression "(_Bool *)pwVar2 == &match_words" (cast_expression "(_Bool *)pwVar2" ( (type_descriptor "_Bool *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == (pointer_expression "&match_words" & identifier)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar1 = iswalnum(*pwVar2);" (assignment_expression "iVar1 = iswalnum(*pwVar2)" identifier = (call_expression "iswalnum(*pwVar2)" identifier (argument_list "(*pwVar2)" ( (pointer_expression "*pwVar2" * identifier) )))) ;) (expression_statement "*p_Var3 = iVar1 != 0;" (assignment_expression "*p_Var3 = iVar1 != 0" (pointer_expression "*p_Var3" * identifier) = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "p_Var3 = p_Var3 + 1;" (assignment_expression "p_Var3 = p_Var3 + 1" identifier = (binary_expression "p_Var3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((_Bool *)pwVar2 != &match_words)" ( (binary_expression "(_Bool *)pwVar2 != &match_words" (cast_expression "(_Bool *)pwVar2" ( (type_descriptor "_Bool *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&match_words" & identifier)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001e900(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}\n\n" (function_definition "void FUN_0001e900(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" primitive_type (function_declarator "FUN_0001e900(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "wint_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = &DAT_00048240;" (assignment_expression "puVar3 = &DAT_00048240" identifier = (pointer_expression "&DAT_00048240" & identifier)) ;) (expression_statement "pwVar2 = &DAT_0004c624;" (assignment_expression "pwVar2 = &DAT_0004c624" identifier = (pointer_expression "&DAT_0004c624" & identifier)) ;) (do_statement "do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);" do (compound_statement "{\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  }" { (while_statement "while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" while (parenthesized_expression "(*pwVar2 == 0x5f)" ( (binary_expression "*pwVar2 == 0x5f" (pointer_expression "*pwVar2" * identifier) == number_literal) )) (compound_statement "{\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" { (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = 1;" (assignment_expression "*puVar3 = 1" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }" if (parenthesized_expression "(pwVar2 == (wint_t *)&DAT_0004ca24)" ( (binary_expression "pwVar2 == (wint_t *)&DAT_0004ca24" identifier == (cast_expression "(wint_t *)&DAT_0004ca24" ( (type_descriptor "wint_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0004ca24" & identifier))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar1 = iswalnum(*pwVar2);" (assignment_expression "iVar1 = iswalnum(*pwVar2)" identifier = (call_expression "iswalnum(*pwVar2)" identifier (argument_list "(*pwVar2)" ( (pointer_expression "*pwVar2" * identifier) )))) ;) (expression_statement "*puVar3 = iVar1 != 0;" (assignment_expression "*puVar3 = iVar1 != 0" (pointer_expression "*puVar3" * identifier) = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" identifier = (binary_expression "pwVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pwVar2 != (wint_t *)&DAT_0004ca24)" ( (binary_expression "pwVar2 != (wint_t *)&DAT_0004ca24" identifier != (cast_expression "(wint_t *)&DAT_0004ca24" ( (type_descriptor "wint_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0004ca24" & identifier))) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) ;) (return_statement return ;) })))
(function_definition "void FUN_0001e900(void)\n\n{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001e900(void)" (identifier "FUN_0001e900") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  wint_t *pwVar2;\n  undefined1 *puVar3;\n  \n  puVar3 = &DAT_00048240;\n  pwVar2 = &DAT_0004c624;\n  do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "wint_t *pwVar2;" (type_identifier "wint_t") (pointer_declarator "*pwVar2" (* "*") (identifier "pwVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = &DAT_00048240;" (assignment_expression "puVar3 = &DAT_00048240" (identifier "puVar3") (= "=") (pointer_expression "&DAT_00048240" (& "&") (identifier "DAT_00048240"))) (; ";")) (expression_statement "pwVar2 = &DAT_0004c624;" (assignment_expression "pwVar2 = &DAT_0004c624" (identifier "pwVar2") (= "=") (pointer_expression "&DAT_0004c624" (& "&") (identifier "DAT_0004c624"))) (; ";")) (do_statement "do {\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  } while (pwVar2 != (wint_t *)&DAT_0004ca24);" (do "do") (compound_statement "{\n    while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }\n    iVar1 = iswalnum(*pwVar2);\n    *puVar3 = iVar1 != 0;\n    pwVar2 = pwVar2 + 1;\n    puVar3 = puVar3 + 1;\n  }" ({ "{") (while_statement "while (*pwVar2 == 0x5f) {\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(*pwVar2 == 0x5f)" (( "(") (binary_expression "*pwVar2 == 0x5f" (pointer_expression "*pwVar2" (* "*") (identifier "pwVar2")) (== "==") (number_literal "0x5f")) () ")")) (compound_statement "{\n      pwVar2 = pwVar2 + 1;\n      *puVar3 = 1;\n      puVar3 = puVar3 + 1;\n      if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }\n    }" ({ "{") (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" (identifier "pwVar2") (= "=") (binary_expression "pwVar2 + 1" (identifier "pwVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = 1;" (assignment_expression "*puVar3 = 1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pwVar2 == (wint_t *)&DAT_0004ca24) {\n        return;\n      }" (if "if") (parenthesized_expression "(pwVar2 == (wint_t *)&DAT_0004ca24)" (( "(") (binary_expression "pwVar2 == (wint_t *)&DAT_0004ca24" (identifier "pwVar2") (== "==") (cast_expression "(wint_t *)&DAT_0004ca24" (( "(") (type_descriptor "wint_t *" (type_identifier "wint_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0004ca24" (& "&") (identifier "DAT_0004ca24")))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = iswalnum(*pwVar2);" (assignment_expression "iVar1 = iswalnum(*pwVar2)" (identifier "iVar1") (= "=") (call_expression "iswalnum(*pwVar2)" (identifier "iswalnum") (argument_list "(*pwVar2)" (( "(") (pointer_expression "*pwVar2" (* "*") (identifier "pwVar2")) () ")")))) (; ";")) (expression_statement "*puVar3 = iVar1 != 0;" (assignment_expression "*puVar3 = iVar1 != 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "pwVar2 = pwVar2 + 1;" (assignment_expression "pwVar2 = pwVar2 + 1" (identifier "pwVar2") (= "=") (binary_expression "pwVar2 + 1" (identifier "pwVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pwVar2 != (wint_t *)&DAT_0004ca24)" (( "(") (binary_expression "pwVar2 != (wint_t *)&DAT_0004ca24" (identifier "pwVar2") (!= "!=") (cast_expression "(wint_t *)&DAT_0004ca24" (( "(") (type_descriptor "wint_t *" (type_identifier "wint_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0004ca24" (& "&") (identifier "DAT_0004ca24")))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_4;
  type_1 *var_1;
  type_2 *var_2;
  
  var_2 = sbwordchar;
  var_1 = localeinfo.sbctowc;
  do {
    while (*var_1 == 0x5f) {
      var_1 = var_1 + 1;
      *var_2 = true;
      var_2 = var_2 + 1;
      if ((type_2 *)var_1 == &match_words) {
        return;
      }
    }
    var_4 = var_3(*var_1);
    *var_2 = var_4 != 0;
    var_1 = var_1 + 1;
    var_2 = var_2 + 1;
  } while ((type_2 *)var_1 != &match_words);
  return;
}


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

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

void MASKED(void)

{
  int iVar1;
  wint_t *pwVar2;
  undefined1 *puVar3;
  
  puVar3 = &DAT_00048240;
  pwVar2 = &DAT_0004c624;
  do {
    while (*pwVar2 == 0x5f) {
      pwVar2 = pwVar2 + 1;
      *puVar3 = 1;
      puVar3 = puVar3 + 1;
      if (pwVar2 == (wint_t *)&DAT_0004ca24) {
        return;
      }
    }
    iVar1 = iswalnum(*pwVar2);
    *puVar3 = iVar1 != 0;
    pwVar2 = pwVar2 + 1;
    puVar3 = puVar3 + 1;
  } while (pwVar2 != (wint_t *)&DAT_0004ca24);
  return;
}

