Function at 0x1400d1fb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140587680]
xor ecx, ecx
movaps xmmword [rsp + 0x40], xmm6
or dword [rax + 0x3fe0], 2
mov dword [rax + 0x4000], 0x43fa0000
mov dword [rax + 0x4004], 0x438a8000
mov dword [rax + 0x3fe8], 1
movss xmm1, dword [0x140586530]
call fcn.140018290
mov eax, dword [0x1404f3688]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movsd xmm0, qword [str.fZU_M]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1404f368c]
mov byte [rsp + 0x2c], al
movsd qword [rsp + 0x20], xmm0
jl 0x1400d2117
movdqa xmm2, xmmword [0x1404f52e0]
mov r8d, 8
movdqa xmm4, xmmword [0x1404f5820]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1404f53a0]
psubd xmm2, xmm0
movd xmm0, dword [str.fZU_M]
andps xmm2, xmmword [0x1404f5410]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1404f5440]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x1404f5340]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1404f53a0]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmmword [0x1404f5410]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1404f5440]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400d2130
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x1ab
call fcn.140021ed0
call fcn.1400d18b0
call fcn.1400d03e0
call fcn.14009e210
call fcn.1400241f0
movss xmm1, dword [0x1404f4d18]
mov ecx, 3
call fcn.140018290
mov rbx, qword [0x140587680]
lea rdx, [rsp + 0x20]
movdqa xmm6, xmmword [0x1404f54f0]
mov dword [rsp + 0x20], 2
movups xmm0, xmmword [rbx + 0x38ec]
lea rcx, [rbx + 0x4050]
movups xmmword [rsp + 0x24], xmm0
call fcn.14002d590
movups xmmword [rbx + 0x38ec], xmm6
call fcn.14009b330
mov r8, qword [0x140587680]
movsxd rax, dword [r8 + 0x4060]
mov rdx, qword [r8 + 0x4068]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r10, [rax + rax*2]
lea rax, [0x14014ed70]
cmp dword [rax + r10*4], 8
mov r9d, dword [rax + r10*4 + 8]
jne 0x1400d2246
mov eax, dword [rax + r10*4 + 4]
cmp eax, 1
jne 0x1400d2229
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x37f8], eax
jmp 0x1400d2246
cmp eax, 2
jne 0x1400d2246
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x37f8], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r9 + r8 + 0x37fc], eax
dec dword [r8 + 0x4060]
movsxd rax, dword [r8 + 0x4050]
mov rcx, qword [r8 + 0x4058]
movaps xmm6, xmmword [rsp + 0x40]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x38cc], xmm0
dec dword [r8 + 0x4050]
add rsp, 0x50
pop rbx
ret