Function at 0x14007ea30
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
lea eax, [rdx + 0x3f]
mov r10d, edx
shr eax, 6
xor esi, esi
sub r10d, eax
xor r11d, r11d
inc r10d
mov r13, r9
mov r12, r8
mov ebx, edx
lea eax, [r10 + r10*2]
shr eax, 2
cmp eax, dword [r9]
ja 0x14007ee6b
cmp edx, 3
jbe 0x14007ee53
movzx edx, byte [r11 + rcx]
movabs rdi, 0x100002400
cmp dl, 0x20
ja 0x14007eade
bt rdi, rdx
jae 0x14007eade
inc r11d
sub ebx, 1
je 0x14007eab6
cmp dl, 0x20
jne 0x14007eab6
movzx edx, byte [r11 + rcx]
inc r11d
add ebx, 0xffffffff
jne 0x14007eaa4
cmp dl, 0xd
jne 0x14007eacd
test ebx, ebx
je 0x14007ee45
movzx edx, byte [r11 + rcx]
inc r11d
dec ebx
cmp dl, 0xa
jne 0x14007ee45
test ebx, ebx
je 0x14007ee53
movzx r10d, byte [r11 + rcx]
lea edx, [r11 + 1]
test r10b, r10b
je 0x14007ee53
lea r8d, [rbx - 1]
test r8d, r8d
je 0x14007ee4c
movzx r9d, byte [rdx + rcx]
cmp r9b, 0x20
ja 0x14007eb55
bt rdi, r9
jae 0x14007eb55
inc edx
sub r8d, 1
je 0x14007eb29
cmp r9b, 0x20
jne 0x14007eb29
movzx r9d, byte [rdx + rcx]
inc edx
add r8d, 0xffffffff
jne 0x14007eb16
cmp r9b, 0xd
jne 0x14007eb42
test r8d, r8d
je 0x14007ee45
movzx r9d, byte [rdx + rcx]
inc edx
dec r8d
cmp r9b, 0xa
jne 0x14007ee45
test r8d, r8d
je 0x14007ee4c
movzx ebp, byte [rdx + rcx]
inc edx
sub r8d, 1
je 0x14007ee4c
movzx r9d, byte [rdx + rcx]
cmp r9b, 0x20
ja 0x14007ebbf
bt rdi, r9
jae 0x14007ebbf
inc edx
sub r8d, 1
je 0x14007eb93
nop
cmp r9b, 0x20
jne 0x14007eb93
movzx r9d, byte [rdx + rcx]
inc edx
add r8d, 0xffffffff
jne 0x14007eb80
cmp r9b, 0xd
jne 0x14007ebac
test r8d, r8d
je 0x14007ee45
movzx r9d, byte [rdx + rcx]
inc edx
dec r8d
cmp r9b, 0xa
jne 0x14007ee45
test r8d, r8d
je 0x14007ee4c
movzx r14d, byte [rdx + rcx]
lea ebx, [r8 - 1]
lea r11d, [rdx + 1]
test ebx, ebx
je 0x14007ee4c
movzx edx, byte [r11 + rcx]
cmp dl, 0x20
ja 0x14007ec2a
bt rdi, rdx
jae 0x14007ec2a
inc r11d
sub ebx, 1
je 0x14007ec02
nop dword [rax]
cmp dl, 0x20
jne 0x14007ec02
movzx edx, byte [r11 + rcx]
inc r11d
add ebx, 0xffffffff
jne 0x14007ebf0
cmp dl, 0xd
jne 0x14007ec19
test ebx, ebx
je 0x14007ee45
movzx edx, byte [r11 + rcx]
inc r11d
dec ebx
cmp dl, 0xa
jne 0x14007ee45
test ebx, ebx
je 0x14007ee4c
movzx edi, byte [r11 + rcx]
inc r11d
dec ebx
cmp r14b, 0x3d
jne 0x14007ec43
cmp dil, r14b
jne 0x14007ee45
cmp r10b, 0x2b
jb 0x14007ee45
cmp bpl, 0x2b
jb 0x14007ee45
cmp r14b, 0x2b
jb 0x14007ee45
cmp dil, 0x2b
jb 0x14007ee45
cmp r10b, 0x7a
ja 0x14007ee45
cmp bpl, 0x7a
ja 0x14007ee45
cmp r14b, 0x7a
ja 0x14007ee45
cmp dil, 0x7a
ja 0x14007ee45
xor eax, eax
cmp r14b, 0x3d
setne al
xor edx, edx
inc eax
cmp dil, 0x3d
setne dl
add eax, esi
add edx, eax
cmp edx, dword [r13]
ja 0x14007ee6b
sub bpl, 0x2b
sub r10b, 0x2b
movzx r8d, r10b
mov r9d, 0x3f
sub r9b, r10b
mov edx, r8d
shr r9b, 7
lea r10, [0x1400fc6c0]
dec r9b
and edx, 0xf
or rdx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx r15d, byte [rdx + r10]
and r15b, al
movzx eax, byte [r8 + r10]
and al, r9b
movzx r8d, bpl
or r15b, al
mov edx, r8d
and edx, 0xf
and r8d, 0x3f
or rdx, 0x40
mov r9d, 0x3f
sub r9b, bpl
shr r9b, 7
dec r9b
movzx ebp, byte [rdx + r10]
movzx eax, r9b
not al
and bpl, al
movzx eax, byte [r8 + r10]
and al, r9b
or bpl, al
cmp r14b, 0x3d
jne 0x14007ed45
xor r10b, r10b
jmp 0x14007ed8b
lea eax, [r14 - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov edx, r8d
shr r9b, 7
dec r9b
and edx, 0xf
or rdx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx r10d, byte [rdx + r10]
and r10b, al
lea rax, [0x1400fc6c0]
movzx eax, byte [r8 + rax]
and al, r9b
or r10b, al
cmp dil, 0x3d
jne 0x14007ed95
xor dl, dl
jmp 0x14007ede4
lea eax, [rdi - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov edx, r8d
shr r9b, 7
and edx, 0xf
lea r12, [0x1400fc6c0]
or rdx, 0x40
dec r9b
movzx eax, r9b
and r8d, 0x3f
not al
movzx edx, byte [rdx + r12]
mov r12, qword [rsp + 0x40]
and dl, al
lea rax, [0x1400fc6c0]
movzx eax, byte [r8 + rax]
and al, r9b
or dl, al
cmp r15b, 0xff
je 0x14007ee45
cmp bpl, 0xff
je 0x14007ee45
cmp r10b, 0xff
je 0x14007ee45
cmp dl, 0xff
je 0x14007ee45
shl r15b, 2
movzx r8d, r10b
shl r8b, 6
or r8b, dl
movzx edx, bpl
shr dl, 4
or dl, r15b
mov byte [rsi + r12], dl
inc esi
cmp r14b, 0x3d
je 0x14007ee31
shr r10b, 2
shl bpl, 4
or r10b, bpl
mov byte [rsi + r12], r10b
inc esi
cmp dil, 0x3d
je 0x14007ee53
mov byte [rsi + r12], r8b
inc esi
cmp ebx, 3
jmp 0x14007ea7c
mov eax, 0xffffff66
jmp 0x14007ee70
mov eax, 0xffffff7c
jmp 0x14007ee70
test r12, r12
je 0x14007ee63
cmp dword [r13], esi
jbe 0x14007ee63
mov byte [rsi + r12], 0
mov dword [r13], esi
xor eax, eax
jmp 0x14007ee70
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret