Function at 0x140001a90
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r12d, r14d
mov ebp, r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
mov rax, r8
sub rax, rdx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x140004528]
xor eax, eax
movsd xmm1, qword [0x140004530]
comisd xmm0, xmm1
jb 0x140001b31
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140001b31
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rdx, xmm0
add rdx, rax
cmp rdx, 0xf
jbe 0x140001b4b
mov rcx, rsi
call fcn.1400026a0
mov qword [rsi + 0x10], r14
cmp rbx, rdi
je 0x140001dc5
movabs rax, 0xaaaaaaaaaaaaaaab
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
mul r12
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rax, r12
lea r15, [rax*8 + 0x10]
movzx eax, byte [rbx]
mov rcx, r15
shl eax, cl
add ebp, eax
cmp r15, 0x10
jne 0x140001bdf
mov eax, ebp
shr rax, 0x12
and eax, 0x3f
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
cmp rcx, rdx
movzx r9d, byte [rax + r13]
jae 0x140001bd2
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001bc4
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001c84
mov rcx, rsi
call fcn.140002380
jmp 0x140001c84
cmp r15, 8
jne 0x140001bed
mov eax, ebp
shr rax, 0xc
jmp 0x140001b9b
test r15, r15
jne 0x140001c84
cmp r12, 3
je 0x140001c84
mov r14d, ebp
mov eax, ebp
shr rax, 6
and eax, 0x3f
movzx r9d, byte [rax + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001c3d
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001c32
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001c45
mov rcx, rsi
call fcn.140002380
and r14d, 0x3f
movzx r9d, byte [r14 + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001c7a
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001c6f
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001c82
mov rcx, rsi
call fcn.140002380
xor ebp, ebp
inc r12
inc rbx
cmp rbx, rdi
movabs rax, 0xaaaaaaaaaaaaaaab
jne 0x140001b70
cmp r15, 0x10
jne 0x140001d49
mov eax, ebp
shr rax, 0xc
and eax, 0x3f
movzx r9d, byte [rax + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001ce0
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, r15
jb 0x140001cd5
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001ce8
mov rcx, rsi
call fcn.140002380
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001d11
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001d09
mov rax, qword [rsi]
mov word [rax + rcx], 0x3d
jmp 0x140001d1c
mov r9b, 0x3d
mov rcx, rsi
call fcn.140002380
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rax, rdx
jae 0x140001dba
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
mov rcx, rsi
cmp rdx, 0x10
jb 0x140001d41
mov rcx, qword [rsi]
mov word [rcx + rax], 0x3d
jmp 0x140001dc5
cmp r15, 8
jne 0x140001dc5
mov eax, ebp
shr rax, 6
and eax, 0x3f
movzx r9d, byte [rax + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001d89
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001d7e
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001d91
mov rcx, rsi
call fcn.140002380
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001dba
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140001db2
mov rax, qword [rsi]
mov word [rax + rcx], 0x3d
jmp 0x140001dc5
mov r9b, 0x3d
mov rcx, rsi
call fcn.140002380
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002800
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret