Function at 0x14003db30
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, rdx
test rdx, rdx
je 0x14003dca6
movups xmm0, xmmword [str.0123456789abcdef]
movzx eax, byte [0x14006d830]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 1]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], al
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003dca6
lea r9d, [rbx + 0x18]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14003dc9d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800e
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, rdi
test eax, eax
jne 0x14003dc26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14003dca6
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003dc85
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14003dccd
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x50]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14003dc85
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003dc44
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop rdi
pop rsi
pop rbp
ret
mov edx, 1
mov dword [rsp + MsiGetPropertyW], 0x40
mov ecx, 0x81
call fcn.1400462ec
mov qword [rsi], rax
test rax, rax
je 0x14003dd67
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14003dd67
mov r10d, ebx
cmp dword [rsp + 0x40], ebx
jbe 0x14003dd6c
nop word [rax + rax]
mov rcx, qword [rsi]
lea r9d, [r10 + r10]
mov eax, r10d
lea r8, [rsp + 0x70]
add r8, rax
lea edx, [r9 + 1]
inc r10d
movzx eax, byte [r8]
shr rax, 4
movzx eax, byte [rsp + rax + 0x58]
mov byte [r9 + rcx], al
movzx r8d, byte [r8]
mov rcx, qword [rsi]
and r8d, 0xf
movzx eax, byte [rsp + r8 + 0x58]
mov byte [rdx + rcx], al
cmp r10d, dword [rsp + 0x40]
jb 0x14003dd20
jmp 0x14003dd6c
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14003dcab