Function at 0x1800099d0
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 0x180009a68
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180009a62
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 0x180009a68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rbp - 0x51]
test rdi, rdi
jne 0x180009a79
lea eax, [rdi - 1]
jmp 0x180009c56
xorps xmm0, xmm0
mov qword [rbp - 0x41], r12
xorps xmm1, xmm1
mov dword [rbp - 0x39], 0x208
mov r8, rsi
mov dword [rbp - 0x35], 0x660e
mov rdx, r15
mov dword [rbp - 0x31], esi
lea rcx, [rbp - 0x2d]
movdqu xmmword [rbp - 0x2d], xmm0
movdqu xmmword [rbp - 0x1d], xmm1
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 0x180009ae3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffffffff
jmp 0x180009c30
mov rdi, qword [rbp - 0x41]
cmp qword [rbp - 0x51], r12
jne 0x180009b3d
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 0x180009b3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180009b37
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 0x180009b3d
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 0x180009b68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009c30
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 0x180009ba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009c30
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 0x180009bca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009c30
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 0x180009bf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009c30
mov r9, qword [rbp + 0x7f]
mov eax, dword [r9]
cmp dword [rbp - 0x49], eax
je 0x180009c08
mov ebx, 0xffffffff
jmp 0x180009c30
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 0x180009c2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180009c30
mov ebx, r12d
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180009c43
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rbp - 0x41], r12
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x180009c54
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