Function at 0x4ee5a0
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 8]
cmp rax, qword [rcx + 0x10]
jbe 0x4eec19
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 0x4eeb28
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 + 0x40], rdi
mov qword [rsp + 0x20], rdi
call fcn.004ee440
mov rax, qword [rsp + 0xa0]
lea rcx, [rax + 1]
jmp 0x4ee65c
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + 1]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jge 0x4eeb1e
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x20]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
lea rax, [rsp + 0x18]
cmp byte [rax], 0
jne 0x4ee64b
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x4ee7a6
mov rbx, qword [rsp + 0x60]
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdx
cmp rdx, rcx
jge 0x4ee6fa
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x20]
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rcx
lea rax, [rsp + 0x18]
cmp byte [rax], 0
je 0x4ee6ac
mov rcx, qword [rsp + 0x68]
jmp 0x4ee706
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rcx
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jge 0x4eeb11
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
lea rsi, [rcx - 1]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x10], rsi
mov rdi, qword [rsp + 0x98]
mov qword [rsp], rdi
call rdx
lea rax, [rsp + 0x18]
cmp byte [rax], 0
jne 0x4ee701
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jge 0x4ee7b0
mov rax, qword [rsp + 0x90]
mov rbx, qword [rax + 0x28]
mov qword [rsp + 8], rcx
dec rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x10], rdx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
lea rax, [rsp + 0x18]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rcx
jmp 0x4ee6ba
mov rbx, qword [rsp + 0xa8]
sub rbx, rdx
cmp rbx, 5
jge 0x4ee94f
mov ebx, 1
mov qword [rsp + 0x40], rdx
test bl, bl
je 0x4ee94a
mov rbx, qword [rsp + 0x48]
jmp 0x4ee8e1
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rcx
cmp rbx, rcx
jge 0x4ee839
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
lea rbx, [rcx - 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
lea rax, [rsp + 0x18]
cmp byte [rax], 0
je 0x4ee7e1
mov rcx, qword [rsp + 0x50]
jmp 0x4ee849
mov rdx, qword [rsp + 0x50]
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jge 0x4ee89b
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
mov qword [rsp + 8], rcx
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rbx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rdx
lea rax, [rsp + 0x18]
cmp byte [rax], 0
jne 0x4ee840
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jge 0x4ee8eb
mov rax, qword [rsp + 0x90]
mov rbx, qword [rax + 0x28]
mov qword [rsp + 8], rcx
dec rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x10], rdx
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
call rbx
mov rax, qword [rsp + 0x50]
lea rbx, [rax + 1]
lea rax, [rsp + 0x18]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rbx
jmp 0x4ee7f0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 8], rcx
lea rcx, [rdx - 1]
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 rdx, rcx
jmp 0x4ee8eb
setl sil
mov rdi, qword [rsp + 0x70]
mov r8, rdi
sar rdi, 0x3f
shr rdi, 0x3e
add rdi, r8
sar rdi, 2
cmp rbx, rdi
jl 0x4ee976
mov ebx, esi
jmp 0x4ee7ca
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
mov rbx, qword [rsp + 0x40]
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 0x4eead5
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
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 + 0x2f]
xor eax, 1
movzx eax, al
lea rcx, [rsp + 0x18]
cmp byte [rcx], 0
je 0x4eeac8
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rcx + 0x20]
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
lea rax, [rsp + 0x18]
cmp byte [rax], 0
je 0x4eea7d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
cmp rcx, 1
setg bl
mov rcx, rdx
mov rdx, qword [rsp + 0x40]
jmp 0x4ee7ca
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
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]
lea rcx, [rax + 1]
lea rax, [rsp + 0x18]
mov rdx, qword [rsp + 0x70]
jmp 0x4eea69
inc rax
mov rdx, qword [rsp + 0x70]
jmp 0x4eea1a
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 8], rdx
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
call rcx
mov rax, qword [rsp + 0x68]
lea rcx, [rax + 1]
jmp 0x4ee9bd
mov rcx, rdx
mov rdx, qword [rsp + 0x68]
jmp 0x4ee765
lea rax, [rsp + 0x18]
jmp 0x4ee69d
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 fcn.004ee440
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 fcn.004ee440
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 fcn.004ee440
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa8]
jmp 0x4ee607
call fcn.004555f0
jmp fcn.004ee5a0