Function at 0x1401044a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rdi, qword [0x14024cfd8]
mov rbx, rdx
mov rbp, rcx
mov rsi, 0xffffffffffffffff
test rdi, rdi
je 0x140104510
lea rcx, [rdi + 0x10]
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x1401044d7
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x1401044ee
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1401044ff
mov rdx, rbx
call fcn.1400dfad0
test eax, eax
je 0x140104553
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1401044d0
nop dword [rax + rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140104510
mov r8, rsi
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.140018620
mov rax, qword [0x14024cfd8]
mov qword [rbp + 8], rax
mov qword [0x14024cfd8], rbp
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
movups xmm0, xmmword [0x140123170]
xor r8d, r8d
cmp dword [0x140248200], 2
movups xmm1, xmmword [0x140123180]
movzx eax, word [0x1401231e0]
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x90], ax
movups xmm0, xmmword [0x140123190]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1401231b0]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x1401231a0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1401231d0]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x1401231c0]
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm1
jl 0x140104745
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14010fec0]
mov eax, 4
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movdqa xmm7, xmmword [str.6666]
movaps xmmword [rsp + 0xb0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xa0], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x38
jl 0x140104630
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x39
jge 0x140104786
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x39
jl 0x140104751
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400a1310
jmp 0x14010453a