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

Disassembly:
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x380], rax
movups xmm0, xmmword [str.0123456789abcdef]
movzx eax, byte [0x140078698]
xor esi, esi
cmp qword [rdx + 0x18], 8
mov r15, r8
movups xmmword [rsp + 0x58], xmm0
mov r10, rdx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], esi
mov byte [rsp + 0x68], al
jb 0x14000e3a2
mov r10, qword [rdx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov rcx, r10
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e3e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e4f8
mov r9d, 1
mov qword [rsp + 0x4c0], rbx
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000e417
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000e4e5
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 0x14000e45e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000e4ee
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov r8d, 0x400
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000e4c5
nop
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14000e515
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x80]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000e4c5
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov r8d, 0x400
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000e480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x4c0]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140062800
add rsp, 0x498
pop r15
pop r14
pop rsi
pop rbp
ret
test eax, eax
je 0x14000e4c5
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x490], rdi
mov edx, 2
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000e59b
mov edi, esi
cmp dword [rsp + 0x40], esi
jbe 0x14000e5a3
nop dword [rax]
nop word [rax + rax]
mov eax, edi
lea rbx, [rsp + 0x70]
add rbx, rax
mov rcx, r15
movzx eax, byte [rbx]
shr rax, 4
movsx edx, byte [rsp + rax + 0x58]
call fcn.14000f960
movzx eax, byte [rbx]
mov rcx, r15
and eax, 0xf
movsx edx, byte [rsp + rax + 0x58]
call fcn.14000f960
inc edi
cmp edi, dword [rsp + 0x40]
jb 0x14000e560
jmp 0x14000e5a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
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, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x490]
mov eax, esi
jmp 0x14000e4f0