Function at 0x1400e6d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r8, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
mov dword [rsp + 0x24], 1
movups xmmword [rsp + 0x70], xmm0
movzx eax, word [0x1401726ec]
mov word [rsp + 0x20], ax
cmp byte [0x1401726ed], bl
je 0x1400e6d7c
mov byte [rsp + 0x20], WSAStartup
xor byte [rsp + 0x21], 0x37
lea rdx, [rsp + 0x20]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rsi, rax
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
test rsi, rsi
jne 0x1400e6f54
lea rdx, [rsp + 0x58]
call fcn.1400e7010
mov r9, rax
cmp byte [rax + 0x10], sil
je 0x1400e6fec
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400e6f0e
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173f20]
movdqa xmm6, xmmword [0x140173c20]
movdqa xmm0, xmmword [0x140173d60]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x30]
nop dword [rax + rax]
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
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
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x1400e6e00
cmp eax, 0x11
jge 0x1400e6fec
movsxd r8, ebx
add r8, r9
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x11
jge 0x1400e6fec
jmp 0x1400e6f20
mov r8, rsi
mov edx, 0x80
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400e6fb5
nop
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e6f80
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140058a30
mov r8, rsi
mov edx, 0x80
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400e6f70
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140144a50
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1400591c0
lea rdx, [0x140184648]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3