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

Disassembly:
jmp 0x140017a00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x1a4], 0
lea rcx, [0x14002e103]
call fcn.140011753
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x1f8]
call fcn.140011136
shl rax, 1
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140017adb
lea rdx, [0x140023e35]
mov rcx, qword [rbp + 0x1f0]
call fcn.14001133e
mov eax, dword [rbp + 0x1a4]
or eax, 1
mov dword [rbp + 0x1a4], eax
mov rax, qword [rbp + 0x1f0]
jmp 0x140017d1a
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x10
mov rdx, qword [rbp + 0x200]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x140017b45
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, [0x140023e35]
mov rcx, qword [rbp + 0x1f0]
call fcn.14001133e
mov eax, dword [rbp + 0x1a4]
or eax, 1
mov dword [rbp + 0x1a4], eax
mov rax, qword [rbp + 0x1f0]
jmp 0x140017d1a
mov eax, dword [rbp + 0x44]
add eax, 0x10
mov eax, eax
xor r8d, r8d
mov edx, eax
lea rcx, [rbp + 0x88]
call fcn.140011424
nop
mov eax, dword [rbp + 0x44]
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbp + 0x1f8]
call fcn.140011271
mov qword [rbp + 0x1c0], rax
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.1400110dc
mov rcx, qword [rbp + 0x1b8]
mov r8, rcx
mov rcx, qword [rbp + 0x1c0]
mov rdx, rcx
mov rcx, rax
call fcn.140011398
nop
mov eax, dword [rbp + 0x44]
add eax, 0x10
mov dword [rbp + 0xc4], eax
xor r9d, r9d
mov r8, qword [rbp + 0x208]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x140017c23
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, [0x140023e35]
mov rcx, qword [rbp + 0x1f0]
call fcn.14001133e
mov eax, dword [rbp + 0x1a4]
or eax, 1
mov dword [rbp + 0x1a4], eax
lea rcx, [rbp + 0x88]
call fcn.14001114f
nop
mov rax, qword [rbp + 0x1f0]
jmp 0x140017d1a
lea rcx, [rbp + 0x88]
call fcn.14001131b
mov ecx, dword [rbp + 0xc4]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140017cb0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, [0x140023e35]
mov rcx, qword [rbp + 0x1f0]
call fcn.14001133e
mov eax, dword [rbp + 0x1a4]
or eax, 1
mov dword [rbp + 0x1a4], eax
lea rcx, [rbp + 0x88]
call fcn.14001114f
nop
mov rax, qword [rbp + 0x1f0]
jmp 0x140017d1a
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov r9d, 0x10
mov r8, qword [rbp + 0x208]
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.1400117da
nop
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x1f0]
call fcn.1400116d1
mov eax, dword [rbp + 0x1a4]
or eax, 1
mov dword [rbp + 0x1a4], eax
lea rcx, [rbp + 0x88]
call fcn.14001114f
nop
mov rax, qword [rbp + 0x1f0]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140023200]
call fcn.14001161d
mov rax, rdi
mov rcx, qword [rbp + 0x1c8]
xor rcx, rbp
call fcn.140011393
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret