Function at 0x140028cc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rsi, rdx
mov r13, rcx
sub rbx, rdx
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rbx
mul rcx
mov rdi, rdx
shr rdi, 1
lea rax, [rdi + rdi*2]
xor r14d, r14d
mov r12, rbx
sub r12, rax
setne r14b
add r14, rdi
shl r14, 2
xorps xmm0, xmm0
movups xmmword [r13 + 0x10], xmm0
movups xmmword [r13], xmm0
test r14, r14
js 0x140028edf
cmp r14, 0xf
ja 0x140028d54
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, r13
mov dl, 0x3d
mov r8, r14
call sub.VCRUNTIME140.dll_memset
add r14, r13
mov r15, r14
jmp 0x140028dbb
mov qword [rbp - 8], r13
mov rax, r14
or rax, 0xf
cmp rax, 0x17
mov r13d, reloc.WS2_32.dll_shutdown
cmovae r13, rax
cmp r13, 0xfff
jb 0x140028d8d
lea rcx, [r13 + 0x28]
call fcn.1400f0b5c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140028d99
lea rcx, [r13 + 1]
call fcn.1400f0b5c
mov r15, rax
mov rax, qword [rbp - 8]
mov qword [rax], r15
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
mov r13, rax
mov rcx, r15
mov dl, 0x3d
mov r8, r14
call sub.VCRUNTIME140.dll_memset
add r15, r14
mov byte [r15], 0
cmp qword [r13 + 0x18], 0x10
mov rax, r13
jb 0x140028dcd
mov rax, qword [r13]
cmp rbx, 3
jb 0x140028e4f
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYYZZZZaaaabbbbccccddddeeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttuuuuvvvvwwwwxxxxyyyyzzzz0000111122223333444455556666777788889999____ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea rdx, [0x1400fb100]
nop word cs:[rax + rax]
movzx r8d, byte [rsi]
movzx r9d, byte [rsi + 1]
movzx r10d, byte [rsi + 2]
add rsi, 3
movzx r11d, byte [r8 + rcx]
mov byte [rax], r11b
shl r8d, 4
and r8d, 0x30
mov r11d, r9d
shr r11d, 4
or r11d, r8d
movzx r8d, byte [r11 + rdx]
mov byte [rax + 1], r8b
and r9d, 0xf
mov r8d, r10d
shr r8d, 6
lea r8d, [r8 + r9*4]
movzx r8d, byte [r8 + rdx]
mov byte [rax + 2], r8b
movzx r8d, byte [r10 + rdx]
mov byte [rax + 3], r8b
add rax, 4
dec rdi
jne 0x140028df0
test r12, r12
je 0x140028ecb
cmp r12, 1
je 0x140028ea5
cmp r12, 2
jne 0x140028ee4
movzx edx, byte [rsi]
movzx ecx, byte [rsi + 1]
lea r8, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYYZZZZaaaabbbbccccddddeeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttuuuuvvvvwwwwxxxxyyyyzzzz0000111122223333444455556666777788889999____ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx r8d, byte [rdx + r8]
mov byte [rax], r8b
shl edx, 4
and edx, 0x30
mov r8d, ecx
shr r8d, 4
or r8d, edx
lea rdx, [0x1400fb100]
movzx edx, byte [r8 + rdx]
mov byte [rax + 1], dl
add rax, 2
shl ecx, 2
and ecx, 0x3c
jmp 0x140028ebe
movzx ecx, byte [rsi]
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYYZZZZaaaabbbbccccddddeeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttuuuuvvvvwwwwxxxxyyyyzzzz0000111122223333444455556666777788889999____ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, byte [rcx + rdx]
mov byte [rax], dl
inc rax
shl ecx, 4
and ecx, 0x30
lea rdx, [0x1400fb100]
movzx ecx, byte [rcx + rdx]
mov byte [rax], cl
mov rax, r13
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14001c100
mov qword [rbp - 8], r13
cmp byte [0x1401847da], 0
jne 0x140028f8b
mov ecx, 1
xor r8d, r8d
movabs r9, 0x642c8590b21642c9
lea r10, [0x1400fc250]
lea r11, [0x1401847be]
mov rax, rcx
mul r9
mov rsi, rcx
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 4
mov rax, r8
mul r9
imul rax, rsi, 0xffffffffffffffe9
mov rsi, r8
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 4
imul rdx, rsi, 0xffffffffffffffe9
lea rsi, [r10 + r8]
movzx edx, byte [rdx + rsi + 0x16fe]
xor dl, byte [r8 + r10 + 0x1715]
mov byte [r8 + r11], dl
movzx eax, byte [rax + rsi + 0x16ff]
xor al, byte [r8 + r10 + 0x1716]
mov byte [r8 + r11 + 1], al
add r8, 2
add rcx, 2
cmp r8, 0x1c
jne 0x140028f15
mov byte [0x1401847da], 1
lea rax, vtable.std::exception.0
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rax, [0x1401847be]
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x28], 1
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll___std_exception_copy
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x20], rax
lea rdx, [0x14015b5b0]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3