Function at 0x14014f050
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov r13, rcx
cmp byte [rdx + 0x4d], 0
jne 0x14014f0d9
mov rsi, rdx
cmp qword [rdx + 0x10], 0
je 0x14014f0d9
lea rcx, [rbp + 0x70]
mov rdx, rsi
call fcn.140070340
mov r15, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
test rbx, rbx
je 0x14014f0ec
mov rax, rbx
shr rax, 0x3d
jne 0x14014f651
lea r12, [rbx*4]
movzx eax, byte [0x140b65265]
mov edx, 4
mov rcx, r12
call fcn.14001a120
test rax, rax
je 0x14014f658
mov r14, rax
jmp 0x14014f0f5
movabs rax, 0x8000000000000000
mov qword [r13], rax
jmp 0x14014f519
mov r14d, 4
xor r12d, r12d
mov rcx, r14
mov rdx, r15
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp + 0x80]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rsi + 0x30]
movaps xmmword [rbp - 0x20], xmm0
movzx eax, byte [rsi + 0x48]
mov byte [rbp - 0x10], al
test al, al
je 0x14014f15d
lea rax, [rbp - 0x50]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0xdf], 1
lea r8, [rbp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.1401617d0
jmp 0x14014f173
mov byte [rbp + 0xdf], 1
lea r8, [rbp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.140160ec0
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0xc0], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x20]
movups xmmword [rbp + 0xb0], xmm3
movups xmmword [rbp + 0xa0], xmm2
movups xmmword [rbp + 0x90], xmm1
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x70], 1
mov qword [rbp + 0x78], 1
movzx eax, byte [0x140b65265]
mov ecx, 0x58
mov edx, 8
call fcn.14001a120
test rax, rax
je 0x14014f626
mov qword [rbp + 0x10], rsi
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x50], rcx
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x70]
movups xmm1, xmmword [rbp + 0x80]
movups xmm2, xmmword [rbp + 0x90]
movups xmm3, xmmword [rbp + 0xa0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rbp + 0xd0], rax
cmp qword [rax + 0x20], 0
je 0x14014f637
mov rsi, qword [rax + 0x40]
mov rdi, rsi
cmp rsi, 1
je 0x14014f288
test rsi, rsi
je 0x14014f667
lea rcx, [rsi - 1]
lea rdx, [rsi - 2]
mov r8d, ecx
and r8d, 7
cmp rdx, 7
jae 0x14014f25f
mov edi, 1
jmp 0x14014f27a
and rcx, 0xfffffffffffffff8
mov edi, 1
nop dword [rax + rax]
shl rdi, 8
add rcx, 0xfffffffffffffff8
jne 0x14014f270
test r8, r8
je 0x14014f288
nop
add rdi, rdi
dec r8
jne 0x14014f280
lock inc qword [rax]
jle 0x14014f67f
mov qword [rbp + 0x68], r13
mov qword [rbp], rax
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 8
mov qword [rbp + 0x80], 0
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 0x70]
mov r8d, 0x40
mov qword [rbp + 0xc8], rax
call fcn.14015c070
mov rcx, qword [rbp + 0xc8]
mov qword [rbp + 0x88], rcx
movups xmm0, xmmword [rbp + 0x18]
movaps xmmword [rbp + 0x70], xmm0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rdi
lea r13, [rsi - 1]
mov ebx, esi
and ebx, 7
mov rax, rsi
and rax, 0xfffffffffffffff8
mov qword [rbp + 8], rax
xor r14d, r14d
jmp 0x14014f346
mov rdx, qword [r12 + 0x10]
inc r14
mov rax, qword [r12 + 8]
shl rdx, 4
mov qword [rax + rdx], rdi
mov dword [rax + rdx + 8], r15d
inc qword [r12 + 0x10]
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rcx + 0x20]
cmp r14, rdx
jae 0x14014f45d
mov rax, qword [rcx + 0x38]
cmp r14, rax
jae 0x14014f5df
mov rax, qword [rcx + 0x30]
mov r15d, dword [rax + r14*4]
cmp rdx, r15
jbe 0x14014f5f6
mov rax, qword [rcx + 0x18]
lea rcx, [r15 + r15*2]
mov rdx, qword [rax + rcx*8 + 0x10]
cmp rsi, rdx
ja 0x14014f615
mov rax, qword [rax + rcx*8 + 8]
cmp r13, 7
jae 0x14014f3a0
xor edi, edi
jmp 0x14014f408
mov rcx, qword [rbp + 8]
xor edi, edi
nop word cs:[rax + rax]
movzx edx, byte [rax]
movzx r8d, byte [rax + 1]
add rdx, rdx
lea rdx, [rdx + rdi*4]
add rdx, r8
movzx r8d, byte [rax + 2]
movzx r9d, byte [rax + 3]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 4]
movzx r9d, byte [rax + 5]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 6]
movzx r9d, byte [rax + 7]
add rax, 8
add r8, r8
lea rdi, [r8 + rdx*4]
add rdi, r9
add rcx, 0xfffffffffffffff8
jne 0x14014f3b0
test rbx, rbx
je 0x14014f420
xor ecx, ecx
nop
movzx edx, byte [rax + rcx]
lea rdi, [rdx + rdi*2]
inc rcx
cmp rbx, rcx
jne 0x14014f410
mov ecx, edi
and ecx, 0x3f
mov rdx, qword [rbp + 0x80]
cmp rcx, rdx
jae 0x14014f607
mov rax, qword [rbp + 0x78]
lea rcx, [rcx + rcx*2]
lea r12, [rax + rcx*8]
mov rdx, qword [rax + rcx*8 + 0x10]
cmp rdx, qword [rax + rcx*8]
jne 0x14014f325
mov rcx, r12
call fcn.14003a540
jmp 0x14014f320
movaps xmm0, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x80]
movaps xmm2, xmmword [rbp + 0x90]
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x10]
test byte [rcx + 0x4a], 1
jne 0x14014f4d6
mov r8, qword [rbp + 0xd0]
lock inc qword [r8]
mov r13, qword [rbp + 0x68]
jle 0x14014f67f
movzx eax, byte [rcx + 0x4c]
mov byte [rbp + 0x1a], al
movzx eax, byte [rcx + 0x4b]
mov byte [rbp + 0x19], al
movzx eax, byte [rcx + 0x49]
mov byte [rbp + 0x18], al
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x18]
call fcn.140160b80
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x14014f530
movups xmm0, xmmword [rbp + 0x78]
movaps xmmword [rbp - 0x60], xmm0
mov rcx, qword [rbp + 0x88]
jmp 0x14014f4de
xor eax, eax
xor ecx, ecx
mov r13, qword [rbp + 0x68]
mov rdx, qword [rbp + 0xd0]
movaps xmm0, xmmword [rbp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm2, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x20], xmm2
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
mov qword [r13 + 0x30], rdx
mov qword [r13 + 0x38], rax
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [r13 + 0x40], xmm0
mov qword [r13 + 0x50], rcx
mov qword [r13 + 0x58], rcx
mov rax, r13
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rax, 0x8000000000000000
mov qword [r13], rax
mov rax, qword [rbp + 0x48]
lock dec qword [rax]
jne 0x14014f551
lea rcx, [rbp + 0x48]
call fcn.1400fd1b0
mov rsi, qword [rbp + 0x40]
test rsi, rsi
je 0x14014f596
mov rdi, qword [rbp + 0x38]
add rdi, 8
jmp 0x14014f579
add rdi, 0x18
dec rsi
je 0x14014f596
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x14014f570
mov rcx, qword [rdi]
shl rdx, 4
mov r8d, 8
call fcn.14001a130
jmp 0x14014f570
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x14014f5b6
mov rcx, qword [rbp + 0x38]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.14001a130
mov rax, qword [rbp + 0xd0]
lock dec qword [rax]
jne 0x14014f519
mov byte [rbp + 0xdf], 0
lea rcx, [rbp + 0xd0]
call fcn.1400fd1b0
jmp 0x14014f519
lea r8, [0x140aa5af8]
mov rcx, r14
mov rdx, rax
call fcn.14021d300
jmp 0x14014f67f
lea r8, [0x140aa5ae0]
mov rcx, r15
call fcn.14021d300
jmp 0x14014f67f
lea r8, [0x140aa5c10]
call fcn.14021d300
jmp 0x14014f67f
lea r8, [0x140aa5bf8]
mov rcx, rsi
call fcn.14021d680
jmp 0x14014f67f
mov ecx, 8
mov edx, 0x58
call fcn.14021cf70
jmp 0x14014f67f
lea rcx, str.assertion_failed:_patterns.len_____1C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpacked_rabinkarp.rs
lea r8, [0x140aa5ba8]
mov edx, 0x25
call fcn.14021d260
jmp 0x14014f67f
call fcn.1401f9dd0
jmp 0x14014f67f
mov ecx, 4
mov rdx, r12
call fcn.14021cf70
jmp 0x14014f67f
lea rcx, str.assertion_failed:_hash_len___1
lea r8, [0x140aa5be0]
mov edx, 0x1f
call fcn.14021d260
ud2