Function at 0x1400fa180
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, rcx
mov r15, qword [r8]
mov r12, qword [r8 + 8]
cmp r12, 0x20
mov qword [rsp + 0x40], rdx
ja 0x1400fa28f
cmp r12, 0x10
jbe 0x1400fa23e
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r15]
mov rdx, qword [r15 + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r15 + r12 - 8]
movabs r8, 0xc3a5c85c97cb3127
imul r8, qword [r15 + r12 - 0x10]
movabs r9, 0xc949d7c7509e6557
xor r9, rdx
rol r9, 0x2c
add r9, rcx
add r9, r12
sub rcx, rdx
rol rcx, 0x15
sub r9, rax
rol rax, 0x22
add rax, r8
add rax, rcx
xor rax, r9
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r9, rax
shr rax, 0x2f
xor rax, r9
imul rax, rcx
mov rbx, rax
shr rbx, 0x2f
xor rbx, rax
jmp 0x1400fa359
cmp r12, 9
jb 0x1400fa592
mov rax, qword [r15 + r12 - 8]
lea rdx, [rax + r12]
mov ecx, r12d
ror rdx, cl
mov rcx, qword [r15]
xor rcx, rdx
movabs r8, 0x9ddfea08eb382d69
imul rcx, r8
xor rdx, rcx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, r8
mov rbx, rcx
shr rbx, 0x2f
xor rbx, rcx
imul rbx, r8
xor rbx, rax
jmp 0x1400fa35d
cmp r12, 0x40
ja 0x1400fa9ae
mov rcx, qword [r15 + 0x10]
mov r9, qword [r15 + 0x18]
mov r11, qword [r15 + r12 - 0x10]
lea rdx, [r11 + r12]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [r15]
lea r8, [rdx + r9]
rol r8, 0xc
mov rbx, rdx
rol rbx, 0x1b
add rdx, qword [r15 + 8]
mov r10, rdx
rol r10, 0x39
add rdx, rcx
add rcx, qword [r15 + r12 - 0x20]
mov rsi, qword [r15 + r12 - 8]
add rsi, r9
lea r14, [rsi + rcx]
rol r14, 0xc
mov r13, rcx
rol r13, 0x1b
add rcx, qword [r15 + r12 - 0x18]
add r10, rbx
mov rbx, rcx
rol rbx, 0x39
add rcx, r11
add rsi, rcx
rol rcx, 0x21
add r13, r9
add r13, rbx
add r13, r14
add r13, rcx
add r13, rdx
rol rdx, 0x21
add r10, r8
add rdx, r10
movabs rcx, 0x9ae16a3b2f90404f
imul r13, rcx
add rsi, rdx
imul rsi, rax
add rsi, r13
mov r8, rsi
shr r8, 0x2f
xor r8, rsi
imul r8, rax
add r8, rdx
mov rbx, r8
shr rbx, 0x2f
xor rbx, r8
imul rbx, rcx
mov rbp, qword [rdi + 8]
movabs rcx, 0x5555555555555555
movabs r9, 0x3333333333333333
movabs r8, 0xf0f0f0f0f0f0f0f
movabs rdx, 0x101010101010101
test rbp, rbp
je 0x1400fa577
mov rax, rbp
shr rax, 1
and rax, rcx
mov rcx, rbp
sub rcx, rax
mov rax, rcx
and rax, r9
shr rcx, 2
and rcx, r9
add rcx, rax
mov rsi, rcx
shr rsi, 4
add rsi, rcx
and rsi, r8
imul rsi, rdx
shr rsi, 0x38
cmp rsi, 1
jbe 0x1400fa586
mov r13, rbx
cmp rbx, rbp
jb 0x1400fa3e3
mov rax, rbx
xor edx, edx
div rbp
mov r13, rdx
mov rax, qword [rdi]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x1400fa42d
mov r14, qword [rax]
test r14, r14
je 0x1400fa42d
lea rcx, [rbp - 1]
mov rax, qword [r14 + 8]
cmp rax, rbx
je 0x1400fa41f
cmp esi, 1
jbe 0x1400fa56f
cmp rax, rbp
jb 0x1400fa41a
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x1400fa42d
cmp qword [r14 + 0x18], r12
je 0x1400fa485
mov r14, qword [r14]
test r14, r14
jne 0x1400fa3fb
mov ecx, 0x28
call fcn.140184dc4
mov r14, rax
add rax, 0x10
je 0x1400fac0e
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
xor eax, eax
mov qword [r14 + 0x20], rax
mov qword [r14 + 8], rbx
mov qword [r14], rax
mov rax, qword [rdi + 0x18]
inc rax
jns 0x1400fa4b3
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400fa4bb
mov qword [rsp + 0x28], rdi
mov rdi, rcx
mov rcx, qword [r14 + 0x10]
mov rdx, r15
mov r8, r12
call fcn.140189380
mov rcx, rdi
mov rdi, qword [rsp + 0x28]
test eax, eax
jne 0x1400fa425
xor ecx, ecx
jmp 0x1400fa553
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
jns 0x1400fa4d9
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1400fa4de
cvtsi2ss xmm1, rbp
movss xmm2, dword [rdi + 0x20]
je 0x1400fa649
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1400fa649
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
jne 0x1400fa544
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r14], rdx
mov qword [rdi + 0x10], r14
mov qword [rcx + r13*8], rax
mov rax, qword [r14]
test rax, rax
je 0x1400fa54d
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1400fa631
cmp rax, rbp
jb 0x1400fa53b
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
jmp 0x1400fa54a
mov rcx, qword [rax]
mov qword [r14], rcx
mov qword [rax], r14
inc qword [rdi + 0x18]
mov cl, 1
mov rax, qword [rsp + 0x40]
mov qword [rax], r14
mov byte [rax + 8], cl
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rcx
jmp 0x1400fa41a
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x1400fa42d
lea r13, [rbp - 1]
and r13, rbx
jmp 0x1400fa3e3
cmp r12, 4
jb 0x1400fa5d6
mov eax, dword [r15]
mov ecx, dword [r15 + r12 - 4]
lea rax, [r12 + rax*8]
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
xor rcx, rax
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
mov rbx, rax
shr rbx, 0x2f
xor rbx, rax
imul rbx, rdx
jmp 0x1400fa35d
movabs rbx, 0x9ae16a3b2f90404f
test r12, r12
je 0x1400fa35d
movzx eax, byte [r15]
mov rcx, r12
shr rcx, 1
movzx ecx, byte [r15 + rcx]
movzx edx, byte [r12 + r15 - 1]
shl rcx, 8
or rcx, rax
lea rax, [r12 + rdx*4]
imul rcx, rbx
movabs rdx, 0xc949d7c7509e6557
imul rdx, rax
xor rdx, rcx
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul rbx, rax
jmp 0x1400fa35d
and rax, rcx
jmp 0x1400fa53b
mov r12d, 2
jmp 0x1400fa6b6
mov r12d, 1
jmp 0x1400fa68d
divss xmm0, xmm2
call fcn.1401a3a9c
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x140261048]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
cmp rbp, 3
jb 0x1400fa641
lea rdx, [rbp - 1]
xor r12d, r12d
test rbp, rdx
setne r12b
or r12, rcx
cmp r12, rax
cmovbe r12, rax
cmp r12, 1
je 0x1400fa639
lea rax, [r12 - 1]
test r12, rax
je 0x1400fa6b6
mov rcx, r12
call fcn.140152ca0
mov r12, rax
mov rbp, qword [rdi + 8]
cmp r12, rbp
jbe 0x1400fa87f
mov r15, r12
mov rax, r15
shr rax, 0x3d
jne 0x1400fac11
lea rcx, [r15*8]
call fcn.140184dc4
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x1400fa6ec
call fcn.140184dbc
mov qword [rdi + 8], r15
lea r8, [r15 - 1]
mov eax, r15d
and eax, 3
cmp r8, 3
jb 0x1400fa736
mov rdx, r15
and rdx, 0xfffffffffffffffc
xor r9d, r9d
xor ecx, ecx
mov r10, qword [rdi]
mov qword [r10 + rcx*8], r9
mov r10, qword [rdi]
mov qword [r10 + rcx*8 + 8], r9
mov r10, qword [rdi]
mov qword [r10 + rcx*8 + 0x10], r9
mov r10, qword [rdi]
mov qword [r10 + rcx*8 + 0x18], r9
add rcx, 4
cmp rdx, rcx
jne 0x1400fa70c
jmp 0x1400fa738
xor ecx, ecx
test rax, rax
je 0x1400fa750
mov rdx, qword [rdi]
mov qword [rdx + rcx*8], 0
inc rcx
dec rax
jne 0x1400fa73d
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x1400fa844
lea r11, [rdi + 0x10]
mov rcx, qword [r9 + 8]
mov rax, r15
shr rax, 1
movabs rdx, 0x5555555555555555
and rax, rdx
mov rdx, r15
sub rdx, rax
mov rax, rdx
movabs r10, 0x3333333333333333
and rax, r10
shr rdx, 2
and rdx, r10
add rdx, rax
mov r10, rdx
shr r10, 4
add r10, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and r10, rax
movabs rax, 0x101010101010101
imul r10, rax
shr r10, 0x38
cmp r10, 1
jbe 0x1400fa877
cmp rcx, r15
jb 0x1400fa7db
mov rax, rcx
xor edx, edx
div r15
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r11
mov r11, qword [r9]
jmp 0x1400fa7f4
mov qword [rdx + rax*8], r9
mov r9, r11
mov r11, qword [r11]
mov rcx, rax
test r11, r11
je 0x1400fa844
mov rax, qword [r11 + 8]
cmp r10d, 1
jbe 0x1400fa872
cmp rax, r15
jb 0x1400fa810
xor edx, edx
div r15
mov rax, rdx
cmp rax, rcx
je 0x1400fa83f
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
je 0x1400fa7e7
mov rdx, qword [r11]
mov qword [r9], rdx
mov rdx, qword [rdi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r11], rdx
mov rdx, qword [rdi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r11
mov r11, r9
mov rax, rcx
jmp 0x1400fa7eb
mov rbp, qword [rdi + 8]
lea r13, [rbp - 1]
test rbp, r13
je 0x1400fa86a
cmp rbx, rbp
jb 0x1400fac14
mov rax, rbx
xor edx, edx
div rbp
mov r13, rdx
jmp 0x1400fa4f6
and r13, rbx
jmp 0x1400fa4f6
and rax, r8
jmp 0x1400fa810
and rcx, r8
jmp 0x1400fa7db
jae 0x1400fa844
mov rsi, rdi
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x1400fa8a7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400fa8af
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401a3a9c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140261048]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbp, 3
jb 0x1400fa963
mov rcx, rbp
shr rcx, 1
movabs rdx, 0x5555555555555555
and rcx, rdx
mov rdx, rbp
sub rdx, rcx
mov rcx, rdx
shr rcx, 2
movabs r8, 0x3333333333333333
and rdx, r8
and rcx, r8
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400fa963
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov r15d, 1
shl r15, cl
cmp rax, 2
cmovb r15, rax
jmp 0x1400fa96e
mov rcx, rax
call fcn.140152ca0
mov r15, rax
cmp r12, r15
cmova r15, r12
cmp r15, rbp
mov rdi, rsi
jae 0x1400fa844
test r15, r15
jne 0x1400fa6c2
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
je 0x1400fa99e
call fcn.140184dbc
mov rdi, rsi
mov qword [rsi + 8], 0
jmp 0x1400fa844
movabs rbp, 0xb492b66fbe98f273
movabs rbx, 0x9ddfea08eb382d69
mov r11, qword [r15 + r12 - 0x28]
mov rax, qword [r15 + r12 - 0x10]
mov rcx, qword [r15 + r12 - 0x38]
mov r8, qword [r15 + r12 - 0x30]
lea rdx, [rcx + rax]
mov r10, qword [r15 + r12 - 0x18]
lea rsi, [r8 + r12]
xor rsi, r10
imul rsi, rbx
mov r9, r10
xor r9, rsi
shr rsi, 0x2f
xor rsi, r9
imul rsi, rbx
mov r9, rsi
shr r9, 0x2f
xor r9, rsi
imul r9, rbx
mov rsi, qword [r15 + r12 - 0x40]
add rsi, r12
lea r14, [rsi + r11]
mov qword [rsp + 0x28], r9
add r14, r9
rol r14, 0x2b
add r8, rcx
add r8, rsi
mov rbx, r8
rol rbx, 0x14
add rbx, rsi
add rbx, r14
add r8, r11
mov rcx, qword [r15 + r12 - 0x20]
add rcx, rdx
mov rsi, qword [r15 + r12 - 8]
add rcx, rbp
lea r13, [rsi + r11]
add r13, rcx
rol r13, 0x2b
add r10, rax
add r10, rcx
mov r14, r10
rol r14, 0x14
add r14, rcx
add r14, r13
imul r11, rbp
add r11, qword [r15]
add r10, rsi
lea rax, [r12 - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov rcx, qword [rsp + 0x28]
add r11, r8
add r11, rdx
mov rax, qword [r15 + rbp + 8]
mov rsi, qword [r15 + rbp + 0x10]
add r11, rax
rol r11, 0x1b
add rdx, rbx
mov r9, qword [r15 + rbp + 0x30]
mov qword [rsp + 0x38], r9
add rdx, r9
rol rdx, 0x16
movabs r13, 0xb492b66fbe98f273
imul r11, r13
mov r9, rdx
imul r9, r13
xor r11, r14
mov r13, qword [r15 + rbp + 0x28]
add r8, r13
mov rdx, r8
add rdx, r9
add rcx, r10
movabs r8, 0xb492b66fbe98f273
imul rbx, r8
mov r9, qword [r15 + rbp + 0x18]
add rbx, qword [r15 + rbp]
add r10, r9
add r10, rbx
mov qword [rsp + 0x28], r11
add r10, r11
rol r10, 0x2b
add rax, rsi
add rax, rbx
mov r8, rax
rol r8, 0x14
add rbx, r8
add rbx, r10
rol rcx, 0x1f
mov r8, rax
mov r11, rcx
movabs rax, 0xb492b66fbe98f273
imul r11, rax
add r8, r9
add r14, r11
mov rax, qword [r15 + rbp + 0x38]
add r14, qword [r15 + rbp + 0x20]
add rsi, rax
add rsi, rdx
add rsi, r14
add r13, qword [rsp + 0x38]
add r13, r14
mov rcx, r13
rol rcx, 0x14
add r14, rcx
rol rsi, 0x2b
add r14, rsi
mov r10, r13
add r10, rax
add rbp, 0x40
cmp qword [rsp + 0x30], rbp
jne 0x1400faa7f
xor rbx, r14
movabs r9, 0x9ddfea08eb382d69
imul rbx, r9
xor r14, rbx
shr rbx, 0x2f
xor rbx, r14
imul rbx, r9
mov rax, rbx
shr rax, 0x2f
xor rax, rbx
imul rax, r9
add rax, r11
xor r8, r10
imul r8, r9
xor r10, r8
shr r8, 0x2f
xor r8, r10
imul r8, r9
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
imul rcx, r9
mov r8, rdx
shr r8, 0x2f
xor r8, rdx
movabs rdx, 0xb492b66fbe98f273
imul r8, rdx
add r8, qword [rsp + 0x28]
add r8, rcx
xor r8, rax
imul r8, r9
xor rax, r8
shr r8, 0x2f
xor r8, rax
imul r8, r9
mov rbx, r8
shr rbx, 0x2f
xor rbx, r8
imul rbx, r9
jmp 0x1400fa35d
int3
int3
mov r13, rbx
jmp 0x1400fa4f6