Function at 0x180069f40
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.qcXTORJjCU_iLZ_AqcXTORJjCU_iLZ_AInvalid]
mov rdi, qword [rcx]
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18006a0e0
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18006a0aa
movdqa xmm0, xmmword [0x1801bad00]
lea rcx, [rsp + 0x24]
movdqa xmm4, xmmword [0x1801bab60]
movdqa xmm3, xmmword [0x1801bac50]
movdqa xmm5, xmmword [0x1801bab80]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1801babe0]
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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x180069fc0
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x18006a0e0
lea r9, [rsp + 0x20]
nop
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x18006a0b0
xorps xmm0, xmm0
lea rax, [rsp + 0x20]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18006a100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180001340
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18006f180
mov rdx, qword [rsp + 0x48]
mov rsi, rax
cmp rdx, 0xf
jbe 0x18006a169
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a164
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a164
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18019d210
test rsi, rsi
je 0x18006a25c
mov rsi, qword [rsi + 0x40]
test rsi, rsi
je 0x18006a25c
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
call fcn.1800d6470
mov rax, qword [rbx + 8]
movabs rbp, 0xb2f4fc0794908cf3
movsxd rcx, dword [rax]
imul rdi, rcx, 0xf4240
add rdi, qword [rsp + 0x20]
nop dword [rax + 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 0x18006a1cf
imul rax, rcx, 0x64
jmp 0x18006a242
cmp rbx, 0x16e3600
jne 0x18006a224
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 0x18006a242
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x18006a257
mov qword [rsi + 0xc8], 0x5dd
jmp 0x18006a1b0
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