Function at 0x14008e380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [str.pTOYQP.50___t__f_LH_VI]
mov eax, dword [0x14016e130]
xor r10d, r10d
cmp byte [0x14016e133], r10b
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], eax
je 0x14008e584
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, r10d
jl 0x14008e537
movdqa xmm0, xmmword [0x140173d80]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173f10]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x140173c50]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14008e420
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x14
jge 0x14008e584
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x14008e550
xorps xmm0, xmm0
mov qword [rsp + 0x60], r10
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x68], r10
movups xmmword [rsp + 0x50], xmm0
mov r8, rbx
lea rax, [rsp + 0x20]
inc r8
cmp byte [rax + r8], r10b
jne 0x14008e5a5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140058eb0
cmp qword [rsp + 0x68], 0xf
lea r14, [rsp + 0x50]
mov rbp, qword [rdi + 0x10]
cmova r14, qword [rsp + 0x50]
cmp qword [rdi + 0x18], 0xf
jbe 0x14008e5dc
mov rdi, qword [rdi]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0xb0], r15
test rsi, rsi
jne 0x14008e5f7
cmp rbp, rbx
cmovb rbx, rbp
jmp 0x14008e634
cmp rsi, rbp
ja 0x14008e647
movzx r15d, byte [r14]
mov rax, rbp
sub rax, rsi
cmp rax, rbx
cmovb rbx, rax
add rbx, rdi
cmp byte [rbx], r15b
jne 0x14008e627
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008e631
cmp rbx, rdi
je 0x14008e647
dec rbx
jmp 0x14008e610
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x14008e647
lea rax, [rbx + rsi]
cmp rax, rbp
jne 0x14008e647
mov bl, 1
jmp 0x14008e649
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.14003d470
mov r15, qword [rsp + 0xb0]
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140144a50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret