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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x58], rcx
lea rcx, [0x1800371a8]
mov rax, qword [0x1800371a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12 + 0x10], rax
lea rcx, [0x1800371a8]
mov rax, qword [0x1800371a8]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x60], rsi
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 8], rax
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180001160
mov rdx, qword [rsp + 0x38]
test rdx, rdx
jne 0x18000b364
lea rcx, [rsp + 0x38]
call fcn.1800015c0
mov rdx, qword [rsp + 0x38]
lea rcx, [0x180028950]
test rdx, rdx
cmovne rcx, rdx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18000b390
mov ecx, 0x8007000e
call fcn.180001000
nop
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, eax
add edi, edi
lea r15d, [rdi + 0x10]
mov ecx, r15d
call fcn.180010b00
mov rbp, rax
mov rcx, qword [r14]
mov qword [rax], rcx
mov rcx, qword [r14 + 8]
mov qword [rax + 8], rcx
mov r8d, edi
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.1800133b0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x18000b411
mov dword [rsp + 0x20], 8
lea r9d, [rax + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x18000b411
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]
test eax, eax
jne 0x18000b43b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
mov r8d, r15d
mov rdx, rbp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, rbp
call fcn.180011190
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
xor r8d, r8d
lea edx, [r14 + 2]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, dword [rsp + 0x40]
call fcn.1800132d0
mov rdi, rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
mov r8, rax
lea edx, [r14 + 2]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rdi]
mov qword [r12], rcx
mov rcx, qword [rdi + 8]
mov qword [r12 + 8], rcx
mov rcx, rdi
call fcn.180013280
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.ole32.dll_StringFromCLSID]
or rbp, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x18000b4d7
mov ecx, r14d
jmp 0x18000b4e9
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [r12 + 0x10]
call fcn.1800022c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000b516
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000b52d
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]
test rcx, rcx
je 0x18000b54c
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x38], r14
lea rdx, [rsi - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x18000b566
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, r12
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret