Function at 0x1400034e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
cmp byte [rcx + r8 - 1], 0x3d
lea rax, [r8 - 1]
mov rsi, rdx
mov rbx, rcx
cmovne rax, r8
cmp byte [rax + rcx - 1], 0x3d
lea r10, [rax - 1]
cmovne r10, rax
mov rdi, r10
and edi, 3
test rdx, rdx
jne 0x14000357a
mov rax, r10
cmp r10, 0x4d
jb 0x14000353d
cmp byte [rcx + 0x4c], 0xa
jne 0x14000353d
movabs rax, 0x6a63bd81a98ef607
mul r10
mov rax, r10
shr rdx, 5
sub rax, rdx
mov rcx, rax
shr rax, 2
and ecx, 3
lea rax, [rax + rax*2]
cmp rcx, 2
jne 0x140003560
inc rax
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
cmp rcx, 3
jne 0x14000390c
add rax, 2
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
mov qword [rsp + 0x10], rbp
mov r9d, 0
mov eax, r9d
mov ebp, 0x3f
and r10, 0xfffffffffffffffc
jbe 0x140003734
lea r8, [rdx + 2]
nop dword [rax + rax]
cmp byte [rax + rbx], 0xa
lea r11, [rax + 1]
cmovne r11, rax
movzx edx, byte [r11 + rbx]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1400035e1
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1400035c4
add dl, 0xb9
jmp 0x1400035e4
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400035d0
add dl, 4
jmp 0x1400035e4
cmp dl, 0x2b
jne 0x1400035d9
mov dl, 0x3e
jmp 0x1400035e4
cmp dl, 0x2f
mov eax, edx
cmove eax, ebp
movzx edx, al
movzx ecx, byte [r11 + rbx + 1]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x14000361a
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400035fd
add cl, 0xb9
jmp 0x14000361d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140003609
add cl, 4
jmp 0x14000361d
cmp cl, 0x2b
jne 0x140003612
mov cl, 0x3e
jmp 0x14000361d
cmp cl, 0x2f
mov eax, ecx
cmove eax, ebp
movzx ecx, al
shr cl, 4
shl dl, 2
and cl, 3
or cl, dl
mov byte [r8 - 2], cl
movzx edx, byte [r11 + rbx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x140003662
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x140003645
add dl, 0xb9
jmp 0x140003665
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003651
add dl, 4
jmp 0x140003665
cmp dl, 0x2b
jne 0x14000365a
mov dl, 0x3e
jmp 0x140003665
cmp dl, 0x2f
mov eax, edx
cmove eax, ebp
movzx edx, al
movzx ecx, byte [r11 + rbx + 2]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x14000369b
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14000367e
add cl, 0xb9
jmp 0x14000369e
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000368a
add cl, 4
jmp 0x14000369e
cmp cl, 0x2b
jne 0x140003693
mov cl, 0x3e
jmp 0x14000369e
cmp cl, 0x2f
mov eax, ecx
cmove eax, ebp
movzx ecx, al
shl dl, 4
shr cl, 2
or cl, dl
mov byte [r8 - 1], cl
movzx edx, byte [r11 + rbx + 2]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1400036db
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1400036c3
add dl, 0xb9
jmp 0x1400036de
lea eax, [rdx - 0x30]
cmp al, 9
jbe 0x1400036de
cmp dl, 0x2b
jne 0x1400036d3
mov dl, 0x3e
jmp 0x1400036de
cmp dl, 0x2f
mov eax, edx
cmove eax, ebp
movzx edx, al
movzx ecx, byte [r11 + rbx + 3]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x140003714
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400036f7
add cl, 0xb9
jmp 0x140003717
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140003703
add cl, 4
jmp 0x140003717
cmp cl, 0x2b
jne 0x14000370c
mov cl, 0x3e
jmp 0x140003717
cmp cl, 0x2f
mov eax, ecx
cmove eax, ebp
movzx ecx, al
shl dl, 6
lea rax, [r11 + 4]
or dl, cl
add r9, 3
mov byte [r8], dl
add r8, 3
cmp rax, r10
jb 0x1400035a0
cmp rdi, 2
jne 0x1400037e6
movzx r8d, byte [rax + rbx]
lea rdx, [rax + rbx]
lea eax, [r8 - 0x41]
cmp al, 0x19
jbe 0x140003780
lea eax, [r8 - 0x61]
cmp al, 0x19
ja 0x14000375d
add r8b, 0xb9
jmp 0x140003784
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14000376b
add r8b, 4
jmp 0x140003784
cmp r8b, 0x2b
jne 0x140003776
mov r8b, 0x3e
jmp 0x140003784
cmp r8b, 0x2f
mov eax, r8d
cmove eax, ebp
movzx r8d, al
movzx edx, byte [rdx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
ja 0x140003794
movzx edx, al
jmp 0x1400037c0
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1400037a0
add dl, 0xb9
jmp 0x1400037c0
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400037ac
add dl, 4
jmp 0x1400037c0
cmp dl, 0x2b
jne 0x1400037b5
mov dl, 0x3e
jmp 0x1400037c0
cmp dl, 0x2f
mov ecx, edx
cmove ecx, ebp
movzx edx, cl
mov rbp, qword [rsp + 0x10]
lea rax, [r9 + 1]
shr dl, 4
and dl, 3
shl r8b, 2
or dl, r8b
mov byte [r9 + rsi], dl
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
cmp rdi, 3
jne 0x140003904
movzx edx, byte [rax + rbx]
lea r8, [rax + rbx]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x140003828
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14000380b
add dl, 0xb9
jmp 0x14000382b
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003817
add dl, 4
jmp 0x14000382b
cmp dl, 0x2b
jne 0x140003820
mov dl, 0x3e
jmp 0x14000382b
cmp dl, 0x2f
mov eax, edx
cmove eax, ebp
movzx edx, al
movzx ecx, byte [r8 + 1]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x140003860
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140003843
add cl, 0xb9
jmp 0x140003863
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000384f
add cl, 4
jmp 0x140003863
cmp cl, 0x2b
jne 0x140003858
mov cl, 0x3e
jmp 0x140003863
cmp cl, 0x2f
mov eax, ecx
cmove eax, ebp
movzx ecx, al
shr cl, 4
shl dl, 2
and cl, 3
or cl, dl
mov byte [r9 + rsi], cl
movzx edx, byte [r8 + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1400038a7
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14000388a
add dl, 0xb9
jmp 0x1400038aa
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003896
add dl, 4
jmp 0x1400038aa
cmp dl, 0x2b
jne 0x14000389f
mov dl, 0x3e
jmp 0x1400038aa
cmp dl, 0x2f
mov eax, edx
cmove eax, ebp
movzx edx, al
movzx ecx, byte [r8 + 2]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1400038df
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400038c2
add cl, 0xb9
jmp 0x1400038e2
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400038ce
add cl, 4
jmp 0x1400038e2
cmp cl, 0x2b
jne 0x1400038d7
mov cl, 0x3e
jmp 0x1400038e2
cmp cl, 0x2f
mov eax, ecx
cmove eax, ebp
movzx ecx, al
mov rbp, qword [rsp + 0x10]
lea rax, [r9 + 2]
shr cl, 2
shl dl, 4
or cl, dl
mov byte [r9 + rsi + 1], cl
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
mov rbp, qword [rsp + 0x10]
mov rax, r9
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret