Function at 0x1400ed7b0
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 rbx, r9
mov rdi, rcx
movzx eax, byte [r8 + 0x17]
mov r15d, eax
and r15d, 0x7f
test al, al
mov r12, qword [r8]
cmovns r12, r8
cmovs r15, qword [r8 + 8]
cmp r15, 0x20
mov qword [rsp + 0x30], rdx
jbe 0x1400ed8c3
cmp r15, 0x40
ja 0x1400eddd7
mov rcx, qword [r12 + 0x10]
mov r9, qword [r12 + 0x18]
mov r11, qword [r12 + r15 - 0x10]
lea rdx, [r11 + r15]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [r12]
lea r8, [rdx + r9]
rol r8, 0xc
mov r14, rdx
rol r14, 0x1b
add rdx, qword [r12 + 8]
mov r10, rdx
rol r10, 0x39
add rdx, rcx
add rcx, qword [r12 + r15 - 0x20]
mov rsi, qword [r12 + r15 - 8]
add rsi, r9
lea r13, [rsi + rcx]
rol r13, 0xc
mov rbp, rcx
rol rbp, 0x1b
add rcx, qword [r12 + r15 - 0x18]
add r10, r14
mov r14, rcx
rol r14, 0x39
add rcx, r11
add rsi, rcx
rol rcx, 0x21
add rbp, r9
add rbp, r14
add rbp, r13
add rbp, rcx
add rbp, rdx
rol rdx, 0x21
add r10, r8
add rdx, r10
movabs rcx, 0x9ae16a3b2f90404f
imul rbp, rcx
add rsi, rdx
imul rsi, rax
add rsi, rbp
mov r8, rsi
shr r8, 0x2f
xor r8, rsi
imul r8, rax
add r8, rdx
mov r14, r8
shr r14, 0x2f
xor r14, r8
imul r14, rcx
jmp 0x1400ed91a
cmp r15, 0x10
ja 0x1400ee1f4
cmp r15, 9
jb 0x1400ee153
mov rax, qword [r12 + r15 - 8]
lea rdx, [rax + r15]
mov ecx, r15d
ror rdx, cl
mov rcx, qword [r12]
xor rcx, rdx
movabs r8, 0x9ddfea08eb382d69
imul rcx, r8
xor rdx, rcx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, r8
mov r14, rcx
shr r14, 0x2f
xor r14, rcx
imul r14, r8
xor r14, rax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x1400edb8c
movabs rbp, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.140153bd4
mov r13, rax
add rax, 0x10
je 0x1400ee041
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 0x18]
mov qword [r13 + 0x28], rax
mov qword [r13 + 8], r14
mov qword [r13], 0
mov rax, qword [rdi + 0x18]
inc rax
jns 0x1400ed99b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400ed9a3
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rsi
shr rcx, 1
mov eax, esi
and eax, 1
or rax, rcx
test rsi, rsi
js 0x1400ed9c4
cvtsi2ss xmm1, rsi
movss xmm2, dword [rdi + 0x20]
jne 0x1400ed9d4
jmp 0x1400ed9e1
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
je 0x1400ed9e1
mulss xmm1, xmm2
ucomiss xmm0, xmm1
jbe 0x1400eda99
divss xmm0, xmm2
call fcn.140175e6c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402f0098]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rsi + rsi]
mov ebx, 1
cmp rsi, 3
jae 0x1400edb3f
or rbx, rcx
cmp rbx, rax
cmovbe rbx, rax
cmp rbx, 1
jne 0x1400edb50
mov rsi, qword [rdi + 8]
mov ebx, 2
cmp rsi, 2
jae 0x1400ee044
lea rcx, [rbx*8]
call fcn.140153bd4
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x1400edae8
mov qword [rdi + 8], rbx
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp rbx, rax
jne 0x1400eda65
mov r8, qword [rdi + 0x10]
test r8, r8
jne 0x1400edcaa
mov rsi, qword [rdi + 8]
lea rbp, [rsi - 1]
test rsi, rbp
jne 0x1400edb26
and rbp, r14
mov rcx, qword [rdi]
mov rax, qword [rcx + rbp*8]
test rax, rax
mov r8, qword [rsp + 0x30]
jne 0x1400edb18
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r13], rdx
mov qword [rdi + 0x10], r13
mov qword [rcx + rbp*8], rax
mov rax, qword [r13]
test rax, rax
jne 0x1400edaf2
inc qword [rdi + 0x18]
mov cl, 1
mov qword [r8], r13
mov byte [r8 + 8], cl
mov rax, r8
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140153bcc
jmp 0x1400eda5f
mov rax, qword [rax + 8]
lea rcx, [rsi - 1]
test rsi, rcx
je 0x1400edb21
cmp rax, rsi
jb 0x1400edb0c
xor edx, edx
div rsi
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r13
jmp 0x1400edac7
mov rcx, qword [rax]
mov qword [r13], rcx
jmp 0x1400edb13
and rax, rcx
jmp 0x1400edb0c
cmp r14, rsi
jb 0x1400ee288
mov rax, r14
xor edx, edx
div rsi
mov rbp, rdx
jmp 0x1400eda99
lea rdx, [rsi - 1]
xor ebx, ebx
test rsi, rdx
setne bl
jmp 0x1400eda1c
lea rax, [rbx - 1]
test rbx, rax
je 0x1400edb64
mov rcx, rbx
call fcn.1400e538a
mov rbx, rax
mov rsi, qword [rdi + 8]
cmp rbx, rsi
jbe 0x1400ee044
mov rax, rbx
shr rax, 0x3d
je 0x1400eda43
jmp 0x1400ee285
lea rbp, [rsi - 1]
and rbp, r14
jmp 0x1400edc01
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 r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400edb83
mov rbp, r14
cmp r14, rsi
jb 0x1400edc01
mov rax, r14
xor edx, edx
div rsi
mov rbp, rdx
mov rax, qword [rdi]
mov rax, qword [rax + rbp*8]
test rax, rax
je 0x1400ed931
mov r13, qword [rax]
test r13, r13
je 0x1400ed931
lea rax, [rsi - 1]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r9
mov rax, qword [r13 + 8]
cmp rax, r14
je 0x1400edc50
cmp r9d, 1
jbe 0x1400edc97
cmp rax, rsi
jb 0x1400edc47
xor edx, edx
div rsi
mov rax, rdx
cmp rax, rbp
jne 0x1400ed931
movzx ecx, byte [r13 + 0x27]
mov eax, ecx
and eax, 0x7f
test cl, cl
mov r8, qword [r13 + 0x18]
mov rdx, rax
cmovs rdx, r8
cmp rdx, r15
jne 0x1400edc89
test cl, cl
jns 0x1400edd95
mov rcx, qword [r13 + 0x10]
mov rdx, r12
call fcn.140158970
test eax, eax
mov r9, qword [rsp + 0x28]
je 0x1400edc9e
mov r13, qword [r13]
test r13, r13
jne 0x1400edc2b
jmp 0x1400ed931
and rax, qword [rsp + 0x20]
jmp 0x1400edc47
xor ecx, ecx
mov r8, qword [rsp + 0x30]
jmp 0x1400edacd
lea r10, [rdi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rbx
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rbx
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 0x1400eddcb
cmp rcx, rbx
jb 0x1400edd28
mov rax, rcx
xor edx, edx
div rbx
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x1400edd60
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
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400eda85
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400eddc2
cmp rax, rbx
jb 0x1400edd80
xor edx, edx
div rbx
mov rax, rdx
cmp rax, rcx
je 0x1400edd54
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
jne 0x1400edd34
mov qword [rdx + rax*8], r8
jmp 0x1400edd57
test al, al
je 0x1400edc9e
xor edx, edx
mov r9, qword [rsp + 0x28]
mov cl, byte [r13 + rdx + 0x10]
cmp cl, byte [r12 + rdx]
jne 0x1400edc89
inc rdx
xor ecx, ecx
cmp rax, rdx
jne 0x1400edda4
jmp 0x1400edca0
lea rdx, [rbx - 1]
and rax, rdx
jmp 0x1400edd80
lea rax, [rbx - 1]
and rcx, rax
jmp 0x1400edd28
movabs rbp, 0xb492b66fbe98f273
movabs r14, 0x9ddfea08eb382d69
mov r11, qword [r12 + r15 - 0x28]
mov rax, qword [r12 + r15 - 0x10]
mov rcx, qword [r12 + r15 - 0x38]
mov r8, qword [r12 + r15 - 0x30]
lea rdx, [rcx + rax]
mov r10, qword [r12 + r15 - 0x18]
lea r9, [r8 + r15]
xor r9, r10
imul r9, r14
mov rsi, r10
xor rsi, r9
shr r9, 0x2f
xor r9, rsi
imul r9, r14
mov rsi, r9
shr rsi, 0x2f
xor rsi, r9
imul rsi, r14
mov r9, qword [r12 + r15 - 0x40]
add r9, r15
lea r14, [r9 + r11]
mov qword [rsp + 0x20], rsi
add r14, rsi
rol r14, 0x2b
add r8, rcx
add r8, r9
mov rsi, r8
rol rsi, 0x14
add rsi, r9
add rsi, r14
add r8, r11
mov rcx, qword [r12 + r15 - 0x20]
add rcx, rdx
mov r9, qword [r12 + r15 - 8]
add rcx, rbp
lea r13, [r9 + 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 [r12]
add r10, r9
lea rax, [r15 - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
add r11, r8
add r11, rdx
mov r13, qword [r12 + r9 + 8]
mov rax, qword [r12 + r9 + 0x10]
add r11, r13
rol r11, 0x1b
add rdx, rsi
mov rcx, qword [r12 + r9 + 0x30]
mov qword [rsp + 0x40], rcx
add rdx, rcx
rol rdx, 0x16
movabs rcx, 0xb492b66fbe98f273
imul r11, rcx
mov rbp, rdx
imul rbp, rcx
xor r11, r14
mov rcx, qword [r12 + r9 + 0x28]
add r8, rcx
mov rdx, r8
add rdx, rbp
add qword [rsp + 0x28], r10
movabs r8, 0xb492b66fbe98f273
imul rsi, r8
mov rbp, qword [r12 + r9 + 0x18]
add rsi, qword [r12 + r9]
add r10, rbp
add r10, rsi
mov qword [rsp + 0x20], r11
add r10, r11
rol r10, 0x2b
add r13, rax
add r13, rsi
mov r8, r13
rol r8, 0x14
add rsi, r8
add rsi, r10
mov r11, qword [rsp + 0x28]
rol r11, 0x1f
mov r8, r13
movabs r10, 0xb492b66fbe98f273
imul r11, r10
add r8, rbp
add r14, r11
mov r13, qword [r12 + r9 + 0x38]
add r14, qword [r12 + r9 + 0x20]
add rax, r13
add rax, rdx
add rax, r14
add rcx, qword [rsp + 0x40]
add rcx, r14
mov r10, rcx
rol r10, 0x14
add r14, r10
rol rax, 0x2b
add r14, rax
mov r10, rcx
add r10, r13
add r9, 0x40
cmp qword [rsp + 0x38], r9
jne 0x1400edea9
xor rsi, r14
movabs r9, 0x9ddfea08eb382d69
imul rsi, r9
xor r14, rsi
shr rsi, 0x2f
xor rsi, r14
imul rsi, r9
mov rax, rsi
shr rax, 0x2f
xor rax, rsi
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 + 0x20]
add r8, rcx
xor r8, rax
imul r8, r9
xor rax, r8
shr r8, 0x2f
xor r8, rax
imul r8, r9
mov r14, r8
shr r14, 0x2f
xor r14, r8
imul r14, r9
jmp 0x1400ed91a
int3
cmp rbx, rsi
jae 0x1400eda85
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x1400ee070
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400ee078
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rdi + 0x20]
call fcn.140175e6c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402f0098]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400ee12b
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 0x1400ee12b
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 0x1400ee136
mov rcx, rax
call fcn.1400e538a
mov rdx, rax
cmp rbx, rdx
cmova rdx, rbx
cmp rdx, rsi
jae 0x1400eda85
mov rcx, rdi
call fcn.14023baa0
jmp 0x1400eda85
cmp r15, 4
jae 0x1400ee1b5
movabs r14, 0x9ae16a3b2f90404f
test r15, r15
je 0x1400ed91a
movzx eax, byte [r12]
mov rcx, r15
shr rcx, 1
movzx ecx, byte [r12 + rcx]
movzx edx, byte [r15 + r12 - 1]
shl rcx, 8
or rcx, rax
lea rax, [r15 + rdx*4]
imul rcx, r14
movabs rdx, 0xc949d7c7509e6557
imul rdx, rax
xor rdx, rcx
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul r14, rax
jmp 0x1400ed91a
mov eax, dword [r12]
mov ecx, dword [r12 + r15 - 4]
lea rax, [r15 + rax*8]
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
xor rcx, rax
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
mov r14, rax
shr r14, 0x2f
xor r14, rax
imul r14, rdx
jmp 0x1400ed91a
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r12]
mov rdx, qword [r12 + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r12 + r15 - 8]
movabs r8, 0xc3a5c85c97cb3127
imul r8, qword [r12 + r15 - 0x10]
movabs r9, 0xc949d7c7509e6557
xor r9, rdx
rol r9, 0x2c
add r9, rcx
add r9, r15
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 r14, rax
shr r14, 0x2f
xor r14, rax
imul r14, rcx
jmp 0x1400ed91a
int3
mov rbp, r14
jmp 0x1400eda99