Function at 0x14001b780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call fcn.140021260
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov dword [rsp + 0x20], 1
test rax, rax
je 0x14001ba01
cmp qword [r14 + 0x18], 0xf
jbe 0x14001b7df
mov r14, qword [r14]
mov r8, r14
mov edx, 0x2712
mov rcx, rsi
call fcn.140025580
lea r8, [0x14001b420]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.140025580
mov r8, rdi
mov edx, 0x2711
mov rcx, rsi
call fcn.140025580
mov rcx, rsi
call fcn.1400212d0
mov ebp, eax
test eax, eax
je 0x14001b9f9
movups xmm0, xmmword [0x1400cd150]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1400cd160]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [0x1400cd168]
mov dword [rsp + 0x58], ecx
movzx ecx, byte [0x1400cd16c]
mov byte [rsp + 0x5c], cl
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001b992
movdqa xmm5, xmmword [0x1400cfe70]
movdqa xmm4, xmmword [0x1400cfeb0]
movdqa xmm6, xmmword [0x1400cfe90]
movdqa xmm0, xmmword [0x1400cfec0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
movd xmm2, ebx
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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cfea0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cfea0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x14001b890
cmp eax, 0x1d
jge 0x14001b9cb
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1d
jl 0x14001b9a0
lea rdx, [rsp + 0x40]
lea rcx, [0x1400de9f0]
call fcn.14001f3f0
mov rbx, rax
mov ecx, ebp
call fcn.140021e30
mov rdx, rax
mov rcx, rbx
call fcn.14001f3f0
mov rcx, rax
call fcn.14001f6a0
mov rcx, rsi
call fcn.140021230
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret