Function at 0x14011ec40
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [r11 - 0x1e8]
sub rsp, 0x2d0
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov qword [r11 + 0x10], rsi
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea rcx, [rbp - 0x60]
mov qword [r11 + 0x18], r15
mov r8d, 0x200
xor esi, esi
call fcn.140176388
cmp word [0x1401ce8c2], si
movups xmm0, xmmword [0x1401d75b0]
movups xmm1, xmmword [0x1401d75c0]
mov eax, dword [0x1401ce8c0]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1401d75d0]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x1401d75e0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1401d75f0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1401d7600]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
mov dword [rsp + 0x20], eax
je 0x14011ecf7
xor word [rsp + 0x22], 0x36
mov eax, WSAStartup
mov word [rsp + 0x20], ax
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, esi
movzx eax, word [0x1401d7610]
mov word [rbp - 0x70], ax
jl 0x14011ee4c
movdqa xmm5, xmmword [0x1401d7e10]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x1401d82d0]
movaps xmmword [rsp + 0x2c0], xmm6
movdqa xmm6, xmmword [0x1401d7e70]
movaps xmmword [rsp + 0x2b0], xmm7
movdqa xmm7, xmmword [0x1401d7f80]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 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
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 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
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x30
jl 0x14011ed50
movaps xmm7, xmmword [rsp + 0x2b0]
movaps xmm6, xmmword [rsp + 0x2c0]
cmp ecx, 0x31
jge 0x14011ee92
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x35
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0x31
jl 0x14011ee60
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 0x14011eed7
mov r8, rax
lea rcx, [rbp - 0x60]
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rbx
lea rcx, [rbp - 0x60]
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, [rbp - 0x60]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x14011eef0
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400b8aa0
mov rcx, qword [rdi + 0x10]
add rcx, rcx
cmp qword [rdi + 0x18], 7
jbe 0x14011ef22
mov r14, qword [rdi]
mov r15, r14
mov rdx, r14
add r14, rcx
jmp 0x14011ef2c
mov r15, rdi
lea r14, [rdi + rcx]
mov rdx, rdi
lea rbx, [rcx + rdx]
cmp rbx, r15
je 0x14011ef5a
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 0x14011ef5a
mov rbx, rsi
cmp rsi, r15
jne 0x14011ef40
mov rcx, qword [rdi + 0x18]
mov rax, rdi
mov r15, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x2f8]
cmp rcx, 7
jbe 0x14011ef7a
mov rax, qword [rdi]
sub r14, rbx
mov rdx, rbx
mov rbx, qword [rdi + 0x10]
sub rdx, rax
sar rdx, 1
mov rax, rbx
sub rax, rdx
sar r14, 1
cmp rax, r14
cmovb r14, rax
mov rax, rdi
cmp rcx, 7
jbe 0x14011efa6
mov rax, qword [rdi]
sub rbx, r14
lea rcx, [rax + rdx*2]
mov r8, rbx
sub r8, rdx
lea rdx, [rcx + r14*2]
lea r8, [r8*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rdi
mov qword [rdi + 0x10], rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x308]
add rsp, 0x2d0
pop r14
pop rdi
pop rbp
ret