Function at 0x140267050
Capabilities:
Encode data using xor

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x118
mov rax, qword [0x1403531c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r11, qword [rcx + 0x28]
mov r13, r9
mov r9, qword [rcx + 0x18]
mov r14, rcx
mov rcx, qword [rcx + 0x10]
mov rax, r9
sub rax, rcx
mov r12, r8
sub rax, r11
mov r15, rdx
cmp r13, rax
jb 0x1402672f8
mov qword [rsp + 0x110], rbx
mov rdx, r11
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x20], 0
nop word [rax + rax]
sub r9, rdx
mov qword [rsp + 0x60], r12
sub r9, rcx
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r9
lea r8, [rdx + rcx]
movaps xmm0, xmmword [rsp + 0x60]
mov rax, r15
mov qword [rsp + 0x80], r8
mov r10, r12
mov qword [rsp + 0x88], r9
mov rdx, r9
mov qword [rsp + 0x78], r9
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm1
cmp r9, 0x20
jb 0x140267246
nop word [rax + rax]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
add r9, 0xffffffffffffffe0
mov rax, qword [rdx + 8]
movups xmm1, xmmword [r8]
mov qword [rsp + 0x98], r9
movups xmm3, xmmword [r8 + 0x10]
movups xmmword [rsp + 0xc0], xmm1
xor qword [rsp + 0xc8], rax
mov rax, qword [rdx + 0x18]
movq rcx, xmm1
xor rcx, qword [rdx]
mov qword [rsp + 0xc0], rcx
movq rcx, xmm3
xor rcx, qword [rdx + 0x10]
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0xd0], xmm3
xor qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd0], rcx
mov rcx, qword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0xd0]
add rcx, 0xffffffffffffffe0
lea r10, [rax + 0x20]
movups xmmword [rax], xmm0
mov qword [rsp + 0xa8], rcx
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe0
mov qword [rsp + 0x90], r10
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0xb8], rcx
movups xmmword [rax + 0x10], xmm1
lea rax, [r8 + 0x20]
mov qword [rsp + 0xa0], rax
lea r8, [rdx + 0x20]
movaps xmm0, xmmword [rsp + 0xa0]
mov qword [rsp + 0xb0], r8
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x50], xmm0
cmp r9, 0x20
jae 0x140267140
mov rdx, r9
test r9, r9
je 0x140267266
sub r8, rax
sub r10, rax
movzx ecx, byte [rax + r8]
xor cl, byte [rax]
mov byte [r10 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140267251
mov rbp, qword [r14 + 0x10]
mov rsi, qword [r14 + 0x18]
mov rax, rbp
mov rdi, qword [r14 + 8]
sub rax, rsi
add rax, qword [r14 + 0x28]
mov rcx, rdi
add r13, rax
mov rax, rsi
sub rax, rbp
sub rax, qword [r14 + 0x28]
mov rbx, qword [rdi]
add r15, rax
add r12, rax
call qword [rbx + 0x30]
xor edx, edx
sub rsi, rbp
mov r8, rax
mov rcx, rdi
mov rax, rsi
div r8
mov r8, rbp
mov rdx, rbp
mov r9, rax
call qword [rbx + 0x48]
mov r11, qword [rsp + 0x20]
mov qword [r14 + 0x28], r11
mov rdx, r11
mov r9, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov rax, r9
sub rax, rcx
cmp r13, rax
jae 0x1402670d0
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
lea r8, [r11 + rcx]
mov r9, r13
mov rcx, r12
mov rdx, r15
call fcn.1402642f0
add qword [r14 + 0x28], r13
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1402d55d0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
ret