Function at 0x4e2ed0
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4e34db
sub rsp, 0x60
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x78]
mov rdx, rbx
sub rbx, rax
mov rbp, rbx
sar rbx, 0x3f
sub rbp, rbx
mov rbx, rbp
sar rbx, 1
add rbx, rax
mov qword [rsp + 0x38], rbx
mov rbx, rdx
sub rbx, rax
cmp rbx, 0x28
jle 0x4e3018
mov rbx, rdx
sub rbx, rax
mov rcx, rbx
sar rbx, 0x3f
shr rbx, 0x3d
add rbx, rcx
sar rbx, 3
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
mov rbx, rax
add rbx, rcx
mov qword [rsp + 0x18], rbx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
shl rbx, 1
add rbx, rax
mov qword [rsp + 0x20], rbx
call fcn.004e2d80
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
mov rbx, rax
sub rbx, rcx
mov qword [rsp + 0x18], rbx
mov rbx, rax
add rbx, rcx
mov qword [rsp + 0x20], rbx
call fcn.004e2d80
mov rbp, qword [rsp + 0x28]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x68]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 8], rbx
mov rbx, rax
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, rax
dec rbx
sub rbx, rbp
mov qword [rsp + 0x18], rbx
mov rbx, rax
dec rbx
shl rbp, 1
sub rbx, rbp
mov qword [rsp + 0x20], rbx
call fcn.004e2d80
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x68]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rax
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x18], rbx
mov rbx, rdx
dec rbx
mov qword [rsp + 0x20], rbx
call fcn.004e2d80
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rbx
mov rsi, qword [rsp + 0x78]
inc rsi
mov rcx, qword [rsp + 0x80]
dec rcx
mov qword [rsp + 0x48], rcx
cmp rsi, rcx
jge 0x4e30ba
mov qword [rsp + 0x58], rsi
mov qword [rsp + 8], rsi
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
je 0x4e30ba
inc rsi
mov qword [rsp + 0x48], rcx
cmp rsi, rcx
jl 0x4e3071
mov qword [rsp + 0x58], rsi
mov rax, rsi
mov qword [rsp + 0x48], rcx
cmp rax, rcx
jge 0x4e311a
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
jne 0x4e311a
inc rax
mov qword [rsp + 0x48], rcx
cmp rax, rcx
jl 0x4e30cc
mov qword [rsp + 0x50], rax
cmp rax, rcx
jge 0x4e3178
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 8], rbx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
je 0x4e3178
dec rcx
mov qword [rsp + 0x50], rax
cmp rax, rcx
jl 0x4e3124
cmp rax, rcx
jl 0x4e3498
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x48], rcx
sub rbx, rcx
cmp rbx, 5
setl dl
cmp dl, 0
jne 0x4e3341
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
sub rdi, rbp
sub rbx, rcx
mov rbp, rdi
sar rbp, 0x3f
shr rbp, 0x3e
add rbp, rdi
sar rbp, 2
cmp rbx, rbp
jge 0x4e3341
mov qword [rsp + 0x40], 0
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x80]
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
jne 0x4e3493
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x80]
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x30]
call rbx
mov rbx, qword [rsp + 0x48]
inc rbx
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x40]
inc rbx
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x50]
dec rbx
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
jne 0x4e348e
mov rbx, qword [rsp + 0x50]
dec rbx
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x40]
inc rbx
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
jne 0x4e3489
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 8], rbx
mov rbx, rax
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x30]
call rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
dec rax
mov rdx, qword [rsp + 0x40]
inc rdx
cmp rdx, 1
setg dl
cmp dl, 0
je 0x4e33fb
mov qword [rsp + 0x58], rsi
cmp rsi, rax
jge 0x4e33a3
mov rbx, rax
mov qword [rsp + 0x50], rax
dec rbx
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
jne 0x4e33a3
dec rax
mov qword [rsp + 0x58], rsi
cmp rsi, rax
jl 0x4e3354
mov qword [rsp + 0x50], rax
cmp rsi, rax
jge 0x4e33f6
mov qword [rsp + 0x58], rsi
mov qword [rsp + 8], rsi
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x28]
call rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x18]
cmp bl, 0
je 0x4e33f6
inc rsi
mov qword [rsp + 0x50], rax
cmp rsi, rax
jl 0x4e33ad
cmp rsi, rax
jl 0x4e344b
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 8], rbx
mov rbx, rax
mov qword [rsp + 0x50], rax
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x30]
call rbx
mov rbx, qword [rsp + 0x50]
dec rbx
mov qword [rsp + 0x88], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x90], rbx
add rsp, 0x60
ret
mov qword [rsp + 0x58], rsi
mov qword [rsp + 8], rsi
mov rbx, rax
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x30]
call rbx
mov rsi, qword [rsp + 0x58]
inc rsi
mov rax, qword [rsp + 0x50]
dec rax
jmp 0x4e334a
jmp 0x4e333a
jmp 0x4e32b7
jmp 0x4e3264
mov qword [rsp + 8], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
dec rbx
mov qword [rsp + 0x10], rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0x68]
mov rbx, qword [rbx + 0x30]
call rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
inc rax
mov rcx, qword [rsp + 0x48]
dec rcx
jmp 0x4e30c2
call fcn.00465260
jmp fcn.004e2ed0