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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb0
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp - 1], rax
mov r15, qword [rbp + 0x77]
xor r12d, r12d
mov rsi, qword [rbp + 0x7f]
mov r14, r9
mov rdi, rdx
mov dword [rbp - 0x79], 0x18
mov rbx, rcx
mov dword [rbp - 0x75], 0xf0000000
lea r9d, [r12 + 0x18]
mov qword [rbp - 0x71], r12
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rbp - 0x71]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18000758d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180007587
mov r9d, dword [rbp - 0x79]
lea rcx, [rbp - 0x71]
xor r8d, r8d
mov dword [rsp + 0x20], 8
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18000758d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
jne 0x18000759e
lea eax, [rcx - 1]
jmp 0x180007769
movups xmm0, xmmword [rdi]
xor r9d, r9d
mov qword [rbp - 0x61], r12
lea rax, [rbp - 0x61]
mov dword [rbp - 0x31], 0x208
xorps xmm1, xmm1
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x2d], 0x660e
lea r8d, [r9 + 0x2c]
mov dword [rbp - 0x29], 0x10
movdqu xmmword [rbp - 0x15], xmm1
mov dword [rsp + 0x20], r12d
movups xmmword [rbp - 0x25], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1800075f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffffffff
jmp 0x180007743
mov rdi, qword [rbp - 0x61]
cmp qword [rbp - 0x71], r12
jne 0x180007653
mov eax, dword [rbp - 0x75]
lea rcx, [rbp - 0x71]
mov r9d, dword [rbp - 0x79]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180007653
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x18000764d
mov r9d, dword [rbp - 0x79]
lea rcx, [rbp - 0x71]
xor r8d, r8d
mov dword [rsp + 0x20], 8
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180007653
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x71]
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 0x18000767e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180007743
mov rcx, qword [rbx]
lea r8, [rbp - 0x59]
xor eax, eax
xor r9d, r9d
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
lea edx, [rax + 5]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x59], 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x1800076bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180007743
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 0x1800076e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180007743
mov rcx, qword [rbx]
lea r9, [rbp - 0x69]
xor r8d, r8d
mov dword [rbp - 0x69], r12d
mov dword [rsp + 0x20], r12d
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x18000770b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180007743
mov eax, dword [rsi]
cmp dword [rbp - 0x69], eax
je 0x180007719
mov ebx, 0xffffffff
jmp 0x180007743
mov rcx, qword [rbx]
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], r12d
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180007740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180007743
mov ebx, r12d
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x180007756
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rbp - 0x61], r12
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x180007767
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18000eb80
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret