
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int scp_send_filetimes(ulong mtime,ulong atime)

{
  int iVar1;
  
  if (using_sftp != 0) {
    scp_sftp_mtime = mtime;
    scp_sftp_atime = atime;
    scp_has_times = 1;
    return 0;
  }
  iVar1 = scp_send_filetimes(mtime,atime);
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (DAT_000a91e4 != 0) {
    DAT_000a919c = param_1;
    DAT_000a9198 = param_2;
    DAT_000a9194 = 1;
    return 0;
  }
  uVar1 = FUN_00020ca0();
  return uVar1;
}


CALL 0x0001b8ab
ADD ECX,0x8776b
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
CMP dword ptr [ECX + 0x474],0x0
JZ 0x00021638
MOV dword ptr [ECX + 0x42c],EAX
XOR EAX,EAX
MOV dword ptr [ECX + 0x428],EDX
MOV dword ptr [ECX + 0x424],0x1
RET
JMP 0x00020ca0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00021600(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" if (parenthesized_expression "(DAT_000a91e4 != 0)" ( (binary_expression "DAT_000a91e4 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" { (expression_statement "DAT_000a919c = param_1;" (assignment_expression "DAT_000a919c = param_1" identifier = identifier) ;) (expression_statement "DAT_000a9198 = param_2;" (assignment_expression "DAT_000a9198 = param_2" identifier = identifier) ;) (expression_statement "DAT_000a9194 = 1;" (assignment_expression "DAT_000a9194 = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = FUN_00020ca0();" (assignment_expression "uVar1 = FUN_00020ca0()" identifier = (call_expression "FUN_00020ca0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint scp_send_filetimes(ulong mtime,ulong atime)\n\n{\n  int iVar1;\n  \n  if (using_sftp != 0) {\n    scp_sftp_mtime = mtime;\n    scp_sftp_atime = atime;\n    scp_has_times = 1;\n    return 0;\n  }\n  iVar1 = scp_send_filetimes(mtime,atime);\n  return iVar1;\n}\n\n" comment (function_definition "int scp_send_filetimes(ulong mtime,ulong atime)\n\n{\n  int iVar1;\n  \n  if (using_sftp != 0) {\n    scp_sftp_mtime = mtime;\n    scp_sftp_atime = atime;\n    scp_has_times = 1;\n    return 0;\n  }\n  iVar1 = scp_send_filetimes(mtime,atime);\n  return iVar1;\n}" primitive_type (function_declarator "scp_send_filetimes(ulong mtime,ulong atime)" identifier (parameter_list "(ulong mtime,ulong atime)" ( (parameter_declaration "ulong mtime" type_identifier identifier) , (parameter_declaration "ulong atime" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (using_sftp != 0) {\n    scp_sftp_mtime = mtime;\n    scp_sftp_atime = atime;\n    scp_has_times = 1;\n    return 0;\n  }\n  iVar1 = scp_send_filetimes(mtime,atime);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (using_sftp != 0) {\n    scp_sftp_mtime = mtime;\n    scp_sftp_atime = atime;\n    scp_has_times = 1;\n    return 0;\n  }" if (parenthesized_expression "(using_sftp != 0)" ( (binary_expression "using_sftp != 0" identifier != number_literal) )) (compound_statement "{\n    scp_sftp_mtime = mtime;\n    scp_sftp_atime = atime;\n    scp_has_times = 1;\n    return 0;\n  }" { (expression_statement "scp_sftp_mtime = mtime;" (assignment_expression "scp_sftp_mtime = mtime" identifier = identifier) ;) (expression_statement "scp_sftp_atime = atime;" (assignment_expression "scp_sftp_atime = atime" identifier = identifier) ;) (expression_statement "scp_has_times = 1;" (assignment_expression "scp_has_times = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = scp_send_filetimes(mtime,atime);" (assignment_expression "iVar1 = scp_send_filetimes(mtime,atime)" identifier = (call_expression "scp_send_filetimes(mtime,atime)" identifier (argument_list "(mtime,atime)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00021600(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" if (parenthesized_expression "(DAT_000a91e4 != 0)" ( (binary_expression "DAT_000a91e4 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" { (expression_statement "DAT_000a919c = param_1;" (assignment_expression "DAT_000a919c = param_1" identifier = identifier) ;) (expression_statement "DAT_000a9198 = param_2;" (assignment_expression "DAT_000a9198 = param_2" identifier = identifier) ;) (expression_statement "DAT_000a9194 = 1;" (assignment_expression "DAT_000a9194 = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = FUN_00020ca0();" (assignment_expression "uVar1 = FUN_00020ca0()" identifier = (call_expression "FUN_00020ca0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00021600(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00021600(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00021600") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }\n  uVar1 = FUN_00020ca0();\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (DAT_000a91e4 != 0) {\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" (if "if") (parenthesized_expression "(DAT_000a91e4 != 0)" (( "(") (binary_expression "DAT_000a91e4 != 0" (identifier "DAT_000a91e4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_000a919c = param_1;\n    DAT_000a9198 = param_2;\n    DAT_000a9194 = 1;\n    return 0;\n  }" ({ "{") (expression_statement "DAT_000a919c = param_1;" (assignment_expression "DAT_000a919c = param_1" (identifier "DAT_000a919c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_000a9198 = param_2;" (assignment_expression "DAT_000a9198 = param_2" (identifier "DAT_000a9198") (= "=") (identifier "param_2")) (; ";")) (expression_statement "DAT_000a9194 = 1;" (assignment_expression "DAT_000a9194 = 1" (identifier "DAT_000a9194") (= "=") (number_literal "1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_00020ca0();" (assignment_expression "uVar1 = FUN_00020ca0()" (identifier "uVar1") (= "=") (call_expression "FUN_00020ca0()" (identifier "FUN_00020ca0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int function_1(type_1 mtime,type_1 atime)

{
  int iVar1;
  
  if (var_1 != 0) {
    scp_sftp_mtime = mtime;
    scp_sftp_atime = atime;
    scp_has_times = 1;
    return 0;
  }
  iVar1 = function_1(mtime,atime);
  return iVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (DAT_000a91e4 != 0) {
    DAT_000a919c = param_1;
    DAT_000a9198 = param_2;
    DAT_000a9194 = 1;
    return 0;
  }
  uVar1 = FUN_00020ca0();
  return uVar1;
}

