Function at 0x1400dffe4
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rdi, r8
mov rbx, rdx
mov rcx, qword [0x140170c20]
test rcx, rcx
jne 0x1400e0061
lea edx, [rcx + 0x5c]
lea rcx, [0x1401368b8]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400e0024
inc rax
jmp 0x1400e002b
lea rax, [0x1401368b8]
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
mov ecx, dword [0x140170c28]
or rcx, rax
movabs rax, 0x42500000000
or rax, rcx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r8]
cmp rax, qword [r8 + 8]
je 0x1400e0075
mov qword [r8 + 8], rax
mov rcx, qword [0x140170c20]
cmp qword [rdx + 0x10], 0
jne 0x1400e0088
movabs rax, 0x8000000000
jmp 0x1400e0054
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400e00fc
lea edx, [rax + 0x5c]
lea rcx, [0x1401368b8]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400e00c5
inc rax
jmp 0x1400e00cc
lea rax, [0x1401368b8]
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
or rax, rbx
movabs rcx, 0x62500000000
jmp 0x1400e0051
mov rsi, qword [rbp - 0x10]
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x1400e02d5
lea rax, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__int____cdecl___unsigned_long_long_unsigned___int64____unsigned_long_long_unsigned___int64_____ptr64__.0
mov qword [rcx], rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rsi
mov qword [rbp - 8], rcx
mov eax, 0xffffffff
cmp qword [rbx + 0x10], rax
ja 0x1400e02df
mov r8d, dword [rbx + 0x10]
add r8, r8
mov rax, r8
shr rax, 0x20
test eax, eax
jne 0x1400e02df
cmp qword [rbx + 0x18], 7
jbe 0x1400e0163
mov rbx, qword [rbx]
xor r9d, r9d
mov rdx, rbx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400e01c5
lea edx, [rax + 0x5c]
lea rcx, [0x1401368b8]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400e0191
inc rax
jmp 0x1400e0198
lea rax, [0x1401368b8]
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x72500000000
jmp 0x1400e02b0
and dword [rbp + 0x20], 0
mov edx, 4
mov dword [rbp + 0x38], edx
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x20]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400e0237
lea edx, [rax + 0x5c]
lea rcx, [0x1401368b8]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400e0206
inc rax
jmp 0x1400e020d
lea rax, [0x1401368b8]
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x82500000000
jmp 0x1400e02b0
mov edx, dword [rbp + 0x20]
mov rcx, rdi
call fcn.140012758
cmp dword [rbp + 0x20], 0
jbe 0x1400e02c7
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
mov r8, qword [rdi]
mov edx, 2
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400e02c7
lea edx, [rax + 0x5c]
lea rcx, [0x1401368b8]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400e0281
inc rax
jmp 0x1400e0288
lea rax, [0x1401368b8]
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x92500000000
or rdi, rbx
or rdi, rax
lea rcx, [rbp - 8]
call fcn.140019f18
mov rax, rdi
jmp 0x1400e0054
lea rcx, [rbp - 8]
call fcn.140019f18
jmp 0x1400e007c
call fcn.14000f594
nop
jmp 0x1400e02de
nop
call fcn.140010064
int3