Function at 0x6fd02ca0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r13, qword [rsp + 0xe8]
test rcx, rcx
mov rbp, rcx
mov rsi, rdx
mov rbx, r8
mov r12, r9
je 0x6fd02d50
test r8, r8
mov eax, 0xec
je 0x6fd02d55
mov rcx, qword [rsp + 0x108]
lea rdx, [rcx - 4]
cmp rdx, 0xc
ja 0x6fd02d55
cmp r8, 0xc
je 0x6fd030c2
mov qword [rsp + 0x40], 0
lea rdi, [rsp + 0x40]
mov r14, r8
xor edx, edx
mov qword [rsp + 0x48], 0
nop
cmp r14, 0x10
mov r15d, 0x10
cmovbe r15, r14
xor eax, eax
jmp 0x6fd02d26
movzx edx, byte [rdi + rax]
xor dl, byte [rsi + rax]
mov byte [rdi + rax], dl
add rax, 1
cmp r15, rax
jne 0x6fd02d22
mov rdx, rdi
mov rcx, rbp
add rsi, r15
call sym.libSFTP.dll_gcmMul
sub r14, r15
je 0x6fd02d70
movzx edx, byte [rsp + 0x40]
jmp 0x6fd02d10
mov eax, 2
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
lea rax, [rbx*8]
lea r15, [rsp + 0x30]
mov rdx, rax
shr rdx, 0x38
mov byte [rsp + 0x38], dl
mov rdx, rax
shr rdx, 0x30
mov byte [rsp + 0x39], dl
mov rdx, rax
shr rdx, 0x28
mov byte [rsp + 0x3a], dl
mov rdx, rax
shr rdx, 0x20
mov byte [rsp + 0x3b], dl
mov rdx, rax
shr rdx, 0x18
mov byte [rsp + 0x3c], dl
mov rdx, rax
shr rax, 8
shr rdx, 0x10
mov byte [rsp + 0x3e], al
lea eax, [rbx*8]
mov byte [rsp + 0x3d], dl
mov byte [rsp + 0x3f], al
xor eax, eax
jmp 0x6fd02de5
movzx eax, byte [r15 + r14]
xor byte [rdi + r14], al
add r14, 1
cmp r14, 0x10
jne 0x6fd02de0
mov rdx, rdi
mov rcx, rbp
call sym.libSFTP.dll_gcmMul
mov rax, qword [rbp]
mov r8, r15
mov rdx, rdi
mov rcx, qword [rbp + 8]
call qword [rax + 0x38]
mov r8, qword [rsp + 0x108]
lea rax, [rsp + 0x50]
mov rdx, r15
mov rcx, rax
mov qword [rsp + 0x28], rax
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0xe0], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
je 0x6fd030e8
mov rbx, qword [rsp + 0xe0]
lea rsi, [rsp + 0x60]
xor edx, edx
nop dword [rax]
cmp rbx, 0x10
mov r14d, 0x10
cmovbe r14, rbx
xor eax, eax
jmp 0x6fd02e76
movzx edx, byte [rsi + rax]
xor dl, byte [r12 + rax]
mov byte [rsi + rax], dl
add rax, 1
cmp r14, rax
jne 0x6fd02e72
mov rdx, rsi
mov rcx, rbp
add r12, r14
call sym.libSFTP.dll_gcmMul
sub rbx, r14
movzx edx, byte [rsp + 0x60]
jne 0x6fd02e60
cmp qword [rsp + 0xf8], 0
je 0x6fd02f5e
lea r14, [rdi + 0xb]
mov qword [rsp + 0x20], rdi
mov r12, qword [rsp + 0xf8]
mov rdi, rbp
mov rbp, qword [rsp + 0xf0]
nop dword [rax]
cmp r12, 0x10
mov eax, 0x10
cmovbe rax, r12
xor ebx, ebx
jmp 0x6fd02ee5
movzx edx, byte [rsi + rbx]
xor dl, byte [r13 + rbx]
mov byte [rsi + rbx], dl
add rbx, 1
cmp rax, rbx
jne 0x6fd02ee1
mov rdx, rsi
mov rcx, rdi
call sym.libSFTP.dll_gcmMul
mov edx, 4
lea rcx, [rdx + r14]
add byte [rcx], 1
jne 0x6fd02f15
sub rdx, 1
jne 0x6fd02f06
mov rax, qword [rdi]
mov r8, r15
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x20]
call qword [rax + 0x38]
xor eax, eax
nop dword [rax]
movzx edx, byte [r13 + rax]
xor dl, byte [r15 + rax]
mov byte [rbp + rax], dl
add rax, 1
cmp rax, rbx
jne 0x6fd02f30
add r13, rax
add rbp, rax
sub r12, rax
movzx edx, byte [rsp + 0x60]
jne 0x6fd02ed0
mov rbp, rdi
mov rax, qword [rsp + 0xe0]
shl rax, 3
mov r8, rax
shr r8, 0x38
mov ecx, r8d
mov byte [rsp + 0x30], r8b
mov r8, rax
shr r8, 0x30
mov byte [rsp + 0x31], r8b
mov r8, rax
shr r8, 0x28
mov byte [rsp + 0x32], r8b
mov r8, rax
shr r8, 0x20
mov byte [rsp + 0x33], r8b
mov r8, rax
shr r8, 0x18
mov byte [rsp + 0x34], r8b
mov r8, rax
shr rax, 8
mov byte [rsp + 0x36], al
movzx eax, byte [rsp + 0xe0]
shr r8, 0x10
mov byte [rsp + 0x35], r8b
shl eax, 3
mov byte [rsp + 0x37], al
mov rax, qword [rsp + 0xf8]
shl rax, 3
mov r8, rax
shr r8, 0x38
mov byte [rsp + 0x38], r8b
mov r8, rax
shr r8, 0x30
mov byte [rsp + 0x39], r8b
mov r8, rax
shr r8, 0x28
mov byte [rsp + 0x3a], r8b
mov r8, rax
shr r8, 0x20
mov byte [rsp + 0x3b], r8b
mov r8, rax
shr r8, 0x18
mov byte [rsp + 0x3c], r8b
mov r8, rax
shr rax, 8
mov byte [rsp + 0x3e], al
movzx eax, byte [rsp + 0xf8]
shr r8, 0x10
mov byte [rsp + 0x3d], r8b
shl eax, 3
mov byte [rsp + 0x3f], al
xor eax, eax
jmp 0x6fd03049
movzx edx, byte [rsi + rax]
movzx ecx, byte [r15 + rax]
xor edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x6fd03040
mov rcx, rbp
mov rdx, rsi
call sym.libSFTP.dll_gcmMul
mov r8, qword [rsp + 0x108]
xor eax, eax
mov rcx, qword [rsp + 0x28]
movzx edx, byte [rcx + rax]
xor dl, byte [rsi + rax]
mov byte [rcx + rax], dl
add rax, 1
cmp r8, rax
jne 0x6fd03072
mov r9, qword [rsp + 0x100]
xor edx, edx
xor r8d, r8d
mov r10, qword [rsp + 0x28]
nop word [rax + rax]
movzx ecx, byte [r10 + rdx]
xor cl, byte [r9 + rdx]
add rdx, 1
or r8d, ecx
cmp rdx, rax
jne 0x6fd030a0
xor eax, eax
test r8b, r8b
setne al
jmp 0x6fd02d55
mov rax, qword [rsi]
mov dword [rsp + 0x4c], 0x1000000
lea rdi, [rsp + 0x40]
lea r15, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x48], eax
jmp 0x6fd02dfe
lea rsi, [rsp + 0x60]
xor edx, edx
jmp 0x6fd02e9e