Function at 0x14009de00
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rbp
sub rsp, 0x88
mov rax, qword [0x1401ac580]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rdx
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x14009e144
mov rdx, qword [rcx + 0x10]
movzx eax, dl
and al, 3
cmp al, 1
je 0x14009e144
mov qword [r11 + 0x18], rsi
xorps xmm0, xmm0
xor esi, esi
mov qword [r11 - 0x18], rdi
cmp rbp, rcx
mov qword [r11 - 0x38], r15
movups xmmword [rsp + 0x38], xmm0
lea rdi, [r11 - 0x60]
mov qword [r11 - 0x50], rsi
cmovne rdi, rbp
mov qword [r11 - 0x48], 0xf
mov ecx, edx
mov byte [rsp + 0x38], sil
and ecx, 3
test rdx, rdx
je 0x14009dee3
cmp ecx, 1
je 0x14009dee3
lea rax, [rdx + 3]
shr rax, 2
lea r9, [rax + rax*2]
cmp ecx, 2
jae 0x14009decd
mov rax, rbx
test ecx, ecx
jne 0x14009dec7
cmp qword [rbx + 0x18], 0x10
jb 0x14009dea3
mov rax, qword [rbx]
cmp byte [rdx + rax - 1], 0x3d
mov rax, rbx
jne 0x14009dec7
cmp qword [rbx + 0x18], 0x10
lea r15, [rbx + 0x18]
mov qword [rsp + 0x28], r15
jb 0x14009dec0
mov rax, qword [rbx]
cmp byte [rdx + rax - 2], 0x3d
jmp 0x14009ded6
lea r15, [rax + 0x18]
jmp 0x14009deea
lea r15, [rbx + 0x18]
mov qword [rsp + 0x28], r15
je 0x14009dedd
dec r9
jmp 0x14009deef
add r9, 0xfffffffffffffffe
jmp 0x14009deea
mov r9, rsi
lea r15, [rbx + 0x18]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x78], r12
xor r8d, r8d
mov qword [rsp + 0x70], r13
mov rdx, r9
mov rcx, rdi
mov qword [rsp + 0x68], r14
call fcn.14008d830
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14009e0ac
mov r11, rsi
lea rbp, [0x1401545e0]
mov r14d, 3
nop dword [rax]
mov r8, qword [r15]
cmp r8, 0x10
jb 0x14009df43
mov rax, qword [rbx]
movzx r10d, byte [rsi + rax]
jmp 0x14009df4b
movzx r10d, byte [rsi + rbx]
mov rax, rbx
movsx r15, byte [rsi + rax + 1]
lea eax, [r14 - 1]
movsxd rcx, eax
cmp rcx, rdx
jae 0x14009df71
mov rax, rbx
cmp r8, 0x10
jb 0x14009df69
mov rax, qword [rbx]
movzx r9d, byte [rsi + rax + 2]
jmp 0x14009df74
mov r9b, 0x3d
movsxd rax, r14d
cmp rax, rdx
jae 0x14009df90
mov rax, rbx
cmp r8, 0x10
jb 0x14009df88
mov rax, qword [rbx]
movzx r8d, byte [rsi + rax + 3]
jmp 0x14009df93
mov r8b, 0x3d
movsx rax, r10b
movsx ecx, byte [rax + rbp]
test cl, cl
js 0x14009dfeb
movzx eax, byte [r15 + rbp]
mov byte [rsp + 0x20], al
test al, al
js 0x14009dfeb
movsx rax, r9b
movsx r13d, byte [rax + rbp]
test r13b, r13b
js 0x14009dfeb
movsx rax, r8b
movsx r12d, byte [rax + rbp]
test r12b, r12b
js 0x14009dfeb
lea eax, [r14 + 1]
movsxd rbp, eax
cmp r10b, 0x3d
je 0x14009dfeb
cmp r15b, 0x3d
je 0x14009dfeb
cmp r9b, 0x3d
jne 0x14009dff2
cmp rbp, rdx
jb 0x14009dfeb
cmp r8b, r9b
je 0x14009dffd
xor bl, bl
jmp 0x14009e0db
cmp r8b, 0x3d
jne 0x14009dffd
cmp rbp, rdx
jb 0x14009dfeb
movsx eax, byte [rsp + 0x20]
and ecx, 0x3f
shl ecx, 6
and eax, 0x3f
or ecx, eax
mov rdx, rdi
shl ecx, 6
mov eax, r13d
and eax, 0x3f
or ecx, eax
mov eax, r12d
and eax, 0x3f
shl ecx, 6
or ecx, eax
cmp qword [rdi + 0x18], 0x10
jb 0x14009e030
mov rdx, qword [rdi]
mov eax, ecx
shr eax, 0x10
mov byte [r11 + rdx], al
cmp r9b, 0x3d
je 0x14009e058
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14009e04c
mov rdx, qword [rdi]
mov eax, ecx
shr eax, 8
mov byte [r11 + rdx + 1], al
jmp 0x14009e060
test ecx, 0xff00
jne 0x14009dfeb
cmp r8b, 0x3d
je 0x14009e07a
cmp qword [rdi + 0x18], 0x10
mov rax, rdi
jb 0x14009e073
mov rax, qword [rdi]
mov byte [r11 + rax + 2], cl
jmp 0x14009e082
test cl, cl
jne 0x14009dfeb
mov rdx, qword [rbx + 0x10]
add r14d, 4
mov r15, qword [rsp + 0x28]
add rsi, 4
add r11, 3
cmp rbp, rdx
lea rbp, [0x1401545e0]
jb 0x14009df30
mov rbp, qword [rsp + 0x30]
cmp rbp, rbx
jne 0x14009e0d9
lea rax, [rsp + 0x38]
cmp rbp, rax
je 0x14009e0d9
cmp qword [rsp + 0x50], 0x10
lea rdx, [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, rbp
cmovae rdx, qword [rsp + 0x38]
call fcn.140018520
mov bl, 1
mov rdx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x14009e13f
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e13a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009e13a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7420
movzx eax, bl
jmp 0x14009e146
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e74c0
add rsp, 0x88
pop rbp
pop rbx
ret