Function at 0x1400d5360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdx, qword [rcx + 0x288]
mov qword [rsp + 0x130], rbx
mov rbx, rcx
test rdx, rdx
je 0x1400d53a6
mov r8d, dword [rcx + 0x290]
test r8d, r8d
je 0x1400d53a6
xor r9d, r9d
lea rcx, [0x1402562d0]
call fcn.1400b7970
jmp 0x1400d53cf
cmp dword [rcx + 0x260], 0
jne 0x1400d53d6
lea rdx, [rcx + 0x240]
cmp qword [rdx + 0x18], 8
jb 0x1400d53c0
mov rdx, qword [rdx]
xor r8d, r8d
lea rcx, [0x1402562d0]
call fcn.1400b7b60
mov qword [rbx + 0x268], rax
xor edi, edi
mov qword [rsp + 0x40], select
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
lea rcx, [0x1402562d0]
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x50], 6
mov dword [rsp + 0x54], 3
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x48], select
mov dword [rsp + 0x4c], 0x190
call fcn.1400b72a0
mov qword [rbx + 0x2c8], rax
cmp dword [rbx + 0x260], edi
je 0x1400d566b
cmp dword [0x1402567d0], 2
mov ecx, edi
movups xmm0, xmmword [str.x_RSPEkyZNRJXwR_]
movups xmm1, xmmword [0x140120f40]
movzx eax, word [0x140120f70]
movups xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x30], ax
movups xmm0, xmmword [0x140120f50]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140120f60]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x1400d5610
movdqa xmm5, xmmword [0x140119390]
lea rdx, [rbp - 0x70]
movdqa xmm4, xmmword [0x14011d160]
mov eax, 4
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
movdqa xmm7, xmmword [str.6666]
movaps xmmword [rsp + 0xf0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xe0], xmm9
movdqa xmm9, xmmword [str.11111111]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 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 [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 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 [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x1400d5500
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
cmp ecx, 0x21
jge 0x1400d5651
movsxd rax, ecx
lea r8, [rbp - 0x70]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x21
jl 0x1400d5620
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [0x1402562d0]
call fcn.1400b7b60
mov qword [rbx + 0x270], rax
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x130]
test rcx, rcx
je 0x1400d56bb
mov rdx, qword [rbp - 0x80]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400d56a9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d5705
call fcn.1400e9e50
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400d56f4
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d56ef
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d5705
call fcn.1400e9e50
mov rdi, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
ret
call fcn.1400f0b0c
int3