Function at 0x140011610
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rbx, rcx
test rcx, rcx
je 0x140011940
mov rcx, qword [rcx]
call fcn.14000eaa0
mov rcx, qword [rbx]
mov r8, rax
mov rdx, rcx
sub rdx, 1
js 0x140011931
mov rax, rbx
not rax
add rax, r8
cmp rax, 0xe
jbe 0x140011958
cmp rdx, 0xe
jbe 0x140011958
mov rax, rcx
movdqa xmm6, xmmword [0x14002d7b0]
pxor xmm3, xmm3
movdqa xmm5, xmmword [0x14002d7c0]
and rax, 0xfffffffffffffff0
movdqa xmm4, xmmword [0x14002d7d0]
lea r9, [rax + 0x10]
mov eax, 0x10
nop word [rax + rax]
movdqu xmm2, xmmword [rbx + rax]
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 [r8 + rax], xmm0
add rax, 0x10
cmp r9, rax
jne 0x140011690
mov rax, rcx
and rax, 0xfffffffffffffff0
and ecx, 0xf
je 0x140011931
movzx ecx, byte [rbx + rax + 0x10]
lea r10d, [rcx - 0x41]
mov r9d, ecx
xor r9d, 0x20
cmp r10b, 0x1a
cmovb ecx, r9d
lea r9, [rax + 1]
mov byte [r8 + rax + 0x10], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x11]
lea r9, [rax + 2]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x11], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x12]
lea r9, [rax + 3]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x12], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x13]
lea r9, [rax + 4]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x13], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x14]
lea r9, [rax + 5]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x14], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x15]
lea r9, [rax + 6]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x15], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x16]
lea r9, [rax + 7]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x16], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x17]
lea r9, [rax + 8]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x17], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x18]
lea r9, [rax + 9]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x18], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x19]
lea r9, [rax + 0xa]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x19], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x1a]
lea r9, [rax + 0xb]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x1a], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x1b]
lea r9, [rax + 0xc]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x1b], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x1c]
lea r9, [rax + 0xd]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x1c], cl
cmp rdx, r9
jl 0x140011931
movzx ecx, byte [rbx + rax + 0x1d]
lea r11d, [rcx - 0x41]
mov r10d, ecx
xor r10d, 0x20
cmp r11b, 0x1a
cmovb ecx, r10d
mov byte [r8 + rax + 0x1d], cl
add rax, 0xe
cmp rdx, rax
jl 0x140011931
movzx edx, byte [rbx + rax + 0x10]
lea r9d, [rdx - 0x41]
mov ecx, edx
xor ecx, 0x20
cmp r9b, 0x1a
cmovb edx, ecx
mov byte [r8 + rax + 0x10], dl
movaps xmm6, xmmword [rsp + 0x20]
mov rax, r8
add rsp, 0x30
pop rbx
ret
movaps xmm6, xmmword [rsp + 0x20]
xor ecx, ecx
add rsp, 0x30
pop rbx
jmp fcn.14000eaa0
xor eax, eax
nop word [rax + rax]
movzx edx, byte [rbx + rax + 0x10]
lea r9d, [rdx - 0x41]
cmp r9b, 0x19
ja 0x14001198f
xor edx, 0x20
mov byte [r8 + rax + 0x10], dl
add rax, 1
cmp rcx, rax
je 0x140011931
movzx edx, byte [rbx + rax + 0x10]
lea r9d, [rdx - 0x41]
cmp r9b, 0x19
jbe 0x14001196f
mov byte [r8 + rax + 0x10], dl
add rax, 1
cmp rcx, rax
jne 0x140011960
jmp 0x140011931