Function at 0x140016968
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007a0b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13d, r8d
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x19], rcx
and dword [rbp - 0x31], 0
lea rdx, [0x140056110]
lea rcx, [rbp + 0xf]
call fcn.14000aec0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140016a1c
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016cb3
call fcn.140025f60
movdqa xmm0, xmmword [0x1400560d0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rbp - 0x31], 1
xor esi, esi
mov r15, qword [rbp - 0x11]
test r13d, r13d
je 0x140016c46
xor ecx, ecx
lea edi, [rsi + 3]
jmp 0x140016a5e
mov r14, qword [rbp - 0x29]
dec r13d
mov al, byte [r14]
mov byte [rbp + rcx - 0x39], al
inc esi
inc rcx
inc r14
mov qword [rbp - 0x29], r14
mov dl, byte [rbp - 0x37]
mov r14b, byte [rbp - 0x38]
mov r12b, byte [rbp - 0x39]
cmp rcx, rdi
jne 0x140016b26
mov al, r12b
shr al, 2
mov byte [rbp - 0x35], al
mov cl, r12b
and cl, dil
shl cl, 4
mov al, r14b
shr al, 4
add cl, al
mov byte [rbp - 0x34], cl
mov cl, r14b
and cl, 0xf
shl cl, 2
mov al, dl
shr al, 6
add cl, al
mov byte [rbp - 0x33], cl
mov al, dl
and al, 0x3f
mov byte [rbp - 0x32], al
xor esi, esi
mov rdi, qword [rbp + 7]
lea rcx, [rbp - 0x11]
cmp rdi, 0x10
cmovae rcx, r15
movzx eax, byte [rbp + rsi - 0x35]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140016b04
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016af9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140016b13
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001d7b8
inc rsi
cmp rsi, 4
jl 0x140016ac5
xor esi, esi
xor ecx, ecx
lea edi, [rsi + 3]
mov dl, byte [rbp - 0x37]
test r13d, r13d
jne 0x140016a5a
test esi, esi
je 0x140016c46
movsxd rax, esi
cmp rax, rdi
jge 0x140016b5d
jae 0x140016cb9
mov byte [rbp + rax - 0x39], 0
inc rax
cmp rax, rdi
jl 0x140016b3f
mov dl, byte [rbp - 0x37]
mov r14b, byte [rbp - 0x38]
mov r12b, byte [rbp - 0x39]
mov al, r12b
shr al, 2
mov byte [rbp - 0x35], al
and r12b, dil
shl r12b, 4
mov al, r14b
shr al, 4
add r12b, al
mov byte [rbp - 0x34], r12b
and r14b, 0xf
shl r14b, 2
mov al, dl
shr al, 6
add r14b, al
mov byte [rbp - 0x33], r14b
and dl, 0x3f
mov byte [rbp - 0x32], dl
lea eax, [rsi + 1]
movsxd r12, eax
test eax, eax
jle 0x140016c01
xor r14d, r14d
mov rdi, qword [rbp + 7]
lea rcx, [rbp - 0x11]
cmp rdi, 0x10
cmovae rcx, r15
movzx eax, byte [rbp + r14 - 0x35]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140016be5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016bda
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140016bf4
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001d7b8
inc r14
cmp r14, r12
jl 0x140016ba5
mov edi, 3
cmp esi, edi
jge 0x140016c46
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140016c2e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140016c26
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140016c40
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001d7b8
sub rdi, 1
jne 0x140016c07
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x140016c7d
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140016c75
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016cad
mov rcx, r15
call fcn.140025f60
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140026000
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002a434
nop
call fcn.14002a434
int3
call fcn.14002612c
int3