Function at 0x4e3fc0
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 0x4e4631
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 0x4e4540
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 fcn.004e3df0
mov rax, qword [rsp + 0xa0]
lea rcx, [rax + 1]
mov rdx, qword [rsp + 0x68]
jmp 0x4e4073
inc rcx
mov qword [rsp + 0x48], rcx
cmp rcx, rdx
jl 0x4e4500
xor ebx, ebx
test bl, bl
jne 0x4e4070
mov rbx, rdx
mov rsi, rcx
jmp 0x4e4115
inc rcx
mov qword [rsp + 0x60], rcx
cmp rcx, rdx
jl 0x4e44b3
xor edi, edi
test dil, dil
jne 0x4e4092
jmp 0x4e40af
dec rdx
mov qword [rsp + 0x40], rdx
cmp rcx, rdx
jl 0x4e4465
xor edi, edi
test dil, dil
jne 0x4e40ac
cmp rcx, rdx
jge 0x4e411f
mov rax, qword [rsp + 0x90]
mov rbx, qword [rax + 0x28]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rcx
dec rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x10], rdx
call rbx
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 1]
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rdx
jmp 0x4e4095
mov rdi, qword [rsp + 0xa8]
sub rdi, rdx
cmp rdi, 5
jge 0x4e42b4
setl bl
mov qword [rsp + 0x40], rdx
test bl, bl
jne 0x4e41c5
jmp 0x4e41cc
dec rcx
mov qword [rsp + 0x48], rcx
cmp rsi, rcx
jl 0x4e4268
xor ebx, ebx
test bl, bl
jne 0x4e4149
jmp 0x4e4165
inc rsi
mov qword [rsp + 0x50], rsi
cmp rsi, rcx
jl 0x4e4223
xor ebx, ebx
test bl, bl
jne 0x4e4162
cmp rsi, rcx
jge 0x4e41cc
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
dec rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x10], rcx
call rdx
mov rax, qword [rsp + 0x50]
lea rsi, [rax + 1]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rsi
jmp 0x4e414c
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx + 0x28]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov qword [rsp + 8], rax
lea rax, [rcx - 1]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x10], rax
call rdx
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, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rax
call rdx
movzx ebx, byte [rsp + 0x18]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x4e4175
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
lea rdi, [rcx - 1]
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rax
call rbx
movzx ebx, byte [rsp + 0x18]
xor ebx, 1
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x4e415c
mov r8, qword [rsp + 0x70]
mov r9, r8
sar r8, 0x3f
shr r8, 0x3e
add r8, r9
sar r8, 2
cmp rdi, r8
jl 0x4e42d9
cmp rdi, 5
jmp 0x4e4134
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call rdx
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x2f], al
test al, al
je 0x4e4429
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov rsi, qword [rsp + 0x60]
lea rdi, [rsi - 1]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 8], rdi
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x10], r8
call rdx
movzx eax, byte [rsp + 0x2f]
xor eax, 1
movzx eax, al
cmp byte [rsp + 0x18], 0
je 0x4e441c
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 8], rdi
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x10], r8
call rbx
cmp byte [rsp + 0x18], 0
je 0x4e43d7
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
cmp rax, 1
setg bl
mov rax, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x4e4137
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 8], rbx
mov rbx, qword [rsp + 0x70]
dec rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x10], rbx
call rcx
mov rax, qword [rsp + 0x38]
inc rax
mov rcx, qword [rsp + 0x70]
jmp 0x4e43b9
inc rax
mov rcx, qword [rsp + 0x70]
jmp 0x4e436d
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x10], rsi
call rcx
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 1]
jmp 0x4e4313
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rcx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rax
lea rdi, [rdx - 1]
mov qword [rsp + 0x10], rdi
call rbx
movzx edi, byte [rsp + 0x18]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
jmp 0x4e40bf
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call rbx
movzx edi, byte [rsp + 0x18]
xor edi, 1
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
jmp 0x4e40a5
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call rbx
movzx ebx, byte [rsp + 0x18]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
jmp 0x4e4083
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.004e3df0
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, [rbx + rsi]
mov qword [rsp + 0x20], rdx
call fcn.004e3df0
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.004e3df0
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa8]
jmp 0x4e4027
call fcn.00461440
jmp fcn.004e3fc0