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

void reinit_unicode(char *LANG)

{
}



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

undefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)

{
  char *pcVar1;
  
  DAT_000dc728 = 1;
  if (param_1 == (char *)0x0) {
    DAT_000dc728 = 1;
    return param_2;
  }
  pcVar1 = strstr(param_1,".utf");
  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {
    return param_2;
  }
  DAT_000dc728 = 2;
  return param_2;
}


PUSH ESI
PUSH EBX
PUSH EDX
CALL 0x00017650
ADD EBX,0x1e794
MOV byte ptr [EBX + 0xd08],0x1
TEST EAX,EAX
JNZ 0x000bd2a1
POP EAX
POP EBX
POP ESI
RET
MOV ESI,EAX
SUB ESP,0x8
LEA EAX,[EBX + 0xffffd348]
PUSH EAX
PUSH ESI
CALL 0x00017590
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000bd2d1
SUB ESP,0x8
LEA EAX,[EBX + 0xffffd34d]
PUSH EAX
PUSH ESI
CALL 0x00017590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000bd29d
MOV byte ptr [EBX + 0xd08],0x2
POP EAX
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000bd284(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" identifier = number_literal) ;) (if_statement "if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_000dc728 = 1;\n    return param_2;\n  }" { (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" identifier = number_literal) ;) (return_statement "return param_2;" return identifier ;) })) (expression_statement "pcVar1 = strstr(param_1,".utf");" (assignment_expression "pcVar1 = strstr(param_1,".utf")" identifier = (call_expression "strstr(param_1,".utf")" identifier (argument_list "(param_1,".utf")" ( identifier , (string_literal "".utf"" " string_content ") )))) ;) (if_statement "if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }" if (parenthesized_expression "((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0))" ( (binary_expression "(pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" ( (comma_expression "pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0" (assignment_expression "pcVar1 = strstr(param_1,".UTF")" identifier = (call_expression "strstr(param_1,".UTF")" identifier (argument_list "(param_1,".UTF")" ( identifier , (string_literal "".UTF"" " string_content ") )))) , (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "DAT_000dc728 = 2;" (assignment_expression "DAT_000dc728 = 2" identifier = number_literal) ;) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid reinit_unicode(char *LANG)\n\n{\n}\n\n" comment (function_definition "void reinit_unicode(char *LANG)\n\n{\n}" primitive_type (function_declarator "reinit_unicode(char *LANG)" identifier (parameter_list "(char *LANG)" ( (parameter_declaration "char *LANG" primitive_type (pointer_declarator "*LANG" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000bd284(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" identifier = number_literal) ;) (if_statement "if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_000dc728 = 1;\n    return param_2;\n  }" { (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" identifier = number_literal) ;) (return_statement "return param_2;" return identifier ;) })) (expression_statement "pcVar1 = strstr(param_1,".utf");" (assignment_expression "pcVar1 = strstr(param_1,".utf")" identifier = (call_expression "strstr(param_1,".utf")" identifier (argument_list "(param_1,".utf")" ( identifier , (string_literal "".utf"" " string_content ") )))) ;) (if_statement "if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }" if (parenthesized_expression "((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0))" ( (binary_expression "(pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" ( (comma_expression "pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0" (assignment_expression "pcVar1 = strstr(param_1,".UTF")" identifier = (call_expression "strstr(param_1,".UTF")" identifier (argument_list "(param_1,".UTF")" ( identifier , (string_literal "".UTF"" " string_content ") )))) , (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "DAT_000dc728 = 2;" (assignment_expression "DAT_000dc728 = 2" identifier = number_literal) ;) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3 FUN_000bd284(char *param_1,undefined4 param_2)\n\n{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000bd284(char *param_1,undefined4 param_2)" (identifier "FUN_000bd284") (parameter_list "(char *param_1,undefined4 param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  DAT_000dc728 = 1;\n  if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }\n  pcVar1 = strstr(param_1,".utf");\n  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }\n  DAT_000dc728 = 2;\n  return param_2;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" (identifier "DAT_000dc728") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n    DAT_000dc728 = 1;\n    return param_2;\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_000dc728 = 1;\n    return param_2;\n  }" ({ "{") (expression_statement "DAT_000dc728 = 1;" (assignment_expression "DAT_000dc728 = 1" (identifier "DAT_000dc728") (= "=") (number_literal "1")) (; ";")) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (expression_statement "pcVar1 = strstr(param_1,".utf");" (assignment_expression "pcVar1 = strstr(param_1,".utf")" (identifier "pcVar1") (= "=") (call_expression "strstr(param_1,".utf")" (identifier "strstr") (argument_list "(param_1,".utf")" (( "(") (identifier "param_1") (, ",") (string_literal "".utf"" (" """) (string_content ".utf") (" """)) () ")")))) (; ";")) (if_statement "if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {\n    return param_2;\n  }" (if "if") (parenthesized_expression "((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0))" (( "(") (binary_expression "(pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)" (( "(") (comma_expression "pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0" (assignment_expression "pcVar1 = strstr(param_1,".UTF")" (identifier "pcVar1") (= "=") (call_expression "strstr(param_1,".UTF")" (identifier "strstr") (argument_list "(param_1,".UTF")" (( "(") (identifier "param_1") (, ",") (string_literal "".UTF"" (" """) (string_content ".UTF") (" """)) () ")")))) (, ",") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    return param_2;\n  }" ({ "{") (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (expression_statement "DAT_000dc728 = 2;" (assignment_expression "DAT_000dc728 = 2" (identifier "DAT_000dc728") (= "=") (number_literal "2")) (; ";")) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

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

void function_1(char *LANG)

{
}


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

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

undefined4 __regparm3 MASKED(char *param_1,undefined4 param_2)

{
  char *pcVar1;
  
  DAT_000dc728 = 1;
  if (param_1 == (char *)0x0) {
    DAT_000dc728 = 1;
    return param_2;
  }
  pcVar1 = strstr(param_1,".utf");
  if ((pcVar1 == (char *)0x0) && (pcVar1 = strstr(param_1,".UTF"), pcVar1 == (char *)0x0)) {
    return param_2;
  }
  DAT_000dc728 = 2;
  return param_2;
}

