// File: wekan[P]sps/sps.cxx
// Function: get_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 get_transfert(std::string host, std::string exec_cmd)
{
	vector_string_t param = tokenize_string(exec_cmd, '`');
	if (param.size() == 4)
	{
		std::string cmd = "scp -T -p " + SSH_OPTS + " root@" + host + ":\"'" + param[1] + "'\" '" + 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 0x3e8d
leaq 0x4556(%rip), %rsi      # 0x8158
leaq 0x8637(%rip), %rdx      # 0xc240
leaq -0x130(%rbp), %rdi
callq 0x4f20
jmp 0x3c17
leaq 0x4557(%rip), %rdx      # 0x8175
leaq -0x110(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x4e60
jmp 0x3c33
movq -0x148(%rbp), %rdx
leaq -0xf0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x4eb0
jmp 0x3c4f
leaq 0x450d(%rip), %rdx      # 0x8163
leaq -0xd0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4e60
jmp 0x3c6b
leaq -0x30(%rbp), %rdi
movl $0x1, %esi
callq 0x5030
movq %rax, %rdx
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x4eb0
jmp 0x3c91
leaq 0x44cf(%rip), %rdx      # 0x8167
leaq -0x90(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x4e60
jmp 0x3cad
leaq -0x30(%rbp), %rdi
movl $0x3, %esi
callq 0x5030
movq %rax, %rdx
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x4eb0
jmp 0x3cd0
leaq 0x4493(%rip), %rdx      # 0x816a
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x4e60
jmp 0x3ce6
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 0x3d50
movl -0x14c(%rbp), %edi
callq 0x3620
movl %eax, -0x4(%rbp)
movl $0x1, -0x140(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x3438
jmp 0x3e9e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3eb3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e62
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e56
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e4a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e3e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e32
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
jmp 0x3e26
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 0x3eb3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x3438
jmp 0x3eb3
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)