Function at 0x180001160
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, 0x30
mov r13, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov r15, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov dword [rsp + 0x20], 1
mov rcx, rbx
call fcn.180001468
test r13, r13
je 0x1800013f6
mov edi, r12d
lea ebp, [r12 + 2]
movzx eax, byte [rdi + r14]
shr rax, 2
mov r9b, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x180001216
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000120b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x18000121e
mov rcx, rbx
call fcn.180001788
lea eax, [rbp - 1]
mov esi, eax
cmp rsi, r13
jae 0x180001342
movzx ecx, byte [rdi + r14]
and ecx, 3
shl ecx, 4
movzx eax, byte [rax + r14]
shr eax, 4
add ecx, eax
mov r9b, byte [rcx + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x18000126f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180001264
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x180001277
mov rcx, rbx
call fcn.180001788
mov edi, ebp
cmp rdi, r13
jae 0x180001308
movzx ecx, byte [rsi + r14]
and ecx, 0xf
movzx eax, byte [rdi + r14]
shr eax, 6
lea eax, [rax + rcx*4]
mov r9b, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800012c3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800012b8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x1800012cb
mov rcx, rbx
call fcn.180001788
movzx eax, byte [rdi + r14]
and eax, 0x3f
mov r9b, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800013df
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800012fa
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x1800013e7
movzx eax, byte [rsi + r14]
and eax, 0xf
mov r9b, byte [r15 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800013ad
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180001337
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x1800013b5
movzx eax, byte [rdi + r14]
and eax, 3
add rax, rax
mov r9b, byte [r15 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x18000137b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180001370
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r12b
jmp 0x180001383
mov rcx, rbx
call fcn.180001788
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800013aa
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800013a2
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1800013b5
mov r9b, 0x3d
mov rcx, rbx
call fcn.180001788
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800013dc
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x1800013d4
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1800013e7
mov r9b, 0x3d
mov rcx, rbx
call fcn.180001788
add ebp, 3
lea edi, [rbp - 2]
cmp rdi, r13
jb 0x1800011df
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret