Function at 0x415260
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 0x4f6ade
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.00491ad0
mov eax, dword [0x53fbb0]
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.00401690
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.00491200
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 0x41531f
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 0x4154c7
push 0x5156b8
lea ecx, [ebp + 0xc]
call fcn.00401780
push eax
call fcn.004925bc
add esp, 8
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x4154b8
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 0x415380
mov edx, dword [ebp - 0x1054]
add edx, 1
mov dword [ebp - 0x1054], edx
cmp dword [ebp - 0x1054], 0x100
jge 0x4153fc
mov eax, dword [ebp - 0x103c]
push eax
call fcn.00496320
add esp, 4
test eax, eax
jne 0x4153f7
push 0x1000
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.00491200
add esp, 0xc
mov edx, dword [ebp - 0x103c]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x1014]
push eax
call fcn.00496628
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 0x41538c
jmp 0x415371
mov ecx, dword [ebp - 0x103c]
push ecx
call fcn.00492296
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.00415150
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.00401760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.00401740
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.00401700
mov ecx, dword [ebp - 0x1078]
or ecx, 1
mov dword [ebp - 0x1078], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1038]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401740
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.0049115e
mov esp, ebp
pop ebp
ret