Function at 0x7ff876eecad0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x24], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
mov dword [rsp + 0x24], 1
mov esi, edi
test r8, r8
je 0x7ff876eece71
mov ecx, edi
dec rbp
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov byte [rsp + rcx + 0x88], al
inc esi
inc rcx
movzx edx, byte [rsp + 0x8a]
movzx r15d, byte [rsp + 0x89]
movzx r12d, byte [rsp + 0x88]
cmp rcx, 3
jne 0x7ff876eecd1b
movzx eax, r12b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x20], cl
movzx esi, r12b
and sil, 3
shl sil, 4
movzx eax, r15b
shr al, 4
add sil, al
movzx r13d, r15b
and r13b, 0xf
shl r13b, 2
movzx eax, dl
shr al, 6
add r13b, al
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x80], al
lea rax, [0x7ff876f981e8]
cmp qword [0x7ff876f98200], 0xf
cmova rax, qword [0x7ff876f981e8]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eecbea
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eecbdf
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff876eecbf9
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
lea rcx, [0x7ff876f981e8]
cmp qword [0x7ff876f98200], 0xf
cmova rcx, qword [0x7ff876f981e8]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eecc45
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eecc3a
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff876eecc54
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
lea rcx, [0x7ff876f981e8]
cmp qword [0x7ff876f98200], 0xf
cmova rcx, qword [0x7ff876f981e8]
movzx eax, r13b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eecca0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eecc95
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff876eeccaf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
lea rcx, [0x7ff876f981e8]
cmp qword [0x7ff876f98200], 0xf
cmova rcx, qword [0x7ff876f981e8]
movzx eax, byte [rsp + 0x80]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eeccff
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eeccf4
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff876eecd0e
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x8a]
test rbp, rbp
jne 0x7ff876eecb22
test esi, esi
je 0x7ff876eece71
mov r14d, 3
cmp esi, r14d
jge 0x7ff876eecd6e
mov eax, r14d
sub eax, esi
movsxd r8, eax
movsxd rax, esi
lea rcx, [rsp + 0x88]
add rcx, rax
xor edx, edx
call fcn.7ff876f43bb0
movzx edx, byte [rsp + 0x8a]
movzx r15d, byte [rsp + 0x89]
movzx r12d, byte [rsp + 0x88]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x20], al
and r12b, r14b
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x21], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, dl
shr al, 6
add r15b, al
mov byte [rsp + 0x22], r15b
and dl, 0x3f
mov byte [rsp + 0x23], dl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x7ff876eece20
lea r15, [0x7ff876f981e8]
nop dword [rax]
mov rcx, r15
cmp qword [0x7ff876f98200], 0xf
cmova rcx, qword [0x7ff876f981e8]
movzx eax, byte [rsp + rdi + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eece09
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eecdfe
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff876eece18
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
inc rdi
cmp rdi, rbp
jl 0x7ff876eecdc0
cmp esi, r14d
jge 0x7ff876eece71
sub r14d, esi
movsxd rdi, r14d
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff876eece59
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff876eece51
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x7ff876eece6b
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.7ff876ef2a60
sub rdi, 1
jne 0x7ff876eece30
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