
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* (anonymous namespace)::system_error_category::message[abi:cxx11](int) const */

void (anonymous_namespace)::system_error_category::message_abi_cxx11_(int param_1)

{
}



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

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

{
  char *__s;
  char *pcVar1;
  size_t sVar2;
  
  __s = strerror(param_3);
  *param_1 = (int)(param_1 + 2);
  pcVar1 = (char *)0xffffffff;
  if (__s != (char *)0x0) {
    sVar2 = strlen(__s);
    pcVar1 = __s + sVar2;
  }
  FUN_000a8880(param_1,__s,pcVar1,0);
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x0003a210
ADD EBX,0x187194
SUB ESP,0xc
PUSH dword ptr [ESP + 0x24]
CALL 0x0002c810
ADD ESP,0x10
MOV EDI,EAX
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI],EAX
MOV EAX,0xffffffff
TEST EDI,EDI
JZ 0x0028ce9f
SUB ESP,0xc
PUSH EDI
CALL 0x0002c330
ADD ESP,0x10
ADD EAX,EDI
PUSH 0x0
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x000a8880
ADD ESP,0x10
MOV EAX,ESI
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_0028ce60(int *param_1,undefined4 param_2,int param_3)\n\n{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)\n\n{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "__s = strerror(param_3);" (assignment_expression "__s = strerror(param_3)" identifier = (call_expression "strerror(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (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 "pcVar1 = (char *)0xffffffff;" (assignment_expression "pcVar1 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" { (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar1 = __s + sVar2;" (assignment_expression "pcVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_000a8880(param_1,__s,pcVar1,0);" (call_expression "FUN_000a8880(param_1,__s,pcVar1,0)" identifier (argument_list "(param_1,__s,pcVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* (anonymous namespace)::system_error_category::message[abi:cxx11](int) const */\n\nvoid (anonymous_namespace)::system_error_category::message_abi_cxx11_(int param_1)\n\n{\n}\n\n" comment comment (function_definition "void (anonymous_namespace)::system_error_category::message_abi_cxx11_(int param_1)\n\n{\n}" primitive_type (ERROR "(anonymous_namespace)::system_error_category::" (parenthesized_declarator "(anonymous_namespace)" ( identifier )) : : identifier : :) (function_declarator "message_abi_cxx11_(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "int * FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)\n\n{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}\n\n" (function_definition "int * FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)\n\n{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "__s = strerror(param_3);" (assignment_expression "__s = strerror(param_3)" identifier = (call_expression "strerror(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (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 "pcVar1 = (char *)0xffffffff;" (assignment_expression "pcVar1 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" { (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar1 = __s + sVar2;" (assignment_expression "pcVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_000a8880(param_1,__s,pcVar1,0);" (call_expression "FUN_000a8880(param_1,__s,pcVar1,0)" identifier (argument_list "(param_1,__s,pcVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (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 IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 ;) })))
(function_definition "int * FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)\n\n{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" (* "*") (function_declarator "FUN_0028ce60(int *param_1,undefined4 param_2,int param_3)" (identifier "FUN_0028ce60") (parameter_list "(int *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  char *__s;\n  char *pcVar1;\n  size_t sVar2;\n  \n  __s = strerror(param_3);\n  *param_1 = (int)(param_1 + 2);\n  pcVar1 = (char *)0xffffffff;\n  if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }\n  FUN_000a8880(param_1,__s,pcVar1,0);\n  return param_1;\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (expression_statement "__s = strerror(param_3);" (assignment_expression "__s = strerror(param_3)" (identifier "__s") (= "=") (call_expression "strerror(param_3)" (identifier "strerror") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (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 "pcVar1 = (char *)0xffffffff;" (assignment_expression "pcVar1 = (char *)0xffffffff" (identifier "pcVar1") (= "=") (cast_expression "(char *)0xffffffff" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (if_statement "if (__s != (char *)0x0) {\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" (if "if") (parenthesized_expression "(__s != (char *)0x0)" (( "(") (binary_expression "__s != (char *)0x0" (identifier "__s") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar2 = strlen(__s);\n    pcVar1 = __s + sVar2;\n  }" ({ "{") (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pcVar1 = __s + sVar2;" (assignment_expression "pcVar1 = __s + sVar2" (identifier "pcVar1") (= "=") (binary_expression "__s + sVar2" (identifier "__s") (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "FUN_000a8880(param_1,__s,pcVar1,0);" (call_expression "FUN_000a8880(param_1,__s,pcVar1,0)" (identifier "FUN_000a8880") (argument_list "(param_1,__s,pcVar1,0)" (( "(") (identifier "param_1") (, ",") (identifier "__s") (, ",") (identifier "pcVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* (anonymous namespace)::system_error_category::message[abi:cxx11](int) const */

void (anonymous_namespace)::system_error_category::function_1(int param_1)

{
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (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)))))

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

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

{
  char *__s;
  char *pcVar1;
  size_t sVar2;
  
  __s = strerror(param_3);
  *param_1 = (int)(param_1 + 2);
  pcVar1 = (char *)0xffffffff;
  if (__s != (char *)0x0) {
    sVar2 = strlen(__s);
    pcVar1 = __s + sVar2;
  }
  FUN_000a8880(param_1,__s,pcVar1,0);
  return param_1;
}

