Function at 0x14002b2a8
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rcx + 0x118]
test eax, eax
je 0x14002b2ed
cmp eax, 3
je 0x14002b4b0
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.windows_encrypt_src_main.rs
mov edx, 0x23
call fcn.140096040
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 0x30]
mov rax, qword [rsi + 0x20]
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [0x14009128e]
lea r14, [rsp + 0x70]
mov qword [r14], rax
mov rcx, qword [r14]
movabs rax, 0xdca0ebfa4bdd9ed4
mov qword [r14], rax
mov rdx, qword [r14]
call fcn.140016b98
xorps xmm0, xmm0
movaps xmmword [r14], xmm0
mov cl, 1
xor r13d, r13d
lea r8, [0x14009ce60]
movzx r10d, byte [r13 + r8]
mov r9, r13
or r9, 1
movzx r9d, byte [r9 + r8]
mov r11, r13
or r11, 2
movzx r11d, byte [r11 + r8]
mov r14, r13
or r14, 3
movzx r14d, byte [r14 + r8]
mov r15, r13
or r15, 4
movzx r15d, byte [r15 + r8]
mov r12, r13
or r12, 5
movzx ebp, byte [r12 + r8]
mov r12, r13
or r12, 6
mov rdx, r13
or rdx, 7
movzx r12d, byte [r12 + r8]
movzx edx, byte [rdx + r8]
shl rdx, 0x38
shl r12, 0x30
or r12, rdx
shl rbp, 0x28
shl r15, 0x20
shl r14, 0x18
shl r11, 0x10
shl r9, 8
or r9, r10
or r9, r11
or r9, r14
or r9, r15
or r9, rbp
or r9, r12
xor r9, qword [rax + r13]
mov qword [rsp + r13 + 0x70], r9
mov r13d, 8
test cl, 1
mov ecx, 0
jne 0x14002b356
mov ecx, 0x17e8fb68
xor ecx, dword [rax + 0x10]
mov dword [rsp + 0x30], ecx
lea r14, [rsp + 0x70]
movaps xmm0, xmmword [r14]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 0x14
call fcn.14003f100
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
mov ecx, dword [rsp + 0x30]
mov dword [rdx + 0x10], ecx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdx
mov qword [r14 + 0x18], 0x14
movabs rax, 0x8000000000000009
mov qword [r14], rax
lea r15, [rsp + 0xa0]
and al, 0xa0
add byte [rax], al
add byte [rcx + rcx*4 - 7], cl
mov rdx, rbx
mov r8, r14
call fcn.1400071ba
mov rcx, r15
call fcn.140001922
mov rax, qword [rbx]
lock inc qword [rax + 0x1d0]
inc dword [rax + 0x1d0]
lock inc qword [rax]
jle 0x14002b64d
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x38], xmm0
cmp byte [rax - 0x75], r9b
and al, 0x48
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rsp + 0x40]
mov qword [rsi + 0x60], rax
mov byte [rsi + 0xf8], 0
lea r14, [rsi + 0x38]
mov rcx, r14
mov rdx, rdi
call fcn.14002ba1e
mov ebx, eax
mov al, 3
test bl, bl
jne case.0x14000ccfd.277
mov rcx, r14
call fcn.140004560
std
dec dword [rax - 0x73]
add eax, 0x682d2
lea rdi, [rsp + 0x70]
mov qword [rdi], rax
invalid
mov rcx, qword [rdi]
movabs rax, 0xd6d4ab180de60138
mov qword [rdi], rax
mov rdx, qword [rdi]
call fcn.1400174fe
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov cl, 1
add dword [rcx], esi
ror byte [rbp + rcx*4 + 5], cl
test dword [rcx], ebx
invalid
invalid
movzx r10d, byte [rdx + r8]
mov r9, rdx
or r9, 1
movzx r9d, byte [r9 + r8]
mov r11, rdx
or r11, 2
retf
add al, byte [rdi + 0xf]
mov dh, 0x1c
add ecx, dword [rax - 0x77]
xlatb
or rdi, 3
movzx edi, byte [rdi + r8]
mov r14, rdx
or r14, 4
movzx r14d, byte [r14 + r8]
mov r15, rdx
mov edi, edx
or r15, 5
movzx r15d, byte [r15 + r8]
mov r12, rdx
or r12, 6
mov r13, rdx
or r13, 7
movzx r12d, byte [r12 + r8]
movzx r13d, byte [r13 + r8]
mov dh, 0x6c
add eax, 0xe5c14900
cmp byte [rcx - 0x3f], cl
in al, 0x30
or r12, r13
shl r15, 0x28
shl edi, 0x28
shl r14, 0x20
shl rdi, 0x18
shl r11, 0x10
shl r9, 8
shl ecx, 8
or r9, r10
or r9, r11
or r9, rdi
or r9, r14
or r9, r15
or ecx, edi
or r9, r12
xor r9, qword [rax + rdx]
mov qword [rsp + rdx + 0x70], r9
mov edx, 8
test cl, 1
mov ecx, 0
jne 0x14002b50b
lea rdi, [rsi + 0x30]
mov ecx, 0x7ca2be3c
xor ecx, dword [rax + 0x10]
mov dword [rsp + 0x30], ecx
xor byte [rbp + rcx*4 + 0x74], cl
and al, 0x70
movaps xmm0, xmmword [r14]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 0x14
adc al, 0
add byte [rax], al
call fcn.14003f100
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
invalid
mov ecx, dword [rsp + 0x30]
mov dword [rdx + 0x10], ecx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdx
mov qword [r14 + 0x18], 0x14
movabs rax, 0x8000000000000009
inc rax
mov qword [r14], rax
lea r15, [rsp + 0xa0]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.1400071ba
mov rcx, r15
stc
call fcn.140001922
mov rcx, rdi
call fcn.140004b35
mov al, 1
mov byte [rsi + 0x118], al
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2