Function at 0x140013be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], r12b
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x140097ec0]
movdqu xmmword [rsp + 0x48], xmm1
movdqa xmm0, xmmword [0x140097d60]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 1
mov ecx, r12d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x74]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1f
jb 0x140013c70
mov byte [rsp + 0x68], 0
lea rdx, [0x140096d14]
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x78], rax
mov byte [rbp - 0x80], 1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140077adc
mov rdi, rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rax, qword [rbp - 0x70]
movups xmmword [rdi], xmm0
mov dword [rdi + 8], 1
mov dword [rdi + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_struct__iobuf____ptr64__int____cdecl___struct__iobuf____ptr64__.0
mov qword [rdi], rcx
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
test rbx, rbx
je 0x140014117
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x140013d6e
nop dword [rax + rax]
lea rax, [rbp - 0x10]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140013d40
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x68]
call fcn.14001a000
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140013d30
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r14, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
cmp rax, 0xc
jb 0x140013dec
lea r15, [rax + r14]
lea r8, [r15 - 0xb]
sub r8, r14
mov edx, 0x53
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140013dec
nop word [rax + rax]
mov r8d, recv
lea rdx, [0x140096d28]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140013ed0
inc rbx
lea r8, [r15 - 0xb]
sub r8, rbx
mov edx, 0x53
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140013db0
mov rbx, rsi
cmp rbx, rsi
je 0x140014052
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8d, recv
lea rdx, [0x140096d28]
lea rcx, [rsp + 0x28]
call fcn.140010400
add rbx, qword [rsp + 0x38]
lea r14, [rbp - 0x68]
mov r12, qword [rbp - 0x50]
cmp r12, 0xf
cmova r14, qword [rbp - 0x68]
mov r15, qword [rbp - 0x58]
cmp rbx, r15
jae 0x140013e92
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140096d4c]
lea rdx, [0x140096d50]
nop
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x70], 1
inc rcx
cmp rcx, rdx
jne 0x140013e60
lea rcx, [r15 + r14]
add rbx, r14
cmp rbx, rcx
jae 0x140013e92
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x70], 0
je 0x140013ed8
inc rbx
cmp rbx, rcx
jb 0x140013e80
mov rbx, rsi
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140013eea
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r14
jmp 0x140013def
sub rbx, r14
jmp 0x140013e95
call fcn.140077d60
mov r12, qword [rbp - 0x50]
mov r15, qword [rbp - 0x58]
cmp rbx, rsi
je 0x14001404f
lea r14, [rbp - 0x68]
cmp r12, 0xf
seta byte [rsp + 0x20]
mov r12, qword [rbp - 0x68]
cmova r14, r12
cmp rbx, r15
jae 0x140013f6a
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140096c44]
lea rdx, [0x140096c46]
nop
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x170], 1
inc rcx
cmp rcx, rdx
jne 0x140013f30
lea rcx, [r15 + r14]
lea r8, [r14 + rbx]
cmp r8, rcx
jae 0x140013f6a
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x170], 0
jne 0x140014047
inc r8
cmp r8, rcx
jb 0x140013f50
mov r8, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
cmp r15, rbx
jb 0x140014111
sub r8, rbx
sub r15, rbx
cmp r15, r8
cmovb r8, r15
lea rdx, [rbp - 0x68]
cmp byte [rsp + 0x20], r14b
cmovne rdx, r12
add rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140010400
nop
lea rcx, [rbp - 0x48]
call fcn.140013af0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140014002
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140014002
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400140de
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400140d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub r8, r14
jmp 0x140013f6d
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov r8d, 5
lea rdx, str.Error
mov rcx, r13
call fcn.140010400
nop
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400140a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400140a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400140de
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400140d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077d60
mov rax, r13
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140077820
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001bf40
nop
lea rdx, str.popen___failed_
lea rcx, [rsp + 0x70]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3