Function at 0x14000e330
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov rdi, qword [rbp + 0x270]
xor r13d, r13d
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], r13
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000e956
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000e963
xor r9d, r9d
mov r8d, 0x20
mov rdx, rbx
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000e970
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rbp + 0x1b8]
mov edx, 0x6610
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x14000e97d
xor r9d, r9d
mov r8, rdi
mov edx, 1
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x14000e98a
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.1400205d0
nop
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 0x14000e997
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x198], xmm0
mov qword [rbp + 0x1a8], rax
mov qword [rsp + 0x40], r13
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xc8]
mov qword [rbp + 0x1e0], rax
test rax, rax
sete byte [rbp + 0x1e8]
mov byte [rbp + 0x1e9], r13b
movdqu xmmword [rbp + 0x198], xmm0
mov qword [rbp + 0x1a8], r13
lea rcx, [rbp + 0x198]
mov qword [rsp + 0x60], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x1e0], xmm1
movzx esi, byte [rbp + 0x1e9]
mov rbx, qword [rbp + 0x1e0]
movzx r15d, byte [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
test rax, rax
jne 0x14000e544
movzx r14d, byte [rbp + 0x1e8]
jmp 0x14000e562
test rbx, rbx
je 0x14000e55c
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 0x14000e55c
movzx esi, al
jmp 0x14000e55f
mov rbx, r13
mov r14b, 1
test r15b, r15b
jne 0x14000e580
test rdi, rdi
je 0x14000e57a
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 0x14000e57d
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x14000e7d5
test rdi, rdi
jne 0x14000e7de
lea rcx, [rbp + 0x90]
call fcn.140021d50
test rax, rax
jne 0x14000e5c6
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 edx, dword [rbp + 0x1a0]
sub edx, dword [rbp + 0x198]
mov dword [rbp + 0x190], edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0x1c8]
call fcn.14001f760
nop
mov r8d, dword [rbp + 0x190]
mov rdx, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x1c8]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x190]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x14000e9a4
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [r12 + 0x18], 0xf
jbe 0x14000e668
mov r12, qword [r12]
mov r8d, 0x20
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.14001f820
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rbx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14000e949
mov r8d, dword [rbp + 0x190]
mov rdx, qword [rbp + 0x1c8]
lea rcx, [rsp + 0x70]
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, [rsp + 0x78]
call fcn.140021d50
test rax, rax
jne 0x14000e709
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
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 + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x1c8]
sub r8, rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rbx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140020520
lea rcx, [rbp - 0x80]
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 + 0x18]
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 + 0x1c8]
test rcx, rcx
je 0x14000e875
mov rdx, qword [rbp + 0x1d8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e85e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e85e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rdi, rdi
jne 0x14000e592
test r14b, r14b
jne 0x14000e7fe
test rbx, rbx
je 0x14000e7fb
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 0x14000e7fb
movzx esi, al
jmp 0x14000e7fe
mov rbx, r13
mov byte [rsp + 0x30], sil
mov rax, qword [rbp + 0x1a0]
cmp rax, qword [rbp + 0x1a8]
je 0x14000e81f
mov byte [rax], sil
inc qword [rbp + 0x1a0]
jmp 0x14000e837
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x198]
call fcn.140027220
test rbx, rbx
je 0x14000e55c
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 0x14000e55c
mov byte [rbp + 0x1e8], 0
jmp 0x14000e544
call fcn.140028340
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r13
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000e8ca
mov rdx, qword [rbp + 0x1a8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e8b3
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 + 0x198], xmm0
mov qword [rbp + 0x1a8], r13
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.140020520
lea rcx, [rbp + 0x98]
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 + 0x130]
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 + 0x200]
xor rcx, rsp
call fcn.140028320
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.Error_during_88.
call fcn.14000dbc0
nop
lea rcx, str.Error_during_7.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_8.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_9.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_10.
call fcn.14000dbc0
int3
lea rcx, str.Error_during_11.
call fcn.14000dbc0
nop
lea rcx, str.Error_during_12.
call fcn.14000dbc0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140002290
nop
mov r8, rax
lea rdx, str.Error_During_Load._Error_Code:
lea rcx, [rbp + 0x1e0]
call fcn.140023460
nop
lea rcx, [rsp + 0x40]
call fcn.1400028a0
lea rcx, [rbp + 0x1e0]
call fcn.140020f20
mov rcx, rax
call fcn.14000dbc0
int3