Function at 0x1400116c2
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
jmp 0x1400200f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x318]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
mov dword [rbp + 0x274], 0
lea rcx, [0x1400400f9]
call fcn.140011b9a
nop
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 0x14002018a
lea rdx, str.____Error:_Failed_to_acquire_cryptographic_context._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011168
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400201d9
lea rdx, str.____Error:_Failed_to_create_hash_object._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011168
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
xor r9d, r9d
mov r8d, 0x10
lea rdx, [0x1400387a0]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14002022f
lea rdx, str.____Error:_Failed_to_hash_AES_key._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011168
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x48]
mov edx, 0x660e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14002028a
lea rdx, str.____Error:_Failed_to_derive_AES_key._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011168
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov rcx, qword [rbp + 0x2e8]
call fcn.1400114dd
mov dword [rbp + 0x64], eax
mov edx, 0x20
lea rcx, [rbp + 0x88]
call fcn.1400110a5
mov rdx, qword [rbp + 0x2e8]
lea rcx, [rbp + 0x88]
call fcn.140011825
nop
lea rcx, [rbp + 0x88]
call fcn.140011c80
lea rcx, [rbp + 0x64]
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_CryptDecrypt]
test eax, eax
jne 0x140020334
lea rdx, str.____Error:_Failed_to_decrypt_data._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011168
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rax, [rbp + 0x1a8]
mov qword [rbp + 0x1d8], rax
lea rax, [rbp + 0x228]
mov qword [rbp + 0x258], rax
lea rcx, [rbp + 0x184]
call fcn.1400112b2
mov qword [rbp + 0x288], rax
mov ecx, dword [rbp + 0x64]
mov qword [rbp + 0x290], rcx
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x88]
call fcn.140011ac8
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x2a0], rax
mov rax, qword [rbp + 0x290]
mov r8, rax
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x2a0]
call fcn.140011078
mov qword [rbp + 0x2a8], rax
mov rdx, qword [rbp + 0x258]
lea rcx, [rbp + 0x88]
call fcn.140011ac8
mov qword [rbp + 0x2b0], rax
mov rax, qword [rbp + 0x288]
mov r9, rax
mov r8, qword [rbp + 0x2a8]
mov rdx, qword [rbp + 0x2b0]
mov rcx, qword [rbp + 0x2e0]
call fcn.1400116fe
mov eax, dword [rbp + 0x274]
or eax, 1
mov dword [rbp + 0x274], eax
lea rcx, [rbp + 0x1f8]
call fcn.14001194c
nop
lea rcx, [rbp + 0x88]
call fcn.140011389
nop
mov rax, qword [rbp + 0x2e0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002f680]
call fcn.1400119a6
mov rax, rdi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.1400115a0
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret