Function at 0x1400313f0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea r9, [r8 + 2]
mov r14, rdx
xor r13d, r13d
movabs rax, 0xaaaaaaaaaaaaaaab
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov rbp, r8
mul r9
mov qword [rcx + 0x18], 0xf
mov rbx, rcx
shr rdx, 1
shl rdx, 2
mov byte [rcx], r13b
cmp rdx, 0xf
jbe 0x14003145f
call fcn.140001c98
mov qword [rbx + 0x10], r13
test rbp, rbp
je 0x1400316cb
mov rdi, r13
mov r15d, 2
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
shr rax, 2
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x1400314a8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x14003149d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400314ba
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
lea eax, [r15 - 1]
mov esi, eax
cmp rsi, rbp
jae 0x1400315f7
movzx ecx, byte [rdi + r14]
movzx eax, byte [rax + r14]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov r9b, byte [rcx + r12]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14003150c
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031501
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003151e
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
mov edi, r15d
cmp rdi, rbp
jae 0x1400315ba
movzx ecx, byte [rsi + r14]
movzx eax, byte [rdi + r14]
and ecx, 0xf
shr eax, 6
lea eax, [rax + rcx*4]
mov rcx, qword [rbx + 0x10]
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x14003156b
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031560
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003157d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x1400316a8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400315ac
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400316ba
movzx eax, byte [rsi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0xf
mov r9b, byte [r12 + rax*4]
cmp rcx, qword [rbx + 0x18]
jae 0x14003166c
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400315e9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003167e
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 3
add rax, rax
mov r9b, byte [r12 + rax*8]
cmp rcx, qword [rbx + 0x18]
jae 0x140031630
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031625
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031642
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140031669
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031661
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14003167e
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400316a5
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x14003169d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400316ba
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001918
add r15d, 3
lea edi, [r15 - 2]
cmp rdi, rbp
jb 0x140031471
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret