Function at 0x1400246fe
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rcx + 0xa8]
test eax, eax
je 0x140024743
cmp eax, 3
je 0x14002490e
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]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x98]
mov qword [rsp + 0x58], rax
lea rbx, [rsi + 8]
mov rax, qword [rsi + 0xa0]
mov qword [rsi + 8], rax
mov al, byte [rsi + 0xa9]
mov byte [rsp + 0x2f], al
lea rax, [0x14008f063]
lea r14, [rsp + 0x60]
mov qword [r14], rax
mov rcx, qword [r14]
movabs rax, 0xb35f8b9a284a6dc4
mov qword [r14], rax
mov rdx, qword [r14]
call fcn.14001779a
xorps xmm0, xmm0
movaps xmmword [r14], xmm0
mov cl, 1
xor edx, edx
lea r8, [0x14009cd59]
movzx r10d, byte [rdx + r8]
mov r9, rdx
or r9, 1
movzx r9d, byte [r9 + r8]
mov r11, rdx
or r11, 2
movzx r11d, byte [r11 + r8]
mov r14, rdx
or r14, 3
movzx r14d, byte [r14 + r8]
mov r15, rdx
or r15, 4
movzx r15d, byte [r15 + r8]
mov r12, rdx
or r12, 5
movzx r12d, byte [r12 + r8]
mov rbp, rdx
or rbp, 7
mov r13, rdx
or r13, 6
movzx r13d, byte [r13 + r8]
movzx ebp, byte [rbp + r8]
shl rbp, 0x38
shl r13, 0x30
or r13, rbp
shl r12, 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, r12
or r9, r13
xor r9, qword [rax + rdx]
mov qword [rsp + rdx + 0x60], r9
mov edx, 8
test cl, 1
mov ecx, 0
jne 0x1400247a9
mov ecx, 0x57966dd6
xor ecx, dword [rax + 0x10]
lea r14, [rsp + 0x60]
mov dword [r14 + 0x10], ecx
movzx eax, word [rax + 0x14]
xor eax, 0xf8c0
mov word [r14 + 0x14], ax
movaps xmm0, xmmword [r14]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [r14 + 0xe]
mov qword [rsp + 0x3e], rax
mov ecx, 0x16
call fcn.14003f100
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0x3e]
mov qword [rdx + 0xe], rcx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdx
mov qword [r14 + 0x18], 0x16
movabs rax, 0x8000000000000009
mov qword [r14], rax
lea r15, [rsp + 0x90]
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1400071ba
mov rcx, r15
call fcn.140001922
mov rax, qword [rbx]
lock inc qword [rax + 0x1d0]
lock inc qword [rax]
jle 0x140024ac4
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsi + 0x68], rcx
mov qword [rsi + 0x70], rax
mov byte [rsi + 0x79], 0
mov al, byte [rsp + 0x2f]
mov byte [rsi + 0x7a], al
lea r14, [rsi + 0x10]
mov rcx, r14
mov rdx, rdi
call fcn.140024ea4
mov ebx, eax
mov al, 3
test bl, bl
jne 0x140024aa8
mov rcx, r14
call fcn.140004646
lea rax, [0x14009631c]
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, qword [rdi]
movabs rax, 0x142b01abaf0cefd4
mov qword [rdi], rax
mov rdx, qword [rdi]
call fcn.14001769a
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov cl, 1
xor edx, edx
lea r8, [0x14009cd88]
movzx r10d, byte [rdx + r8]
mov r9, rdx
or r9, 1
movzx r9d, byte [r9 + r8]
movzx ecx, byte [rcx + rax]
mov r11, rdx
or r11, 2
movzx r11d, byte [r11 + r8]
mov rdi, rdx
or rdi, 3
movzx edi, byte [rdi + r8]
mov r14, rdx
or r14, 4
or esi, 4
movzx r14d, byte [r14 + r8]
mov r15, rdx
or r15, 5
movzx r15d, byte [r15 + r8]
mov r13, rdx
or r13, 7
mov r12, rdx
or r12, 6
int3
invalid
movzx r12d, byte [r12 + r8]
movzx r13d, byte [r13 + r8]
shl r13, 0x38
cmp byte [rcx - 0x3f], cl
in al, 0x30
or r12, r13
shl r15, 0x28
shl r14, 0x20
shl rdi, 0x18
shl r11, 0x10
shl r9, 8
or r9, r10
or r9, r11
or r9, rdi
or r9, r14
or r9, r15
or r9, r12
xor r9, qword [rax + rdx]
or al, 0x10
mov qword [rsp + rdx + 0x60], r9
mov edx, 8
test cl, 1
mov ecx, 0
add byte [rax], al
add byte [rax], al
jne 0x140024969
lea rdi, [rsi + 8]
mov ecx, 0x739a1454
xor ecx, dword [rax + 0x10]
lea r14, [rsp + 0x60]
mov dword [r14 + 0x10], ecx
movzx eax, word [rax + 0x14]
mov bh, 0x40
adc al, 0x35
pop rsp
invalid
add byte [rax], al
mov word [r14 + 0x14], ax
movaps xmm0, xmmword [r14]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [r14 + 0xe]
mov qword [rsp + 0x3e], rax
mov ecx, 0x16
invalid
add byte [rax], al
add al, ch
mov cl, 0xa6
add dword [rax], eax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
mov rcx, qword [rsp + 0x3e]
mov qword [rdx + 0xe], rcx
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdx
push rsi
adc byte [rcx - 0x39], cl
sbb byte [rsi], r10b
add byte [rax], al
add byte [rax - 0x48], cl
or dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax + 0x49c0ff48], al
mov dword [rsi], eax
lea r15, [rsp + 0x90]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.1400071ba
mov rcx, r15
call fcn.140001922
mov rcx, rdi
call fcn.140004b35
mov al, 1
mov byte [rsi + 0xa8], al
mov eax, ebx
add rsp, 0xb8
add byte [rbx + 0x5d], bl
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2