
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::_M_copy(char*, char const*, unsigned int) */

void std::string::_M_copy(char *param_1,char *param_2,uint param_3)

{
}



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

void FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
  memcpy(param_1,param_2,param_3);
  return;
}


PUSH EBX
CALL 0x0003a210
ADD EBX,0x1954ba
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x14]
CMP EAX,0x1
JZ 0x0027eb80
TEST EAX,EAX
JNZ 0x0027eb68
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x4
PUSH EAX
PUSH EDX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0002c2d0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
MOVZX EAX,byte ptr [EDX]
MOV ECX,dword ptr [ESP + 0x10]
MOV byte ptr [ECX],AL
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,size_t param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "memcpy(param_1,param_2,param_3);" (call_expression "memcpy(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::string::_M_copy(char*, char const*, unsigned int) */\n\nvoid std::string::_M_copy(char *param_1,char *param_2,uint param_3)\n\n{\n}\n\n" comment comment (function_definition "void std::string::_M_copy(char *param_1,char *param_2,uint param_3)\n\n{\n}" primitive_type (ERROR "std::string::" identifier : : identifier : :) (function_declarator "_M_copy(char *param_1,char *param_2,uint param_3)" identifier (parameter_list "(char *param_1,char *param_2,uint param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,size_t param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "memcpy(param_1,param_2,param_3);" (call_expression "memcpy(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0027eb40(undefined1 *param_1,undefined1 *param_2,size_t param_3)" (identifier "FUN_0027eb40") (parameter_list "(undefined1 *param_1,undefined1 *param_2,size_t param_3)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  memcpy(param_1,param_2,param_3);\n  return;\n}" ({ "{") (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 1)" (( "(") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "memcpy(param_1,param_2,param_3);" (call_expression "memcpy(param_1,param_2,param_3)" (identifier "memcpy") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::_M_copy(char*, char const*, unsigned int) */

void std::string::function_1(char *param_1,char *param_2,type_1 param_3)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

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

void MASKED(undefined1 *param_1,undefined1 *param_2,size_t param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
  memcpy(param_1,param_2,param_3);
  return;
}

