Function at 0x140001230
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, 0x30
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov dword [rsp + 0x24], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r13b
mov dword [rsp + 0x24], 1
mov edi, r13d
mov r8, qword [rdx + 0x10]
test r8, r8
je 0x140001448
lea r12, [0x14001ea10]
mov rax, r13
cmp rdi, r8
jae 0x1400012bc
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400012a8
mov rcx, qword [rsi]
movzx ecx, byte [rcx + rdi]
mov byte [rsp + rax + 0x20], cl
inc rdi
inc rax
cmp rax, 3
jl 0x140001296
movzx ebp, byte [rsp + 0x20]
movzx eax, bpl
shr al, 2
movzx ecx, al
and bpl, 3
shl bpl, 4
movzx r14d, byte [rsp + 0x21]
movzx eax, r14b
shr al, 4
or bpl, al
and r14b, 0xf
shl r14b, 2
movzx r15d, byte [rsp + 0x22]
movzx eax, r15b
shr al, 6
or r14b, al
and r15b, 0x3f
mov rax, r12
cmp qword [0x14001ea28], 0x10
cmovae rax, qword [0x14001ea10]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001343
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001338
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000134b
mov rcx, rbx
call fcn.140001ea0
mov rcx, r12
cmp qword [0x14001ea28], 0x10
cmovae rcx, qword [0x14001ea10]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001393
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001388
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000139b
mov rcx, rbx
call fcn.140001ea0
mov rcx, r12
cmp qword [0x14001ea28], 0x10
cmovae rcx, qword [0x14001ea10]
movzx eax, r14b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400013e3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400013d8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400013eb
mov rcx, rbx
call fcn.140001ea0
mov rcx, r12
cmp qword [0x14001ea28], 0x10
cmovae rcx, qword [0x14001ea10]
movzx eax, r15b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001433
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001428
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000143b
mov rcx, rbx
call fcn.140001ea0
mov r8, qword [rsi + 0x10]
cmp rdi, r8
jb 0x140001293
movabs rax, 0xaaaaaaaaaaaaaaab
mul r8
shr rdx, 1
lea rax, [rdx + rdx*2]
sub r8, rax
mov edi, 3
sub rdi, r8
je 0x1400014aa
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001499
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001491
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400014a4
mov r9b, 0x3d
mov rcx, rbx
call fcn.140001ea0
sub rdi, 1
jne 0x140001470
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret