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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x490
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rbp + 0x380], rax
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x1400692b0]
xor edi, edi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov rbx, rcx
mov qword [rsp + 0x48], rdi
lea r8d, [rdi + 1]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], al
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001a505
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, str.Error_opening_file__ls_nError:__d_n
mov r8d, eax
call fcn.14001a744
jmp 0x14001a616
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14001a540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
call fcn.14001a744
jmp 0x14001a60d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14001a593
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
call fcn.14001a744
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14001a616
mov r14d, 0x400
jmp 0x14001a5c3
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14001a653
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x80]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14001a644
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov r8d, r14d
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001a59b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile_failed:__d_n
mov edx, eax
call fcn.14001a744
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, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140025e90
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptHashData_failed:__d_n
jmp 0x14001a5ee
test eax, eax
je 0x14001a5e1
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], 0x10
mov edx, 2
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea r15, [0x1400797a0]
test eax, eax
je 0x14001a704
mov rdx, rbx
lea rcx, str.MD5_hash_of_file__ls_is:
call fcn.14001a744
cmp dword [rsp + 0x40], edi
jbe 0x14001a6f6
mov r14, rdi
mov ebx, edi
movzx ecx, byte [rsp + rbx + 0x70]
mov eax, ecx
shr rcx, 4
and eax, 0xf
movsx edx, byte [rsp + rcx + 0x58]
lea rcx, str._c_c
movsx r8d, byte [rsp + rax + 0x58]
call fcn.14001a744
movzx edx, byte [rsp + rbx + 0x70]
inc edi
mov eax, edx
and edx, 0xf
shr rax, 4
movsx ecx, byte [rsp + rax + 0x58]
movsx eax, byte [rsp + rdx + 0x58]
mov word [r15 + r14*2], cx
mov word [r15 + r14*2 + 2], ax
lea r14, [r14 + 2]
cmp edi, dword [rsp + 0x40]
jb 0x14001a6a0
lea rcx, [0x14006935c]
call fcn.14001a744
jmp 0x14001a718
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptGetHashParam_failed:__d_n
call fcn.14001a744
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, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r15
jmp 0x14001a618