Function at 0x14008fe90
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, 0x78
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [rcx + 0x18]
inc rbx
cmp byte [r8 + 0x17], 0
js 0x14008fed7
mov rax, qword [r8 + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x14008fee8
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
lea rcx, [rsp + 0x50]
call fcn.140090a56
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x68], rbx
movzx r13d, byte [rsp + 0x67]
mov r14d, r13d
and r14d, 0x7f
test r13b, r13b
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x50]
mov r15, r8
cmovs r15, r9
cmovs r14, qword [rsp + 0x58]
cmp r14, 0x20
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r13
jbe 0x14009001f
cmp r14, 0x40
ja 0x140090503
movabs rax, 0xc3a5c85c97cb3127
test r13b, r13b
jns 0x1400907cd
lea r10, [r9 + 0x18]
movabs rcx, 0x9ae16a3b2f90404f
mov rsi, qword [r15 + r14 - 0x10]
lea rdx, [rsi + r14]
imul rdx, rax
add rdx, qword [r15]
mov r11, qword [r10]
lea rbx, [rdx + r11]
rol rbx, 0xc
mov r12, rdx
rol r12, 0x1b
test r13b, r13b
jns 0x1400907d7
lea r10, [r9 + 8]
add rdx, qword [r10]
mov r10, rdx
rol r10, 0x39
test r13b, r13b
cmovs r8, r9
mov r9, qword [r8 + 0x10]
add rdx, r9
mov r13, rdx
rol r13, 0x21
add r10, r12
add r9, qword [r15 + r14 - 0x20]
mov r8, qword [r15 + r14 - 8]
add r8, r11
lea r12, [r8 + r9]
rol r12, 0xc
add r10, rbx
mov rbx, r9
rol rbx, 0x1b
add r10, r13
add r9, qword [r15 + r14 - 0x18]
mov r13, r9
rol r13, 0x39
add r9, rsi
add r8, r9
rol r9, 0x21
add rbx, r11
add rbx, r13
add rbx, r12
add rbx, r9
add rbx, rdx
imul rbx, rcx
add r8, r10
imul r8, rax
add r8, rbx
mov rdx, r8
shr rdx, 0x2f
xor rdx, r8
imul rdx, rax
add rdx, r10
mov rbx, rdx
shr rbx, 0x2f
xor rbx, rdx
imul rbx, rcx
jmp 0x140090075
cmp r14, 0x10
ja 0x14009087f
cmp r14, 9
jb 0x1400907e1
mov rax, qword [r15 + r14 - 8]
lea rdx, [rax + r14]
mov ecx, r14d
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
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x14009028d
movabs r13, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.14010cc14
test rax, rax
mov r15, qword [rsp + 0x20]
je 0x1400907ca
mov r12, rax
mov qword [rax], 0
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x60]
mov qword [r12 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r12 + 0x10], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [r12 + 0x28], r15
mov rax, qword [rdi + 0x18]
inc rax
jns 0x140090100
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140090108
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rsi
shr rcx, 1
mov eax, esi
and eax, 1
or rax, rcx
test rsi, rsi
jns 0x14009012d
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
jne 0x140090139
jmp 0x140090146
cvtsi2ss xmm1, rsi
movss xmm2, dword [rdi + 0x20]
je 0x140090146
mulss xmm1, xmm2
ucomiss xmm0, xmm1
jbe 0x1400901fc
divss xmm0, xmm2
call fcn.14012cc00
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402a301c]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rsi + rsi]
mov r14d, 1
cmp rsi, 3
jae 0x1400907b7
or r14, rcx
cmp r14, rax
cmovbe r14, rax
cmp r14, 1
jne 0x140090781
mov r14d, 2
cmp rsi, 2
jae 0x14009091a
lea rcx, [r14*8]
call fcn.14010cc14
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x1400904f9
mov qword [rdi + 8], r14
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp r14, rax
jne 0x1400901c8
mov r8, qword [rdi + 0x10]
test r8, r8
jne 0x1400903fd
mov rsi, qword [rdi + 8]
lea r13, [rsi - 1]
test rsi, r13
jne 0x140090763
and r13, rbx
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
mov rbx, qword [rsp + 0x30]
jne 0x1400903f4
lea rdx, [rdi + 0x10]
mov rax, qword [rdi + 0x10]
mov qword [r12], rax
mov qword [rdi + 0x10], r12
mov qword [rcx + r13*8], rdx
test rax, rax
jne 0x1400903c7
inc qword [rdi + 0x18]
xor ebp, ebp
movzx eax, byte [rsp + 0x67]
test al, al
js 0x14009026c
test bpl, bpl
jne 0x140090265
mov qword [rbx], r15
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [r12 + 0x28]
jmp 0x140090242
mov rcx, qword [rsp + 0x50]
call fcn.14010cc0c
jmp 0x14009023d
mov r13, rbx
cmp rbx, rsi
jb 0x1400902f6
mov rax, rbx
xor edx, edx
div rsi
mov r13, rdx
jmp 0x1400902f6
mov rax, rsi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rsi
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rcx, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
ja 0x140090278
lea r13, [rsi - 1]
and r13, rbx
mov rax, qword [rdi]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x14009008c
mov r12, qword [rax]
test r12, r12
je 0x14009008c
lea rax, [rsi - 1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rcx
mov rax, qword [r12 + 8]
cmp rax, rbx
jne 0x140090374
movzx ecx, byte [r12 + 0x27]
mov eax, ecx
and eax, 0x7f
test cl, cl
mov r8, qword [r12 + 0x18]
mov rdx, rax
cmovs rdx, r8
cmp rdx, r14
jne 0x14009038f
test cl, cl
jns 0x1400903a9
mov rcx, qword [r12 + 0x10]
mov rdx, r15
call fcn.140111520
mov bpl, 1
test eax, eax
jne 0x14009038f
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
jmp 0x140090239
cmp ecx, 1
jbe 0x1400903a2
cmp rax, rsi
jb 0x140090386
xor edx, edx
div rsi
mov rax, rdx
cmp rax, r13
jne 0x14009008c
mov r12, qword [r12]
test r12, r12
mov rcx, qword [rsp + 0x28]
jne 0x140090320
jmp 0x14009008c
and rax, qword [rsp + 0x38]
jmp 0x140090386
mov bpl, 1
test al, al
je 0x140090360
xor ecx, ecx
mov dl, byte [r12 + rcx + 0x10]
cmp dl, byte [r15 + rcx]
jne 0x14009038f
inc rcx
cmp rax, rcx
jne 0x1400903b2
jmp 0x140090360
mov rax, qword [rax + 8]
lea rcx, [rsi - 1]
test rsi, rcx
je 0x140090a3a
cmp rax, rsi
jb 0x1400903e5
xor edx, edx
div rsi
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r12
jmp 0x14009022e
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x1400903ec
lea r10, [rdi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, r14
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r14
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140090a4a
cmp rcx, r14
jb 0x14009047b
mov rax, rcx
xor edx, edx
div r14
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
mov r15, qword [rsp + 0x20]
jne 0x1400904aa
jmp 0x1400901e8
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400901e8
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x140090a2e
cmp rax, r14
jb 0x1400904c5
xor edx, edx
div r14
mov rax, rdx
cmp rax, rcx
je 0x1400904f4
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
je 0x140090494
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rdi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rdi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x140090498
call fcn.14010cc0c
jmp 0x1400901c2
movabs rbp, 0xb492b66fbe98f273
movabs rbx, 0x9ddfea08eb382d69
mov r11, qword [r15 + r14 - 0x28]
mov r8, qword [r15 + r14 - 0x10]
mov r9, qword [r15 + r14 - 0x38]
mov rax, qword [r15 + r14 - 0x30]
lea rcx, [r9 + r8]
mov r10, qword [r15 + r14 - 0x18]
lea rsi, [rax + r14]
xor rsi, r10
imul rsi, rbx
mov rdx, r10
xor rdx, rsi
shr rsi, 0x2f
xor rsi, rdx
imul rsi, rbx
mov rdx, rsi
shr rdx, 0x2f
xor rdx, rsi
imul rdx, rbx
mov rbx, qword [r15 + r14 - 0x40]
add rbx, r14
lea r12, [rbx + r11]
mov qword [rsp + 0x28], rdx
add r12, rdx
rol r12, 0x2b
add rax, r9
add rax, rbx
mov rsi, rax
rol rsi, 0x14
add rsi, rbx
add rsi, r12
add rax, r11
mov r9, qword [r15 + r14 - 0x20]
add r9, rcx
mov r12, qword [r15 + r14 - 8]
add r9, rbp
lea r13, [r12 + r11]
add r13, r9
rol r13, 0x2b
add r10, r8
add r10, r9
mov rbx, r10
rol rbx, 0x14
add rbx, r9
add rbx, r13
imul r11, rbp
add r11, qword [r15]
add r10, r12
lea rdx, [r14 - 1]
and rdx, 0xffffffffffffffc0
mov qword [rsp + 0x48], rdx
xor r13d, r13d
mov r9, qword [rsp + 0x28]
add r11, rax
add r11, rcx
mov r8, qword [r15 + r13 + 8]
mov rbp, qword [r15 + r13 + 0x10]
add r11, r8
rol r11, 0x1b
add rcx, rsi
mov rdx, qword [r15 + r13 + 0x30]
mov qword [rsp + 0x38], rdx
add rcx, rdx
rol rcx, 0x16
movabs r12, 0xb492b66fbe98f273
imul r11, r12
mov rdx, rcx
imul rdx, r12
xor r11, rbx
mov r12, qword [r15 + r13 + 0x28]
add rax, r12
mov rcx, rax
add rcx, rdx
add r9, r10
movabs rax, 0xb492b66fbe98f273
imul rsi, rax
mov rdx, qword [r15 + r13 + 0x18]
add rsi, qword [r15 + r13]
add r10, rdx
add r10, rsi
mov qword [rsp + 0x28], r11
add r10, r11
rol r10, 0x2b
add r8, rbp
add r8, rsi
mov rax, r8
rol rax, 0x14
add rsi, rax
add rsi, r10
rol r9, 0x1f
mov rax, r8
mov r11, r9
movabs r8, 0xb492b66fbe98f273
imul r11, r8
add rax, rdx
add rbx, r11
mov rdx, qword [r15 + r13 + 0x38]
add rbx, qword [r15 + r13 + 0x20]
add rbp, rdx
add rbp, rcx
add rbp, rbx
add r12, qword [rsp + 0x38]
add r12, rbx
mov r8, r12
rol r8, 0x14
add rbx, r8
rol rbp, 0x2b
add rbx, rbp
mov r10, r12
add r10, rdx
add r13, 0x40
cmp qword [rsp + 0x48], r13
jne 0x1400905d4
xor rsi, rbx
movabs r9, 0x9ddfea08eb382d69
imul rsi, r9
xor rbx, rsi
shr rsi, 0x2f
xor rsi, rbx
imul rsi, r9
mov r8, rsi
shr r8, 0x2f
xor r8, rsi
imul r8, r9
add r8, r11
xor rax, r10
imul rax, r9
xor r10, rax
shr rax, 0x2f
xor rax, r10
imul rax, r9
mov rdx, rax
shr rdx, 0x2f
xor rdx, rax
imul rdx, r9
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
movabs rcx, 0xb492b66fbe98f273
imul rax, rcx
add rax, qword [rsp + 0x28]
add rax, rdx
xor rax, r8
imul rax, r9
xor r8, rax
shr rax, 0x2f
xor rax, r8
imul rax, r9
mov rbx, rax
shr rbx, 0x2f
xor rbx, rax
imul rbx, r9
jmp 0x140090075
cmp rbx, rsi
jb 0x140090a42
mov rax, rbx
xor edx, edx
div rsi
mov r13, rdx
mov r15, qword [rsp + 0x20]
jmp 0x1400901fc
lea rax, [r14 - 1]
test r14, rax
je 0x140090799
mov rcx, r14
call fcn.14009db99
mov r14, rax
mov rsi, qword [rdi + 8]
cmp r14, rsi
jbe 0x140090915
mov rax, r14
shr rax, 0x3d
mov r15, qword [rsp + 0x20]
je 0x1400901a6
int3
lea rdx, [rsi - 1]
xor r14d, r14d
test rsi, rdx
setne r14b
jmp 0x140090182
int3
lea r10, [rsp + 0x68]
jmp 0x14008ff4e
lea r10, [rsp + 0x58]
jmp 0x14008ff87
cmp r14, 4
jae 0x140090841
movabs rbx, 0x9ae16a3b2f90404f
test r14, r14
je 0x140090075
movzx eax, byte [r15]
mov rcx, r14
shr rcx, 1
movzx ecx, byte [r15 + rcx]
movzx edx, byte [r15 + r14 - 1]
shl ecx, 8
or rcx, rax
lea rax, [r14 + 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 0x140090075
mov eax, dword [r15]
mov ecx, dword [r15 + r14 - 4]
lea rax, [r14 + 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 0x140090075
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r15]
test r13b, r13b
cmovs r8, r9
mov r8, qword [r8 + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r15 + r14 - 8]
movabs r9, 0xc3a5c85c97cb3127
imul r9, qword [r15 + r14 - 0x10]
movabs rdx, 0xc949d7c7509e6557
xor rdx, r8
rol rdx, 0x2c
add rdx, rcx
add rdx, r14
sub rcx, r8
rol rcx, 0x15
sub rdx, rax
add rcx, r9
rol rax, 0x22
add rax, rcx
xor rax, rdx
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor rdx, rax
shr rax, 0x2f
xor rax, rdx
imul rax, rcx
mov rbx, rax
shr rbx, 0x2f
xor rbx, rax
imul rbx, rcx
jmp 0x140090075
mov r15, qword [rsp + 0x20]
cmp r14, rsi
jae 0x1400901e8
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x140090946
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14009094e
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rdi + 0x20]
call fcn.14012cc00
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402a301c]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x140090a01
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rsi
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x140090a01
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x140090a0c
mov rcx, rax
call fcn.14009db99
mov rdx, rax
cmp r14, rdx
cmova rdx, r14
cmp rdx, rsi
mov r15, qword [rsp + 0x20]
jae 0x1400901e8
mov rcx, rdi
call fcn.1401c6b30
jmp 0x1400901e8
lea rdx, [r14 - 1]
and rax, rdx
jmp 0x1400904c5
and rax, rcx
jmp 0x1400903e5
mov r13, rbx
jmp 0x140090777
lea rax, [r14 - 1]
and rcx, rax
jmp 0x14009047b