Function at 0x140001910
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 [section..data]
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 [0x140004480]
xor eax, eax
movsd xmm1, qword [0x140004488]
comisd xmm0, xmm1
jb 0x1400019b1
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400019b1
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rdx, xmm0
add rdx, rax
cmp rdx, 0xf
jbe 0x1400019cb
mov rcx, rsi
call fcn.140002340
mov qword [rsi + 0x10], r14
cmp rbx, rdi
je 0x140001c46
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 0x140001a5f
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 0x140001a52
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001a44
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001b04
mov rcx, rsi
call fcn.140001e80
jmp 0x140001b04
cmp r15, 8
jne 0x140001a6d
mov eax, ebp
shr rax, 0xc
jmp 0x140001a1b
test r15, r15
jne 0x140001b04
cmp r12, 3
je 0x140001b04
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 0x140001abd
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001ab2
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001ac5
mov rcx, rsi
call fcn.140001e80
and r14d, 0x3f
movzx r9d, byte [r14 + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001afa
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001aef
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001b02
mov rcx, rsi
call fcn.140001e80
xor ebp, ebp
inc r12
inc rbx
cmp rbx, rdi
movabs rax, 0xaaaaaaaaaaaaaaab
jne 0x1400019f0
cmp r15, 0x10
jne 0x140001bca
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 0x140001b61
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001b56
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001b69
mov rcx, rsi
call fcn.140001e80
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001b92
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001b8a
mov rax, qword [rsi]
mov word [rax + rcx], 0x3d
jmp 0x140001b9d
mov r9b, 0x3d
mov rcx, rsi
call fcn.140001e80
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rax, rdx
jae 0x140001c3b
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
mov rcx, rsi
cmp rdx, 0xf
jbe 0x140001bc2
mov rcx, qword [rsi]
mov word [rcx + rax], 0x3d
jmp 0x140001c46
cmp r15, 8
jne 0x140001c46
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 0x140001c0a
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001bff
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001c12
mov rcx, rsi
call fcn.140001e80
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140001c3b
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140001c33
mov rax, qword [rsi]
mov word [rax + rcx], 0x3d
jmp 0x140001c46
mov r9b, 0x3d
mov rcx, rsi
call fcn.140001e80
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400024a0
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