Function at 0x180016000
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x28]
lea eax, [rdx + 7]
mov dword [rsp + 0x78], eax
mov r14, r9
mov r12, rcx
cmp edx, eax
jae case.0x180016076.9
mov rdi, qword [rsp + 0x28]
lea r13d, [rdx - 0xa]
mov r9, qword [rsp + 0x28]
movabs r10, 0xaaaaaaaaaaaaaaab
mov esi, dword [rsp + 0x78]
mov ecx, eax
mov r15d, dword [rsp + 0x78]
mov ebp, dword [rsp + 0x78]
lea rdx, [0x180000000]
cmp r13d, 9
ja case.default.0x180016076
mov ecx, dword [rdx + r13*4 + 0x16344]
add rcx, rdx
jmp rcx
mov rcx, qword [r14 + 0x10]
mov rax, r10
add rcx, 2
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0x28], rax
jmp case.0x180016076.4
movss xmm1, dword [r8 + 4]
mov rbx, r14
movss xmm0, dword [r12 + 4]
mulss xmm1, dword [r12]
mulss xmm0, dword [r8]
subss xmm1, xmm0
movss dword [r14 + 8], xmm1
jmp case.0x180016076.4
mov r11, qword [rsp + 0x20]
xor r10d, r10d
test r11, r11
je 0x1800161a1
lea rcx, [r11 - 1]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
inc rdx
lea r10, [rdx + rdx*2]
mov r8d, StrCmpNCA
mov eax, r8d
sub eax, 0x95
je 0x18001612a
sub eax, 0x10
je 0x180016110
cmp eax, 0x10
jne 0x180016186
add r9, 3
jmp 0x180016186
movzx ecx, byte [r9 + 2]
mov rax, qword [0x180054eb8]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
jmp 0x180016186
mov rax, qword [0x180054eb8]
movzx ecx, byte [r9]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [r9]
movzx eax, byte [r9 + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [0x180054eb8]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
movzx ecx, byte [r9 + 1]
movzx eax, byte [r9 + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180054eb8]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 2], cl
add rdi, 3
add r8d, 0x10
cmp r8d, 0xc5
jb 0x1800160f6
sub rdx, 1
jne 0x1800160f0
cmp r10, qword [r14 + 0x10]
jae 0x180016306
mov edx, 0x3b
cmp edx, 0x3b
je 0x180016263
cmp edx, 0xefb
je 0x180016217
cmp edx, 0x1dbb
je 0x1800161e0
cmp edx, 0x2c7b
jne 0x180016267
mov byte [rdi], 0x3d
inc rdi
jmp 0x180016267
lea rax, [r10 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x18001620c
mov ecx, esi
mov eax, r15d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180054eb8]
movzx r8d, byte [rcx + rax]
mov byte [rdi], r8b
inc rdi
jmp 0x180016267
mov r8b, 0x3d
mov byte [rdi], r8b
inc rdi
jmp 0x180016267
lea rax, [r10 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x180016228
movzx esi, byte [r9 + 1]
jmp 0x18001622a
xor esi, esi
mov rax, qword [0x180054eb8]
xor r15d, r15d
mov ecx, ebp
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov eax, esi
mov byte [rdi], cl
mov ecx, ebp
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x180054eb8]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
add rdi, 2
jmp 0x180016267
movzx ebp, byte [r9]
add edx, 0xec0
cmp edx, 0x3b00
jbe 0x1800161b0
jmp 0x180016306
movss xmm0, dword [r8 + 4]
mulss xmm0, dword [r12 + 8]
movss xmm1, dword [r12 + 4]
mulss xmm1, dword [r8 + 8]
subss xmm1, xmm0
movss dword [r14], xmm1
movss xmm2, dword [r12 + 8]
movss xmm0, dword [r12]
mulss xmm2, dword [r8]
mulss xmm0, dword [r8 + 8]
subss xmm2, xmm0
movss dword [r14 + 4], xmm2
jmp case.0x180016076.4
cmp qword [r12 + 0x18], 0x10
mov rdi, r12
jb 0x1800162d4
mov rdi, qword [r12]
mov rax, r10
mul qword [r14 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x20], rax
jmp case.0x180016076.4
mov rdx, qword [rsp + 0x28]
xor r8d, r8d
mov rcx, r12
call fcn.1800279a0
cmp qword [r14 + 0x18], 0x10
mov r9, r14
jb 0x180016306
mov r9, qword [r14]
movabs r10, 0xaaaaaaaaaaaaaaab
mov ecx, dword [rsp + 0x78]
inc r13d
lea eax, [r13 + 0xa]
cmp eax, ecx
jae case.0x180016076.9
mov r8, qword [rsp + 0x80]
jmp 0x18001605a
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret