Function at 0x10019fc0
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, 0x5cc
mov eax, dword [0x1003d01c]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x10032570]
push esi
mov dword [ebp - 0x5cc], edx
mov esi, ecx
mov dword [ebp - 0x5c0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 0
movdqu xmmword [ebp - 0x18], xmm0
mov byte [ebp - 8], al
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a020
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0xc8
jae 0x1001a03a
mov ecx, 0xc8
jmp 0x1001a04a
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a040
sub ecx, edx
inc ecx
push ecx
lea eax, [ebp - 0x1b8]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_mbstowcs]
add esp, 0xc
lea eax, [ebp - 0x1b8]
push 0
push 0x8000000
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001a0ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1b8]
push eax
push str.Error_opening_file__s_nError:__d_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002711f
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x5c0]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1001a0e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002711f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x5bc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x5c0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1001a12f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x5c0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002711f
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x5c8]
push 0
push eax
push 0x400
lea eax, [ebp - 0x5b8]
push eax
push esi
call edi
test eax, eax
je 0x1001a19c
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea esp, [esp]
mov ecx, dword [ebp - 0x5c8]
test ecx, ecx
je 0x1001a1d4
push 0
push ecx
lea eax, [ebp - 0x5b8]
push eax
push dword [ebp - 0x5bc]
call ebx
test eax, eax
je 0x1001a19c
push 0
lea eax, [ebp - 0x5c8]
push eax
push 0x400
lea eax, [ebp - 0x5b8]
push eax
push esi
call edi
test eax, eax
jne 0x1001a160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebp - 0x5c0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x5bc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.1002711f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1001a19c
push 0
lea eax, [ebp - 0x5c4]
mov dword [ebp - 0x5c4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 0x5bc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1001a244
mov ebx, dword [ebp - 0x5c4]
xor edi, edi
test ebx, ebx
je 0x1001a238
mov edx, dword [ebp - 0x5cc]
movzx ecx, byte [ebp + edi - 0x28]
lea edx, [edx + 2]
mov eax, ecx
inc edi
shr eax, 4
and ecx, 0xf
movzx eax, byte [ebp + eax - 0x18]
mov byte [edx - 2], al
movzx eax, byte [ebp + ecx - 0x18]
mov byte [edx - 1], al
cmp edi, ebx
jb 0x1001a213
mov eax, dword [ebp - 0x5cc]
mov byte [eax + 0x20], 0
jmp 0x1001a24a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x5bc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x5c0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1001a1bc