Function at 0x4bfc70
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 8]
cmp rax, qword [rcx + 0x10]
jbe 0x4c02c2
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
lea rdx, [rcx + rax]
shr rdx, 1
mov qword [rsp + 0x78], rdx
mov rbx, rcx
sub rcx, rax
mov qword [rsp + 0x70], rcx
cmp rcx, 0x28
jg 0x4c01d1
mov rcx, qword [rsp + 0x90]
mov qword [rsp], rcx
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rdx
lea rdi, [rbx - 1]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], rdi
call dbg.sort.medianOfThree
mov rax, qword [rsp + 0xa0]
lea rcx, [rax + 1]
jmp 0x4bfd2c
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + 1]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jge 0x4bfd68
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x28]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
movzx eax, byte [rsp + 0x18]
test al, al
jne 0x4bfd1b
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
jmp 0x4bfe6a
mov rdx, qword [rsp + 0x60]
lea rcx, [rdx + 1]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rcx
cmp rcx, rax
jge 0x4bfdc4
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x28]
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rdx
movzx eax, byte [rsp + 0x18]
test al, al
je 0x4bfd77
mov rax, qword [rsp + 0x40]
jmp 0x4bfdd0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jge 0x4c01c4
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x28]
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
lea rsi, [rax - 1]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x10], rsi
mov rdi, qword [rsp + 0x98]
mov qword [rsp], rdi
call rdx
movzx eax, byte [rsp + 0x18]
test al, al
jne 0x4bfdcb
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
cmp rax, rcx
jge 0x4bfe74
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x30]
mov qword [rsp + 8], rax
dec rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x10], rcx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 1]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x4bfd85
mov rdx, qword [rsp + 0xa8]
sub rdx, rcx
cmp rdx, 5
setl bl
jge 0x4c000e
mov edx, 1
mov qword [rsp + 0x40], rcx
test dl, dl
je 0x4c0009
mov rdx, qword [rsp + 0x48]
jmp 0x4bffa1
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
cmp rdx, rax
jge 0x4bfeff
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x28]
lea rbx, [rax - 1]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rsi
mov rdi, qword [rsp + 0x98]
mov qword [rsp], rdi
call rdx
movzx eax, byte [rsp + 0x18]
test al, al
je 0x4bfea8
mov rax, qword [rsp + 0x50]
jmp 0x4bff0f
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jge 0x4bff60
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 8], rax
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rbx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rdx
movzx eax, byte [rsp + 0x18]
test al, al
jne 0x4bff06
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jge 0x4bffab
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x30]
mov qword [rsp + 8], rax
dec rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x10], rcx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
mov rax, qword [rsp + 0x50]
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rdx
jmp 0x4bfeb7
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
dec rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
call rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rcx, rax
jmp 0x4bffab
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
sar rsi, 0x3f
shr rsi, 0x3e
add rsi, rdi
sar rsi, 2
cmp rdx, rsi
jl 0x4c0031
mov edx, ebx
jmp 0x4bfe91
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rbx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rcx
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x2f], al
test al, al
je 0x4c0188
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x60]
lea rsi, [rbx - 1]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rdi
mov r8, qword [rsp + 0x98]
mov qword [rsp], r8
call rdx
movzx eax, byte [rsp + 0x18]
movzx ecx, byte [rsp + 0x2f]
xor ecx, 1
movzx ecx, cl
test al, al
je 0x4c017b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x28]
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rdi
mov r8, qword [rsp + 0x98]
mov qword [rsp], r8
call rbx
movzx eax, byte [rsp + 0x18]
test al, al
je 0x4c0136
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
cmp rax, 1
setg dl
mov rax, rcx
mov rcx, qword [rsp + 0x40]
jmp 0x4bfe91
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x70]
dec rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x10], rdx
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
call rcx
mov rax, qword [rsp + 0x38]
inc rax
mov rcx, qword [rsp + 0x70]
jmp 0x4c0122
inc rcx
mov rax, qword [rsp + 0x70]
jmp 0x4c00d4
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 8], rdx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
call rcx
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 1]
jmp 0x4c0078
mov rax, rcx
mov rcx, qword [rsp + 0x40]
jmp 0x4bfe2e
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
mov rsi, rcx
sar rcx, 0x3f
shr rcx, 0x3d
add rcx, rsi
sar rcx, 3
mov qword [rsp + 0x30], rcx
lea rdi, [rcx + rax]
mov qword [rsp + 0x18], rdi
lea rdi, [rax + rcx*2]
mov qword [rsp + 0x20], rdi
call dbg.sort.medianOfThree
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x10], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, rdx
sub rdx, rbx
mov qword [rsp + 0x18], rdx
lea rdx, [rsi + rbx]
mov qword [rsp + 0x20], rdx
call dbg.sort.medianOfThree
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0xa8]
lea rbx, [rdx - 1]
mov qword [rsp + 0x10], rbx
mov rsi, qword [rsp + 0x30]
mov rdi, rbx
sub rbx, rsi
mov qword [rsp + 0x18], rbx
shl rsi, 1
sub rdi, rsi
mov qword [rsp + 0x20], rdi
call dbg.sort.medianOfThree
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa8]
jmp 0x4bfcd7
call dbg.runtime.morestack_noctxt
jmp dbg.sort.doPivot