Function at 0x18002d19c
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rdx
mov rbp, rcx
mov qword [rax - 0x50], rcx
lea rcx, [0x1802886b8]
mov rax, qword [0x1802886b8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x10], rax
lea rcx, [0x1802886b8]
mov rax, qword [0x1802886b8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rsi
xor edx, edx
lea r8d, [rsi + 0x10]
mov rcx, rbp
call fcn.1801603e0
mov qword [rsp + 0x38], rsi
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180003368
cmp qword [rsp + 0x38], rsi
jne 0x18002d238
lea rcx, [rsp + 0x38]
call fcn.180003e24
nop
lea rcx, [rsp + 0x38]
call fcn.18000421c
cmp rax, rsi
jne 0x18002d251
mov rbx, rsi
mov qword [rsp + 0x58], rbx
jmp 0x18002d272
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x18002d272
mov ecx, 0x8007000e
call fcn.180001000
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
add esi, esi
lea r15d, [rsi + 0x10]
mov ecx, r15d
call fcn.18004a530
mov r13, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, r14
mov rcx, rax
call fcn.180161690
mov r8d, esi
lea rcx, [r13 + 0x10]
mov rdx, rbx
call fcn.180161690
mov dword [rsp + 0x20], 0xf0000000
mov esi, 1
mov r9d, esi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor r14d, r14d
cmp eax, r14d
jne 0x18002d2fc
mov dword [rsp + 0x20], 8
mov r9d, esi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, r14d
jne 0x18002d2fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, r14d
jne 0x18002d327
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
mov r8d, r15d
mov rdx, r13
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, r13
call fcn.18015fde0
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
xor r8d, r8d
lea r13d, [r8 + 2]
mov edx, r13d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, dword [rsp + 0x40]
call fcn.180161200
mov rsi, rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
mov r8, rax
mov edx, r13d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea r8d, [r13 + 0xe]
mov rdx, rsi
mov rcx, rbp
call fcn.180161690
mov rcx, rsi
call fcn.180160500
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov rsi, qword [rsp + 0x50]
cmp rsi, r14
jne 0x18002d3bd
mov eax, r14d
jmp 0x18002d3c5
mov rcx, rsi
call fcn.18015fd20
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.180001bf4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x18002d3f4
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x48]
cmp rcx, r14
je 0x18002d40b
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x48], r14
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x18002d42a
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x38], r14
lea rdx, [rdi - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
cmp ecx, r14d
jg 0x18002d449
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rax, rbp
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret