Function at 0x1400ef830
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [r11 + 0x10], rsi
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov qword [r11 + 0x18], r14
mov r8d, 0x200
xor esi, esi
call fcn.14014a514
cmp word [reloc.WS2_32.dll_gethostname], si
movups xmm0, xmmword [0x1401772e0]
movups xmm1, xmmword [0x1401772f0]
mov eax, dword [0x140173abc]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140177300]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x140177310]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x20], eax
je 0x1400ef8c6
xor word [rsp + 0x22], 0x39
mov eax, WSAStartup
mov word [rsp + 0x20], ax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400efa09
movdqa xmm5, xmmword [0x140178040]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x140178310]
mov edx, esi
movaps xmmword [rsp + 0x290], xmm6
movdqa xmm6, xmmword [0x1401780b0]
movaps xmmword [rsp + 0x280], xmm7
movdqa xmm7, xmmword [0x140178190]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x20
jl 0x1400ef910
movaps xmm7, xmmword [rsp + 0x280]
movaps xmm6, xmmword [rsp + 0x290]
jmp 0x1400efa46
lea r9, [rsp + 0x30]
mov r8d, esi
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x38
xor word [r9 - 2], ax
cmp r8d, 0x20
jl 0x1400efa11
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rbx, rax
test rax, rax
je 0x1400efa8d
mov r8, rax
lea rcx, [rsp + 0x70]
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rbx
lea rcx, [rsp + 0x70]
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x1400efab0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14008a840
mov rcx, qword [rdi + 0x10]
add rcx, rcx
cmp qword [rdi + 0x18], 7
jbe 0x1400efae3
mov rbp, qword [rdi]
mov r14, rbp
mov rdx, rbp
add rbp, rcx
jmp 0x1400efaed
mov r14, rdi
lea rbp, [rdi + rcx]
mov rdx, rdi
lea rbx, [rcx + rdx]
cmp rbx, r14
je 0x1400efb1a
nop word [rax + rax]
movzx ecx, byte [rbx - 2]
lea rsi, [rbx - 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x1400efb1a
mov rbx, rsi
cmp rsi, r14
jne 0x1400efb00
mov rcx, qword [rdi + 0x18]
mov rax, rdi
mov r14, qword [rsp + 0x2d0]
mov rsi, qword [rsp + 0x2c8]
cmp rcx, 7
jbe 0x1400efb3a
mov rax, qword [rdi]
sub rbp, rbx
mov rdx, rbx
mov rbx, qword [rdi + 0x10]
sub rdx, rax
sar rdx, 1
mov rax, rbx
sub rax, rdx
sar rbp, 1
cmp rax, rbp
cmovb rbp, rax
mov rax, rdi
cmp rcx, 7
jbe 0x1400efb66
mov rax, qword [rdi]
sub rbx, rbp
lea rcx, [rax + rdx*2]
mov r8, rbx
sub r8, rdx
lea rdx, [rcx + rbp*2]
lea r8, [r8*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rdi
mov qword [rdi + 0x10], rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140148bf0
add rsp, 0x2a0
pop rdi
pop rbp
pop rbx
ret