Function at 0x54f400
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, 0xe
jne 0x54f548
movabs rax, 0x5f6c616d69636544
xor rax, qword [rbx]
movabs rcx, 0x7265626d754e5f6c
xor rcx, qword [rbx + 6]
or rcx, rax
jne 0x54f665
movzx eax, byte [0x0083c308]
mov edx, 0x200
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x54f9be
xor ecx, ecx
lea rdx, [0x0075de68]
movdqa xmm0, xmmword [0x00721770]
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 0x54f480
mov rcx, rax
add rcx, 0x200
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
call sym._ZN137__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_alloc..vec..into_iter..IntoIter
mov rax, qword [rsp + 0x50]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call sym._ZN12regex_syntax3hir8interval20IntervalSet_LT_I_GT_12canonicalize17h43a57a9b5ac75202E.llvm.12995889855851085317
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
jmp 0x54f815
cmp rdi, 3
je 0x54f64d
cmp rdi, 8
je 0x54f5fe
cmp rdi, 5
jne 0x54f665
mov eax, 0x49435341
xor eax, dword [rbx]
movzx ecx, byte [rbx + 4]
xor ecx, 0x49
or ecx, eax
jne 0x54f665
movzx eax, byte [0x0083c308]
mov edx, 8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x54f9cd
movabs rcx, 0x7f00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
call sym._ZN137__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_alloc..vec..into_iter..IntoIter
mov rax, qword [rsp + 0x50]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call sym._ZN12regex_syntax3hir8interval20IntervalSet_LT_I_GT_12canonicalize17h43a57a9b5ac75202E.llvm.12995889855851085317
jmp 0x54f530
movabs rax, 0x64656e6769737341
cmp qword [rbx], rax
jne 0x54f665
movabs rsi, 0x8000000000000000
lea rdx, [0x00761225]
lea rcx, [rsp + 0x20]
mov r8d, 0xa
call sym.regex_syntax::unicode::gencat::h12c638c802957a51
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rsp + 0x28]
cmp rcx, rsi
jne 0x54f976
mov byte [r14 + 8], al
mov qword [r14], rsi
jmp 0x54f815
movzx eax, word [rbx]
xor eax, 0x6e41
movzx ecx, byte [rbx + 2]
xor ecx, 0x79
or cx, ax
je 0x54f8f4
mov qword [rsp + 0x60], r14
mov r12d, 0x25
xor r15d, r15d
lea r14, [0x00776940]
mov r13d, 0x25
shr r12, 1
add r12, r15
mov rbp, r12
shl rbp, 5
mov rcx, qword [rbp + r14]
mov r8, qword [rbp + r14 + 8]
mov rsi, r8
sub rsi, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
test rsi, rsi
je 0x54f6e9
lea rax, [r12 + 1]
test rsi, rsi
cmovg r13, r12
cmovs r15, rax
mov r12, r13
sub r12, r15
ja 0x54f680
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 8], 1
movabs rax, 0x8000000000000000
mov qword [rcx], rax
jmp 0x54f815
mov rbx, qword [rbp + r14 + 0x18]
test rbx, rbx
je 0x54f7ad
mov r14, qword [rbp + r14 + 0x10]
lea rdi, [rbx*8]
movzx eax, byte [0x0083c308]
xor ecx, ecx
mov rdx, rdi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x54f9b1
cmp rbx, 0x14
jae 0x54f826
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 1
je 0x54f759
mov r8d, dword [r14 + rcx*8]
mov r9d, dword [r14 + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp rbx, rdx
je 0x54f7b2
nop
mov edx, dword [r14 + rcx*8]
mov r8d, dword [r14 + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [r14 + rcx*8 + 8]
mov r8d, dword [r14 + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp rbx, rcx
jne 0x54f760
jmp 0x54f7b2
mov eax, 4
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
call sym._ZN137__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_alloc..vec..into_iter..IntoIter
mov rax, qword [rsp + 0x50]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call sym._ZN12regex_syntax3hir8interval20IntervalSet_LT_I_GT_12canonicalize17h43a57a9b5ac75202E.llvm.12995889855851085317
mov rax, qword [rsp + 0x60]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rax + rbx*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x54f72a
lea rdx, [rax + 4]
lea r8, [rax + rbx*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x54f72a
lea rdx, [rbx - 1]
shr rdx, 0x3d
jne 0x54f72a
lea rcx, [r14 + rdi]
cmp rax, rcx
jae 0x54f874
mov rcx, rax
add rcx, rdi
cmp r14, rcx
jb 0x54f728
mov rcx, rbx
and rcx, 0xfffffffffffffffe
xor edx, edx
movdqa xmm0, xmmword [0x00721770]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [r14 + rdx*8]
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*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x54f890
cmp rbx, rcx
jne 0x54f72a
jmp 0x54f7b2
movzx eax, byte [0x0083c308]
mov edx, 8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x54f9cd
movabs rcx, 0x10ffff00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
call sym._ZN137__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_alloc..vec..into_iter..IntoIter
mov rax, qword [rsp + 0x50]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call sym._ZN12regex_syntax3hir8interval20IntervalSet_LT_I_GT_12canonicalize17h43a57a9b5ac75202E.llvm.12995889855851085317
jmp 0x54f530
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rdx
movups xmm0, xmmword [rsp + 0x29]
movups xmmword [rsp + 0x49], xmm0
mov qword [rsp + 0x40], rcx
lea rdi, [rsp + 0x48]
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x40]
call sym.regex_syntax::hir::interval::IntervalSet_I_::negate::h6dccb915f9d785a8
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
jmp 0x54f53a
mov ecx, 4
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov ecx, 4
mov edx, 0x200
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov ecx, 4
mov edx, 8
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov rsi, rax
cmp qword [rsp + 0x40], 0
jne 0x54f9ff
jmp 0x54fa10
mov r8, qword [rdi]
mov rcx, qword [0x0083c108]
xor edx, edx
call fcn.006f5b74
mov rcx, rsi
call sym._Unwind_Resume
int3