Function at 0x1402410f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x110
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x140241116
and al, 1
je 0x1402414ab
movzx eax, byte [rdi + 0x30]
test rax, rax
je 0x1402411c1
cmp eax, 1
jne 0x140241295
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x140241157
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402414c5
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x50
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402414c5
movaps xmm0, xmmword [0x14030cdd0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14030cde0]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x14030cdf0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14030ce00]
movups xmmword [rax + 0x30], xmm0
movdqa xmm0, xmmword [0x14030ce10]
movdqu xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x40], 0xa
jmp 0x140241371
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402411ec
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402414d6
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x200
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402414d6
xor ecx, ecx
lea rdx, [0x14039adc8]
movdqa xmm0, xmmword [0x14030cdc0]
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, 0x200
jne 0x140241220
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x40
mov qword [rsp + 0x40], 0x40
jmp 0x140241371
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402412c0
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402414e7
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x1818
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402414e7
xor ecx, ecx
lea rdx, [0x1403995b0]
movdqa xmm0, xmmword [0x14030cdc0]
nop word [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 0x1402412f0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x303
mov qword [rsp + 0x40], 0x303
lea rcx, [rsp + 0x30]
call fcn.14023e9e0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x80], xmm0
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.140241ec0
movzx eax, byte [rsp + 0x78]
cmp al, 8
jne 0x14024140d
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rax
cmp byte [rdi + 0x31], 0
je 0x1402413ed
lea rcx, [rsp + 0xa0]
call fcn.140241910
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x48], 8
jmp 0x1402414a0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x100], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movups xmm3, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xf0], xmm3
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov ecx, dword [rsp + 0x7c]
mov dword [rsi + 0x4c], ecx
mov ecx, dword [rsp + 0x79]
mov dword [rsi + 0x49], ecx
mov rcx, qword [rsp + 0x100]
mov qword [rsi + 0x40], rcx
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmm1, xmmword [rsp + 0xd0]
movdqa xmm2, xmmword [rsp + 0xe0]
movdqa xmm3, xmmword [rsp + 0xf0]
movdqu xmmword [rsi + 0x30], xmm3
movdqu xmmword [rsi + 0x20], xmm2
movdqu xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov byte [rsi + 0x48], al
add rsp, 0x110
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_self.flags__.unicode__
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_syntax_0.6.29_src_hir_translate.rs
mov edx, 0x28
call fcn.140137ef0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.1400eb190
ud2
mov ecx, 4
mov edx, 0x200
call fcn.1400eb190
ud2
mov ecx, 4
mov edx, 0x1818
call fcn.1400eb190
ud2