Function at 0x140197760
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140186e40
cmp eax, 0x70
je 0x1401977aa
mov rcx, r14
call fcn.140186e40
cmp eax, 0x50
jne 0x140198678
mov rax, qword [r14]
cmp qword [rax + 0x80], 0
jne 0x14019866c
mov qword [rax + 0x80], 0xffffffffffffffff
mov qword [rbp + 0x88], rax
mov qword [rax + 0x98], 0
mov rcx, r14
call fcn.140186e40
mov dword [rbp + 0x4c], eax
mov rcx, r14
call fcn.140186f60
test al, al
je 0x1401978dd
mov rcx, r14
call fcn.1401870f0
mov rbx, qword [r14 + 0x10]
mov r15, qword [rbp + 0x88]
cmp qword [r15 + 0xa0], rbx
je 0x1401978e8
mov rcx, r14
call fcn.140186e40
mov rcx, qword [rbp + 0x88]
lea rdx, [rcx + 0xa0]
mov qword [rbp + 0x78], rdx
mov rdx, qword [rdx]
mov qword [rbp + 0x50], rdx
cmp eax, 0x7b
jne 0x140197af6
mov rcx, r14
call fcn.140186e40
mov ecx, 1
cmp eax, 0x80
jb 0x14019786b
mov ecx, 2
cmp eax, 0x800
jb 0x14019786b
cmp eax, 0x10000
mov ecx, 4
sbb rcx, 0
mov rax, qword [rbp + 0x50]
add rax, rcx
mov rcx, rax
mov rax, qword [rbp + 0x88]
jb 0x14019869a
mov qword [rbp + 0x50], rcx
mov rcx, qword [rax + 0xb0]
inc rcx
mov qword [rbp + 0x70], rcx
je 0x1401986ab
mov rax, qword [rax + 0xa8]
mov qword [rbp + 0x58], rax
mov rcx, r14
call fcn.140186e40
mov rcx, qword [rbp + 0x88]
lea r15, [rcx + 0x88]
xor ecx, ecx
cmp eax, 0xa
sete cl
mov eax, 1
mov rdx, qword [rbp + 0x70]
cmove rdx, rax
mov qword [rbp + 0x70], rdx
add qword [rbp + 0x58], rcx
jmp 0x140197989
mov rbx, qword [r14 + 0x10]
mov r15, qword [rbp + 0x88]
mov rax, qword [r15 + 0xb0]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [r15 + 0xa0]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [r15 + 0xb0]
mov qword [rbp + 8], rax
movups xmm0, xmmword [r15 + 0xa0]
movups xmmword [rbp - 8], xmm0
mov rdi, qword [r14 + 8]
test rbx, rbx
je 0x140197cb9
js 0x140198690
movzx eax, byte [0x140b65265]
mov edx, 1
mov rcx, rbx
call fcn.14001a120
mov r14, rax
test rax, rax
jne 0x140197cbf
mov ecx, 1
mov rdx, rbx
call fcn.14021cf70
jmp 0x140198763
mov r12, qword [rbp + 0x88]
mov rcx, qword [r12 + 0x90]
add rcx, r13
lea rdx, [rbp - 0x20]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add r13, rdi
mov qword [r12 + 0x98], r13
mov rcx, r14
call fcn.140186f60
test al, al
je 0x140197c4a
mov rcx, r14
call fcn.1401870f0
mov rax, qword [rbp + 0x78]
cmp qword [rax], rbx
je 0x140197c4a
mov rcx, r14
call fcn.140186e40
cmp eax, 0x7d
je 0x140197c4a
mov rcx, r14
call fcn.140186e40
mov r13d, eax
cmp eax, 0x80
jae 0x140197a00
mov rax, qword [rbp + 0x88]
mov rdx, qword [rax + 0x98]
cmp rdx, qword [rax + 0x88]
jne 0x140197a30
mov rcx, r15
call fcn.1400166f0
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rcx + 0x98]
jmp 0x140197a37
mov dword [rbp - 0x20], 0
mov eax, r13d
cmp r13d, 0x800
jae 0x140197a50
shr eax, 6
or al, 0xc0
mov byte [rbp - 0x20], al
mov edi, 2
mov eax, 1
jmp 0x140197aa6
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx + 0x90]
mov byte [rax + rdx], r13b
inc qword [rcx + 0x98]
jmp 0x140197989
cmp r13d, 0x10000
jae 0x140197a7a
shr eax, 0xc
or al, 0xe0
mov byte [rbp - 0x20], al
mov eax, r13d
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rbp - 0x1f], al
mov edi, 3
mov eax, 2
jmp 0x140197aa6
shr eax, 0x12
or al, 0xf0
mov byte [rbp - 0x20], al
mov eax, r13d
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [rbp - 0x1f], al
mov eax, r13d
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rbp - 0x1e], al
mov edi, 4
mov eax, 3
and r13b, 0x3f
or r13b, 0x80
mov byte [rbp + rax - 0x20], r13b
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx + 0x88]
mov r13, qword [rcx + 0x98]
sub rax, r13
cmp rax, rdi
jae 0x140197960
mov rcx, r15
mov rdx, r13
mov r8, rdi
call fcn.140211670
mov r12, qword [rbp + 0x88]
mov r13, qword [r12 + 0x98]
jmp 0x140197967
mov rax, qword [rcx + 0xa8]
mov qword [rbp + 0x58], rax
mov rax, qword [rcx + 0xb0]
mov qword [rbp + 0x70], rax
mov rcx, r14
call fcn.140186e40
mov edi, eax
mov rax, rdi
cmp eax, 0x5c
jne 0x140197d2a
mov rax, qword [rbp + 0x78]
mov rdi, qword [rax]
mov rcx, r14
call fcn.140186e40
mov ecx, 1
cmp eax, 0x80
jb 0x140197b57
mov ecx, 2
cmp eax, 0x800
jb 0x140197b57
cmp eax, 0x10000
mov ecx, 4
sbb rcx, 0
add rdi, rcx
mov rax, qword [rbp + 0x88]
jb 0x1401986bc
mov r13, qword [rax + 0xb0]
inc r13
je 0x1401986cd
mov r12, qword [rax + 0xa8]
mov rcx, r14
call fcn.140186e40
mov r15d, eax
mov qword [rbp + 0x98], rdi
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rbp - 0x20], xmm0
mov rdi, qword [r14 + 8]
mov ecx, 1
mov r14d, 1
test rbx, rbx
je 0x140197be2
js 0x14019870a
movzx eax, byte [0x140b65265]
mov edx, 1
mov rcx, rbx
call fcn.14001a120
mov r14, rax
test rax, rax
mov ecx, 1
je 0x140198711
xor eax, eax
cmp r15d, 0xa
sete al
cmove r13, rcx
add r12, rax
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x40], rax
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], 0x1f
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rsi + 0x50], xmm0
mov rax, qword [rbp - 0x40]
mov qword [rsi + 0x60], rax
mov rax, qword [rbp + 0x98]
mov qword [rsi + 0x68], rax
mov qword [rsi + 0x70], r12
mov qword [rsi + 0x78], r13
jmp 0x1401984e9
mov rcx, qword [rbp + 0x78]
cmp qword [rcx], rbx
jne 0x140197d4d
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rbp + 8], rax
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 8], xmm0
mov rdi, qword [r14 + 8]
test rbx, rbx
mov r15, qword [rbp + 0x88]
je 0x140197cb9
js 0x14019871b
movzx eax, byte [0x140b65265]
mov edx, 1
mov rcx, rbx
call fcn.14001a120
mov r14, rax
test rax, rax
jne 0x140197cbf
mov ecx, 1
mov rdx, rbx
call fcn.14021cf70
jmp 0x140198763
mov r14d, 1
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movaps xmm2, xmmword [rbp]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], 0xa
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm1
movups xmmword [rsi + 0x70], xmm2
mov rcx, r14
call fcn.140186f60
movabs r13, 0x8000000000000000
test al, al
je 0x140197d48
mov rcx, r14
call fcn.1401870f0
jmp 0x14019848c
mov rcx, r14
call fcn.140186e40
mov dword [rbp - 0x50], eax
cmp eax, 0x7d
jne 0x1401986de
mov rcx, r14
call fcn.140186f60
mov rax, qword [rbp + 0x88]
mov r14, qword [rax + 0x90]
mov rbx, qword [rax + 0x98]
mov qword [rsp + 0x20], 2
lea r9, [0x140abfc30]
lea rcx, [rbp - 0x20]
mov rdx, r14
mov r8, rbx
call fcn.140202bf0
cmp qword [rbp - 0x20], 0
je 0x140197f0e
mov rdi, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
mov rax, qword [rbp + 0x40]
lea r15, [rax - 1]
mov rdx, qword [rbp + 0x30]
mov r11, qword [rbp + 0x38]
cmp rdi, 0xffffffffffffffff
mov qword [rbp + 0x90], r15
je 0x140197f6c
mov r9, qword [rbp + 8]
mov rcx, r9
mov qword [rbp + 0x98], r9
lea rcx, [r9 + r15]
cmp rcx, rdx
jae 0x14019825f
mov r10, qword [rbp]
mov r12, qword [rbp - 0x18]
mov r9, qword [rbp - 8]
mov r13, rax
mov qword [rbp + 0x60], r9
sub r13, r9
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x80], r10
jmp 0x140197e31
mov rcx, qword [rbp + 0x98]
add rcx, rax
xor edi, edi
mov r9, rcx
mov qword [rbp + 0x98], rcx
add rcx, r15
cmp rcx, rdx
jae 0x14019825f
movzx ecx, byte [r8 + rcx]
bt r10, rcx
jae 0x140197e0f
cmp r12, rdi
mov r13, rdi
cmova r13, r12
mov rcx, qword [rbp + 0x98]
lea r9, [r8 + rcx]
mov rcx, r13
nop word cs:[rax + rax]
cmp rcx, rax
jae 0x140197eac
mov r10, qword [rbp + 0x98]
add r10, rcx
cmp r10, rdx
jae 0x14019853b
lea r10, [rcx + 1]
movzx r15d, byte [r11 + rcx]
cmp r15b, byte [r9 + rcx]
mov rcx, r10
je 0x140197e60
mov rcx, qword [rbp + 0x98]
sub rcx, r12
add rcx, r10
xor edi, edi
mov r15, qword [rbp + 0x90]
mov r10, qword [rbp + 0x80]
jmp 0x140197e1b
mov rcx, r12
mov r15, qword [rbp + 0x90]
nop word cs:[rax + rax]
cmp rdi, rcx
jae 0x140198125
dec rcx
cmp rcx, rax
jae 0x140198580
mov r9, qword [rbp + 0x98]
add r9, rcx
cmp r9, rdx
jae 0x140198594
movzx r10d, byte [r11 + rcx]
cmp r10b, byte [r8 + r9]
je 0x140197ec0
mov rcx, qword [rbp + 0x98]
add rcx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x68]
mov r10, qword [rbp + 0x80]
jmp 0x140197e1b
cmp byte [rbp - 6], 0
jne 0x14019825f
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
movzx eax, byte [rbp - 8]
test r8, r8
je 0x140198097
cmp r8, rdi
jae 0x140198091
cmp byte [rcx + r8], 0xc0
jge 0x140198097
mov qword [rbp + 0x98], rdi
lea rax, [0x140abf218]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x98]
mov r9, rdx
call fcn.14021d7e0
jmp 0x140198763
mov r9, qword [rbp + 8]
mov rcx, r9
mov qword [rbp + 0x98], r9
add r9, r15
cmp r9, rdx
jae 0x14019825f
mov rcx, qword [rbp]
mov r12, qword [rbp - 0x18]
lea r10, [r12 - 1]
cmp r10, rax
mov qword [rbp + 0x80], r10
jae 0x1401985bc
mov rdi, qword [rbp - 8]
mov qword [rbp + 0x68], rdi
add r10, r11
mov qword [rbp + 0x60], r10
jmp 0x140197fd4
mov r9, qword [rbp + 0x98]
add r9, rax
mov r10, r9
mov qword [rbp + 0x98], r9
add r9, r15
cmp r9, rdx
jae 0x14019825f
movzx r9d, byte [r8 + r9]
bt rcx, r9
jae 0x140197fb4
mov r10, qword [rbp + 0x98]
mov r9, r10
neg r9
lea r13, [r8 + r10]
mov rdi, r12
nop word cs:[rax + rax]
cmp rax, rdi
je 0x14019803a
mov r10, qword [rbp + 0x98]
add r10, rdi
cmp r10, rdx
jae 0x140198626
movzx r10d, byte [r11 + rdi]
lea r15, [rdi + 1]
dec r9
cmp r10b, byte [r13 + rdi]
mov rdi, r15
je 0x140198000
neg r9
mov r15, qword [rbp + 0x90]
jmp 0x140197fbe
mov r9, qword [rbp + 0x98]
mov r10, qword [rbp + 0x80]
add r9, r10
mov r13, qword [rbp + 0x60]
mov rdi, r12
sub rdi, 1
jb 0x140198125
cmp r9, rdx
jae 0x1401985a8
movzx r10d, byte [r13]
dec r13
lea r15, [r9 - 1]
cmp r10b, byte [r8 + r9]
mov r9, r15
je 0x140198052
mov r9, qword [rbp + 0x98]
add r9, qword [rbp + 0x68]
mov r15, qword [rbp + 0x90]
jmp 0x140197fbe
jne 0x140197f45
cmp r8, rdi
jne 0x1401980ac
mov qword [rbp + 0x98], r8
test al, al
jne 0x140198125
jmp 0x14019825f
movzx r10d, byte [rcx + r8]
movzx r9d, r10b
test r9b, r9b
js 0x1401980bf
mov edx, r9d
jmp 0x140198116
mov edx, r9d
and edx, 0x1f
movzx r11d, byte [rcx + r8 + 1]
and r11d, 0x3f
cmp r9b, 0xe0
jb 0x140198108
movzx r9d, byte [rcx + r8 + 2]
shl r11d, 6
and r9d, 0x3f
or r9d, r11d
cmp r10b, 0xf0
jb 0x140198110
movzx r10d, byte [rcx + r8 + 3]
and edx, 7
shl edx, 0x12
shl r9d, 6
and r10d, 0x3f
or r10d, r9d
or edx, r10d
jmp 0x140198116
shl edx, 6
or edx, r11d
jmp 0x140198116
shl edx, 0xc
or edx, r9d
test al, al
je 0x14019824c
mov qword [rbp + 0x98], r8
mov qword [rbp + 0x98], rdi
cmp edx, 0x110000
jne 0x1401984f5
mov eax, 1
cmp edx, 0x80
jb 0x14019851e
mov eax, 2
cmp edx, 0x800
jb 0x14019851e
cmp edx, 0x10000
mov eax, 4
sbb rax, 0
add r8, rax
mov rax, qword [rbp + 0x98]
je 0x140198563
cmp r8, rax
jae 0x14019855d
cmp byte [rcx + r8], 0xbf
jg 0x140198563
jmp 0x140197f4c
add r13, qword [rbp + 0x98]
cmp rdx, r13
cmova r13, rdx
lea r8, [0x140abf1a8]
pop rax
insb byte [rdi], dx
xchg edx, eax
add byte [rcx + rcx*4 - 0x17], cl
call fcn.14021d300
jmp 0x140198763
jne 0x140197f4c
cmp r8, rax
je 0x140198125
movzx eax, byte [rcx + r8]
test al, al
jns 0x14019811e
cmp al, 0xe0
jmp 0x14019811e
lea r8, [0x140abf178]
mov rdx, rax
call fcn.14021d300
jmp 0x140198763
lea r8, [0x140abf190]
mov rcx, r9
call fcn.14021d300
jmp 0x140198763
lea r8, [0x140abf190]
mov rcx, r9
call fcn.14021d300
jmp 0x140198763
lea r15, [r8 + r12]
add r11, r12
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
call fcn.14021d090
lea rcx, str.assertion_failed:_self.char____p__self.char____P
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
call fcn.14021d150
jmp 0x140198763
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
call fcn.14021d150
jmp 0x140198763
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
call fcn.14021d150
jmp 0x140198763
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
mov qword [rbp - 0x20], 0
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_astparse.rs
mov qword [rsp + 0x20], rax
lea r8, [0x140abfaa0]
lea rdx, [rbp - 0x50]
lea r9, [rbp - 0x20]
xor ecx, ecx
call fcn.140217c30
jmp 0x140198763
call fcn.1401f9dd0
jmp 0x140198763
mov rdx, rbx
call fcn.14021cf70
jmp 0x140198763
call fcn.1401f9dd0
jmp 0x140198763