Function at 0x40ccd0
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 0x469bce
mov eax, dword fs:[0]
push eax
mov eax, 0x10a8
call fcn.00426d90
mov eax, dword [0x47d1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1038]
call fcn.004072e0
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.00416fc0
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 0x40cd90
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 0x40cf37
push 0x477470
lea eax, [ebp + 0xc]
call fcn.00409020
push eax
call fcn.00417134
add esp, 8
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x40cf28
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 0x40cdf1
mov edx, dword [ebp - 0x1054]
add edx, 1
mov dword [ebp - 0x1054], edx
cmp dword [ebp - 0x1054], 0x100
jge 0x40ce6d
mov eax, dword [ebp - 0x103c]
push eax
call fcn.0041703a
add esp, 4
test eax, eax
jne 0x40ce68
push 0x1000
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.00416fc0
add esp, 0xc
mov edx, dword [ebp - 0x103c]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x1014]
push eax
call fcn.00416f94
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 0x40cdfd
jmp 0x40cde2
mov ecx, dword [ebp - 0x103c]
push ecx
call fcn.00416c35
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.0040cbc0
add esp, 0xc
mov dword [ebp - 0x10b0], eax
mov eax, dword [ebp - 0x10b0]
mov dword [ebp - 0x10b4], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10b4]
lea ecx, [ebp - 0x1038]
call fcn.00407300
mov byte [ebp - 4], 1
lea esi, [ebp - 0x1074]
call fcn.00409080
push 0
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x1038]
push edx
mov esi, dword [ebp + 8]
call fcn.00407bd0
mov eax, dword [ebp - 0x1078]
or eax, 1
mov dword [ebp - 0x1078], eax
mov byte [ebp - 4], 0
lea esi, [ebp - 0x1038]
call fcn.00409080
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 0xc]
call fcn.00409080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041233e
mov esp, ebp
pop ebp
ret