Function at 0x558a60
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x558d5a
sub rsp, 0x98
mov qword [rsp + 0x90], rbp
lea rbp, [rsp + 0x90]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xc0], rsi
mov rdx, qword [rax]
mov r12, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
lea r13, [r12 - 1]
test r13, r13
jl 0x558b2c
mov r15, qword [rdx + r12*8 - 8]
mov qword [rsp + 0x80], r15
shr r15, 1
mov rsi, qword [rsp + 0x80]
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
bsr rsi, r15
mov r15, 0xffffffffffffffff
cmove rsi, r15
mov r15, r13
shl r13, 6
inc rsi
add rsi, r13
mov r13, r15
mov r15, rsi
mov rsi, qword [rsp + 0xc0]
jmp 0x558b2f
xor r15d, r15d
add r15, 7
mov qword [rsp + 0x78], r15
sar r15, 0x3f
shr r15, 0x3d
mov rsi, qword [rsp + 0x78]
add rsi, r15
sar rsi, 3
cmp r9, rsi
jne 0x558c5b
test r11, r11
je 0x558b5f
mov rsi, qword [r11]
jmp 0x558b61
xor esi, esi
cmp rsi, 0xffffffffffffffff
jl 0x558c3d
mov qword [rsp + 0xe0], r11
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdi
test r13, r13
jl 0x558be8
mov rdx, qword [rdx + r12*8 - 8]
mov rsi, rdx
shr rdx, 1
or rdx, rsi
mov rsi, rdx
shr rdx, 2
or rdx, rsi
mov rsi, rdx
shr rdx, 4
or rdx, rsi
mov rsi, rdx
shr rdx, 8
or rdx, rsi
mov rsi, rdx
shr rdx, 0x10
or rdx, rsi
mov rsi, rdx
shr rdx, 0x20
or rdx, rsi
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
shl r13, 6
inc rdx
add rdx, r13
jmp 0x558bea
xor edx, edx
mov qword [rsp + 0x50], rdx
mov rbx, r8
mov rcx, r9
mov rdi, r10
call fcn.00559160
mov rdx, qword [rsp + 0x50]
lea rsi, [rdx + 6]
mov r8, rsi
sar rsi, 0x3f
shr rsi, 0x3d
add rsi, r8
test rdi, rdi
jne 0x558c1f
sar rsi, 3
jmp 0x558c92
mov rax, qword [0x008bd1b0]
mov rbx, qword [0x008bd1b8]
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
ret
mov rax, qword [0x008bd1f0]
mov rbx, qword [0x008bd1f8]
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
ret
mov rax, qword [0x008bd1b0]
mov rbx, qword [0x008bd1b8]
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
ret
dec rcx
mov rdi, rcx
neg rcx
sar rcx, 0x3f
and ecx, 1
add rax, rcx
dec rbx
mov rcx, rdi
cmp rbx, rsi
jle 0x558cce
test rbx, rbx
je 0x558cc1
cmp byte [rax], 0
nop
je 0x558c79
mov rax, qword [0x008bd1b0]
mov rbx, qword [0x008bd1b8]
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
nop
ret
mov rsi, qword [rsp + 0xe0]
test rsi, rsi
jmp 0x558cd9
mov rsi, qword [rsp + 0xe0]
test rsi, rsi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x88], rax
je 0x558cf2
mov rsi, qword [rsi]
jmp 0x558cf4
xor esi, esi
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x70]
nop
call fcn.004ebda0
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov r9, qword [rsp + 0x50]
dec r9
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
call fcn.005584e0
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
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.00463120
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.00558a60