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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], rdx
xor r15d, r15d
mov rcx, rdx
call fcn.1400028b0
mov rcx, rdi
test al, al
jne 0x1400034b5
cmp qword [rdi + 0x18], 7
jbe 0x140003488
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
call fcn.140006034
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
mov rcx, rsi
call fcn.140005ef0
jmp 0x14000373d
mov dword [rsp + 0x6c], r15d
mov dword [rsp + 0x68], r15d
movups xmm0, xmmword [str.0123456789abcdef]
movups xmmword [rsp + 0x48], xmm0
movzx eax, byte [0x140008788]
mov byte [rsp + 0x58], al
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
cmp qword [rdi + 0x18], 7
jbe 0x1400034ea
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
call fcn.140006034
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140005ef0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140003589
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003584
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400035ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r15 + rbx], 0
jne 0x1400035f0
jmp 0x14000372f
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140003671
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
call fcn.140001010
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140003662
jmp 0x14000372f
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
mov r8d, 0x400
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400036db
mov r8d, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
test r8d, r8d
je 0x14000380f
xor r9d, r9d
lea rdx, [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400037b5
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
mov r8d, 0x400
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140003692
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ReadFile_failed:__d_n
call fcn.140001010
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140003725
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.140005420
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000377c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003777
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000398f
mov rcx, r8
call fcn.140006c40
mov word [rdi], r15w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov rax, rsi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140006700
mov rbx, qword [rsp + 0x510]
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, str.CryptHashData_failed:__d_n
call fcn.140001010
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140003800
jmp 0x14000372f
mov dword [rsp + 0x68], 0x10
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x50]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000392b
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xor r8d, r8d
lea rdx, [0x1400086bf]
lea rcx, [rbp - 0x80]
call fcn.140005420
nop
mov r14d, r15d
cmp dword [rsp + 0x68], r15d
jbe 0x1400038c5
mov rbx, 0xffffffffffffffff
nop dword [rax]
mov eax, r14d
movzx ecx, byte [rbp + rax - 0x50]
mov eax, ecx
and eax, 0xf
movsx r9d, byte [rsp + rax + 0x48]
shr rcx, 4
movsx r8d, byte [rsp + rcx + 0x48]
lea rdx, str._c_c
lea rcx, [rbp - 0x60]
call fcn.140004d70
lea rax, [rbp - 0x60]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400038a4
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400048e0
inc r14d
cmp r14d, dword [rsp + 0x68]
jb 0x140003870
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000377c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003777
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140003774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rsp + 0x68]
mov edx, eax
lea rcx, str.CryptGetHashParam_failed:__d__datalen:__d_n
call fcn.140001010
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140003980
jmp 0x14000372f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3