Function at 0x140169fe0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rax, [r8 - 1]
cmp rax, rdx
jae 0x140169ee3
cmp r8, rdx
jae 0x140169edb
lea rax, [rcx - 0x10]
lea r9, [rcx + r8*8]
add r9, 0xfffffffffffffff8
jmp 0x140169e88
mov rsi, rcx
movzx r11d, r11b
shl r10, 0x20
or r10, r11
mov qword [rsi], r10
inc r8
add r9, 8
cmp r8, rdx
je 0x140169edb
movzx r11d, byte [rcx + r8*8]
cmp r11b, byte [rcx + r8*8 - 8]
jae 0x140169e7c
lea rsi, [rax + r8*8]
add rsi, 8
mov r10d, dword [rcx + r8*8 + 4]
mov rdi, qword [rsi]
mov qword [rcx + r8*8], rdi
cmp r8, 1
je 0x140169e6e
mov edi, 1
mov rsi, r9
nop word cs:[rax + rax]
cmp r11b, byte [rsi - 8]
jae 0x140169e6e
mov rbx, qword [rsi - 8]
mov qword [rsi], rbx
add rsi, 0xfffffffffffffff8
inc rdi
cmp r8, rdi
jne 0x140169ec0
jmp 0x140169e6b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_offset___0__offset___len
lea r8, [0x140203540]
mov edx, 0x2e
call fcn.1401abc50
int3
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov r15, rdx
mov qword [rbp + 0x18], rcx
cmp rdx, 0x15
jae 0x14016a03f
cmp r15, 1
jbe 0x14016a6dd
mov r8d, 1
mov rcx, qword [rbp + 0x18]
mov rdx, r15
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp 0x140169e40
lea rax, [r15*4]
movabs rsi, 0x7ffffffffffffff8
and rsi, rax
movzx eax, byte [0x140296081]
mov edx, 4
mov rcx, rsi
call fcn.1400174d0
test rax, rax
je 0x14016a869
mov qword [rbp + 0x28], rax
mov qword [rbp], rsi
movzx eax, byte [0x140296081]
mov ecx, 0x100
mov edx, 8
call fcn.1400174d0
test rax, rax
je 0x14016a875
mov rdi, rax
mov rax, qword [rbp + 0x18]
lea rcx, [rax + 0xc]
mov qword [rbp - 0x10], rcx
lea rcx, [rax - 4]
mov qword [rbp - 8], rcx
add rax, 0xfffffffffffffff8
mov qword [rbp - 0x18], rax
mov eax, 0x10
mov qword [rbp + 0x58], rax
xor r12d, r12d
xor ebx, ebx
mov qword [rbp + 8], r15
jmp 0x14016a0da
mov r12d, 1
mov rbx, qword [rbp + 0x30]
mov rax, r15
sub rax, rbx
jbe 0x14016a6a1
mov rcx, qword [rbp + 0x18]
lea rcx, [rcx + rbx*8]
cmp rax, 2
mov qword [rbp + 0x38], rdi
jae 0x14016a1e0
mov r8, rax
lea rdx, [r8 + rbx]
mov r13, qword [rbp + 0x58]
mov rdi, rdx
sub rdi, rbx
jb 0x14016a7c1
cmp rdx, r15
ja 0x14016a7c1
jae 0x14016a165
cmp r8, 0xa
jae 0x14016a165
lea r9, [rbx + 0xa]
cmp r9, r15
cmovae r9, r15
cmp rbx, 0xfffffffffffffff6
jae 0x14016a7ea
cmp r8, 1
adc r8, 0
mov rdi, r9
sub rdi, rbx
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov r13, qword [rbp + 0x58]
mov qword [rbp + 0x40], r13
mov rdx, rdi
mov rsi, r9
call 0x140169e40
mov rdx, rsi
cmp r12, r13
jne 0x14016a250
mov qword [rbp + 0x20], rbx
mov rbx, rdx
lea rax, [r13*2]
mov qword [rbp + 0x50], rax
mov rcx, r13
shl rcx, 5
movzx eax, byte [0x140296081]
mov edx, 8
call fcn.1400174d0
test rax, rax
je 0x14016a80e
mov rsi, rax
shl r13, 4
mov rcx, rax
mov r14, qword [rbp + 0x38]
mov rdx, r14
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
mov rcx, r14
mov rdx, r13
call fcn.1400174e0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
mov rdx, rbx
mov rbx, qword [rbp + 0x20]
jmp 0x14016a254
movzx edx, byte [rcx + 8]
cmp dl, byte [rcx]
jae 0x14016a540
mov r8d, 2
cmp rax, 2
je 0x14016a218
nop dword [rax + rax]
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jae 0x14016a218
inc r8
cmp rax, r8
jne 0x14016a200
mov r8, rax
mov rdx, r8
add rdx, rbx
jb 0x14016a84c
cmp rdx, r15
mov r13, qword [rbp + 0x58]
ja 0x14016a82c
cmp r8, 2
jae 0x14016a56e
mov r8d, 1
jmp 0x14016a107
mov rsi, qword [rbp + 0x38]
mov rax, r12
shl rax, 4
mov qword [rsi + rax], rdi
mov qword [rsi + rax + 8], rbx
inc r12
mov rbx, rdx
cmp r12, 2
mov rdi, rsi
jb 0x14016a0da
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], rdi
jmp 0x14016a2e3
mov r15, rdi
mov rdx, qword [rbp + 0x28]
mov r12, qword [rbp + 0x50]
nop dword [rax]
mov rdi, qword [rbp + 0x38]
add r13, rdi
add r14, rdi
sub r8, rdx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x20]
add rax, rsi
mov qword [r14], rax
mov rax, qword [rbp - 0x28]
mov qword [r14 + 8], rax
lea rdx, [r13 + 0x10]
mov rax, qword [rbp - 0x30]
not rax
mov r8, qword [rbp + 0x20]
add r8, rax
shl r8, 4
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
cmp r12, 1
mov r15, qword [rbp + 8]
jbe 0x14016a0d0
lea r10, [r12 - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rdi + rcx]
mov rcx, qword [rdi + rcx + 8]
add rcx, rax
cmp rcx, r15
je 0x14016a350
mov rdx, r12
shl rdx, 4
mov r8, qword [rdx + rdi - 0x20]
cmp r8, rax
jbe 0x14016a350
cmp r12, 2
je 0x14016a59d
lea r11, [r12 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rdi + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x14016a366
cmp r12, 3
jbe 0x14016a689
add r8, rcx
cmp qword [rdx + rdi - 0x40], r8
jbe 0x14016a366
jmp 0x14016a698
cmp r12, 2
je 0x14016a36b
lea r11, [r12 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rdi + rcx]
cmp rcx, rax
jb 0x14016a370
lea r11, [r12 - 2]
cmp r12, r11
jbe 0x14016a6f2
lea r14, [r11 + 1]
cmp r12, r14
jbe 0x14016a738
mov rdx, r11
shl rdx, 4
mov rcx, qword [rdi + rdx + 8]
shl r14, 4
mov rax, qword [rdi + r14]
mov rbx, qword [rdi + r14 + 8]
add rbx, rax
mov rsi, rbx
sub rsi, rcx
jb 0x14016a7a1
cmp rbx, r15
ja 0x14016a77e
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x30], r11
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x50], r10
mov qword [rbp + 0x10], rdx
mov r13, qword [rdi + rdx]
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x28], rcx
lea r15, [rax + rcx*8]
lea rdi, [r15 + r13*8]
mov r12, rsi
sub r12, r13
cmp r12, r13
jae 0x14016a490
lea r8, [r12*8]
mov rsi, qword [rbp + 0x28]
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsi + r12*8]
test r13, r13
mov rsi, r13
jle 0x14016a518
test r12, r12
mov r13, qword [rbp + 0x10]
jle 0x14016a281
mov rax, qword [rbp - 0x18]
lea rax, [rax + rbx*8]
mov r11, qword [rbp + 0x28]
mov r12, qword [rbp + 0x50]
nop word cs:[rax + rax]
movzx ecx, byte [r8 - 8]
movzx edx, byte [rdi - 8]
cmp cl, dl
mov r9d, 0
sbb r9, r9
cmp cl, dl
mov r10d, 0
adc r10, 0xffffffffffffffff
cmp cl, dl
lea rdi, [rdi + r9*8]
lea r8, [r8 + r10*8]
mov rcx, r8
cmovb rcx, rdi
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp rdi, r15
jbe 0x14016a485
add rax, 0xfffffffffffffff8
cmp r8, r11
ja 0x14016a440
mov r15, rdi
mov rdx, r11
jmp 0x14016a290
lea r8, [r13*8]
mov r12, qword [rbp + 0x28]
mov rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r12 + r13*8]
test r13, r13
jle 0x14016a52c
cmp rsi, r13
mov rsi, r13
jle 0x14016a513
mov rax, qword [rbp + 0x18]
lea rax, [rax + rbx*8]
mov rdx, r12
mov r12, qword [rbp + 0x50]
mov r13, qword [rbp + 0x10]
nop dword [rax + rax]
movzx r9d, byte [rdi]
xor r10d, r10d
xor ecx, ecx
cmp r9b, byte [rdx]
setae r10b
setb r9b
mov r11, rdx
cmovb r11, rdi
mov r11, qword [r11]
mov qword [r15], r11
add r15, 8
lea rdx, [rdx + r10*8]
cmp rdx, r8
jae 0x14016a290
mov cl, r9b
lea rdi, [rdi + rcx*8]
cmp rdi, rax
jb 0x14016a4d0
jmp 0x14016a290
mov rdx, r12
jmp 0x14016a51f
mov r15, rdi
mov rdx, qword [rbp + 0x28]
mov r12, qword [rbp + 0x50]
mov r13, qword [rbp + 0x10]
jmp 0x14016a290
mov rdx, r12
mov r12, qword [rbp + 0x50]
mov rsi, r13
mov r13, qword [rbp + 0x10]
jmp 0x14016a290
mov r8d, 2
cmp rax, 2
je 0x14016a0ff
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jb 0x14016a0ff
inc r8
cmp rax, r8
jne 0x14016a550
jmp 0x14016a0fc
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x50], r12
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*8]
lea r9, [rax*8]
sub rdx, r9
cmp rax, 1
mov qword [rbp + 0x20], rbx
jne 0x14016a5ac
xor r9d, r9d
jmp 0x14016a63d
mov r12d, 2
mov rbx, qword [rbp + 0x30]
jmp 0x14016a0da
mov r10, rax
and r10, 0xfffffffffffffffe
mov r9, qword [rbp - 0x10]
lea r11, [r9 + rbx*8]
mov r9, qword [rbp - 8]
mov rsi, qword [rbp + 0x30]
lea rsi, [r9 + rsi*8]
xor r9d, r9d
movabs r12, 0x1ffffffffffffffe
nop word cs:[rax + rax]
movzx ebx, byte [r11 + r9*8 - 0xc]
mov edi, dword [r11 + r9*8 - 8]
movzx r14d, byte [rsi - 4]
mov r15d, dword [rsi]
mov byte [r11 + r9*8 - 0xc], r14b
mov dword [r11 + r9*8 - 8], r15d
mov byte [rsi - 4], bl
mov dword [rsi], edi
mov rdi, r9
xor rdi, r12
add rdi, rax
movzx ebx, byte [r11 + r9*8 - 4]
mov r14d, dword [r11 + r9*8]
movzx r15d, byte [rdx + rdi*8]
mov r13d, dword [rdx + rdi*8 + 4]
mov byte [r11 + r9*8 - 4], r15b
mov dword [r11 + r9*8], r13d
mov byte [rdx + rdi*8], bl
mov dword [rdx + rdi*8 + 4], r14d
add r9, 2
add rsi, 0xfffffffffffffff0
cmp r10, r9
jne 0x14016a5e0
test r8b, 2
je 0x14016a670
mov r10, r9
not r10
add rax, r10
movzx r10d, byte [rcx + r9*8]
mov r11d, dword [rcx + r9*8 + 4]
movzx ebx, byte [rdx + rax*8]
mov esi, dword [rdx + rax*8 + 4]
mov byte [rcx + r9*8], bl
mov dword [rcx + r9*8 + 4], esi
mov byte [rdx + rax*8], r10b
mov dword [rdx + rax*8 + 4], r11d
mov r15, qword [rbp + 8]
mov r13, qword [rbp + 0x58]
mov r12, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x20]
jmp 0x14016a107
mov r12d, 3
mov rbx, qword [rbp + 0x30]
jmp 0x14016a0da
mov rbx, qword [rbp + 0x30]
jmp 0x14016a0da
mov rdx, qword [rbp + 0x58]
shl rdx, 4
mov r8d, 8
mov rcx, rdi
call fcn.1400174e0
mov r8d, 4
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1400174e0
nop
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, str.H3__
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
lea rax, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001funicode_normalization_0.1.23_srcdecompose.rs
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea rdx, [0x140203420]
lea rcx, [rbp - 0x60]
call fcn.1401abb80
jmp 0x14016a881
lea rax, str.H3__
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
lea rax, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001funicode_normalization_0.1.23_srcdecompose.rs
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea rdx, [0x140203438]
lea rcx, [rbp - 0x60]
call fcn.1401abb80
jmp 0x14016a881
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, [0x140203450]
mov rcx, rbx
mov rdx, r15
call fcn.1401ac0d0
jmp 0x14016a881
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, [0x140203450]
mov rdx, rbx
call fcn.1401ac0e0
jmp 0x14016a881
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, [0x1402034e0]
mov edx, 0x2c
call fcn.1401abc50
jmp 0x14016a881
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, [0x1402034f8]
mov rcx, rbx
mov rdx, r9
call fcn.1401ac0e0
jmp 0x14016a881
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x40], rax
lea rcx, [0x140203498]
call fcn.1401abb40
jmp 0x14016a881
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
lea r8, [0x140203408]
mov rcx, rdx
mov rdx, r15
call fcn.1401ac0d0
jmp 0x14016a881
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, [0x140203408]
mov rcx, rbx
call fcn.1401ac0e0
jmp 0x14016a881
lea rcx, [0x140203468]
call fcn.1401abb40
lea rcx, [0x140203480]
call fcn.1401abb40
ud2