Function at 0x1400d5340
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 0x1400d5386
mov r8d, dword [rcx + 0x290]
test r8d, r8d
je 0x1400d5386
xor r9d, r9d
lea rcx, [0x1402562d0]
call fcn.1400b7920
jmp 0x1400d53af
cmp dword [rcx + 0x260], 0
jne 0x1400d53b6
lea rdx, [rcx + 0x240]
cmp qword [rdx + 0x18], 8
jb 0x1400d53a0
mov rdx, qword [rdx]
xor r8d, r8d
lea rcx, [0x1402562d0]
call fcn.1400b7b10
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.1400b7250
mov qword [rbx + 0x2c8], rax
cmp dword [rbx + 0x260], edi
je 0x1400d565d
cmp dword [0x1402567d0], 2
mov ecx, edi
movups xmm0, xmmword [str.x_RSPEkyZNRJXwR_]
movups xmm1, xmmword [0x140120f50]
movzx eax, word [0x140120f80]
movups xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x30], ax
movups xmm0, xmmword [0x140120f60]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140120f70]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x1400d55f8
movdqa xmm5, xmmword [0x140119390]
lea rdx, [rbp - 0x70]
movdqa xmm4, xmmword [0x14011d160]
mov eax, 5
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
movdqa xmm7, xmmword [str.8888]
movaps xmmword [rsp + 0xf0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xe0], xmm9
movdqa xmm9, xmmword [0x1401193c0]
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400d54e0
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
cmp ecx, 0x21
jge 0x1400d5643
movsxd rax, ecx
lea r8, [rbp - 0x70]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x21
jl 0x1400d5610
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [0x1402562d0]
call fcn.1400b7b10
mov qword [rbx + 0x270], rax
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x130]
test rcx, rcx
je 0x1400d56ad
mov rdx, qword [rbp - 0x80]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400d569b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d56f7
call fcn.1400e9d60
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400d56e6
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d56e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d56f7
call fcn.1400e9d60
mov rdi, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
ret
call fcn.1400f0a1c
int3