Function at 0x1401a90c0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe8
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x1401a90e8
and al, 1
je 0x1401a944a
movzx eax, byte [rdi + 0x30]
cmp rax, 2
je 0x1401a9194
cmp eax, 1
jne 0x1401a9276
movzx eax, byte [0x1403ac1f0]
mov rcx, qword [0x1403ac160]
test rcx, rcx
jne 0x1401a912a
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401a9462
mov rcx, rax
mov qword [0x1403ac160], rax
mov r8d, 0x50
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401a9462
movaps xmm0, xmmword [0x1402a2cf0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1402a2d00]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x1402a2d10]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x1402a2d20]
movups xmmword [rax + 0x30], xmm0
movdqa xmm0, xmmword [0x1402a2d30]
movdqu xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x30], 0xa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xa
jmp 0x1401a9340
movzx eax, byte [0x1403ac1f0]
mov rcx, qword [0x1403ac160]
test rcx, rcx
jne 0x1401a91bf
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401a9471
mov rcx, rax
mov qword [0x1403ac160], rax
mov r8d, 0x1818
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401a9471
xor ecx, ecx
lea rdx, [0x140319460]
movdqa xmm0, xmmword [0x1402a2ce0]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x1401a91f0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x303
jmp 0x1401a9340
movzx eax, byte [0x1403ac1f0]
mov rcx, qword [0x1403ac160]
test rcx, rcx
jne 0x1401a92a1
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401a9480
mov rcx, rax
mov qword [0x1403ac160], rax
mov r8d, 0x200
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401a9480
xor ecx, ecx
lea rdx, [0x14031acc8]
movdqa xmm0, xmmword [0x1402a2ce0]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x1401a92d0
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x40
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x30]
call fcn.1401a5180
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movabs r14, 0x8000000000000000
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
mov r9, rdi
call fcn.1401ac9f0
mov rax, qword [rsp + 0x30]
cmp rax, r14
jne 0x1401a93e9
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
cmp byte [rdi + 0x31], 0
je 0x1401a93cc
lea rcx, [rsp + 0xa0]
call fcn.1401a68a0
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov qword [rsi], r14
jmp 0x1401a943d
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movdqu xmm2, xmmword [rsp + 0x58]
movdqu xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov rcx, qword [rsp + 0x78]
mov qword [rsi + 0x48], rcx
movdqu xmmword [rsi + 0x38], xmm3
movdqu xmmword [rsi + 0x28], xmm2
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rax
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_self.flags__.unicode__
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_hir_translate.rs
mov edx, 0x28
call fcn.1400abba0
mov ecx, 4
mov edx, 0x50
call fcn.1400a81e0
mov ecx, 4
mov edx, 0x1818
call fcn.1400a81e0
mov ecx, 4
mov edx, 0x200
call fcn.1400a81e0
int3