Function at 0x18006a1e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
movups xmm0, xmmword [str.ugTXCNnGQ]
mov rdi, qword [rcx]
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18006a394
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18006a352
movdqa xmm0, xmmword [0x1801c7120]
lea rcx, [rsp + 0x24]
movdqa xmm4, xmmword [0x1801c6e40]
movdqa xmm3, xmmword [0x1801c73d0]
movdqa xmm5, xmmword [0x1801c6e90]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1801c6f20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18006a260
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x18006a394
lea r9, [rsp + 0x20]
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, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x18006a360
xorps xmm0, xmm0
lea rax, [rsp + 0x20]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x18006a3b1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180001450
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180070400
mov rdx, qword [rsp + 0x48]
mov rsi, rax
cmp rdx, 0xf
jbe 0x18006a41a
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a415
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a415
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a8d40
test rsi, rsi
je 0x18006a50c
mov rsi, qword [rsi + 0x40]
test rsi, rsi
je 0x18006a50c
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
call fcn.1800e22c0
mov rax, qword [rbx + 8]
movabs rbp, 0xb2f4fc0794908cf3
movsxd rcx, dword [rax]
imul rdi, rcx, 0xf4240
add rdi, qword [rsp + 0x20]
nop dword [rax]
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
mov rcx, rax
cmp rbx, 0x989680
jne 0x18006a47f
imul rax, rcx, 0x64
jmp 0x18006a4f2
cmp rbx, 0x16e3600
jne 0x18006a4d4
mov rax, rbp
imul rcx
lea r9, [rcx + rdx]
sar r9, 0x18
mov rax, r9
shr rax, 0x3f
add r9, rax
imul rax, r9, 0x16e3600
sub rcx, rax
mov rax, rbp
imul r8, rcx, 0x3b9aca00
imul r8
add rdx, r8
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r9, 0x3b9aca00
add rax, rdx
jmp 0x18006a4f2
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x18006a507
mov qword [rsi + 0xc8], 0x5dd
jmp 0x18006a460
mov rbp, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret