Function at 0x7ff65ed50ff0
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [str.e41k2]
xor rax, rsp
mov qword [rbp + 0x10], rax
movzx esi, r8b
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r14b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], r14b
jne 0x7ff65ed51042
lea rcx, [rsp + 0x60]
call fcn.7ff65ec85ad0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.7ff65ed50bc0
nop
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x80], 0x208
mov dword [rbp - 0x7c], 0x6610
mov dword [rbp - 0x78], 0x20
mov dword [rbp - 0x30], 0x55555855
mov dword [rbp - 0x2c], 0x58555558
mov dword [rbp - 0x28], 0x6f435555
mov dword [rbp - 0x24], 0x6e616d6d
mov dword [rbp - 0x20], 0x694c5564
mov dword [rbp - 0x1c], 0x5555656e
mov dword [rbp - 0x18], 0x58555558
mov dword [rbp - 0x14], 0x55585555
mov dword [rbp - 0x50], 0x6f435555
mov dword [rbp - 0x4c], 0x6e616d6d
mov dword [rbp - 0x48], 0x694c5564
mov dword [rbp - 0x44], 0x5555656e
mov dword [rbp - 0x10], 0x44445844
mov dword [rbp - 0xc], 0x58444458
mov dword [rbp - 8], 0x6f434444
mov dword [rbp - 4], 0x6769666e
mov dword [rbp], 0x6e554455
mov dword [rbp + 4], 0x44446d61
mov dword [rbp + 8], 0x58444458
mov dword [rbp + 0xc], 0x44584444
mov dword [rbp - 0x40], 0x6f434444
mov dword [rbp - 0x3c], 0x6769666e
mov dword [rbp - 0x38], 0x6e554455
mov dword [rbp - 0x34], 0x44446d61
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x10]
test sil, sil
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x74], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x64], xmm1
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 - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
lea r8, [rbp - 0x50]
lea rax, [rbp - 0x40]
test sil, sil
cmovne r8, rax
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]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x48]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x7ff65ed511f1
mov r8, rbx
mov rcx, rdi
call fcn.7ff65ec85ad0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x7ff65ed5124c
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed51239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed512a8
call fcn.7ff65efe070c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x7ff65ed51285
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65ed51280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff65ed512a2
call fcn.7ff65efe070c
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.7ff65efe06b0
add rsp, 0x120
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.7ff65efe777c
nop
call fcn.7ff65efe777c
nop
int3