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

void std::moneypunct<wchar_t,true>::curr_symbol(void)

{
}



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

int * FUN_00413c40(int *param_1,int *param_2)

{
  wchar_t *__s;
  wchar_t *pwVar1;
  size_t sVar2;
  
  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {
    __s = *(wchar_t **)(param_2[2] + 0x1c);
    *param_1 = (int)(param_1 + 2);
    pwVar1 = (wchar_t *)0xfffffffc;
    if (__s != (wchar_t *)0x0) {
      sVar2 = wcslen(__s);
      pwVar1 = __s + sVar2;
    }
    FUN_003b53a0(param_1,__s,pwVar1,0);
    return param_1;
  }
  (**(code **)(*param_2 + 0x14))(param_1,param_2);
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00050b50
ADD EBX,0x1d63b4
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX]
MOV EDX,dword ptr [EDX + 0x14]
CMP EDX,dword ptr [EBX + 0xfffffe08]
JNZ 0x00413ca0
MOV EAX,dword ptr [EAX + 0x8]
MOV EDI,dword ptr [EAX + 0x1c]
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI],EAX
MOV EAX,0xfffffffc
TEST EDI,EDI
JZ 0x00413c86
SUB ESP,0xc
PUSH EDI
CALL 0x00039620
ADD ESP,0x10
LEA EAX,[EDI + EAX*0x4]
PUSH 0x0
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x003b53a0
ADD ESP,0x10
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET 0x4
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL EDX
MOV EAX,ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00413c40(int *param_1,int *param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00413c40(int *param_1,int *param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00413c40(int *param_1,int *param_2)" * (function_declarator "FUN_00413c40(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (if_statement "if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08)" ( (binary_expression "*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08" (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_005e9e08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" { (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x1c);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x1c)" identifier = (pointer_expression "*(wchar_t **)(param_2[2] + 0x1c)" * (cast_expression "(wchar_t **)(param_2[2] + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[2] + 0x1c)" ( (binary_expression "param_2[2] + 0x1c" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" if (parenthesized_expression "(__s != (wchar_t *)0x0)" ( (binary_expression "__s != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" { (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_003b53a0(param_1,__s,pwVar1,0);" (call_expression "FUN_003b53a0(param_1,__s,pwVar1,0)" identifier (argument_list "(param_1,__s,pwVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x14))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (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::moneypunct<wchar_t, true>::curr_symbol() const */\n\nvoid std::moneypunct<wchar_t,true>::curr_symbol(void)\n\n{\n}\n\n" comment comment (ERROR "void std::moneypunct<wchar_t,true>::curr_symbol(void)" primitive_type (ERROR "std::moneypunct<" identifier : : identifier <) identifier , (ERROR "true>::" identifier > : :) (function_declarator "curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n}" { }))
(translation_unit "int * FUN_00413c40(int *param_1,int *param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}\n\n" (function_definition "int * FUN_00413c40(int *param_1,int *param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00413c40(int *param_1,int *param_2)" * (function_declarator "FUN_00413c40(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (if_statement "if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08)" ( (binary_expression "*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08" (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_005e9e08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" { (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x1c);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x1c)" identifier = (pointer_expression "*(wchar_t **)(param_2[2] + 0x1c)" * (cast_expression "(wchar_t **)(param_2[2] + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[2] + 0x1c)" ( (binary_expression "param_2[2] + 0x1c" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" if (parenthesized_expression "(__s != (wchar_t *)0x0)" ( (binary_expression "__s != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" { (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_003b53a0(param_1,__s,pwVar1,0);" (call_expression "FUN_003b53a0(param_1,__s,pwVar1,0)" identifier (argument_list "(param_1,__s,pwVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x14))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" ( (pointer_expression "**(code **)(*param_2 + 0x14)" * (pointer_expression "*(code **)(*param_2 + 0x14)" * (cast_expression "(code **)(*param_2 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (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 (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00413c40(int *param_1,int *param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00413c40(int *param_1,int *param_2)" (* "*") (function_declarator "FUN_00413c40(int *param_1,int *param_2)" (identifier "FUN_00413c40") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x14))(param_1,param_2);\n  return param_1;\n}" ({ "{") (declaration "wchar_t *__s;" (type_identifier "wchar_t") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "wchar_t *pwVar1;" (type_identifier "wchar_t") (pointer_declarator "*pwVar1" (* "*") (identifier "pwVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (if_statement "if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08)" (( "(") (binary_expression "*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08" (pointer_expression "*(code **)(*param_2 + 0x14)" (* "*") (cast_expression "(code **)(*param_2 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x14)" (( "(") (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x14")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_005e9e08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_005e9e08"))) () ")")) (compound_statement "{\n    __s = *(wchar_t **)(param_2[2] + 0x1c);\n    *param_1 = (int)(param_1 + 2);\n    pwVar1 = (wchar_t *)0xfffffffc;\n    if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }\n    FUN_003b53a0(param_1,__s,pwVar1,0);\n    return param_1;\n  }" ({ "{") (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x1c);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x1c)" (identifier "__s") (= "=") (pointer_expression "*(wchar_t **)(param_2[2] + 0x1c)" (* "*") (cast_expression "(wchar_t **)(param_2[2] + 0x1c)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2[2] + 0x1c)" (( "(") (binary_expression "param_2[2] + 0x1c" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" (identifier "pwVar1") (= "=") (cast_expression "(wchar_t *)0xfffffffc" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" (if "if") (parenthesized_expression "(__s != (wchar_t *)0x0)" (( "(") (binary_expression "__s != (wchar_t *)0x0" (identifier "__s") (!= "!=") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      sVar2 = wcslen(__s);\n      pwVar1 = __s + sVar2;\n    }" ({ "{") (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" (identifier "sVar2") (= "=") (call_expression "wcslen(__s)" (identifier "wcslen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" (identifier "pwVar1") (= "=") (binary_expression "__s + sVar2" (identifier "__s") (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "FUN_003b53a0(param_1,__s,pwVar1,0);" (call_expression "FUN_003b53a0(param_1,__s,pwVar1,0)" (identifier "FUN_003b53a0") (argument_list "(param_1,__s,pwVar1,0)" (( "(") (identifier "param_1") (, ",") (identifier "__s") (, ",") (identifier "pwVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x14))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x14))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x14))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x14)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x14)" (* "*") (cast_expression "(code **)(*param_2 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x14)" (( "(") (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (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::moneypunct<wchar_t, true>::curr_symbol() const */

void std::moneypunct<wchar_t,true>::curr_symbol(void)

{
}


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

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

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

{
  wchar_t *__s;
  wchar_t *pwVar1;
  size_t sVar2;
  
  if (*(code **)(*param_2 + 0x14) == (code *)PTR_FUN_005e9e08) {
    __s = *(wchar_t **)(param_2[2] + 0x1c);
    *param_1 = (int)(param_1 + 2);
    pwVar1 = (wchar_t *)0xfffffffc;
    if (__s != (wchar_t *)0x0) {
      sVar2 = wcslen(__s);
      pwVar1 = __s + sVar2;
    }
    FUN_003b53a0(param_1,__s,pwVar1,0);
    return param_1;
  }
  (**(code **)(*param_2 + 0x14))(param_1,param_2);
  return param_1;
}

