Function at 0x140006b40
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov dword [rax - 0x78], 0
movdqa xmm0, xmmword [0x14003f610]
movdqa xmmword [rax - 0x68], xmm0
movdqa xmm1, xmmword [0x14003f620]
movdqa xmmword [rax - 0x58], xmm1
movdqa xmm0, xmmword [0x14003f630]
movdqa xmmword [rax - 0x48], xmm0
movdqa xmm1, xmmword [str.wxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv]
movdqa xmmword [rax - 0x38], xmm1
mov qword [rcx], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], select
mov byte [rcx], 0
mov dword [rax - 0x78], 1
xor ebp, ebp
cmp rdx, r8
je 0x140006eaa
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rsp + rbp + 0xa8], al
inc rbp
movzx r15d, byte [rsp + 0xa9]
movzx r14d, byte [rsp + 0xa8]
cmp rbp, 3
jne 0x140006d24
mov eax, r14d
shr rax, 2
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006c32
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006c27
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006c3a
mov rcx, rsi
call fcn.140009f30
movzx ecx, r14b
and cl, 3
shl cl, 4
movzx eax, r15b
shr al, 4
add cl, al
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006c82
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006c77
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006c8a
mov rcx, rsi
call fcn.140009f30
movzx ecx, r15b
and cl, 0xf
shl cl, 2
movzx ebp, byte [rsp + 0xaa]
movzx eax, bpl
shr al, 6
add cl, al
movzx eax, cl
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006cda
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006ccf
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006ce2
mov rcx, rsi
call fcn.140009f30
mov rax, rbp
and eax, 0x3f
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006d1a
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006d0f
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006d22
mov rcx, rsi
call fcn.140009f30
xor ebp, ebp
inc rbx
cmp rbx, rdi
jne 0x140006bd0
test rbp, rbp
je 0x140006eaa
mov rax, r14
shr rax, 2
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006d72
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006d67
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006d7a
mov rcx, rsi
call fcn.140009f30
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
and r14b, 3
shl r14b, 4
cmp rbp, 1
jne 0x140006dd4
movzx eax, r14b
movzx r9d, byte [rsp + rax + 0x30]
cmp rcx, rdx
jae 0x140006dc4
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006db3
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
inc rbp
jmp 0x140006e63
mov rcx, rsi
call fcn.140009f30
inc rbp
jmp 0x140006e63
movzx eax, r15b
shr al, 4
add r14b, al
movzx eax, r14b
movzx r9d, byte [rsp + rax + 0x30]
cmp rcx, rdx
jae 0x140006e0c
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006e01
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006e14
mov rcx, rsi
call fcn.140009f30
and r15b, 0xf
shl r15b, 2
movzx eax, r15b
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006e52
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006e47
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006e5a
mov rcx, rsi
call fcn.140009f30
inc rbp
cmp rbp, 4
jae 0x140006eaa
mov ebx, 4
sub rbx, rbp
nop dword [rax + rax]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140006e99
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006e91
mov rax, qword [rsi]
mov word [rax + rcx], 0x3d
jmp 0x140006ea4
mov r9b, 0x3d
mov rcx, rsi
call fcn.140009f30
sub rbx, 1
jne 0x140006e70
mov rax, rsi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret