Function at 0x14005db40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x140
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x14010a0a8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movups xmm0, xmmword [0x1400f6538]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x1400f6548]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x1400f6550]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400f6554]
mov word [rsp + 0x44], ax
cmp byte [0x1400f6555], dil
je 0x14005dd50
mov r8d, edi
cmp dword [0x14010a0c0], 2
jl 0x14005dd13
movdqa xmm5, xmmword [0x1400f7230]
movdqa xmm4, xmmword [0x1400f7410]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1400f7260]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400f7300]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f72c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f72c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14005dc10
cmp r8d, 0x1e
jge 0x14005dd50
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1e
jl 0x14005dd20
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14005dd70
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400504b0
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
lea rdx, [0x1400f47f8]
call fcn.141112da9
nop
mov rdi, rax
test rax, rax
je 0x14005de41
mov rcx, rax
call fcn.141111d97
nop
test eax, eax
jne 0x14005de37
nop dword [rax]
mov r8, rdi
mov edx, 0x80
lea rcx, [rsp + 0x80]
call fcn.14110f08e
nop
test rax, rax
je 0x14005de2a
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005de10
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.14003dde0
mov rcx, rdi
call fcn.141111d97
nop
test eax, eax
je 0x14005dde0
mov rcx, rdi
call qword [0x1400d8d68]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14005de81
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005de7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005de7c
call qword [fcn.1400d8c30]
int3
call fcn.1400d2d20
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400d3560
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret