Function at 0x65cd2a20
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov ebp, dword [rsp + 0x100]
mov r13, rcx
mov rdi, rdx
mov rbx, r9
lea rcx, [0x65ce08c0]
mov r14, r8
call fcn.65cd2840
mov rdx, qword [rsp + 0xf8]
xor r9d, r9d
mov qword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov rcx, rax
mov rsi, rax
call fcn.65cd26d0
mov rcx, rdi
mov r8d, 8
mov rdx, r14
mov r12, rax
call fcn.65cd0dc0
mov r9d, 1
mov rcx, rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rdx, [0x65ce0880]
call fcn.65cd26d0
mov rcx, rbx
mov qword [rsp + 0x58], 0
mov rdi, rax
call fcn.65cd0c90
lea r9, [rsp + 0x58]
mov r8d, 0x2800
mov rcx, rdi
mov qword [rsp + 0x20], 1
lea rdx, [0x65ce0860]
mov qword [rsp + 0x58], rax
call fcn.65cda090
test rbx, rbx
mov qword [rsp + 0x50], 0
je 0x65cd2fc0
xor ecx, ecx
cmp qword [rbx], 0
mov r14d, 7
sete cl
call fcn.65cd0bb0
mov r8d, 0x2800
mov rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rdx, [0x65ce0820]
call fcn.65cda090
mov rsi, qword [rbx]
mov qword [rsp + 0x48], 0
mov rcx, qword [0x66153430]
cmp rsi, 7
cmovge r14, rsi
lea rdx, [r14 + 0x11]
call fcn.65ccc060
movq xmm0, rsi
movq xmm3, r14
punpcklqdq xmm0, xmm3
movups xmmword [rax], xmm0
mov rcx, qword [rbx]
mov r8, rcx
sub r8, 1
js 0x65cd2e80
lea r9, [rax + 0x10]
lea rdx, [rbx + 0x20]
lea r10, [rbx + 0x10]
cmp r9, rdx
lea rdx, [rax + 0x20]
setae r9b
cmp r10, rdx
setae dl
or r9b, dl
je 0x65cd3020
cmp r8, 0xe
jbe 0x65cd3020
mov rdx, rcx
movdqa xmm6, xmmword [0x65ce0f80]
pxor xmm3, xmm3
and rdx, 0xfffffffffffffff0
movdqa xmm5, xmmword [0x65ce0f90]
movdqa xmm4, xmmword [str.]
lea r9, [rdx + 0x10]
mov edx, 0x10
nop word [rax + rax]
movdqu xmm2, xmmword [rbx + rdx]
movdqa xmm0, xmm2
movdqa xmm1, xmm2
paddb xmm0, xmm6
pxor xmm1, xmm4
psubusb xmm0, xmm5
pcmpeqb xmm0, xmm3
pand xmm1, xmm0
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [rax + rdx], xmm0
add rdx, 0x10
cmp rdx, r9
jne 0x65cd2be0
mov rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rcx, rdx
je 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x10]
lea r10d, [rcx - 0x41]
mov r9d, ecx
xor r9d, 0x20
cmp r10b, 0x1a
cmovb ecx, r9d
lea r9, [rdx + 1]
mov byte [rax + rdx + 0x10], cl
cmp r8, r9
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x11]
lea r9, [rdx + 2]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x11], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x12]
lea r9, [rdx + 3]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x12], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x13]
lea r9, [rdx + 4]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x13], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x14]
lea r9, [rdx + 5]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x14], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x15]
lea r9, [rdx + 6]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x15], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x16]
lea r9, [rdx + 7]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x16], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x17]
lea r9, [rdx + 8]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x17], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x18]
lea r9, [rdx + 9]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x18], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x19]
lea r9, [rdx + 0xa]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x19], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x1a]
lea r9, [rdx + 0xb]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x1a], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x1b]
lea r9, [rdx + 0xc]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x1b], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x1c]
lea r9, [rdx + 0xd]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
cmp r8, r9
mov byte [rax + rdx + 0x1c], cl
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x1d]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [rax + rdx + 0x1d], cl
add rdx, 0xe
cmp r8, rdx
jl 0x65cd2e80
movzx ecx, byte [rbx + rdx + 0x10]
lea r9d, [rcx - 0x41]
mov r8d, ecx
xor r8d, 0x20
cmp r9b, 0x1a
cmovb ecx, r8d
mov byte [rax + rdx + 0x10], cl
nop
nop word cs:[rax + rax]
mov rdx, rsi
sub rdx, 4
js 0x65cd3017
cmp byte [rax + rdx + 0x10], 0x2e
jne 0x65cd3017
cmp byte [rax + rsi + 0xd], 0x65
jne 0x65cd3017
cmp byte [rax + rsi + 0xe], 0x78
jne 0x65cd3017
xor ecx, ecx
cmp byte [rax + rsi + 0xf], 0x65
sete cl
call fcn.65cd0bb0
lea r9, [rsp + 0x48]
mov r8d, 0x2800
mov rcx, rdi
lea rdx, [0x65ce07e0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 1
lea rbx, [rsp + 0x70]
call fcn.65cda090
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x40], 0
call fcn.65cd0c90
lea r9, [rsp + 0x40]
mov r8d, 0x2800
mov rcx, rdi
lea rdx, [0x65ce07c0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 1
call fcn.65cda090
movzx ecx, bpl
mov qword [rsp + 0x38], 0
call fcn.65cd0bb0
lea r9, [rsp + 0x38]
mov r8d, 0x2800
mov rcx, rdi
lea rdx, [0x65ce0780]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 1
call fcn.65cda090
mov rcx, r13
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0
call fcn.65cd0c90
mov r9, rbx
mov r8d, 0x41500
mov rcx, r12
mov qword [rsp + 0x20], 2
lea rdx, [0x65ce0740]
mov qword [rsp + 0x78], rax
call fcn.65cda090
nop
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, 1
call fcn.65cd0bb0
lea r9, [rsp + 0x50]
mov r8d, 0x2800
mov rcx, rdi
lea rdx, [0x65ce0820]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 1
call fcn.65cda090
mov rcx, qword [0x66153430]
mov edx, 0x18
mov qword [rsp + 0x48], 0
call fcn.65ccc060
movdqa xmm0, xmmword [0x65ce0f70]
movups xmmword [rax], xmm0
xor ecx, ecx
jmp 0x65cd2eb8
xor edx, edx
nop dword [rax]
nop word cs:[rax + rax]
movzx r8d, byte [rbx + rdx + 0x10]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x65cd3066
xor r8d, 0x20
mov byte [rax + rdx + 0x10], r8b
add rdx, 1
cmp rcx, rdx
je 0x65cd2e80
movzx r8d, byte [rbx + rdx + 0x10]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
jbe 0x65cd3040
mov byte [rax + rdx + 0x10], r8b
add rdx, 1
cmp rdx, rcx
jne 0x65cd3030
jmp 0x65cd2e80