Function at 0x180008f00
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
xor r12d, r12d
mov esi, r8d
mov r14, r9
mov dword [rbp - 0x59], 0x18
mov r15, rdx
mov dword [rbp - 0x55], 0xf0000000
mov rbx, rcx
mov qword [rbp - 0x51], r12
lea r9d, [r12 + 0x18]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rbp - 0x51]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180008f98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180008f92
mov r9d, dword [rbp - 0x59]
lea rcx, [rbp - 0x51]
xor r8d, r8d
mov dword [rsp + 0x20], 8
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180008f98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rbp - 0x51]
test rdi, rdi
jne 0x180008fa9
or eax, 0xffffffff
jmp 0x18000918b
xor eax, eax
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x2d]
mov qword [rbp - 0x31], rax
mov r8, rsi
mov rdx, r15
mov dword [rbp - 0x39], 0x208
mov dword [rbp - 0x35], 0x660e
mov dword [rbp - 0x31], esi
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], eax
call sub.msvcrt.dll_memcpy
xor r9d, r9d
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x39]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea r8d, [r9 + 0x2c]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x18000901a
call qword [sym.imp.KERNEL32.dll_GetLastError]
or ebx, 0xffffffff
jmp 0x180009165
mov rdi, qword [rbp - 0x41]
cmp qword [rbp - 0x51], r12
jne 0x180009074
mov eax, dword [rbp - 0x55]
lea rcx, [rbp - 0x51]
mov r9d, dword [rbp - 0x59]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180009074
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x18000906e
mov r9d, dword [rbp - 0x59]
lea rcx, [rbp - 0x51]
xor r8d, r8d
mov dword [rsp + 0x20], 8
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180009074
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x51]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov edx, 0x8009
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x18000909f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009165
mov rcx, qword [rbx]
lea r8, [rbp - 9]
xor eax, eax
xor r9d, r9d
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea edx, [r9 + 5]
mov qword [rbp + 0x17], rax
mov eax, dword [rbp + 0x6f]
mov dword [rbp - 9], eax
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x1800090e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009165
mov r8d, dword [rbp + 0x67]
xor r9d, r9d
mov rcx, qword [rbx]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180009101
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009165
mov rcx, qword [rbx]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov dword [rbp - 0x49], r12d
mov dword [rsp + 0x20], r12d
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x18000912c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009165
mov r9, qword [rbp + 0x7f]
mov eax, dword [r9]
cmp dword [rbp - 0x49], eax
je 0x18000913d
or ebx, 0xffffffff
jmp 0x180009165
mov r8, qword [rbp + 0x77]
mov edx, 2
mov rcx, qword [rbx]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180009162
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009165
mov ebx, r12d
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180009178
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rbp - 0x41], r12
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x180009189
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret