Function at 0x5a4ca0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x5a4f6d
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xb0], rsi
mov rdx, qword [rax]
mov r12, qword [rdx + 0x10]
lea r13, [r12 - 1]
nop
mov rdx, qword [rdx + 8]
test r13, r13
jl 0x5a4d6f
mov qword [rsp + 0xb8], r8
mov r15, qword [rdx + r12*8 - 8]
mov qword [rsp + 0x70], r15
shr r15, 1
mov rsi, qword [rsp + 0x70]
or r15, rsi
mov rsi, r15
shr r15, 2
or r15, rsi
mov rsi, r15
shr r15, 4
or r15, rsi
mov rsi, r15
shr r15, 8
or r15, rsi
mov rsi, r15
shr r15, 0x10
or r15, rsi
mov rsi, r15
shr r15, 0x20
or r15, rsi
mov rsi, r13
shl r13, 6
bsr r15, r15
mov r8, 0xffffffffffffffff
cmove r15, r8
lea r8, [r13 + r15]
lea r8, [r8 + 1]
mov r13, rsi
mov r15, r8
mov rsi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
jmp 0x5a4d72
xor r15d, r15d
mov qword [rsp + 0xa0], rcx
lea rcx, [r15 + 7]
sar rcx, 0x3f
shr rcx, 0x3d
lea r15, [r15 + rcx]
lea r15, [r15 + 7]
sar r15, 3
cmp r9, r15
jne 0x5a4e93
nop dword [rax + rax]
test r11, r11
je 0x5a4daa
mov r15, qword [r11]
jmp 0x5a4dad
xor r15d, r15d
cmp r15, 0xffffffffffffffff
jl 0x5a4e7f
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xd0], r11
mov qword [rsp + 0xa8], rdi
test r13, r13
jl 0x5a4e32
mov rdx, qword [rdx + r12*8 - 8]
mov r12, rdx
shr rdx, 1
or rdx, r12
mov r12, rdx
shr rdx, 2
or rdx, r12
mov r12, rdx
shr rdx, 4
or rdx, r12
mov r12, rdx
shr rdx, 8
or rdx, r12
mov r12, rdx
shr rdx, 0x10
or rdx, r12
mov r12, rdx
shr rdx, 0x20
or rdx, r12
shl r13, 6
bsr rdx, rdx
mov r12, 0xffffffffffffffff
cmove rdx, r12
lea rdx, [r13 + rdx]
lea rdx, [rdx + 1]
jmp 0x5a4e34
xor edx, edx
mov qword [rsp + 0x50], rdx
mov rbx, r8
mov rcx, r9
mov rdi, r10
call fcn.005a53e0
mov rdx, qword [rsp + 0x50]
lea rsi, [rdx + 6]
sar rsi, 0x3f
shr rsi, 0x3d
lea rsi, [rdx + rsi]
lea rsi, [rsi + 6]
test rdi, rdi
jne 0x5a4e6b
sar rsi, 3
jmp 0x5a4ec0
mov rax, qword [0x009dd5e0]
mov rbx, qword [0x009dd5e8]
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rax, qword [0x009dd590]
mov rbx, qword [0x009dd598]
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rax, qword [0x009dd5e0]
mov rbx, qword [0x009dd5e8]
sub rsp, 0xffffffffffffff80
pop rbp
ret
dec rcx
mov rdi, rcx
neg rdi
sar rdi, 0x3f
and edi, 1
add rax, rdi
dec rbx
nop dword [rax]
cmp rbx, rsi
jle 0x5a4ef0
test rbx, rbx
je 0x5a4ee3
cmp byte [rax], 0
je 0x5a4ea7
mov rax, qword [0x009dd5e0]
mov rbx, qword [0x009dd5e8]
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
jmp 0x5a4efb
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rax
je 0x5a4f11
mov rsi, qword [rsi]
jmp 0x5a4f13
xor esi, esi
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x98]
call fcn.005550c0
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov r9, qword [rsp + 0x50]
dec r9
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
call fcn.005a4700
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
call fcn.0046a2c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.005a4ca0