Function at 0x140044cc0
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, 0x58
mov rbx, r9
mov r15, r8
mov rdi, rcx
movzx eax, byte [r8 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r8]
cmovns rax, r8
cmovs rcx, qword [r8 + 8]
cmp rcx, 0x20
mov qword [rsp + 0x40], rdx
ja 0x140044e82
cmp rcx, 0x10
ja 0x140044df3
cmp rcx, 9
jae 0x140044daf
cmp rcx, 4
jae 0x140044d73
movabs r14, 0x9ae16a3b2f90404f
test rcx, rcx
je 0x140044f64
movzx edx, byte [rax]
mov r8, rcx
shr r8, 1
movzx r8d, byte [rax + r8]
movzx eax, byte [rcx + rax - 1]
shl r8, 8
or r8, rdx
lea rax, [rcx + rax*4]
imul r8, r14
movabs rcx, 0xc949d7c7509e6557
imul rcx, rax
xor rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul r14, rax
jmp 0x140044f64
mov edx, dword [rax]
mov eax, dword [rax + rcx - 4]
lea rcx, [rcx + rdx*8]
xor rcx, rax
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, rdx
mov r14, rcx
shr r14, 0x2f
xor r14, rcx
imul r14, rdx
jmp 0x140044f64
mov rdx, qword [rax + rcx - 8]
lea r8, [rdx + rcx]
ror r8, cl
mov rax, qword [rax]
xor rax, r8
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r8, rax
shr rax, 0x2f
xor rax, r8
imul rax, rcx
mov r14, rax
shr r14, 0x2f
xor r14, rax
imul r14, rcx
xor r14, rdx
jmp 0x140044f64
movabs r8, 0xb492b66fbe98f273
imul r8, qword [rax]
mov r9, qword [rax + 8]
movabs rdx, 0x9ae16a3b2f90404f
imul rdx, qword [rax + rcx - 8]
movabs r10, 0xc3a5c85c97cb3127
imul r10, qword [rax + rcx - 0x10]
movabs rax, 0xc949d7c7509e6557
xor rax, r9
rol rax, 0x2c
add rcx, r8
add rcx, rax
sub r8, r9
rol r8, 0x15
sub rcx, rdx
rol rdx, 0x22
add rdx, r10
add rdx, r8
xor rdx, rcx
movabs rax, 0x9ddfea08eb382d69
imul rdx, rax
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, rax
mov r14, rdx
shr r14, 0x2f
xor r14, rdx
imul r14, rax
jmp 0x140044f64
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbx
cmp rcx, 0x40
ja 0x140045133
mov r8, qword [rax + 0x10]
mov r11, qword [rax + 0x18]
mov rbx, qword [rax + rcx - 0x10]
lea r9, [rbx + rcx]
movabs rdx, 0xc3a5c85c97cb3127
imul r9, rdx
add r9, qword [rax]
lea r10, [r9 + r11]
mov r15, r9
add r9, qword [rax + 8]
mov rsi, r9
add r9, r8
add r8, qword [rax + rcx - 0x20]
mov r14, qword [rax + rcx - 8]
add r14, r11
lea r12, [r14 + r8]
mov r13, r8
add r8, qword [rax + rcx - 0x18]
rol r10, 0xc
rol r15, 0x1b
rol rsi, 0x39
rol r12, 0xc
rol r13, 0x1b
add rsi, r15
mov rax, r8
rol rax, 0x39
add r8, rbx
add r14, r8
rol r8, 0x21
add r13, r11
add r13, rax
add r13, r12
add r13, r8
add r13, r9
rol r9, 0x21
add rsi, r10
add r9, rsi
movabs rax, 0x9ae16a3b2f90404f
imul r13, rax
add r14, r9
imul r14, rdx
add r14, r13
mov rcx, r14
shr rcx, 0x2f
xor rcx, r14
imul rcx, rdx
add rcx, r9
mov r14, rcx
shr r14, 0x2f
xor r14, rcx
imul r14, rax
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov rbp, qword [rdi + 8]
test rbp, rbp
jne 0x140045525
movabs r13, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.1400a12b0
mov r12, rax
add rax, 0x10
je 0x14004563c
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rbx + 0x18]
mov qword [r12 + 0x28], rcx
mov qword [r12 + 8], r14
mov qword [r12], rax
mov rax, qword [rdi + 0x18]
inc rax
jns 0x140044fe1
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140044fe9
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
js 0x140045003
cvtsi2ss xmm1, rbp
jmp 0x14004500c
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
je 0x140045020
mulss xmm1, xmm2
ucomiss xmm0, xmm1
jbe 0x1400450dc
divss xmm0, xmm2
call fcn.1400d35c4
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14015dc00]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
mov ebx, 1
cmp rbp, 3
jae 0x14004562b
or rbx, rcx
cmp rbx, rax
cmovbe rbx, rax
cmp rbx, 1
jne 0x1400453e0
mov r15, qword [rdi + 8]
mov ebx, 2
cmp r15, 2
jae 0x140045668
lea rcx, [rbx*8]
call fcn.1400a12b0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x140045386
mov qword [rdi + 8], rbx
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp rbx, rax
jne 0x1400450a8
mov r8, qword [rdi + 0x10]
test r8, r8
jne 0x140045413
mov rbp, qword [rdi + 8]
lea r13, [rbp - 1]
test rbp, r13
jne 0x1400453c7
and r13, r14
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
mov r8, qword [rsp + 0x40]
jne 0x140045390
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r12], rdx
mov qword [rdi + 0x10], r12
mov qword [rcx + r13*8], rax
mov rax, qword [r12]
test rax, rax
jne 0x140045399
inc qword [rdi + 0x18]
mov al, 1
mov qword [r8], r12
mov byte [r8 + 8], al
mov rax, r8
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r15, 0xb492b66fbe98f273
movabs rbx, 0x9ddfea08eb382d69
mov r12, qword [rax + rcx - 0x28]
mov rdx, qword [rax + rcx - 0x10]
mov r8, qword [rax + rcx - 0x38]
mov r10, qword [rax + rcx - 0x30]
lea r9, [r8 + rdx]
mov r14, qword [rax + rcx - 0x18]
lea rsi, [r10 + rcx]
xor rsi, r14
imul rsi, rbx
mov r11, r14
xor r11, rsi
shr rsi, 0x2f
xor rsi, r11
imul rsi, rbx
mov r11, rsi
shr r11, 0x2f
xor r11, rsi
imul r11, rbx
mov rsi, qword [rax + rcx - 0x40]
add rsi, rcx
lea rbx, [rsi + r12]
add rbx, r11
rol rbx, 0x2b
add r10, r8
add r10, rsi
mov r13, r10
rol r13, 0x14
add r13, rsi
add r13, rbx
add r10, r12
mov r8, qword [rax + rcx - 0x20]
add r8, r9
mov rsi, qword [rax + rcx - 8]
add r8, r15
lea rbx, [rsi + r12]
add rbx, r8
rol rbx, 0x2b
add r14, rdx
add r14, r8
mov rbp, r14
rol rbp, 0x14
add rbp, r8
add rbp, rbx
imul r12, r15
add r12, qword [rax]
add r14, rsi
dec rcx
and rcx, 0xffffffffffffffc0
xor edx, edx
mov rsi, r11
add r12, r10
add r12, r9
mov rbx, qword [rax + rdx + 8]
mov r8, qword [rax + rdx + 0x10]
add r12, rbx
rol r12, 0x1b
add r9, r13
mov r11, qword [rax + rdx + 0x30]
mov qword [rsp + 0x50], r11
add r9, r11
rol r9, 0x16
movabs r15, 0xb492b66fbe98f273
imul r12, r15
mov r11, r9
imul r11, r15
xor r12, rbp
mov qword [rsp + 0x48], r12
mov r15, qword [rax + rdx + 0x28]
add r10, r15
mov r9, r10
add r9, r11
add rsi, r14
movabs r10, 0xb492b66fbe98f273
imul r13, r10
mov r11, qword [rax + rdx + 0x18]
add r13, qword [rax + rdx]
add r14, r11
add r14, r13
add r14, r12
rol r14, 0x2b
add rbx, r8
add rbx, r13
mov r10, rbx
rol r10, 0x14
add r13, r10
add r13, r14
rol rsi, 0x1f
mov r10, rbx
mov r12, rsi
movabs rsi, 0xb492b66fbe98f273
imul r12, rsi
add r10, r11
add rbp, r12
mov r11, qword [rax + rdx + 0x38]
add rbp, qword [rax + rdx + 0x20]
add r8, r11
add r8, r9
add r8, rbp
add r15, qword [rsp + 0x50]
add r15, rbp
mov rsi, r15
rol rsi, 0x14
add rbp, rsi
rol r8, 0x2b
add rbp, r8
mov r14, r15
add r14, r11
mov r11, qword [rsp + 0x48]
add rdx, 0x40
cmp rcx, rdx
jne 0x1400451f8
xor r13, rbp
movabs r8, 0x9ddfea08eb382d69
imul r13, r8
xor rbp, r13
shr r13, 0x2f
xor r13, rbp
imul r13, r8
mov rax, r13
shr rax, 0x2f
xor rax, r13
imul rax, r8
add rax, r12
xor r10, r14
imul r10, r8
xor r14, r10
shr r10, 0x2f
xor r10, r14
imul r10, r8
mov rcx, r10
shr rcx, 0x2f
xor rcx, r10
imul rcx, r8
mov rdx, r9
shr rdx, 0x2f
xor rdx, r9
movabs r9, 0xb492b66fbe98f273
imul rdx, r9
add rdx, r11
add rdx, rcx
xor rdx, rax
imul rdx, r8
xor rax, rdx
shr rdx, 0x2f
xor rdx, rax
imul rdx, r8
mov r14, rdx
shr r14, 0x2f
xor r14, rdx
imul r14, r8
jmp 0x140044f5a
call fcn.1400a12ec
jmp 0x1400450a2
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x1400453ba
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1400453c2
cmp rax, rbp
jb 0x1400453b3
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r12
jmp 0x140045112
and rax, rcx
jmp 0x1400453b3
cmp r14, rbp
jb 0x14004577c
mov rax, r14
xor edx, edx
div rbp
mov r13, rdx
jmp 0x1400450dc
lea rax, [rbx - 1]
test rbx, rax
je 0x1400453f4
mov rcx, rbx
call fcn.140030eb3
mov rbx, rax
mov r15, qword [rdi + 8]
cmp rbx, r15
jbe 0x140045668
mov rax, rbx
shr rax, 0x3d
je 0x140045086
jmp 0x140045777
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 0x140045510
cmp rcx, rbx
jb 0x140045491
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]
test r10, r10
je 0x1400450c8
lea r11, [rbx - 1]
jmp 0x1400454df
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 0x1400450c8
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14004550b
cmp rax, rbx
jb 0x1400454f6
xor edx, edx
div rbx
mov rax, rdx
cmp rax, rcx
je 0x1400454ca
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
jne 0x1400454aa
mov qword [rdx + rax*8], r8
jmp 0x1400454cd
and rax, r11
jmp 0x1400454f6
lea rax, [rbx - 1]
and rcx, rax
jmp 0x140045491
lea r13, [rbp - 1]
and r13, r14
jmp 0x14004559a
mov rax, rbp
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbp
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 0x14004551c
mov r13, r14
cmp r14, rbp
jb 0x14004559a
mov rax, r14
xor edx, edx
div rbp
mov r13, rdx
mov rax, qword [rdi]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x140044f7b
mov r12, qword [rax]
test r12, r12
je 0x140044f7b
lea r8, [rbp - 1]
lea rsi, [rdi + 0x24]
mov rax, qword [r12 + 8]
cmp rax, r14
je 0x1400455f7
cmp r9d, 1
jbe 0x1400455f2
cmp rax, rbp
jb 0x1400455db
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x140044f7b
mov r12, qword [r12]
test r12, r12
jne 0x1400455be
jmp 0x140044f7b
and rax, r8
jmp 0x1400455db
lea rdx, [r12 + 0x10]
mov qword [rsp + 0x38], r9
mov rcx, rsi
mov qword [rsp + 0x30], r8
mov r8, r15
call fcn.140045790
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
test al, al
je 0x1400455e4
xor eax, eax
mov r8, qword [rsp + 0x40]
jmp 0x140045118
lea rdx, [rbp - 1]
xor ebx, ebx
test rbp, rdx
setne bl
jmp 0x14004505f
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400e3125
cmp rbx, r15
jae 0x1400450c8
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x140045694
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14004569c
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rdi + 0x20]
call fcn.1400d35c4
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14015dc00]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r15, 3
jb 0x14004574f
mov rcx, r15
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r15
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 0x14004574f
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 0x14004575a
mov rcx, rax
call fcn.140030eb3
mov rdx, rax
cmp rbx, rdx
cmova rdx, rbx
cmp rdx, r15
jae 0x1400450c8
mov rcx, rdi
call fcn.1400da320
jmp 0x1400450c8
call fcn.1400e148e
mov r13, r14
jmp 0x1400450dc