Function at 0x4fc920
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x4fc949
and al, 1
je 0x4fcd62
movzx eax, byte [rdi + 0x30]
cmp rax, 2
je 0x4fc9f5
cmp eax, 1
jne 0x4fcad6
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4fc98b
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4fcd7c
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x50
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4fcd7c
movaps xmm0, xmmword [0x0086d990]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x0086d9a0]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x0086d9b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x0086d9c0]
movups xmmword [rax + 0x30], xmm0
movdqa xmm0, xmmword [0x0086d9d0]
movdqu xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0xa
mov qword [rsp + 0x38], 0xa
jmp 0x4fcc10
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4fca20
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4fcd8d
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x1818
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4fcd8d
xor ecx, ecx
lea rdx, [0x008c7b78]
movdqa xmm0, xmmword [0x0086d980]
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 0x4fca50
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], 0x303
jmp 0x4fcc10
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4fcb01
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4fcd9e
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x200
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4fcd9e
lea rdx, str.anyassignedascii0z
lea rcx, [0x008c93e0]
cmp rax, rdx
jae 0x4fcb8e
mov rdx, rax
add rdx, 0x200
cmp rdx, rcx
jbe 0x4fcb8e
xor edx, edx
nop dword [rax + rax]
mov r8d, dword [rcx + rdx*8]
mov r9d, dword [rcx + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rcx + rdx*8 + 8]
mov r9d, dword [rcx + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rdx, 0x40
jne 0x4fcb40
jmp 0x4fcbf9
xor edx, edx
movdqa xmm0, xmmword [0x0086d980]
nop dword [rax + rax]
movdqu xmm1, xmmword [rdx + rcx]
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 + rdx], xmm2
add rdx, 0x10
cmp rdx, 0x200
jne 0x4fcba0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], 0x40
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.00507780
mov r12, qword [rsp + 0x48]
movzx eax, byte [rsp + 0x60]
cmp al, 2
jne 0x4fcc90
mov r14, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x4fcd03
js 0x4fcdaf
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4fcc6b
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4fcc81
mov rcx, rax
mov qword [0x009bf100], rax
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
mov r15, rax
test rax, rax
jne 0x4fcd09
mov ecx, 1
mov rdx, rbx
call fcn.0044dfd0
ud2
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x44], ecx
mov ecx, dword [rsp + 0x61]
mov dword [rsp + 0x41], ecx
mov qword [rsp + 0x28], r12
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], al
cmp byte [rdi + 0x31], 0
je 0x4fccc3
lea rcx, [rsp + 0x28]
call fcn.0050b4a0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov qword [rsi + 0x10], rdx
movzx edx, byte [rsp + 0x40]
mov byte [rsi + 0x18], dl
mov edx, dword [rsp + 0x41]
mov dword [rsi + 0x19], edx
movzx edx, word [rsp + 0x45]
mov word [rsi + 0x1d], dx
movzx edx, byte [rsp + 0x47]
mov byte [rsi + 0x1f], dl
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov byte [rsi + 0x48], 7
jmp 0x4fcd54
mov r15d, 1
add r12b, 3
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
movzx eax, byte [rdi]
movups xmm0, xmmword [rdi + 8]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x30], xmm0
mov rcx, qword [rdi + 0x28]
mov qword [rsi + 0x40], rcx
mov ecx, dword [rdi + 1]
mov edx, dword [rdi + 4]
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x19], ecx
mov qword [rsi], r15
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov byte [rsi + 0x18], al
mov byte [rsi + 0x48], r12b
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_self.flags__.unicode__
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_syntax_0.8.2_src_hir_translate.rs
mov edx, 0x28
call fcn.0044fe30
ud2
mov ecx, 4
mov edx, 0x50
call fcn.0044dfd0
ud2
mov ecx, 4
mov edx, 0x1818
call fcn.0044dfd0
ud2
mov ecx, 4
mov edx, 0x200
call fcn.0044dfd0
ud2
call fcn.0044df90
ud2