Function at 0x140013500
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 - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r13, rcx
mov qword [rbp - 0x68], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], r12b
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x140097ee0]
movdqu xmmword [rsp + 0x28], xmm1
movdqa xmm0, xmmword [0x140097e20]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x48], 0xc9
mov byte [rsp + 0x4a], 1
mov ecx, r12d
nop dword [rax + rax]
lea eax, [rcx - 0x74]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0x21
jb 0x140013590
mov byte [rsp + 0x4a], 0
lea rdx, [0x140096d14]
lea rcx, [rsp + 0x28]
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 - 0x68], rax
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140077adc
mov rsi, rax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rax, qword [rbp - 0x68]
movups xmmword [rsi], xmm0
mov dword [rsi + 8], 1
mov dword [rsi + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_struct__iobuf____ptr64__int____cdecl___struct__iobuf____ptr64__.0
mov qword [rsi], rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rsi
test rbx, rbx
je 0x140013acd
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov r14, 0xffffffffffffffff
test rax, rax
je 0x140013694
nop word [rax + rax]
lea rax, [rbp + 0x1d0]
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140013660
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x60]
call fcn.14001a000
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140013650
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
lea rcx, [rbp - 0x60]
mov rax, qword [rbp - 0x50]
cmp qword [rbp - 0x48], 0xf
jbe 0x1400136ba
mov rcx, qword [rbp - 0x60]
lea rdi, [rax + rcx]
lea rbx, [rax + rcx]
jmp 0x1400136c9
lea rdi, [rax + rcx]
lea rbx, [rbp - 0x60]
add rbx, rax
lea rcx, [rbp - 0x60]
mov r15, rdi
mov r8b, 0xa
mov rdx, rbx
call fcn.140077740
mov rcx, rax
cmp rax, rbx
je 0x1400136fc
inc rax
cmp rax, rbx
je 0x1400136fc
movzx edx, byte [rax]
cmp dl, 0xa
je 0x1400136f4
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, rbx
jne 0x1400136e7
lea rax, [rbp - 0x60]
mov rdx, rcx
mov rbx, qword [rbp - 0x50]
cmp qword [rbp - 0x48], 0xf
jbe 0x140013717
mov r8, qword [rbp - 0x60]
sub rdx, r8
jmp 0x140013721
sub rdx, rax
mov r15, rdi
lea r8, [rbp - 0x60]
mov rax, rbx
sub r15, rcx
sub rax, rdx
cmp rax, r15
cmovb r15, rax
lea rcx, [r8 + rdx]
sub rbx, r15
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r15]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x50], rbx
lea r15, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r15, qword [rbp - 0x60]
cmp rbx, 0xc
jb 0x1400137cc
lea rdi, [rbx + r15]
lea r8, [rdi - 0xb]
sub r8, r15
mov edx, 0x53
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400137cc
nop dword [rax]
nop word [rax + rax]
mov r8d, recv
lea rdx, [0x140096d28]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400138b0
inc rbx
lea r8, [rdi - 0xb]
sub r8, rbx
mov edx, 0x53
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140013790
mov rbx, r14
cmp rbx, r14
je 0x140013a31
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.SerialNumber
lea rcx, [rsp + 0x58]
call fcn.140010400
add rbx, qword [rsp + 0x68]
lea rdi, [rbp - 0x60]
mov r12, qword [rbp - 0x48]
cmp r12, 0xf
cmova rdi, qword [rbp - 0x60]
mov r15, qword [rbp - 0x50]
cmp rbx, r15
jae 0x140013872
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140096d48]
lea rdx, [0x140096d4b]
nop
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x30], 1
inc rcx
cmp rcx, rdx
jne 0x140013840
lea rcx, [r15 + rdi]
add rbx, rdi
cmp rbx, rcx
jae 0x140013872
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], 0
je 0x1400138b8
inc rbx
cmp rbx, rcx
jb 0x140013860
mov rbx, r14
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400138ca
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400138bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400138bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r15
jmp 0x1400137cf
sub rbx, rdi
jmp 0x140013875
call fcn.140077d60
mov r12, qword [rbp - 0x48]
mov r15, qword [rbp - 0x50]
cmp rbx, r14
je 0x140013a2e
lea rdi, [rbp - 0x60]
cmp r12, 0xf
seta byte [rsp + 0x20]
mov r12, qword [rbp - 0x60]
cmova rdi, r12
cmp rbx, r15
jae 0x14001394a
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140096c44]
lea rdx, [0x140096c46]
nop
movzx eax, byte [rcx]
mov byte [rbp + rax + 0xd0], 1
inc rcx
cmp rcx, rdx
jne 0x140013910
lea rcx, [r15 + rdi]
lea r8, [rdi + rbx]
cmp r8, rcx
jae 0x14001394a
movzx eax, byte [r8]
cmp byte [rbp + rax + 0xd0], 0
jne 0x140013a26
inc r8
cmp r8, rcx
jb 0x140013930
mov r8, r14
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
cmp r15, rbx
jb 0x140013ac7
sub r8, rbx
sub r15, rbx
cmp r15, r8
cmovb r8, r15
lea rdx, [rbp - 0x60]
cmp byte [rsp + 0x20], al
cmovne rdx, r12
add rdx, rbx
mov rcx, r13
call fcn.140010400
nop
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400139b8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], r14d
cmp r14d, 1
jne 0x1400139b8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400139f3
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400139ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013ac0
call fcn.140077d60
mov rax, r13
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140077820
lea r11, [rsp + 0x360]
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
sub r8, rdi
jmp 0x14001394d
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, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140013a82
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], r14d
cmp r14d, 1
jne 0x140013a82
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400139f3
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400139ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400139ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14001bf40
int3
lea rdx, str.popen___failed_
lea rcx, [rsp + 0x78]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3