Function at 0x14001345a
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r9, rdx
movabs r10, 0x111715d5d15b6644
movabs r11, 0x111715d575e49c42
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul rdx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub r8, rax
mov qword [rsp + 0x20], r8
lea rsi, [r11 + 0x82935a1]
lea rdi, [r11 + 0xb09f925]
lea rbx, [r11 - 0x324f14b6]
lea rax, [r11 - 0x3acfe177]
mov qword [rsp + 8], rax
lea rax, [r10 + 0x1eeeaa91]
mov qword [rsp + 0x10], rax
lea r15, [r11 - 0x28e5002]
lea r13, [r10 + 0x6b67885]
lea rbp, [r11 + 0xa42bade]
lea r8, [r11 + 0x21d0a989]
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov qword [rsp + 0x18], rcx
mov rax, rcx
mov r12, rsi
cmp r12, rdi
jge 0x14001352a
cmp r12, r11
jge 0x140013550
cmp r12, rbx
jge 0x14001356e
cmp r12, qword [rsp + 8]
jne 0x1400134fb
mov rcx, rdx
mov rdx, qword [rsp]
cmp rdx, 2
mov rdx, rcx
mov r12, rdi
cmovl r12, qword [rsp + 0x10]
jmp 0x1400134fb
cmp r12, r10
jae 0x14001355f
cmp r12, r8
jae 0x14001358b
cmp r12, rdi
jne 0x1400134fb
mov rcx, rdx
mov rdx, qword [rsp]
cmp rdx, 2
mov rdx, rcx
mov r12, r15
cmove r12, rbp
jmp 0x1400134fb
cmp r12, rsi
jae 0x1400135a9
cmp r12, r11
jne 0x1400134fb
jmp 0x1400136f1
cmp r12, r13
jae 0x1400135c7
cmp r12, r10
jne 0x1400134fb
jmp 0x140013689
cmp r12, r15
jae 0x1400135df
cmp r12, rbx
jne 0x1400134fb
cmp qword [rsp], 0
mov r12, qword [rsp + 8]
cmovle r12, r13
jmp 0x1400134fb
mov rcx, rdx
lea rdx, [r11 + 0x2aaf4333]
cmp r12, rdx
jae 0x1400135e8
cmp r12, r8
cmove r12, rdx
mov rdx, rcx
jmp 0x1400134fb
cmp r12, rbp
jae 0x140013602
cmp r12, rsi
jne 0x1400134fb
sub rdx, 1
mov r12, r10
cmovb r12, r8
jmp 0x1400134fb
cmp r12, qword [rsp + 0x10]
jae 0x14001364d
cmp r12, r13
jne 0x1400134fb
cmp qword [rsp], 0
mov r12, r15
cmove r12, r11
jmp 0x1400134fb
mov rdx, rcx
jne 0x1400134fb
mov rcx, qword [rsp + 0x20]
mov qword [rsp], rcx
mov r12, rbx
jmp 0x1400134fb
jne 0x1400134fb
mov rcx, rdx
movzx edx, byte [r9]
shr edx, 2
mov dl, byte [rdx + r14]
mov byte [rax], dl
movzx edx, byte [r9]
shl edx, 4
and edx, 0x30
movzx r12d, byte [r9 + 1]
shr r12d, 4
or r12d, edx
mov dl, byte [r12 + r14]
mov byte [rax + 1], dl
movzx edx, byte [r9 + 1]
and edx, 0xf
mov dl, byte [r14 + rdx*4]
mov byte [rax + 2], dl
mov rdx, rcx
mov byte [rax + 3], 0x3d
jmp 0x14001367d
jne 0x1400134fb
mov rcx, rdx
movzx edx, byte [r9]
shr edx, 2
mov dl, byte [rdx + r14]
mov byte [rax], dl
movzx edx, byte [r9]
shl edx, 4
and edx, 0x30
mov dl, byte [rdx + r14]
mov byte [rax + 1], dl
mov rdx, rcx
mov word [rax + 2], 0x3d3d
add rax, 4
mov r12, r11
jmp 0x1400134fb
mov rcx, rdx
movzx edx, byte [r9]
shr edx, 2
mov dl, byte [rdx + r14]
mov byte [rax], dl
movzx edx, byte [r9]
shl edx, 4
and edx, 0x30
movzx r12d, byte [r9 + 1]
shr r12d, 4
or r12d, edx
mov dl, byte [r12 + r14]
mov byte [rax + 1], dl
movzx edx, byte [r9 + 2]
shr edx, 6
movzx r12d, byte [r9 + 1]
and r12d, 0xf
lea edx, [rdx + r12*4]
mov dl, byte [rdx + r14]
mov byte [rax + 2], dl
movzx edx, byte [r9 + 2]
and edx, 0x3f
mov dl, byte [rdx + r14]
mov byte [rax + 3], dl
mov rdx, rcx
add rax, 4
add r9, 3
jmp 0x1400134f8
sub rax, qword [rsp + 0x18]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret