Function at 0x1801313a0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], 0xfffffffffffffffe
cmp byte [rdx + 0x4d], 0
jne 0x180131439
mov rsi, rdx
cmp qword [rdx + 0x10], 0
je 0x180131439
mov qword [rbp + 0xd8], rcx
lea rcx, [rbp + 0x80]
mov rdx, rsi
call fcn.180143e00
mov r12, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
test rbx, rbx
je 0x18013144b
mov rax, rbx
shr rax, 0x3d
lea r15, [rbx*4]
test rax, rax
jne 0x1801319e4
movzx eax, byte [0x1802ea611]
mov r13d, 4
mov edx, 4
mov rcx, r15
call fcn.180004690
test rax, rax
je 0x1801319e7
mov r14, rax
jmp 0x180131454
movabs rax, 0x8000000000000000
mov qword [rcx], rax
jmp 0x1801318a4
mov r14d, 4
xor r15d, r15d
mov rcx, r14
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp + 0x90]
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 0x1801314c5
lea rax, [rbp - 0x50]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xef], 1
lea r8, [rbp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.180143fb0
jmp 0x1801314de
mov byte [rbp + 0xef], 1
lea r8, [rbp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.180144b40
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0xd0], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x20]
movups xmmword [rbp + 0xc0], xmm3
movups xmmword [rbp + 0xb0], xmm2
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x88], 1
movzx eax, byte [0x1802ea611]
mov ecx, 0x58
mov edx, 8
call fcn.180004690
test rax, rax
je 0x1801319b9
mov rcx, qword [rbp + 0xd0]
mov qword [rax + 0x50], rcx
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x80]
movups xmm1, xmmword [rbp + 0x90]
movups xmm2, xmmword [rbp + 0xa0]
movups xmm3, xmmword [rbp + 0xb0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rbp + 0xe0], rax
cmp qword [rax + 0x20], 0
je 0x1801319ca
mov r12, qword [rax + 0x40]
mov rdi, r12
cmp r12, 1
je 0x1801315f8
test r12, r12
je 0x1801319f4
lea rcx, [r12 - 1]
lea rdx, [r12 - 2]
mov r8d, ecx
and r8d, 7
cmp rdx, 7
jae 0x1801315d1
mov edi, 1
jmp 0x1801315ea
and rcx, 0xfffffffffffffff8
mov edi, 1
nop word [rax + rax]
shl rdi, 8
add rcx, 0xfffffffffffffff8
jne 0x1801315e0
test r8, r8
je 0x1801315f8
nop
add rdi, rdi
dec r8
jne 0x1801315f0
lock inc qword [rax]
jle 0x180131a0c
mov qword [rbp + 0x20], rsi
mov qword [rbp], rax
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 8
mov qword [rbp + 0x90], 0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x80]
mov r8d, 0x40
mov qword [rbp + 0x78], rax
call fcn.1801437e0
mov r13, qword [rbp + 0x78]
mov qword [rbp + 0x98], r13
movups xmm0, xmmword [rbp + 0x28]
movaps xmmword [rbp + 0x80], xmm0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], rdi
lea rax, [r12 - 1]
mov qword [rbp + 8], rax
mov ebx, r12d
and ebx, 7
mov rax, r12
and rax, 0xfffffffffffffff8
mov qword [rbp + 0x18], rax
xor r15d, r15d
mov qword [rbp + 0x10], r12
jmp 0x1801316c4
inc r15
mov rax, qword [r12 + 8]
mov rcx, rsi
shl rcx, 4
mov qword [rax + rcx], rdi
mov dword [rax + rcx + 8], r14d
inc rsi
mov qword [r12 + 0x10], rsi
mov r12, qword [rbp + 0x10]
mov rdx, qword [r13 + 0x20]
cmp r15, rdx
jae 0x1801317e1
mov rax, qword [r13 + 0x38]
cmp r15, rax
jae 0x1801319a5
mov rax, qword [r13 + 0x30]
mov r14d, dword [rax + r15*4]
cmp rdx, r14
jbe 0x180131972
mov rax, qword [r13 + 0x18]
lea r8, [r14 + r14*2]
mov rdx, qword [rax + r8*8 + 0x10]
cmp r12, rdx
ja 0x180131986
lea rax, [rax + r8*8]
mov rax, qword [rax + 8]
cmp qword [rbp + 8], 7
jae 0x180131720
xor edi, edi
jmp 0x180131788
mov r11, qword [rbp + 0x18]
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 r11, 0xfffffffffffffff8
jne 0x180131730
test rbx, rbx
je 0x1801317a1
xor r8d, r8d
movzx edx, byte [rax + r8]
lea rdi, [rdx + rdi*2]
inc r8
cmp rbx, r8
jne 0x180131790
mov ecx, edi
and ecx, 0x3f
mov rdx, qword [rbp + 0x90]
cmp rcx, rdx
jae 0x180131997
mov rax, qword [rbp + 0x88]
lea rcx, [rcx + rcx*2]
lea r12, [rax + rcx*8]
mov rsi, qword [rax + rcx*8 + 0x10]
cmp rsi, qword [rax + rcx*8]
jne 0x1801316a0
mov rcx, r12
call fcn.18000aac0
jmp 0x1801316a0
movaps xmm0, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x90]
movaps xmm2, xmmword [rbp + 0xa0]
movaps xmmword [rbp + 0x60], xmm2
movaps xmmword [rbp + 0x50], xmm1
movaps xmmword [rbp + 0x40], xmm0
mov rcx, qword [rbp + 0x20]
test byte [rcx + 0x4a], 1
jne 0x180131862
mov r8, qword [rbp + 0xe0]
lock inc qword [r8]
jle 0x180131a0c
movzx eax, byte [rcx + 0x4c]
mov byte [rbp + 0x2a], al
movzx eax, byte [rcx + 0x4b]
mov byte [rbp + 0x29], al
movzx eax, byte [rcx + 0x49]
mov byte [rbp + 0x28], al
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x28]
call fcn.180136f30
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x1801318bb
movups xmm0, xmmword [rbp + 0x88]
movaps xmmword [rbp - 0x60], xmm0
mov r8, qword [rbp + 0x98]
jmp 0x180131867
xor eax, eax
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
movaps xmm0, xmmword [rbp + 0x40]
movaps xmm1, xmmword [rbp + 0x50]
movaps xmm2, xmmword [rbp + 0x60]
mov rcx, qword [rbp + 0xd8]
movups xmmword [rcx + 0x20], xmm2
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx], xmm0
mov qword [rcx + 0x30], rdx
mov qword [rcx + 0x38], rax
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], r8
mov qword [rcx + 0x58], r8
mov rax, rcx
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0xd8]
mov qword [rcx], rax
mov rax, qword [rbp + 0x58]
lock dec qword [rax]
jne 0x1801318e2
lea rcx, [rbp + 0x58]
call fcn.1800ddfd0
mov rsi, qword [rbp + 0x50]
test rsi, rsi
je 0x180131926
mov rdi, qword [rbp + 0x48]
add rdi, 8
jmp 0x180131909
add rdi, 0x18
dec rsi
je 0x180131926
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x180131900
mov rcx, qword [rdi]
shl rdx, 4
mov r8d, 8
call fcn.1800046a0
jmp 0x180131900
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x180131946
mov rcx, qword [rbp + 0x48]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.1800046a0
mov rax, qword [rbp + 0xe0]
lock dec qword [rax]
jne 0x180131966
mov byte [rbp + 0xef], 0
lea rcx, [rbp + 0xe0]
call fcn.1800ddfd0
mov rcx, qword [rbp + 0xd8]
jmp 0x1801318a4
lea r8, [0x180227f10]
mov rcx, r14
call fcn.180201960
jmp 0x180131a0c
lea r8, [0x180226ff0]
mov rcx, r12
call fcn.180201ca0
jmp 0x180131a0c
lea r8, [0x180227008]
call fcn.180201960
jmp 0x180131a0c
lea r8, [0x180227f28]
mov rcx, r15
mov rdx, rax
call fcn.180201960
jmp 0x180131a0c
mov ecx, 8
mov edx, 0x58
call fcn.180201590
jmp 0x180131a0c
lea rcx, str.assertion_failed:_patterns.len_____1C:Users_runneradmin_.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpacked_rabinkarp.rs
lea r8, [0x180226fa0]
mov edx, 0x25
call fcn.1802018d0
jmp 0x180131a0c
xor r13d, r13d
mov rcx, r13
mov rdx, r15
call fcn.180201570
jmp 0x180131a0c
lea rcx, str.assertion_failed:_hash_len___1
lea r8, [0x180226fd8]
mov edx, 0x1f
call fcn.1802018d0
ud2