Function at 0x1400e8be0
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 + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
xor edi, edi
mov rbx, r9
mov r15d, edx
mov rsi, rcx
test r8, r8
je 0x1400e8c67
mov r11d, dword [r8 + 0x18]
mov r9d, edi
mov dword [rbp + 0x30], edi
mov r10d, edi
test r11d, r11d
je 0x1400e8e5d
nop dword [rax + rax]
mov rax, qword [rsi + 4]
mov ecx, r10d
add rcx, r8
cmp rax, qword [rcx + 0x1c]
jne 0x1400e8c3a
mov rax, qword [rsi + 0xc]
cmp rax, qword [rcx + 0x24]
je 0x1400e8c53
inc r9d
add r10d, 0x18
mov dword [rbp + 0x30], r9d
add r10d, dword [rcx + 0x30]
cmp r9d, r11d
jb 0x1400e8c20
jmp 0x1400e8e5d
lea rbx, [rcx + 0x34]
mov ecx, dword [rcx + 0x30]
mov dword [rbp - 0x40], ecx
test rbx, rbx
jne 0x1400e8c77
jmp 0x1400e8e5d
test rbx, rbx
je 0x1400e8e5d
mov dword [rbp - 0x40], 0x10
mov r9d, reloc.ODBC32.dll_SQLAllocHandle
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rbp - 0x28]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400e8e5d
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400e8e51
mov r8d, dword [rbp - 0x40]
xor r9d, r9d
mov rcx, qword [rbp - 0x38]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [rbp + 0x30], edi
nop dword [rax]
mov rcx, qword [rbp - 0x38]
lea rdx, [rsi + 0x1c]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [rbp + 0x30]
inc eax
mov dword [rbp + 0x30], eax
cmp eax, 0x3e8
jb 0x1400e8ce0
mov rcx, qword [rbp - 0x38]
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
mov dword [rbp - 0x40], Ordinal_36
mov edx, 2
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400e8e47
mov rbx, qword [rbp - 0x28]
mov edx, 0x2c
mov qword [rsp + 0x90], r14
lea ecx, [rdx + 0x14]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x1400e8e2b
mov dword [rax], 0x208
xor r9d, r9d
mov dword [rax + 4], 0x6610
mov rdx, r14
mov dword [rax + 8], Ordinal_36
mov rcx, rbx
movups xmm0, xmmword [rbp - 0x20]
lea r8d, [r9 + 0x2c]
movups xmmword [rax + 0xc], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rax + 0x1c], xmm1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1400e8e2b
mov rcx, qword [rbp - 0x30]
lea r8, [rbp + 0x30]
xor r9d, r9d
mov dword [rbp + 0x30], 2
lea edx, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x1400e8e0b
lea eax, [r15 - 0x3c]
xor r9d, r9d
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], eax
mov qword [rsp + 0x28], rcx
lea rax, [rsi + 0x3c]
mov rcx, qword [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov edi, eax
test eax, eax
jne 0x1400e8e1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_sec_aes256___CryptDecrypt__0x_08x__n
jmp 0x1400e8e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_sec_aes256___CryptSetKeyParam__0x_08x__n
mov edx, eax
call fcn.14000afb0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x1400e8e3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_sec_aes256___kull_m_crypto_hkey__0x_08x__n
call fcn.14000afb0
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret