Function at 0x14011e020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov r13d, r9d
mov r10, rcx
mov esi, 1
mov ecx, r13d
shl esi, cl
mov r9d, 1
shl r9, cl
mov rax, 0xffffffffffffffd2
cmp r8d, 0xff
ja 0x14011e3b7
lea ecx, [r8 + 1]
mov qword [rsp], rcx
lea rcx, [r9 + rcx*2]
add rcx, 8
cmp rcx, qword [rsp + 0xa0]
ja 0x14011e3b7
mov rax, 0xffffffffffffffd4
cmp r13d, 0xc
ja 0x14011e3b7
mov rdi, qword [rsp + 0x98]
mov ebp, 0x8000
mov ecx, r13d
shl ebp, cl
lea eax, [rsi - 1]
sar ebp, 0x10
xor r15d, r15d
test r8d, r8d
je 0x14011e139
mov r12, qword [rsp]
and r12d, 0xfffffffe
mov bx, 1
xor r14d, r14d
mov ecx, eax
jmp 0x14011e0f2
mov r9d, ecx
dec ecx
lea r11d, [r14 + 1]
mov byte [r10 + r9*4 + 6], r11b
mov r11w, 1
mov word [rdi + r14*2 + 2], r11w
add r14, 2
cmp r12, r14
je 0x14011e142
movsx r11d, word [rdx + r14*2]
cmp r11d, 0xffffffff
je 0x14011e110
cmp ebp, r11d
cmovle ebx, r15d
jmp 0x14011e11f
mov r9d, ecx
dec ecx
mov byte [r10 + r9*4 + 6], r14b
mov r11w, 1
mov word [rdi + r14*2], r11w
movsx r11d, word [rdx + r14*2 + 2]
cmp r11d, 0xffffffff
je 0x14011e0d0
cmp ebp, r11d
cmovle ebx, r15d
jmp 0x14011e0e3
mov bx, 1
xor r14d, r14d
mov ecx, eax
test byte [rsp], 1
mov r15, rsi
je 0x14011e176
movsx r11d, word [rdx + r14*2]
cmp r11d, 0xffffffff
je 0x14011e162
xor r9d, r9d
cmp ebp, r11d
cmovle ebx, r9d
jmp 0x14011e171
mov r9d, ecx
dec ecx
mov byte [r10 + r9*4 + 6], r14b
mov r11w, 1
mov word [rdi + r14*2], r11w
mov word [r10], r13w
mov word [r10 + 2], bx
mov r11d, r15d
shr r11d, 1
mov ebx, r15d
cmp ecx, eax
jne 0x14011e2a2
mov dword [rsp + 0xc], r13d
mov r8d, r8d
lea r14, [rdi + r8*2]
add r14, 2
mov eax, eax
mov qword [rsp + 0x20], r15
mov ecx, r15d
shr ecx, 3
add ecx, r11d
add ecx, 3
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
lea r8, [rdi + r8*2]
add r8, 0x1a
mov qword [rsp + 0x28], r8
xor r12d, r12d
movabs rcx, 0x101010101010101
xor ebp, ebp
xor r8d, r8d
mov r11, qword [rsp]
jmp 0x14011e206
movsx r9, r15w
add rbp, r9
inc r12
add r8, rcx
cmp r12, r11
je 0x14011e308
movzx r15d, word [rdx + r12*2]
mov qword [r14 + rbp], r8
cmp r15w, 9
jl 0x14011e1f0
cmp r15, 0x11
mov r9d, 0x10
cmovae r9, r15
add r9, 0xfffffffffffffff7
mov r13d, 8
cmp r9, 0x18
jb 0x14011e289
shr r9, 3
inc r9
mov r11, r9
and r11, 0xfffffffffffffffc
lea r13, [r11*8 + 8]
movq xmm0, r8
pshufd xmm0, xmm0, 0x44
mov rsi, qword [rsp + 0x28]
add rsi, rbp
xor edi, edi
nop
movdqu xmmword [rsi + rdi*8 - 0x10], xmm0
movdqu xmmword [rsi + rdi*8], xmm0
add rdi, 4
cmp r11, rdi
jne 0x14011e260
cmp r9, r11
mov rdi, qword [rsp + 0x98]
mov r11, qword [rsp]
je 0x14011e1f0
lea r9, [r14 + rbp]
nop dword [rax]
mov qword [r9 + r13], r8
add r13, 8
cmp r13, r15
jb 0x14011e290
jmp 0x14011e1f0
mov r8d, r15d
shr r8d, 3
add r8d, r11d
add r8d, 3
xor r14d, r14d
xor ebp, ebp
mov rsi, qword [rsp]
jmp 0x14011e2cc
inc r14
cmp r14, rsi
je 0x14011e363
cmp word [rdx + r14*2], 0
jle 0x14011e2c0
xor r11d, r11d
nop word [rax + rax]
mov r9d, ebp
mov byte [r10 + r9*4 + 6], r14b
nop dword [rax + rax]
add ebp, r8d
and ebp, eax
cmp ebp, ecx
ja 0x14011e2f0
inc r11d
movsx r9d, word [rdx + r14*2]
cmp r11d, r9d
jl 0x14011e2e0
jmp 0x14011e2c0
mov rcx, qword [rsp + 0x10]
lea rdx, [rcx + rcx]
mov r8, qword [rsp + 0x18]
lea r8, [rdi + r8*2]
add r8, 3
xor edi, edi
xor r11d, r11d
mov r13d, dword [rsp + 0xc]
mov r15, qword [rsp + 0x20]
nop dword [rax]
mov r9d, r11d
and r9d, eax
movzx esi, byte [r8 + rdi - 1]
mov byte [r10 + r9*4 + 6], sil
lea r9d, [rcx + r11]
and r9d, eax
movzx esi, byte [r8 + rdi]
mov byte [r10 + r9*4 + 6], sil
add r11d, edx
and r11d, eax
add rdi, 2
cmp rdi, rbx
jb 0x14011e330
jmp 0x14011e36e
mov rax, 0xffffffffffffffff
test ebp, ebp
jne 0x14011e3b7
add r13d, 0xffffffe1
xor eax, eax
xor edx, edx
mov r11, qword [rsp + 0x98]
nop
movzx ecx, byte [r10 + rdx*4 + 6]
movzx r8d, word [r11 + rcx*2]
lea r9d, [r8 + 1]
mov word [r11 + rcx*2], r9w
bsr ecx, r8d
xor ecx, 0x1f
add ecx, r13d
mov byte [r10 + rdx*4 + 7], cl
shl r8d, cl
sub r8d, r15d
mov word [r10 + rdx*4 + 4], r8w
inc rdx
cmp rbx, rdx
jne 0x14011e380
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret