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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e1be
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x476028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x464], 7
mov dword [ebp - 0x468], 0
mov word [ebp - 0x478], ax
mov dword [ebp - 4], eax
movq xmm0, qword [str.0123456789abcdef]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov al, byte [0x46ae84]
mov byte [ebp - 0x14], al
xor eax, eax
movq qword [ebp - 0x24], xmm0
movq xmm0, qword [0x46ae7c]
push eax
push 0x46ae14
lea ecx, [ebp - 0x458]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
call fcn.0040e9c0
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, edi
call fcn.00414990
cmp dword [ebp - 0x444], 8
jb 0x414b2e
push dword [ebp - 0x458]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x464], 8
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
jb 0x414dab
push dword [ebp - 0x478]
call fcn.0043f2ce
add esp, 4
jmp 0x414dab
lea eax, [ebp - 0x480]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x414ba1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414b08
lea eax, [ebp - 0x43c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x414bdb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x414b08
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x460]
push eax
push 0x400
lea eax, [ebp - 0x438]
push eax
push ebx
call esi
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x414c43
push 0
push ecx
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
test eax, eax
je 0x414d67
lea eax, [ebp - 0x460]
push eax
push 0x400
lea eax, [ebp - 0x438]
push eax
push ebx
call esi
mov ecx, dword [ebp - 0x460]
test ecx, ecx
jne 0x414c03
push 0
test eax, eax
je 0x414d67
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
push dword [ebp - 0x43c]
mov dword [ebp - 0x45c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x414d86
xor esi, esi
cmp dword [ebp - 0x45c], esi
jbe 0x414cc7
movzx eax, byte [ebp + esi - 0x38]
shr eax, 4
lea ecx, [ebp - 0x478]
movsx eax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
push 1
call fcn.00409080
movzx eax, byte [ebp + esi - 0x38]
and eax, 0xf
lea ecx, [ebp - 0x478]
movsx eax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
push 1
call fcn.00409080
inc esi
cmp esi, dword [ebp - 0x45c]
jb 0x414c82
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x464], 8
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
push eax
lea ecx, [ebp - 0x458]
call fcn.0040b2d0
push 0x46a568
lea ecx, [ebp - 0x458]
call fcn.0040b2d0
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x480]
call fcn.00414dd0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 2
call fcn.004071a0
cmp dword [ebp - 0x14], 8
jb 0x414d54
push dword [ebp - 0x28]
call fcn.0043f2ce
add esp, 4
lea eax, [ebp - 0x458]
push eax
mov ecx, edi
call fcn.0040e480
jmp 0x414b17
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, edi
call fcn.00414990
lea ecx, [ebp - 0x458]
call fcn.00404c30
lea ecx, [ebp - 0x478]
call fcn.00404c30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f2bf
mov esp, ebp
pop ebp
ret