Function at 0x14010ec80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r13d, dword [rsp + 0xc0]
xor r12d, r12d
mov edi, edx
mov dword [rsp + 0xc0], r12d
test r8, r8
mov rbp, rcx
lea ecx, [rdx + 2]
mov ebx, r12d
sete bl
mov rsi, r9
mov eax, 0xaaaaaaab
mov dword [rsp + 0xa8], ebx
mul ecx
mov eax, r12d
mov r11d, r12d
shr edx, 1
mov r10d, r12d
shl edx, 2
mov r9d, r12d
mov r15d, r12d
lea ecx, [rdx + 0x3f]
shr ecx, 6
cmp r13d, 2
cmovne eax, ecx
add edx, eax
mov dword [rsp + 0x40], edx
test rsi, rsi
je 0x14010f070
mov r14d, dword [rsi]
cmp edx, r14d
jbe 0x14010ed10
test r8, r8
jne 0x14010f070
cmp edi, 2
jbe 0x14010edae
mov edx, ebx
nop dword [rax + rax]
mov eax, r9d
inc r9d
movzx ecx, byte [rax + rbp]
movzx esi, byte [r9 + rbp]
movzx ebx, cl
movzx eax, sil
inc r9d
shr al, 4
and bl, 3
and sil, 0xf
shl bl, 4
or bl, al
shl sil, 2
movzx ebp, byte [r9 + rbp]
inc r9d
movzx eax, bpl
mov dword [rsp + 0xb0], r9d
shr al, 6
lea r9d, [r10 + 1]
or sil, al
and bpl, 0x3f
mov eax, ecx
lea rcx, [0x1401cd2f0]
shr rax, 2
movzx ecx, byte [rax + rcx]
cmp r9d, r14d
jbe 0x14010edde
test rdx, rdx
jne 0x14010edea
mov r11d, 0xffffff7c
mov rbp, qword [rsp + 0xa0]
mov r9d, dword [rsp + 0xb0]
mov ebx, dword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov eax, r11d
test edi, edi
je 0x14010efec
test eax, eax
jne 0x14010f026
mov eax, r9d
movzx ebx, byte [rax + rbp]
cmp edi, 2
jne 0x14010eef6
lea eax, [r9 + 1]
movzx esi, byte [rax + rbp]
jmp 0x14010eef9
test rdx, rdx
jne 0x14010edea
mov eax, r10d
mov byte [rax + r8], cl
lea rcx, [0x1401cd2f0]
movzx eax, bl
mov r10d, r9d
mov dword [rsp + 0xc0], r9d
movzx ebx, byte [rax + rcx]
lea ecx, [r9 + 1]
cmp ecx, r14d
jbe 0x14010ee17
test rdx, rdx
je 0x14010ed89
jmp 0x14010ee20
test rdx, rdx
jne 0x14010ee20
mov byte [r9 + r8], bl
movzx eax, sil
lea r9d, [rcx + 1]
mov dword [rsp + 0xc0], ecx
lea rsi, [0x1401cd2f0]
mov r10d, ecx
movzx ebx, byte [rax + rsi]
cmp r9d, r14d
jbe 0x14010ee4d
test rdx, rdx
je 0x14010ed89
jmp 0x14010ee56
test rdx, rdx
jne 0x14010ee56
mov byte [rcx + r8], bl
movzx eax, bpl
lea ecx, [r9 + 1]
mov dword [rsp + 0xc0], r9d
mov r10d, r9d
movzx ebx, byte [rax + rsi]
cmp ecx, r14d
jbe 0x14010ee7d
test rdx, rdx
je 0x14010ed89
jmp 0x14010ee86
test rdx, rdx
jne 0x14010ee86
mov byte [r9 + r8], bl
add edi, 0xfffffffd
mov dword [rsp + 0xc0], ecx
mov r10d, ecx
cmp r13d, 2
je 0x14010eed8
inc r15d
test r15b, 0xf
jne 0x14010eed8
test edi, edi
je 0x14010ed8f
lea r9d, [rcx + 1]
cmp r9d, r14d
jbe 0x14010eec3
test rdx, rdx
jne 0x14010eecd
mov r11d, 0xffffff7c
jmp 0x14010f026
test rdx, rdx
jne 0x14010eecd
mov byte [rcx + r8], 0xa
mov r10d, r9d
mov dword [rsp + 0xc0], r9d
mov r9d, dword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa0]
cmp edi, 2
jbe 0x14010ed9f
jmp 0x14010ed20
xor sil, sil
mov r15d, dword [rsp + 0xa8]
lea r9, [rsp + 0xc0]
movzx edx, bl
mov dword [rsp + 0x30], r15d
movzx ebp, sil
shr dl, 2
and bpl, 0xf
mov dword [rsp + 0x28], r12d
mov ecx, r13d
shl bpl, 2
mov dword [rsp + 0x20], r14d
call fcn.14010f090
mov r11d, eax
test eax, eax
jne 0x14010f01e
and bl, 3
shr sil, 4
mov dword [rsp + 0x30], r15d
lea r9, [rsp + 0xc0]
shl bl, 4
mov ecx, r13d
or bl, sil
mov dword [rsp + 0x28], r12d
mov rsi, qword [rsp + 0xb8]
movzx edx, bl
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
call fcn.14010f090
mov r11d, eax
test eax, eax
jne 0x14010f01e
mov ecx, dword [rsi]
lea r9, [rsp + 0xc0]
movzx eax, bpl
cmp edi, 2
mov edx, 0x3d
mov ebx, r15d
cmove edx, eax
mov dword [rsp + 0x30], ebx
mov eax, r12d
setne al
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov ecx, r13d
call fcn.14010f090
mov r11d, eax
test eax, eax
jne 0x14010f01e
mov eax, dword [rsi]
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x30], ebx
mov dl, 0x3d
mov dword [rsp + 0x28], 1
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.14010f090
mov r10d, dword [rsp + 0xc0]
mov r11d, eax
test r11d, r11d
jne 0x14010f026
cmp r13d, 2
je 0x14010f026
mov eax, dword [rsi]
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x30], ebx
mov dl, 0xa
mov dword [rsp + 0x28], 1
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.14010f090
mov r11d, eax
mov r10d, dword [rsp + 0xc0]
cmp r10d, dword [rsp + 0x40]
je 0x14010f039
test r11d, r11d
jne 0x14010f039
mov eax, 0xffffff66
jmp 0x14010f075
mov rax, qword [rsp + 0xb8]
test r8, r8
je 0x14010f052
cmp dword [rax], r10d
jbe 0x14010f052
mov ecx, r10d
mov byte [rcx + r8], r12b
mov dword [rax], r10d
test r11d, r11d
jne 0x14010f06b
mov eax, 0xffffff36
test r8, r8
cmove r12d, eax
mov eax, r12d
jmp 0x14010f075
mov eax, r11d
jmp 0x14010f075
mov eax, 0xffffff53
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret