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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
lea rcx, str.0123456789abcdef
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140001fe6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140002021
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor r9d, r9d
mov r8d, dword [rsp + 0x138]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140002065
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x21
rep stosb byte [rdi], al
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x21
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x21
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000218d
mov dword [rsp + 0x34], 0
jmp 0x1400020d6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jae 0x14000212b
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x90]
sar eax, 4
cdqe
movzx eax, byte [rsp + rax + 0x70]
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x90]
and eax, 0xf
cdqe
movzx eax, byte [rsp + rax + 0x70]
mov byte [rsp + 0x3d], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
call fcn.140002f90
jmp 0x1400020cc
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp byte [rsp + 0x30], 0
jne 0x140002152
jmp 0x140002197
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add rsp, 0x118
pop rdi
pop rsi
ret