Function at 0x10017260
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, 0x574
mov eax, dword [0x100d2948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x430], 0
mov eax, dword [str.0123456789abcdef]
mov dword [ebp - 0x444], eax
mov ecx, dword [0x100b2d08]
mov dword [ebp - 0x440], ecx
mov edx, dword [0x100b2d0c]
mov dword [ebp - 0x43c], edx
mov eax, dword [0x100b2d10]
mov dword [ebp - 0x438], eax
mov cl, byte [0x100b2d14]
mov byte [ebp - 0x434], cl
mov eax, dword [ebp + 8]
push eax
call fcn.1004be70
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4a8]
push edx
call fcn.1005e9fa
add esp, 0xc
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4ac], eax
push 0
push 0x8000000
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp - 0x4ac]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x10017364
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x4ac]
push ecx
push str.Error_opening_file__s_nError:__d_n
call fcn.1000ed40
add esp, 0xc
jmp 0x100175e5
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100173a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.1000ed40
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100175e5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100173f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.1000ed40
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x100175e5
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001748b
cmp dword [ebp - 0x41c], 0
jne 0x10017429
jmp 0x1001748b
push 0
mov eax, dword [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10017486
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.CryptHashData_failed:__d_n
call fcn.1000ed40
add esp, 8
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100175e5
jmp 0x100173f6
cmp dword [ebp - 0xc], 0
jne 0x100174d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.ReadFile_failed:__d_n
call fcn.1000ed40
add esp, 8
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100175e5
mov dword [ebp - 0x430], 0x10
push 0
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x42c]
push ecx
push 2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100175ab
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4b4], 0
jmp 0x10017523
mov eax, dword [ebp - 0x4b4]
add eax, 1
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x4b4]
cmp eax, dword [ebp - 0x430]
jae 0x1001759a
mov eax, dword [ebp - 0x4b4]
movzx ecx, byte [ebp + eax - 0x42c]
sar ecx, 4
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x4b0]
mov al, byte [ebp + ecx - 0x444]
mov byte [edx], al
mov ecx, dword [ebp - 0x4b0]
add ecx, 1
mov dword [ebp - 0x4b0], ecx
mov eax, dword [ebp - 0x4b4]
movzx ecx, byte [ebp + eax - 0x42c]
and ecx, 0xf
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x4b0]
mov al, byte [ebp + ecx - 0x444]
mov byte [edx], al
mov ecx, dword [ebp - 0x4b0]
add ecx, 1
mov dword [ebp - 0x4b0], ecx
jmp 0x10017514
mov eax, 1
shl eax, 5
mov ecx, dword [ebp + 0xc]
mov byte [ecx + eax], 0
jmp 0x100175c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.CryptGetHashParam_failed:__d_n
call fcn.1000ed40
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002161d
mov esp, ebp
pop ebp
ret