Function at 0x41a720
Capabilities:
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 0x581aae
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004b7180
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1038]
call fcn.00401740
mov byte [ebp - 4], 1
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1014], 0
push 0xfff
push 0
lea eax, [ebp - 0x1013]
push eax
call fcn.004b6500
add esp, 0xc
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x41a7df
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea edx, [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x41a987
push 0x5ad900
lea ecx, [ebp + 0xc]
call fcn.00401830
push eax
call fcn.004b7ea1
add esp, 8
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x41a978
lea eax, [ebp - 0x1018]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov dword [ebp - 0x1054], 0
jmp 0x41a840
mov edx, dword [ebp - 0x1054]
add edx, 1
mov dword [ebp - 0x1054], edx
cmp dword [ebp - 0x1054], 0x100
jge 0x41a8bc
mov eax, dword [ebp - 0x103c]
push eax
call fcn.004bd86c
add esp, 4
test eax, eax
jne 0x41a8b7
push 0x1000
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.004b6500
add esp, 0xc
mov edx, dword [ebp - 0x103c]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x1014]
push eax
call fcn.004bdb91
add esp, 0x10
mov dword [ebp - 0x1058], eax
push 0
mov ecx, dword [ebp - 0x1058]
push ecx
lea edx, [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
jmp 0x41a84c
jmp 0x41a831
mov ecx, dword [ebp - 0x103c]
push ecx
call fcn.004b7b7b
add esp, 4
mov dword [ebp - 0x1040], 0x10
mov byte [ebp - 0x1050], 0
xor edx, edx
mov dword [ebp - 0x104f], edx
mov dword [ebp - 0x104b], edx
mov dword [ebp - 0x1047], edx
mov word [ebp - 0x1043], dx
mov byte [ebp - 0x1041], dl
push 0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1050]
push ecx
push 2
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x10
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x1074]
push edx
call fcn.0041a610
add esp, 0xc
mov dword [ebp - 0x107c], eax
mov eax, dword [ebp - 0x107c]
mov dword [ebp - 0x1080], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1080]
push ecx
lea ecx, [ebp - 0x1038]
call fcn.00401810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.004017f0
push 0
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x1038]
push eax
mov ecx, dword [ebp + 8]
call fcn.004017b0
mov ecx, dword [ebp - 0x1078]
or ecx, 1
mov dword [ebp - 0x1078], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1038]
call fcn.004017f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004017f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret