Function at 0x180010a00
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea eax, [rcx - 0xa]
mov r15, r8
mov dword [rsp + 0xa0], eax
mov r14, rdx
mov ebx, dword [rsp + 0xa0]
cmp ecx, eax
jbe case.0x180010a95.19
mov r12d, dword [rsp + 0xa0]
lea r9d, [rcx - 0x6d]
mov ebp, dword [rsp + 0xa0]
lea rdx, [0x180000000]
mov r13d, dword [rsp + 0xa0]
movabs r8, 0xaaaaaaaaaaaaaaab
mov dword [rsp + 0xb8], r9d
mov ecx, eax
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb8]
nop dword [rax]
cmp r9d, 0x14
ja case.default.0x180010a95
mov ecx, dword [rdx + r9*4 + 0x10e1c]
add rcx, rdx
jmp rcx
mov ecx, dword [r15]
cmp ecx, 9
jbe 0x180010b0c
nop
mov r8, qword [r14 + 0x18]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
mov rdx, qword [r14 + 0x10]
add eax, eax
sub ecx, eax
cmp rdx, r8
jae 0x180010adc
lea rax, [rdx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x180010ad2
mov rax, qword [r14]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x180010aef
xor r8d, r8d
movzx r9d, cl
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180001dc0
mov eax, 0xcccccccd
mul dword [r15]
mov ecx, edx
shr ecx, 3
mov dword [r15], ecx
cmp ecx, 9
ja 0x180010aa0
mov r9d, dword [rsp + 0xb8]
mov rdx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
cmp rdx, r8
jae 0x180010b7e
lea rax, [rdx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x180010b2d
mov rax, qword [r14]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
movabs r8, 0xaaaaaaaaaaaaaaab
lea rdx, [0x180000000]
mov ecx, dword [rsp + 0xa0]
dec r9d
mov dword [rsp + 0xb8], r9d
lea eax, [r9 + 0x6d]
cmp eax, ecx
ja 0x180010a80
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
movzx r9d, cl
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180001dc0
mov r9d, dword [rsp + 0xb8]
jmp 0x180010b35
mov eax, dword [r15]
lea r9, [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea ecx, [rdx + 0x78]
call fcn.18001f630
mov ecx, dword [r14]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], ecx
xor r8d, r8d
mov ecx, 0xe5
mov qword [rsp + 0x20], 0
mov r9, qword [rax + 0x10]
call fcn.180021670
mov r9d, dword [rsp + 0xb8]
mov rbx, rax
jmp 0x180010b35
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x180010b3f
lea rcx, [rdx - 1]
mov rax, r8
mul rcx
shr rdx, 1
inc rdx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x40], rax
nop dword [rax + rax]
mov r8d, 0x37
mov eax, r8d
sub eax, 0x37
je 0x180010c65
sub eax, 0x46
je 0x180010c3e
cmp eax, 0x46
jne 0x180010c9d
add rsi, 3
jmp 0x180010c9d
movzx ecx, byte [rsi + 1]
movzx eax, byte [rsi + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180083308]
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rsi + 2]
and ecx, 0x3f
jmp 0x180010c8b
mov rax, qword [0x180083308]
movzx ecx, byte [rsi]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rsi]
movzx eax, byte [rsi + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [0x180083308]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
add rdi, 2
add r8d, 0x46
cmp r8d, 0x109
jb 0x180010c26
sub rdx, 1
jne 0x180010c20
jmp 0x180010b35
mov rax, r8
mul qword [r15 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x48], rax
jmp 0x180010b3f
mov rdx, qword [rsp + 0x50]
xor r8d, r8d
mov rcx, r14
call fcn.180031b10
cmp qword [r15 + 0x18], 0x10
mov rsi, r15
jb 0x180010cf2
mov rsi, qword [r15]
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb 0x180010cff
mov rdi, qword [r14]
mov r9d, dword [rsp + 0xb8]
jmp 0x180010b35
mov r9, qword [rsp + 0x40]
cmp r9, qword [r15 + 0x10]
jae 0x180010e0d
mov r8d, 0xdb
mov eax, r8d
sub eax, 0xd8
je 0x180010dc8
sub eax, 1
je 0x180010d5f
sub eax, 1
je 0x180010d5a
cmp eax, 1
jne 0x180010dce
movzx r12d, byte [rsi]
lea rax, [r9 + 1]
cmp rax, qword [r15 + 0x10]
jae 0x180010d56
movzx ebp, byte [rsi + 1]
jmp 0x180010dce
xor ebp, ebp
jmp 0x180010dce
xor r13d, r13d
jmp 0x180010dce
mov rax, qword [0x180083308]
mov ecx, r12d
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov eax, ebp
mov byte [rdi], cl
mov ecx, r12d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x180083308]
movzx ecx, byte [rcx + rax]
lea rax, [r9 + 1]
mov byte [rdi + 1], cl
cmp rax, qword [r15 + 0x10]
jae 0x180010dbd
mov ecx, ebp
mov eax, r13d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180083308]
movzx edx, byte [rcx + rax]
mov byte [rdi + 2], dl
add rdi, 3
jmp 0x180010dce
mov dl, 0x3d
mov byte [rdi + 2], dl
add rdi, 3
jmp 0x180010dce
mov byte [rdi], 0x3d
inc rdi
dec r8d
cmp r8d, 0xd7
ja 0x180010d21
mov r9d, dword [rsp + 0xb8]
jmp 0x180010b35
mov rcx, qword [r15 + 0x10]
mov rax, r8
add rcx, 2
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0x50], rax
jmp 0x180010b3f
mov r9d, dword [rsp + 0xb8]
jmp case.0x180010a95.1