Function at 0x14000dbf0
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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov rdi, qword [rbp + 0x280]
xor r13d, r13d
mov qword [rbp + 0x1e8], r13
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], r13
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000e28d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000e29a
xor r9d, r9d
mov r8d, 0x20
mov rdx, rbx
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000e2a7
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rbp + 0x1e0]
mov edx, 0x6610
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x14000e2b4
xor r9d, r9d
mov r8, rdi
mov edx, 1
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x14000e2c1
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.1400205d0
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14000e2ce
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], rax
mov qword [rsp + 0x50], r13
mov word [rsp + 0x58], 1
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xd8]
mov qword [rbp + 0x1f0], rax
test rax, rax
sete byte [rbp + 0x1f8]
mov byte [rbp + 0x1f9], r13b
movdqu xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], r13
lea rcx, [rbp + 0x1a8]
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x1f0], xmm1
movzx esi, byte [rbp + 0x1f9]
mov rbx, qword [rbp + 0x1f0]
movzx r15d, byte [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
test rax, rax
jne 0x14000de04
movzx r14d, byte [rbp + 0x1f8]
jmp 0x14000de22
test rbx, rbx
je 0x14000de1c
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000de1c
movzx esi, al
jmp 0x14000de1f
mov rbx, r13
mov r14b, 1
test r15b, r15b
jne 0x14000de40
test rdi, rdi
je 0x14000de3a
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14000de3d
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x14000def9
test rdi, rdi
jne 0x14000df02
lea rcx, [rbp + 0xa0]
call fcn.140021d50
test rax, rax
jne 0x14000de86
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov eax, dword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
sub eax, edx
mov dword [rbp + 0x1a0], eax
mov esi, eax
and esi, 0xfffffff0
add esi, 0x10
xorps xmm0, xmm0
mov edi, esi
movdqu xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r13
je 0x14000dfbd
cmp rdi, 0x1000
jb 0x14000df82
lea rcx, [rsi + 0x27]
cmp rcx, rdi
jbe 0x14000e2db
call fcn.140028348
mov rcx, rax
test rax, rax
je 0x14000e18b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000df8a
test rdi, rdi
jne 0x14000de52
test r14b, r14b
jne 0x14000df22
test rbx, rbx
je 0x14000df1f
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000df1f
movzx esi, al
jmp 0x14000df22
mov rbx, r13
mov byte [rsp + 0x40], sil
mov rax, qword [rbp + 0x1b0]
cmp rax, qword [rbp + 0x1b8]
je 0x14000df43
mov byte [rax], sil
inc qword [rbp + 0x1b0]
jmp 0x14000df5b
lea r8, [rsp + 0x40]
mov rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x1a8]
call fcn.140027220
test rbx, rbx
je 0x14000de1c
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000de1c
mov byte [rbp + 0x1f8], 0
jmp 0x14000de04
mov rcx, rdi
call fcn.140028348
mov qword [rbp + 0x1c0], rax
lea rbx, [rax + rsi]
mov qword [rbp + 0x1d0], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1c8], rbx
mov rdx, qword [rbp + 0x1a8]
mov eax, dword [rbp + 0x1a0]
mov r8d, eax
mov rcx, qword [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp + 0x1b0]
mov rcx, qword [rbp + 0x1a8]
sub r8, rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], esi
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x14000e2e1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
cmp qword [r12 + 0x18], 0xf
jbe 0x14000e03d
mov r12, qword [r12]
mov r8d, 0x20
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.14001f820
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rbx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14000e280
mov r8d, dword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x78]
call fcn.140021d50
test rax, rax
jne 0x14000e0d5
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
sub r8, rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rbx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140020520
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x1c0]
test rcx, rcx
je 0x14000e1a9
mov rdx, qword [rbp + 0x1d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028340
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r13
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14000e1fe
mov rdx, qword [rbp + 0x1b8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e1e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e1e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028340
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], r13
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0xa0]
call fcn.140020520
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140028320
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.Error_during_77.
call fcn.14000dbc0
nop
lea rcx, str.Error_during_1.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_2.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_3.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_4.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_5.
call fcn.14000dbc0
nop
lea rcx, str.Error_during_6.
call fcn.14000dbc0
nop
call fcn.140001830
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140002290
nop
mov r8, rax
lea rdx, str.Error_During_Load_2._Error_Code:
lea rcx, [rbp + 0x1f0]
call fcn.140023460
nop
lea rcx, [rsp + 0x50]
call fcn.1400028a0
lea rcx, [rbp + 0x1f0]
call fcn.140020f20
mov rcx, rax
call fcn.14000dbc0
int3