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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x450068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40a169
push eax
push str.CryptAcquireContext
call fcn.004116a0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40a1af
push eax
push 0x448418
call fcn.004116a0
add esp, 8
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret 8
push 0x100000
call fcn.0041aed7
mov esi, eax
add esp, 4
test esi, esi
je 0x40a1da
push 0xfffff
lea ecx, [esi + 1]
push 0
push ecx
call fcn.0041d060
add esp, 0xc
mov byte [esi], 0
jmp 0x40a1dc
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20]
push 0
push eax
push 0x100000
push esi
push edi
call ebx
test eax, eax
je 0x40a224
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40a2a0
push 0
push ecx
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
test eax, eax
je 0x40a270
lea eax, [ebp - 0x20]
push eax
push 0x100000
push esi
push edi
call ebx
test eax, eax
jne 0x40a1f5
push 0
push 0x448454
call fcn.004116a0
add esp, 8
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call fcn.0041aafc
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret 8
push 0x448438
call fcn.004116a0
add esp, 8
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40a254
test eax, eax
je 0x40a224
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40a2c9
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
jmp 0x40a2d8
push 0
push 0x448468
call fcn.004116a0
add esp, 8
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x40a254