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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x4a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r13, r8
mov rdi, rdx
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x48], ebx
mov rcx, rdx
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d484
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r9d, ebx
mov r8, qword [rdi]
lea rdx, str.Error_opening_file__s_nError:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x14001d81e
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, ebx
jne 0x14001d501
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, str.CryptAcquireContext_failed:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x14001d81e
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, ebx
jne 0x14001d58d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, str.CryptCreateHash_failed:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x14001d81e
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x4c]
mov esi, reloc.mfc90u.dll_CDHtmlControlSink::AddRef
mov r8d, esi
lea rdx, [rsp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x14001d7b0
mov r8d, dword [rsp + 0x4c]
cmp r8d, ebx
je 0x14001d67a
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, ebx
je 0x14001d607
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x4c]
mov r8d, esi
lea rdx, [rsp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x14001d5b8
jmp 0x14001d7b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, str.CryptHashData_failed:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x14001d81e
cmp eax, ebx
je 0x14001d7b0
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp eax, ebx
je 0x14001d740
lea rcx, [rsp + 0x60]
call qword [0x140409500]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CDocObjectServer::DoBeginPrinting]
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov ebp, ebx
cmp dword [rsp + 0x48], ebx
jbe 0x14001d70d
lea rsi, [rsp + 0x78]
movzx r8d, byte [rsi]
lea rdx, str._02x
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.mfc90u.dll_]
inc ebp
inc rsi
cmp ebp, dword [rsp + 0x48]
jb 0x14001d6de
mov r9, qword [r13]
mov r8, qword [rdi]
lea rdx, str.MD5_hash_of_file__s_is:__s
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001d781
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, str.CryptGetHashParam_failed:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x14001d81e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, str.ReadFile_failed:__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140038eb0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret