Function at 0x140002310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor r12d, r12d
mov dword [rbp - 0x58], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r12b
mov dword [rbp - 0x58], 1
mov rdx, qword [rdx + 0x10]
cmp rdx, 0xf
jbe 0x14000237f
call fcn.140003bb0
mov qword [rbx + 0x10], r12
mov r14, r12
cmp qword [rsi + 0x10], r12
jbe 0x140002623
mov r15d, dword [reloc.WS2_32.dll_accept]
mov rdi, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400023a0
mov rdi, qword [rsi]
movzx edi, byte [rdi + r14]
cmp dil, 0x21
jl 0x1400025a9
cmp dil, 0x7e
jg 0x1400025a9
movups xmm0, xmmword [0x14008bdb0]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x14008bdc0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14008bdc4]
mov word [rbp - 0x3c], ax
movzx eax, byte [0x14008bdc6]
mov byte [rbp - 0x3a], al
mov ecx, r12d
cmp r15d, 2
jl 0x140002522
movdqa xmm5, xmmword [0x14008e8d0]
movdqa xmm4, xmmword [0x14008e970]
movdqa xmm6, xmmword [0x14008e8f0]
movdqa xmm0, xmmword [0x14008e980]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x4c]
mov r8d, dword [rbp - 0x30]
nop dword [rax]
movd xmm2, ecx
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, 3
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 [0x14008e960]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, 3
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 [0x14008e960]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140002420
cmp ecx, 0x17
jge 0x14000255c
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x22b63cbf
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3b
movzx eax, cl
sub al, dl
add al, 0x3a
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x140002530
movsx edx, dil
lea rcx, [rbp - 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x1400025a9
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000259b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140002590
mov rax, qword [rbx]
mov byte [rax + rcx], dil
mov byte [rax + rcx + 1], 0
jmp 0x140002616
movzx r9d, dil
mov rcx, rbx
call fcn.140003e70
jmp 0x140002616
mov eax, dword [0x14008bde4]
mov dword [rbp - 0x60], eax
movzx ecx, word [0x14008bde8]
mov word [rbp - 0x5c], cx
movzx eax, byte [0x14008bdea]
mov byte [rbp - 0x60], 0x25
xor byte [rbp - 0x5f], 0x3b
xor byte [rbp - 0x5e], 0x3c
xor byte [rbp - 0x5d], 0x3d
xor cl, 0x3e
mov byte [rbp - 0x5c], cl
xor byte [rbp - 0x5b], 0x3f
xor al, 0x40
mov byte [rbp - 0x5a], al
mov r8d, edi
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400039c0
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140002600
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140003940
inc r14
cmp r14, qword [rsi + 0x10]
jb 0x140002393
mov rax, rbx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140079ae0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret