Function at 0x18001d290
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r13, rdx
movzx eax, byte [rcx + 0x68]
test eax, eax
mov qword [rsp + 0x70], rcx
je 0x18001d2e5
cmp eax, 3
jne 0x18001dab4
lea rdx, [rcx + 0x60]
movzx eax, byte [rcx + 0x60]
test eax, eax
je 0x18001d313
cmp eax, 3
jne 0x18001dace
mov qword [rsp + 0x68], rdx
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x18001d345
mov rax, qword [rcx]
mov r9, qword [rcx + 8]
mov qword [rcx + 0x10], rax
lea rdx, [rax + 8]
mov r8, qword [rax]
add rax, 0x18
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], r8
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], r9
lea rdx, [rcx + 0x60]
mov byte [rcx + 0x60], 0
mov qword [rsp + 0x68], rdx
mov rdx, qword [rcx + 0x18]
lea r14, [rcx + 0x38]
mov rax, qword [rcx + 0x20]
mov qword [rcx + 0x38], rax
mov rax, qword [rcx + 0x28]
mov qword [rcx + 0x40], rax
mov rax, qword [rcx + 0x30]
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], r14
mov qword [rsp + 0x60], rdx
mov qword [rcx + 0x58], rdx
movabs rdi, 0x2d358dccaa6c78a5
movabs rbp, 0x8bb84b93962eacc9
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x78], r13
jmp 0x18001d3a5
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
mov rcx, qword [rsp + 0x60]
mov rdx, r13
call fcn.18002c170
test al, al
mov r14, qword [rsp + 0x88]
movabs rbp, 0x8bb84b93962eacc9
je 0x18001d939
mov rbx, qword [r14 + 8]
mov r15, qword [rbx]
mov rax, qword [r15 + 0x80]
test rax, rax
je 0x18001d3f0
add r15, 0x100
lea rcx, [rsp + 0x30]
mov rdx, r15
cmp eax, 1
jne 0x18001d430
call fcn.180014dd0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d490
jmp 0x18001d858
mov eax, 2
mov ecx, 1
lock cmpxchg qword [r15 + 0x88], rcx
jne 0x18001d443
mov rax, qword [r15 + 0x90]
lock and qword [r15 + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x38], rax
xor eax, eax
test al, al
jne 0x18001d490
jmp 0x18001d858
call fcn.1800121c0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d490
jmp 0x18001d858
mov r12, rax
jmp 0x18001d46c
mov rcx, r12
and rcx, 0xfffffffffffffffc
or rcx, 1
mov rax, r12
lock cmpxchg qword [r15 + 0x88], rcx
mov r12, rax
je 0x18001d405
test r12b, 2
je 0x18001d483
test r12b, 1
je 0x18001d450
call sub.kernel32.dll_SwitchToThread
and r12, 0xfffffffffffffffe
jmp 0x18001d450
mov al, 1
test al, al
je 0x18001d858
nop dword [rax]
mov r12, qword [r14]
mov rax, qword [r12]
test rax, rax
je 0x18001d4d0
lea rdx, [r12 + 0x80]
lea rcx, [rsp + 0x30]
cmp eax, 1
jne 0x18001d500
call fcn.180014dd0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d560
jmp 0x18001d85f
mov eax, 2
mov ecx, 1
lock cmpxchg qword [r12 + 8], rcx
jne 0x18001d513
mov rax, qword [r12 + 0x10]
lock and qword [r12 + 8], 0xfffffffffffffffe
mov qword [rsp + 0x38], rax
xor eax, eax
test al, al
jne 0x18001d560
jmp 0x18001d85f
call fcn.1800121c0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d560
jmp 0x18001d85f
mov r15, rax
jmp 0x18001d53a
mov rcx, r15
and rcx, 0xfffffffffffffffc
or rcx, 1
mov rax, r15
lock cmpxchg qword [r12 + 8], rcx
mov r15, rax
je 0x18001d4e3
test r15b, 2
je 0x18001d551
test r15b, 1
je 0x18001d520
call sub.kernel32.dll_SwitchToThread
and r15, 0xfffffffffffffffe
jmp 0x18001d520
mov al, 1
test al, al
je 0x18001d85f
nop dword [rax + rax]
lea r15, [r12 + 0x200]
mov rcx, r15
call qword [sym.imp.kernel32.dll_AcquireSRWLockShared]
movzx eax, byte [r12 + 0x208]
test al, al
jne 0x18001d9d2
mov rsi, qword [r12 + 0x220]
mov r10, qword [r14 + 0x10]
mov qword [rsp + 0x90], rsi
test rsi, rsi
je 0x18001da0e
mov r14, qword [r10]
lea r11, [r14 + rdi]
mov rax, r11
xor rax, rbp
mul r11
xor rax, rdx
mul rsi
mov rcx, rdx
mov qword [r10], r11
cmp rax, rsi
mov qword [rsp + 0x80], r15
jae 0x18001d63a
mov r9, rax
mov rax, rsi
neg rax
mov rdx, rax
or rdx, rsi
shr rdx, 0x20
je 0x18001d5ec
xor edx, edx
div rsi
mov r8, rdx
cmp r9, r8
jb 0x18001d5f8
jmp 0x18001d63a
xor edx, edx
div esi
mov r8d, edx
cmp r9, r8
jae 0x18001d63a
movabs rax, 0x5a6b1b9954d8f14a
add r14, rax
nop word cs:[rax + rax]
mov rax, r14
xor rax, rbp
mul r14
add r11, rdi
xor rdx, rax
mov rax, rsi
imul rax, rdx
add r14, rdi
cmp rax, r8
jb 0x18001d610
mov qword [r10], r11
mov rax, rdx
mul rsi
mov rcx, rdx
mov r15, qword [r12 + 0x210]
mov rax, qword [r12 + 0x220]
lea rbp, [r15 + rax*8]
mov r14, r15
test rcx, rcx
je 0x18001d6c0
dec rcx
test r15, r15
je 0x18001d690
mov rax, rbp
sub rax, r15
shr rax, 3
cmp rax, rcx
cmovae rax, rcx
sub rcx, rax
jne 0x18001d690
lea r15, [r15 + rax*8]
cmp r15, rbp
je 0x18001d690
add r15, 8
jmp 0x18001d6d0
test r14, r14
je 0x18001d370
mov rax, rbp
sub rax, r14
shr rax, 3
cmp rax, rcx
jbe 0x18001d370
lea r14, [r14 + rcx*8]
add r14, 8
jmp 0x18001d719
test r15, r15
je 0x18001d710
nop word cs:[rax + rax]
cmp r15, rbp
je 0x18001d710
lea rax, [rsi - 1]
mov rcx, qword [r15]
add r15, 8
mov rdx, qword [rbx]
cmp rsi, 1
je 0x18001d6f1
mov rsi, rax
cmp rcx, rdx
je 0x18001d6d0
cmp rcx, rdx
je 0x18001d370
lea rcx, [r15 - 8]
mov rsi, rax
jmp 0x18001d755
test r14, r14
je 0x18001d370
mov rax, rsi
nop dword [rax]
cmp r14, rbp
je 0x18001d370
lea rsi, [rax - 1]
mov rcx, qword [r14]
add r14, 8
mov rdx, qword [rbx]
cmp rax, 1
je 0x18001d745
mov rax, rsi
cmp rcx, rdx
je 0x18001d720
cmp rcx, rdx
je 0x18001d370
lea rcx, [r14 - 8]
xor r15d, r15d
mov rcx, qword [rcx]
sub rcx, 0xffffffffffffff80
sub rdx, 0xffffffffffffff80
call fcn.180014340
mov r12, qword [rbx]
mov rax, qword [r12 + 0x80]
test rax, rax
je 0x18001d7a0
add r12, 0x100
lea rcx, [rsp + 0x30]
mov rdx, r12
cmp eax, 1
jne 0x18001d7da
call fcn.180014dd0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d830
jmp 0x18001d843
mov eax, 2
mov ecx, 1
lock cmpxchg qword [r12 + 0x88], rcx
jne 0x18001d7ea
mov rax, qword [r12 + 0x90]
lock and qword [r12 + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x38], rax
xor eax, eax
mov r13, qword [rsp + 0x78]
test al, al
jne 0x18001d830
jmp 0x18001d843
call fcn.1800121c0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x18001d830
jmp 0x18001d843
mov r13, rax
jmp 0x18001d80d
mov rcx, r13
and rcx, 0xfffffffffffffffc
or rcx, 1
mov rax, r13
lock cmpxchg qword [r12 + 0x88], rcx
mov r13, rax
je 0x18001d7b6
test r13b, 2
je 0x18001d824
test r13b, 1
je 0x18001d7f0
call sub.kernel32.dll_SwitchToThread
and r13, 0xfffffffffffffffe
jmp 0x18001d7f0
mov al, 1
mov r13, qword [rsp + 0x78]
test al, al
je 0x18001d843
nop
mov ecx, 0
test rsi, rsi
jne 0x18001d651
jmp 0x18001d370
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
jmp 0x18001d873
mov rdi, qword [rsp + 0x38]
jmp 0x18001d873
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rbx]
sub rdx, 0xffffffffffffff80
mov rcx, r12
call fcn.180014340
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.18002c410
mov r12, qword [rsi]
mov sil, 1
xor eax, eax
lock cmpxchg byte [r12 + 0x2a8], sil
jne 0x18001d90c
lea rbx, [r12 + 0x228]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov r13, qword [0x1801ec4b0]
mov rax, qword [r13]
shl rax, 1
test rax, rax
jne 0x18001d966
xor ebp, ebp
movzx eax, byte [r12 + 0x230]
test al, al
jne 0x18001d982
lea rcx, [r12 + 0x238]
call fcn.18002c130
mov r14, rax
mov r15, rdx
test bpl, bpl
jne 0x18001d8f7
mov rax, qword [r13]
shl rax, 1
test rax, rax
jne 0x18001d9b7
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
test r14, r14
je 0x18001d90c
mov rcx, r15
call qword [r14 + 8]
mov rbx, qword [rsp + 0x70]
mov byte [rbx + 0x60], 1
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x20]
mov rax, qword [rbx + 0x10]
test byte [rax + 0x20], 0x3f
jne 0x18001d94b
mov rcx, qword [rax]
mov rdx, qword [rax + 0x18]
sub rdx, 0xffffffffffffff80
call fcn.180014340
jmp 0x18001d94b
mov rax, qword [rsp + 0x68]
mov byte [rax], 3
mov sil, 3
xor edi, edi
mov rbx, qword [rsp + 0x70]
mov byte [rbx + 0x68], sil
mov rax, rdi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.180130ef0
mov ebp, eax
xor bpl, 1
movzx eax, byte [r12 + 0x230]
test al, al
je 0x18001d8cf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x38], bpl
lea rax, [0x18013aad0]
mov qword [rsp + 0x20], rax
lea rcx, [0x18013ab48]
lea r9, fcn.18000e2d0
lea r8, [rsp + 0x30]
mov edx, 0x2b
call fcn.180132110
ud2
call fcn.180130ef0
test al, al
jne 0x18001d8f7
mov byte [r12 + 0x230], 1
jmp 0x18001d8f7
add r12, 0x210
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r15
lea rax, [0x18013ab00]
mov qword [rsp + 0x20], rax
lea rcx, [0x18013ab48]
lea r9, [0x18013ab98]
lea r8, [rsp + 0x30]
mov edx, 0x2b
call fcn.180132110
ud2
mov qword [rsp + 0xc8], 2
mov qword [rsp + 0x98], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xa8], rax
lea rax, [0x180015040]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x98]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rax
lea rax, [0x18013ac28]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rdx, str.C:Users_nero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_fastrand_2.1.0_srclib.rsempty_range:_..
lea rcx, [rsp + 0x30]
call fcn.180131cf0
ud2
lea rcx, str._async_fn__resumed_after_completion
lea r8, [0x18013aae8]
mov edx, 0x23
call fcn.180131da0
ud2
lea rcx, str._async_fn__resumed_after_completion
lea r8, [0x18013ab18]
mov edx, 0x23
call fcn.180131da0
ud2