// File: wekan[P]sps/sps.cxx
// Function: put_transfert(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int put_transfert(std::string host, std::string exec_cmd)
{
	vector_string_t param = tokenize_string(exec_cmd, '`');
	if (param.size() == 4)
	{
		std::string cmd = "scp -p " + SSH_OPTS + " '" + param[1] + "' root@" + host + ":\"'" + param[3] + "'\"";
		return exit_status(system(cmd.c_str()));
	}
	else
	{
		return EX_USAGE; // 64
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x148(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
leaq -0x30(%rbp), %rdi
movl $0x60, %edx
callq 0x3660
leaq -0x30(%rbp), %rdi
callq 0x4f00
cmpq $0x4, %rax
jne 0x419d
leaq 0x425a(%rip), %rsi      # 0x816c
leaq 0x8327(%rip), %rdx      # 0xc240
leaq -0x130(%rbp), %rdi
callq 0x4f20
jmp 0x3f27
leaq 0x423b(%rip), %rdx      # 0x8169
leaq -0x110(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x4e60
jmp 0x3f43
leaq -0x30(%rbp), %rdi
movl $0x1, %esi
callq 0x5030
movq %rax, %rdx
leaq -0xf0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x4eb0
jmp 0x3f69
leaq 0x4204(%rip), %rdx      # 0x8174
leaq -0xd0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4e60
jmp 0x3f85
movq -0x148(%rbp), %rdx
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x4eb0
jmp 0x3fa1
leaq 0x41bb(%rip), %rdx      # 0x8163
leaq -0x90(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x4e60
jmp 0x3fbd
leaq -0x30(%rbp), %rdi
movl $0x3, %esi
callq 0x5030
movq %rax, %rdx
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x4eb0
jmp 0x3fe0
leaq 0x4195(%rip), %rdx      # 0x817c
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x4e60
jmp 0x3ff6
leaq -0x70(%rbp), %rdi
callq 0x3438
leaq -0x90(%rbp), %rdi
callq 0x3438
leaq -0xb0(%rbp), %rdi
callq 0x3438
leaq -0xd0(%rbp), %rdi
callq 0x3438
leaq -0xf0(%rbp), %rdi
callq 0x3438
leaq -0x110(%rbp), %rdi
callq 0x3438
leaq -0x130(%rbp), %rdi
callq 0x3438
leaq -0x50(%rbp), %rdi
callq 0x30f0
movq %rax, %rdi
callq 0x3210
movl %eax, -0x14c(%rbp)
jmp 0x4060
movl -0x14c(%rbp), %edi
callq 0x3620
movl %eax, -0x4(%rbp)
movl $0x1, -0x140(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x3438
jmp 0x41ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x41c3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x4172
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x4166
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x415a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x414e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x4142
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x4136
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x3438
leaq -0x90(%rbp), %rdi
callq 0x3438
leaq -0xb0(%rbp), %rdi
callq 0x3438
leaq -0xd0(%rbp), %rdi
callq 0x3438
leaq -0xf0(%rbp), %rdi
callq 0x3438
leaq -0x110(%rbp), %rdi
callq 0x3438
leaq -0x130(%rbp), %rdi
callq 0x3438
jmp 0x41c3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x3438
jmp 0x41c3
movl $0x40, -0x4(%rbp)
movl $0x1, -0x140(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4e00
movl -0x4(%rbp), %eax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
leaq -0x30(%rbp), %rdi
callq 0x4e00
movq -0x138(%rbp), %rdi
callq 0x3390
nopl (%rax,%rax)