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

Disassembly:
jmp 0x140015af0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1728
call fcn.14001100f
sub rsp, rax
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x5ca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1748]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x16d8], rax
lea rcx, [0x140045039]
call fcn.140011181
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x1084], 0
mov qword [rbp + 0x10a8], 0xffffffffffffffff
mov dword [rbp + socketc4], 0x10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + 0x1700]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x10a8], rax
cmp qword [rbp + 0x10a8], 0xffffffffffffffff
jne 0x140015bda
mov rdx, qword [rbp + 0x1700]
lea rcx, str.Failed_to_open_file:__s_n
call fcn.140011429
jmp 0x140015d09
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140015c19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
call fcn.140011429
jmp 0x140015d09
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140015c59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptCreateHash_failed:__d_n
call fcn.140011429
jmp 0x140015d09
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1084]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x10a8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140015cc3
cmp dword [rbp + 0x1084], 0
jbe 0x140015cc3
xor r9d, r9d
mov r8d, dword [rbp + 0x1084]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140015cc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptHashData_failed:__d_n
call fcn.140011429
jmp 0x140015d09
jmp 0x140015c59
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x10c4]
mov r8, qword [rbp + 0x1708]
mov edx, 2
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140015cf5
mov dword [rbp + 4], 1
jmp 0x140015d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptGetHashParam_failed:__d_n
call fcn.140011429
cmp qword [rbp + 0x48], 0
je 0x140015d1a
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rbp + 0x28], 0
je 0x140015d2d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp qword [rbp + 0x10a8], 0xffffffffffffffff
je 0x140015d44
mov rcx, qword [rbp + 0x10a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400289f8]
call fcn.140011771
mov eax, edi
mov rcx, qword [rbp + 0x16d8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x16e8]
pop rdi
pop rbp
ret