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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x4a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + AfxStoreField], rbx
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r12, r8
mov r13, rdx
mov qword [rsp + 0x68], rdx
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x48], esi
mov rcx, rdx
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14001fe03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
nop
mov r9d, ebx
mov r8, qword [r13]
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.14003e230
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x1400201b1
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]
test eax, eax
jne 0x14001fe80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
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.14003e230
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x1400201b1
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]
test eax, eax
jne 0x14001ff0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
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.14003e230
mov rcx, rbp
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, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x1400201b1
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x4c]
mov r8d, reloc.mfc90u.dll_CDHtmlControlSink::AddRef
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140020143
nop word [rax + rax]
mov r8d, dword [rsp + 0x4c]
test r8d, r8d
je 0x140020005
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14001ff92
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x4c]
mov r8d, reloc.mfc90u.dll_CDHtmlControlSink::AddRef
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001ff40
jmp 0x140020143
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
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.14003e230
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, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
jmp 0x1400201b1
test eax, eax
je 0x140020143
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400200d3
lea rcx, [rsp + 0x60]
call qword [0x1403f4428]
nop
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CDocObjectServer::DoBeginPrinting]
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
nop
mov edi, esi
cmp dword [rsp + 0x48], esi
jbe 0x14002009f
lea rbx, [rsp + 0x78]
nop dword [rax]
movzx r8d, byte [rbx]
lea rdx, str._02x
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.mfc90u.dll_]
inc edi
inc rbx
cmp edi, dword [rsp + 0x48]
jb 0x140020070
mov r9, qword [r12]
mov r8, qword [r13]
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 0x140020114
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
nop
mov r8d, esi
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.14003e230
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, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, esi
jmp 0x1400201b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [0x1403f4428]
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.14003e230
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, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r13
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1403addc0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret