Function at 0x1400ef330
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r10, rdx
xor r11d, r11d
mov esi, 0
sub rdx, 0x1a
cmovb rdx, r11
jbe 0x1400ef5ff
mov r11d, 0x20
xor esi, esi
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word cs:[rax + rax]
lea rax, [rsi + 0x1a]
cmp rax, r10
ja 0x1400ef89f
test r11, r11
je 0x1400ef8b3
cmp r11, r9
ja 0x1400ef8ca
mov rax, qword [rcx + rsi]
bswap rax
mov rbx, rax
shr rbx, 0x3a
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x20], bl
mov rbx, rax
shr rbx, 0x34
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1f], bl
mov rbx, rax
shr rbx, 0x2e
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1e], bl
mov rbx, rax
shr rbx, 0x28
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1d], bl
mov rbx, rax
shr rbx, 0x22
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1c], bl
mov rbx, rax
shr rbx, 0x1c
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1b], bl
mov ebx, eax
shr ebx, 0x16
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x1a], bl
shr eax, 0x10
and eax, 0x3f
movzx ebx, byte [rax + rdi]
mov rax, qword [rcx + rsi + 6]
bswap rax
mov byte [r8 + r11 - 0x19], bl
mov rbx, rax
shr rbx, 0x3a
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x18], bl
mov rbx, rax
shr rbx, 0x34
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x17], bl
mov rbx, rax
shr rbx, 0x2e
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x16], bl
mov rbx, rax
shr rbx, 0x28
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x15], bl
mov rbx, rax
shr rbx, 0x22
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x14], bl
mov rbx, rax
shr rbx, 0x1c
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x13], bl
mov ebx, eax
shr ebx, 0x16
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x12], bl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r8 + r11 - 0x11], al
mov rax, qword [rcx + rsi + 0xc]
bswap rax
mov rbx, rax
shr rbx, 0x3a
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0x10], bl
mov rbx, rax
shr rbx, 0x34
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xf], bl
mov rbx, rax
shr rbx, 0x2e
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xe], bl
mov rbx, rax
shr rbx, 0x28
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xd], bl
mov rbx, rax
shr rbx, 0x22
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xc], bl
mov rbx, rax
shr rbx, 0x1c
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xb], bl
mov ebx, eax
shr ebx, 0x16
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 0xa], bl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r8 + r11 - 9], al
mov rax, qword [rcx + rsi + 0x12]
bswap rax
mov rbx, rax
shr rbx, 0x3a
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 8], bl
mov rbx, rax
shr rbx, 0x34
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 7], bl
mov rbx, rax
shr rbx, 0x2e
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 6], bl
mov rbx, rax
shr rbx, 0x28
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 5], bl
mov rbx, rax
shr rbx, 0x22
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 4], bl
mov rbx, rax
shr rbx, 0x1c
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 3], bl
mov ebx, eax
shr ebx, 0x16
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + r11 - 2], bl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r8 + r11 - 1], al
add rsi, 0x18
add r11, 0x20
cmp rsi, rdx
jbe 0x1400ef370
add r11, 0xffffffffffffffe0
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, r10
mul rdx
shr rdx, 1
lea rax, [rdx + rdx*2]
cmp rsi, rax
jae 0x1400ef765
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word cs:[rax + rax]
lea rdi, [rsi + 3]
cmp rsi, 0xfffffffffffffffc
ja 0x1400ef8de
cmp rdi, r10
ja 0x1400ef8f2
lea rdx, [r11 + 4]
cmp r11, 0xfffffffffffffffb
ja 0x1400ef906
cmp rdx, r9
ja 0x1400ef917
movzx ebp, byte [rcx + rsi]
mov r14d, ebp
shr r14d, 2
movzx r14d, byte [r14 + rbx]
mov byte [r8 + r11], r14b
movzx r14d, byte [rcx + rsi + 1]
shl bpl, 4
mov r15d, r14d
shr r15b, 4
or r15b, bpl
movzx r15d, r15b
and r15d, 0x3f
movzx ebp, byte [r15 + rbx]
mov byte [r8 + r11 + 1], bpl
movzx esi, byte [rcx + rsi + 2]
shl r14b, 2
mov ebp, esi
shr bpl, 6
or bpl, r14b
movzx r14d, bpl
and r14d, 0x3f
movzx ebp, byte [r14 + rbx]
mov byte [r8 + r11 + 2], bpl
and esi, 0x3f
movzx esi, byte [rsi + rbx]
mov byte [r8 + r11 + 3], sil
mov rsi, rdi
mov r11, rdx
cmp rdi, rax
jb 0x1400ef630
mov r11, r10
sub r11, rax
cmp r11, 1
je 0x1400ef778
cmp r11, 2
jne 0x1400ef7d0
cmp rdx, r9
jae 0x1400ef838
movzx edi, byte [rcx + rax]
mov ebx, edi
shr ebx, 2
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx ebx, byte [rbx + rsi]
mov byte [r8 + rdx], bl
inc rax
cmp rax, r10
jae 0x1400ef855
lea r10, [rdx + 1]
cmp r10, r9
jae 0x1400ef87a
movzx eax, byte [rcx + rax]
mov ecx, eax
shr cl, 4
shl dil, 4
or dil, cl
movzx ecx, dil
and ecx, 0x3f
movzx ecx, byte [rcx + rsi]
mov byte [r8 + rdx + 1], cl
lea rcx, [rdx + 2]
cmp rcx, r9
jae 0x1400ef88e
shl al, 2
and al, 0x3c
mov r10d, 3
jmp 0x1400ef7b2
mov rdx, r11
mov r11, r10
sub r11, rax
cmp r11, 1
jne 0x1400ef6e7
cmp rdx, r9
jae 0x1400ef841
movzx eax, byte [rcx + rax]
mov ecx, eax
shr ecx, 2
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx ecx, byte [rcx + r10]
mov byte [r8 + rdx], cl
lea rcx, [rdx + 1]
cmp rcx, r9
jae 0x1400ef869
shl al, 4
and al, 0x30
mov r10d, 2
movzx eax, al
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rax + rsi]
mov byte [r8 + rcx], al
add rdx, r10
cmp rdx, r9
ja 0x1400ef945
xor eax, eax
test r11, r11
je 0x1400ef80e
xor r11, 3
je 0x1400ef80e
sub r9, rdx
je 0x1400ef824
mov byte [r8 + rdx], 0x3d
cmp r11, 1
je 0x1400ef80b
cmp r9, 1
je 0x1400ef824
mov byte [r8 + rdx + 1], 0x3d
cmp r11, 2
je 0x1400ef80b
cmp r9, 2
je 0x1400ef824
mov byte [r8 + rdx + 2], 0x3d
mov rax, r11
add rdx, rax
jb 0x1400ef92b
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, [0x140319398]
mov rcx, r9
mov rdx, r9
call fcn.140136ed0
ud2
lea r8, [0x1403192a8]
jmp 0x1400ef848
lea r8, [0x140319308]
mov rcx, rdx
mov rdx, r9
call fcn.140136ed0
ud2
lea r8, [0x1403192c0]
mov rcx, rax
mov rdx, r10
call fcn.140136ed0
ud2
lea r8, [0x140319320]
mov rdx, r9
call fcn.140136ed0
ud2
lea r8, [0x1403192d8]
mov rcx, r10
mov rdx, r9
call fcn.140136ed0
ud2
lea r8, [0x1403192f0]
mov rdx, r9
call fcn.140136ed0
ud2
lea r8, [0x140319368]
mov rcx, rax
mov rdx, r10
call fcn.140137b60
ud2
lea r8, [0x140319380]
mov rcx, 0xffffffffffffffe0
xor edx, edx
call fcn.14013aeb0
ud2
lea r8, [0x140319380]
mov rcx, r11
mov rdx, r9
call fcn.140137b60
ud2
lea r8, [0x140319338]
mov rcx, rsi
mov rdx, rdi
call fcn.14013aeb0
ud2
lea r8, [0x140319338]
mov rcx, rdi
mov rdx, r10
call fcn.140137b60
ud2
lea r8, [0x140319350]
mov rcx, r11
call fcn.14013aeb0
ud2
lea r8, [0x140319350]
mov rcx, rdx
mov rdx, r9
call fcn.140137b60
ud2
lea rcx, str.usize_overflow_when_calculating_b64_length
lea r8, [0x140319290]
mov edx, 0x2a
call fcn.14013ddc0
ud2
lea r8, [0x140319248]
mov rcx, rdx
mov rdx, r9
call fcn.140136e60
ud2