Function at 0x14006c344
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 0x14006c59e
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 0x14006c472
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, [0x14028baa0]
cmp qword [0x14028bab8], 0xf
cmova rcx, qword [0x14028baa0]
movzx eax, byte [rbp + rsi - 0x18]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14006c44d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006c443
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], dl
jmp 0x14006c460
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.140023830
xor edx, edx
inc rsi
cmp rsi, 4
jl 0x14006c404
mov esi, edx
mov rcx, rdx
mov r8, qword [rbp - 0x10]
test r12d, r12d
jne 0x14006c39d
test esi, esi
je 0x14006c59e
movsxd rax, esi
cmp rax, rdi
jge 0x14006c4a9
jae 0x14006c5bf
mov byte [rbp + rax - 0x1c], dl
inc rax
cmp rax, rdi
jl 0x14006c48b
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 0x14006c555
mov r14, rdx
lea rcx, [0x14028baa0]
cmp qword [0x14028bab8], 0xf
cmova rcx, qword [0x14028baa0]
movzx eax, byte [rbp + r14 - 0x18]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14006c53a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006c530
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], dl
jmp 0x14006c54d
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.140023830
xor edx, edx
inc r14
cmp r14, r15
jl 0x14006c4f0
cmp esi, edi
jge 0x14006c59e
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14006c582
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006c57a
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14006c598
mov r9b, 0x3d
mov r8b, byte [rbp - 0x20]
mov edx, 1
mov rcx, rbx
call fcn.140023830
xor edx, edx
sub rdi, 1
jne 0x14006c55b
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.1400a9aa0
int3