Function at 0x1400ac7b4
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rbp + 8], rax
mov sil, r8b
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400ac7fe
lea rcx, [rbp - 0x48]
call fcn.140003aa8
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400ac488
nop
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x6610
mov r15d, 0x20
mov dword [rbp - 0x20], r15d
mov rcx, r14
test sil, sil
jne 0x1400ac887
movdqa xmm0, xmmword [0x1403c9c70]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1403c9c40]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x50], 0x48
mov al, byte [rbp - 0x70]
xor byte [rbp + rcx - 0x6f], al
inc rcx
cmp rcx, r15
jb 0x1400ac86e
mov byte [rbp - 0x4f], r14b
lea rdx, [rbp - 0x6f]
jmp 0x1400ac8c4
movdqa xmm0, xmmword [0x1403c9c10]
movdqu xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1403c9bc0]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rbp - 0x78], 0x24
mov al, cl
add al, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x69], al
inc rcx
cmp rcx, r15
jb 0x1400ac8a9
mov byte [rbp - 0x77], r14b
lea rdx, [rsp + 0x69]
mov r8, r15
lea rcx, [rbp - 0x1c]
call fcn.140336c00
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rbp - 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov rcx, r14
test sil, sil
jne 0x1400ac94f
movdqa xmm0, xmmword [0x1403c9c80]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x78], 0xd7
mov al, cl
add al, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x69], al
inc rcx
cmp rcx, 0x10
jb 0x1400ac930
mov byte [rsp + 0x79], r14b
lea r8, [rsp + 0x69]
jmp 0x1400ac97a
movdqa xmm0, xmmword [0x1403c9bd0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x60], 0xc
mov al, byte [rbp - 0x70]
xor byte [rbp + rcx - 0x6f], al
inc rcx
cmp rcx, 0x10
jb 0x1400ac962
mov byte [rbp - 0x5f], r14b
lea r8, [rbp - 0x6f]
xor r9d, r9d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov rdx, qword [rsp + 0x48]
inc rdi
cmp byte [rdx + rdi], r14b
jne 0x1400ac9c6
mov r8, rdi
mov rcx, rbx
call fcn.140003aa8
lea rdi, [rbp - 0x1c]
xor eax, eax
mov rcx, r15
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
sub rcx, rdi
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov edi, 0x1000
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400aca54
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, rdi
jb 0x1400aca41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400acab3
call fcn.1403357a8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400aca87
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rdi
jb 0x1400aca82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400acaad
call fcn.1403357a8
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1403358f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14033cba4
nop
call fcn.14033cba4
nop
int3