Function at 0x1400049e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140021020]
xor rax, rsp
mov qword [rbp], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
xor r9d, r9d
mov ebx, 1
mov rsi, rcx
lea r10, [rsp]
mov r11d, r9d
mov edi, ebx
movups xmmword [rsp], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
nop dword [rax]
nop dword [rax + rax]
add qword [r10], 0x10000
mov r8, qword [r10]
mov rax, r9
sar r8, 0x10
cmp r11d, 0xf
mov rcx, r9
setl al
lea rdx, [rsp]
lea r10, [r10 + 8]
imul rax, rdi
lea rdx, [rdx + rax*8]
cmp r11d, 0xf
sete cl
lea rax, [r8 - 1]
inc r11d
inc rdi
imul rcx, rax
imul rax, rcx, 0x25
lea rcx, [r8 - 1]
shl r8, 0x10
add rcx, rax
add qword [rdx], rcx
sub qword [r10 - 8], r8
cmp r11d, 0x10
jl 0x140004a70
mov r11d, r9d
mov rdi, rbx
lea r10, [rsp]
nop word [rax + rax]
add qword [r10], 0x10000
mov r8, qword [r10]
mov rax, r9
sar r8, 0x10
cmp r11d, 0xf
mov rcx, r9
setl al
lea rdx, [rsp]
lea r10, [r10 + 8]
imul rax, rdi
lea rdx, [rdx + rax*8]
cmp r11d, 0xf
sete cl
lea rax, [r8 - 1]
inc r11d
inc rdi
imul rcx, rax
imul rax, rcx, 0x25
lea rcx, [r8 - 1]
shl r8, 0x10
add rcx, rax
add qword [rdx], rcx
sub qword [r10 - 8], r8
cmp r11d, 0x10
jl 0x140004ae0
mov r11d, r9d
lea r10, [rsp]
add qword [r10], 0x10000
mov r8, qword [r10]
mov rax, r9
sar r8, 0x10
cmp r11d, 0xf
mov rcx, r9
setl al
lea rdx, [rsp]
lea r10, [r10 + 8]
imul rax, rbx
lea rdx, [rdx + rax*8]
cmp r11d, 0xf
sete cl
lea rax, [r8 - 1]
inc r11d
inc rbx
imul rcx, rax
imul rax, rcx, 0x25
lea rcx, [r8 - 1]
shl r8, 0x10
add rcx, rax
add qword [rdx], rcx
sub qword [r10 - 8], r8
cmp r11d, 0x10
jl 0x140004b43
mov r11d, 2
nop word [rax + rax]
mov rax, qword [rsp]
mov r10d, 0xe
add rax, 0xffffffffffff0013
mov qword [rbp - 0x80], rax
mov rax, r9
nop word [rax + rax]
mov r8, qword [rbp + rax - 0x80]
mov rcx, qword [rsp + rax + 8]
lea rax, [rax + 8]
mov rdx, r8
sar rdx, 0x10
and edx, 1
sub rcx, rdx
sub rcx, 0xffff
mov qword [rbp + rax - 0x80], rcx
movzx ecx, r8w
mov qword [rsp + rax + 0x78], rcx
dec r10
jne 0x140004bd0
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rsp + 0x78]
mov rax, rcx
sar rax, 0x10
and eax, 1
sub rdx, rax
movzx eax, cx
sub rdx, 0x7fff
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
sar rdx, 0x10
and edx, 1
lea eax, [rdx - 1]
cdqe
movq xmm4, rax
mov rax, r9
punpcklqdq xmm4, xmm4
nop word [rax + rax]
movdqu xmm1, xmmword [rsp + rax]
movdqu xmm3, xmmword [rbp + rax - 0x80]
add rax, 0x10
movdqa xmm2, xmm1
pxor xmm2, xmm3
pand xmm2, xmm4
movdqa xmm0, xmm2
pxor xmm2, xmm3
pxor xmm0, xmm1
movdqu xmmword [rsp + rax + 0x70], xmm2
movdqu xmmword [rsp + rax - 0x10], xmm0
cmp rax, 0x80
jl 0x140004c50
dec r11
jne 0x140004bb0
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + r9*8]
inc r9
mov byte [rsi + r9*2 - 2], al
mov eax, dword [rsp + r9*8 - 8]
sar rax, 8
mov byte [rsi + r9*2 - 1], al
cmp r9, 0x10
jl 0x140004ca0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140006c80
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret