Function at 0x6009a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
lea r15, [0x0081ef20]
lea r13, [rcx + 0x10]
mov qword [rcx + 8], 0
mov rbx, rcx
mov qword [rcx], r13
mov byte [rcx + 0x10], 0
mov rax, qword [rdx]
mov rcx, rdx
mov qword [rsp + 0xb8], rdx
mov r14, rax
add rax, qword [rcx + 8]
cmp r14, rax
je 0x600c20
nop dword [rax + rax]
sub rax, r14
cmp eax, 2
mov esi, eax
jg 0x600c40
movsxd rdx, eax
test eax, eax
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rcx, [r14 + rdx]
mov byte [rsp + 0x52], 0
jle 0x600d2c
movzx eax, byte [r14]
sub rdx, 1
mov byte [rsp + 0x50], al
lea rax, [r14 + 1]
mov r14, rcx
je 0x600a46
movzx ecx, byte [rax]
cmp rdx, 1
mov byte [rsp + 0x51], cl
je 0x600a46
movzx eax, byte [rax + 1]
mov byte [rsp + 0x52], al
movzx edx, byte [rsp + 0x50]
movzx eax, byte [rsp + 0x51]
mov ecx, edx
shl edx, 4
mov r8d, eax
and edx, 0x30
shl eax, 2
shr r8b, 4
and eax, 0x3c
shr cl, 2
or edx, r8d
mov byte [rsp + 0x3e], dl
movzx edx, byte [rsp + 0x52]
mov r8d, edx
and edx, 0x3f
shr r8b, 6
mov byte [rsp + 0x40], dl
or eax, r8d
mov byte [rsp + 0x3f], al
test esi, esi
js 0x600b9a
mov rax, qword [rbx]
and ecx, 0x3f
mov rdi, qword [rbx + 8]
movzx r12d, byte [r15 + rcx]
cmp r13, rax
lea rbp, [rdi + 1]
je 0x600cf6
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x600cd4
mov byte [rax + rdi], r12b
mov rax, qword [rbx]
test esi, esi
mov qword [rbx + 8], rbp
mov byte [rax + rdi + 1], 0
je 0x600d1e
movsx rax, byte [rsp + 0x3e]
mov rdi, qword [rbx + 8]
movzx r12d, byte [r15 + rax]
mov rax, qword [rbx]
lea rbp, [rdi + 1]
cmp r13, rax
je 0x600d00
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x600cb2
mov byte [rax + rdi], r12b
mov rax, qword [rbx]
cmp esi, 1
mov qword [rbx + 8], rbp
mov byte [rax + rdi + 1], 0
je 0x600d1e
movsx rax, byte [rsp + 0x3f]
mov rdi, qword [rbx + 8]
movzx r12d, byte [r15 + rax]
mov rax, qword [rbx]
lea rbp, [rdi + 1]
cmp r13, rax
je 0x600d14
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x600c90
mov byte [rax + rdi], r12b
mov rax, qword [rbx]
cmp esi, 2
mov qword [rbx + 8], rbp
mov byte [rax + rdi + 1], 0
je 0x600d1e
mov rax, qword [rsp + 0x40]
mov rdi, qword [rbx + 8]
and eax, 0x3f
movzx r12d, byte [r15 + rax]
lea rbp, [rdi + 1]
mov rax, qword [rbx]
cmp r13, rax
je 0x600d0a
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x600c64
mov byte [rax + rdi], r12b
mov rax, qword [rbx]
mov qword [rbx + 8], rbp
mov byte [rax + rdi + 1], 0
mov r12d, 3
sub r12d, esi
je 0x600c00
xor edi, edi
jmp 0x600bc8
mov byte [rax + rsi], 0x3d
mov rax, qword [rbx]
add edi, 1
cmp edi, r12d
mov qword [rbx + 8], rbp
mov byte [rax + rsi + 1], 0
jge 0x600c00
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
cmp r13, rax
lea rbp, [rsi + 1]
je 0x600c34
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
jbe 0x600bb0
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.0079cfe0
mov rax, qword [rbx]
jmp 0x600bb0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rax]
add rax, qword [rcx + 8]
cmp r14, rax
jne 0x6009f0
mov rax, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0xf
jmp 0x600bdc
movzx eax, byte [r14]
mov byte [rsp + 0x52], 0
mov edx, 2
mov esi, 3
mov byte [rsp + 0x50], al
lea rax, [r14 + 1]
add r14, 3
jmp 0x600a31
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.0079cfe0
mov rax, qword [rbx]
jmp 0x600b8a
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.0079cfe0
mov rax, qword [rbx]
jmp 0x600b43
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.0079cfe0
mov rax, qword [rbx]
jmp 0x600afe
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.0079cfe0
mov rax, qword [rbx]
jmp 0x600aba
mov edx, 0xf
jmp 0x600ab1
mov edx, 0xf
jmp 0x600af5
mov edx, 0xf
jmp 0x600b81
mov edx, 0xf
jmp 0x600b3a
mov r12d, 3
sub r12d, esi
jmp 0x600ba5
mov r14, rcx
mov byte [rsp + 0x40], 0
xor ecx, ecx
mov byte [rsp + 0x3f], 0
mov byte [rsp + 0x3e], 0
jmp 0x600a89