Function at 0x140019cf8
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14005f660]
xor rax, rsp
mov qword [rbp + 0x380], rax
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x140051cb8]
xor edi, edi
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
movups xmmword [rsp + 0x58], xmm0
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x8000000
mov rbx, rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
mov byte [rsp + 0x68], al
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019da0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error_opening_file__s_nError:__d_n
mov rdx, rbx
mov r8d, eax
call fcn.14002a0bc
jmp 0x140019eaa
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140019ddb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptAcquireContext_failed:__d_n
mov edx, eax
call fcn.14002a0bc
jmp 0x140019ea1
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140019e2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptAcquireContext_failed:__d_n
mov edx, eax
call fcn.14002a0bc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140019eaa
mov r14d, 0x400
jmp 0x140019e57
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140019ee2
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x80]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140019ed3
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x80]
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140019e33
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile_failed:__d_n
mov edx, eax
call fcn.14002a0bc
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400268f0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptHashData_failed:__d_n
jmp 0x140019e82
test eax, eax
je 0x140019e75
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, 2
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140019f8e
lea rcx, str.MD5_hash_of_file__s_is:
mov rdx, rbx
call fcn.14002a0bc
cmp dword [rsp + 0x40], edi
jbe 0x140019f80
lea r14, [0x140063e60]
mov ebx, edi
movzx ecx, byte [rsp + rbx + 0x70]
mov eax, ecx
shr rcx, 4
movsx edx, byte [rsp + rcx + 0x58]
and eax, 0xf
lea rcx, str._c_c
movsx r8d, byte [rsp + rax + 0x58]
call fcn.14002a0bc
movzx ecx, byte [rsp + rbx + 0x70]
inc edi
mov eax, ecx
and ecx, 0xf
shr rax, 4
movsx eax, byte [rsp + rax + 0x58]
mov word [r14], ax
movsx eax, byte [rsp + rcx + 0x58]
lea r14, [r14 + 4]
mov word [r14 - 2], ax
cmp edi, dword [rsp + 0x40]
jb 0x140019f2c
lea rcx, [0x140051d64]
call fcn.14002a0bc
jmp 0x140019fa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptGetHashParam_failed:__d_n
mov edx, eax
call fcn.14002a0bc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x140063e60]
jmp 0x140019eac