Function at 0x1400011c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 9], rcx
xor r14d, r14d
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov eax, dword [rdx + 0x10]
add eax, eax
mov dword [rbp - 0x11], eax
lea ebx, [rax + 0x10]
mov dword [rbp - 0x39], ebx
mov esi, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
cmp rsi, 0xf
ja 0x140001248
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 0xf
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x31]
call fcn.14000fd20
mov byte [rbp + rbx - 0x31], r14b
jmp 0x1400012bf
mov r14, rsi
or r14, 0xf
mov eax, 0x16
cmp r14, rax
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x140001294
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001512
mov rcx, rax
call fcn.140001c80
test rax, rax
je 0x140001518
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000129c
call fcn.140001c80
mov rbx, rax
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], r14
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14000fd20
mov byte [rbx + rsi], 0
mov ebx, dword [rbp - 0x39]
xor r14d, r14d
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001337
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, 0x20
mov rdx, r12
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x14000132b
xor r9d, r9d
mov r8, r13
mov edx, 1
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x140001390
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400014ef
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001386
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001518
call fcn.140001cbc
jmp 0x1400014ef
cmp qword [r15 + 0x18], 7
jbe 0x14000139a
mov r15, qword [r15]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x11]
mov rdx, r15
call fcn.1400100e0
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rax, qword [rbp - 0x31]
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14000145b
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400014ef
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001386
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001518
jmp 0x140001386
mov ecx, dword [rbp - 0x11]
mov rdx, qword [rbp - 0x21]
cmp rcx, rdx
ja 0x14000147f
mov qword [rbp - 0x21], rcx
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rax, qword [rbp - 0x31]
mov byte [rax + rcx], 0
jmp 0x1400014ca
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp - 0x19]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x1400014bb
mov qword [rbp - 0x21], rcx
lea rbx, [rbp - 0x31]
cmp r8, 0xf
cmova rbx, qword [rbp - 0x31]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14000fd20
mov byte [rsi + rbx], 0
jmp 0x1400014ca
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.1400019c0
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140001c60
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140001100
int3
call fcn.1400077cc
int3