Function at 0x1401398b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rsi, rcx
cmp byte [rdx + 0x4d], 0
jne 0x140139935
mov rdi, rdx
cmp qword [rdx + 0x10], 0
je 0x140139935
lea rcx, [rsp + 0x38]
mov rdx, rdi
call sym.__alloc::vec::Vec_T_A__as_core::clone::Clone_::clone::hc105a0cd6486f776
mov r15, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x28]
mov r14d, 4
test rbx, rbx
je 0x140139941
mov rax, rbx
shr rax, 0x3d
jne 0x140139e64
lea r12, [rbx*4]
test r12, r12
je 0x140139941
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov edx, 4
mov rcx, r12
call sym.__rust_alloc
test rax, rax
je 0x140139e85
mov r14, rax
jmp 0x140139944
mov qword [rsi], 0
jmp 0x140139dc2
xor r12d, r12d
mov rcx, r14
mov rdx, r15
mov r8, r12
call sym.memcpy
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rbx
movups xmm0, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x110], xmm0
movzx eax, byte [rdi + 0x48]
mov byte [rsp + 0x120], al
test al, al
je 0x1401399ce
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, r14
mov rdx, rbx
call sym.core::slice::sort::merge_sort::had414ffc7e4c8aa1
jmp 0x1401399de
lea r8, [rsp + 0x38]
mov rcx, r14
mov rdx, rbx
call sym.core::slice::sort::merge_sort::h1ce6178cafe47fc3
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movups xmmword [rsp + 0x78], xmm3
movups xmmword [rsp + 0x68], xmm2
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 1
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov ecx, 0x58
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140139e3e
mov rbx, rax
mov rax, qword [rsp + 0x88]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov qword [rsp + 0x28], rbx
cmp qword [rbx + 0x20], 0
je 0x140139e4f
mov r14, qword [rbx + 0x40]
mov r15, r14
cmp r14, 1
je 0x140139af8
test r14, r14
je 0x140139e6b
lea rcx, [r14 - 1]
lea rdx, [r14 - 2]
mov eax, ecx
and eax, 7
cmp rdx, 7
jae 0x140139ad2
mov r15d, 1
jmp 0x140139aea
and rcx, 0xfffffffffffffff8
mov r15d, 1
nop dword [rax]
shl r15, 8
add rcx, 0xfffffffffffffff8
jne 0x140139ae0
test rax, rax
je 0x140139af8
nop
add r15, r15
dec rax
jne 0x140139af0
lock inc qword [rbx]
jle 0x140139e3a
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x38]
mov r8d, 0x40
call sym.__T_as_alloc::vec::spec_from_elem::SpecFromElem_::from_elem::h7676e3581054e23e
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140139cd4
xor r14d, r14d
lea r15, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_pattern.rs
jmp 0x140139baa
mov rdx, qword [r12 + 0x10]
mov rax, qword [r12]
shl rdx, 4
mov qword [rax + rdx], r13
mov dword [rax + rdx + 8], ebp
inc qword [r12 + 0x10]
inc r14
mov rax, qword [rbx + 0x20]
cmp r14, rax
jae 0x140139ccf
mov rdx, qword [rbx + 0x38]
cmp r14, rdx
jae 0x140139e11
mov rcx, qword [rbx + 0x28]
mov ebp, dword [rcx + r14*4]
cmp rax, rbp
jbe 0x140139e04
mov rax, qword [rbx + 0x10]
lea r8, [rbp*2]
add r8, rbp
mov rdx, qword [rax + r8*8 + 0x10]
mov rcx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x140139e2c
test rcx, rcx
je 0x140139c00
mov rax, qword [rax + r8*8]
cmp rcx, 8
jae 0x140139c10
xor r13d, r13d
jmp 0x140139c79
xor r13d, r13d
jmp 0x140139c91
mov rdx, rcx
and rdx, 0xfffffffffffffff8
xor r13d, r13d
nop word [rax + rax]
movzx r8d, byte [rax]
movzx r9d, byte [rax + 1]
add r8, r8
lea r8, [r8 + r13*4]
add r8, r9
movzx r9d, byte [rax + 2]
movzx r10d, byte [rax + 3]
add r9, r9
lea r8, [r9 + r8*4]
add r8, r10
movzx r9d, byte [rax + 4]
movzx r10d, byte [rax + 5]
add r9, r9
lea r8, [r9 + r8*4]
add r8, r10
movzx r9d, byte [rax + 6]
movzx r10d, byte [rax + 7]
add rax, 8
add r9, r9
lea r13, [r9 + r8*4]
add r13, r10
add rdx, 0xfffffffffffffff8
jne 0x140139c20
and ecx, 7
je 0x140139c91
xor edx, edx
movzx r8d, byte [rax + rdx]
lea r13, [r8 + r13*2]
inc rdx
cmp rcx, rdx
jne 0x140139c80
mov ecx, r13d
and ecx, 0x3f
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x140139e1e
mov rax, qword [rsp + 0x40]
lea rcx, [rcx + rcx*2]
lea r12, [rax + rcx*8]
mov rdx, qword [rax + rcx*8 + 0x10]
cmp rdx, qword [rax + rcx*8 + 8]
jne 0x140139b85
mov rcx, r12
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::hed162475e2267407
jmp 0x140139b80
mov rbx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0xb0], r9
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0xb8], r9
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
test byte [rdi + 0x4a], 1
jne 0x140139d7f
lock inc qword [rbx]
jle 0x140139e3a
movzx eax, byte [rdi + 0x4c]
mov byte [rsp + 0x32], al
movzx eax, byte [rdi + 0x4b]
mov byte [rsp + 0x31], al
movzx eax, byte [rdi + 0x49]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov r8, rbx
call sym.aho_corasick::packed::teddy::builder::Builder::build::hd23fd9c2a8711bed
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140139dd9
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xc0], xmm0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
jmp 0x140139d83
xor eax, eax
xor ecx, ecx
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rbx
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], rcx
mov rax, rsi
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
lea rcx, [rsp + 0x90]
call sym.core::ptr::drop_in_place_aho_corasick::packed::rabinkarp::RabinKarp_::h970b1b8d2f4d06e4
mov rax, qword [rsp + 0x28]
lock dec qword [rax]
jne 0x140139dc2
lea rcx, [rsp + 0x28]
call sym.alloc::sync::Arc_T_A_::drop_slow::hd02251ea64a47760
jmp 0x140139dc2
mov r14, rbp
mov rdx, rax
lea r15, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_pattern.rs
mov rcx, r14
mov r8, r15
call dbg.panic_bounds_check
jmp 0x140139e92
lea r8, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_rabinkarp.rs
call dbg.panic_bounds_check
jmp 0x140139e92
lea r8, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_rabinkarp.rs
call dbg.slice_end_index_len_fail
jmp 0x140139e92
ud2
mov ecx, 8
mov edx, 0x58
call dbg.handle_alloc_error
jmp 0x140139e92
lea r8, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_rabinkarp.rs
mov edx, 0x25
lea rcx, str.assertion_failed:_patterns.len_____1
jmp 0x140139e7e
call dbg.capacity_overflow
jmp 0x140139e92
lea r8, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_src_packed_rabinkarp.rs
mov edx, 0x1f
lea rcx, str.assertion_failed:_hash_len___1
call dbg.panic
jmp 0x140139e92
mov ecx, 4
mov rdx, r12
call dbg.handle_alloc_error
ud2