Function at 0x140061710
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r12d, r9d
mov rbx, rdx
mov qword [rbp - 8], rdx
xor edx, edx
mov dword [rbp - 0x14], edx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dl
mov dword [rbp - 0x14], 1
mov esi, edx
test r9d, r9d
je 0x14006196a
mov ecx, edx
lea edi, [rdx + 3]
dec r12d
mov al, byte [r8]
inc r8
mov qword [rbp - 0x10], r8
mov byte [rbp + rcx - 0x1c], al
inc esi
inc rcx
mov r13b, byte [rbp - 0x1a]
mov r14b, byte [rbp - 0x1b]
mov r15b, byte [rbp - 0x1c]
cmp rcx, rdi
jne 0x14006183e
mov al, r15b
shr al, 2
mov byte [rbp - 0x18], al
mov cl, r15b
and cl, dil
shl cl, 4
mov al, r14b
shr al, 4
add cl, al
mov byte [rbp - 0x17], cl
mov cl, r14b
and cl, 0xf
shl cl, 2
mov al, r13b
shr al, 6
add cl, al
mov byte [rbp - 0x16], cl
mov al, r13b
and al, 0x3f
mov byte [rbp - 0x15], al
mov rsi, rdx
lea rcx, [0x14027c4f0]
cmp qword [0x14027c508], 0xf
cmova rcx, qword [0x14027c4f0]
movzx eax, byte [rbp + rsi - 0x18]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140061819
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006180f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], dl
jmp 0x14006182c
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.14001e26c
xor edx, edx
inc rsi
cmp rsi, 4
jl 0x1400617d0
mov esi, edx
mov rcx, rdx
mov r8, qword [rbp - 0x10]
test r12d, r12d
jne 0x140061769
test esi, esi
je 0x14006196a
movsxd rax, esi
cmp rax, rdi
jge 0x140061875
jae 0x14006198b
mov byte [rbp + rax - 0x1c], dl
inc rax
cmp rax, rdi
jl 0x140061857
mov r13b, byte [rbp - 0x1a]
mov r14b, byte [rbp - 0x1b]
mov r15b, byte [rbp - 0x1c]
mov al, r15b
shr al, 2
mov byte [rbp - 0x18], al
and r15b, dil
shl r15b, 4
mov al, r14b
shr al, 4
add r15b, al
mov byte [rbp - 0x17], r15b
and r14b, 0xf
shl r14b, 2
mov al, r13b
shr al, 6
add r14b, al
mov byte [rbp - 0x16], r14b
and r13b, 0x3f
mov byte [rbp - 0x15], r13b
lea eax, [rsi + 1]
movsxd r15, eax
test eax, eax
jle 0x140061921
mov r14, rdx
lea rcx, [0x14027c4f0]
cmp qword [0x14027c508], 0xf
cmova rcx, qword [0x14027c4f0]
movzx eax, byte [rbp + r14 - 0x18]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140061906
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400618fc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], dl
jmp 0x140061919
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.14001e26c
xor edx, edx
inc r14
cmp r14, r15
jl 0x1400618bc
cmp esi, edi
jge 0x14006196a
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14006194e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140061946
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140061964
mov r9b, 0x3d
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.14001e26c
xor edx, edx
sub rdi, 1
jne 0x140061927
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14009ec00
int3