Function at 0x48a6e0
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 0x48ad24
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 0x48ac33
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.0048a510
mov rax, qword [rsp + 0xa0]
lea rcx, [rax + 1]
jmp 0x48a79c
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 0x48a7d6
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
cmp byte [rsp + 0x18], 0
jne 0x48a78b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
jmp 0x48a8d4
mov rdx, qword [rsp + 0x60]
lea rcx, [rdx + 1]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rcx
cmp rcx, rax
jge 0x48a830
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rcx
call rdx
cmp byte [rsp + 0x18], 0
je 0x48a7e5
mov rax, qword [rsp + 0x68]
jmp 0x48a83c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jge 0x48ac26
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 8], rsi
lea rdi, [rax - 1]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x10], rdi
call rdx
cmp byte [rsp + 0x18], 0
jne 0x48a837
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jge 0x48a8de
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x28]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rax
dec rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x10], rcx
call rbx
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 1]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
jmp 0x48a7f3
mov rdx, qword [rsp + 0xa8]
sub rdx, rcx
cmp rdx, 5
jge 0x48aa71
mov edx, 1
mov qword [rsp + 0x40], rcx
test dl, dl
je 0x48aa6c
mov rdx, qword [rsp + 0x48]
jmp 0x48aa04
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
cmp rdx, rax
jge 0x48a964
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
lea rsi, [rax - 1]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rdi
call rdx
cmp byte [rsp + 0x18], 0
je 0x48a90f
mov rax, qword [rsp + 0x50]
jmp 0x48a974
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jge 0x48a9c3
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov qword [rsp + 8], rax
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rsi
call rdx
cmp byte [rsp + 0x18], 0
jne 0x48a96b
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jge 0x48aa0e
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x28]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov qword [rsp + 8], rax
dec rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x10], rcx
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 0x48a91e
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
dec rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x10], rcx
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 0x48aa0e
setl bl
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
sar rsi, 0x3f
shr rsi, 0x3e
add rsi, rdi
sar rsi, 2
cmp rdx, rsi
jl 0x48aa97
mov edx, ebx
jmp 0x48a8f8
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x10], rsi
call rcx
movzx eax, byte [rsp + 0x18]
mov byte [rsp + 0x2f], al
test al, al
je 0x48abea
mov rcx, qword [rsp + 0x68]
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 0x48abdd
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 0x48ab98
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
cmp rax, 1
setg dl
mov rax, rcx
mov rcx, qword [rsp + 0x40]
jmp 0x48a8f8
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 0x48ab84
inc rax
mov rcx, qword [rsp + 0x70]
jmp 0x48ab38
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x10], rsi
call rcx
mov rax, qword [rsp + 0x68]
lea rcx, [rax + 1]
jmp 0x48aade
mov rax, rcx
mov rcx, qword [rsp + 0x68]
jmp 0x48a898
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.0048a510
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.0048a510
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.0048a510
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa8]
jmp 0x48a747
call fcn.004553d0
jmp fcn.0048a6e0