Function at 0x100065bf
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, 0x49c
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov esi, str.0123456789abcdef
push edi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x490], eax
mov ecx, edx
mov dword [ebp - 0x494], eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x49c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006607
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.10013a2b
add esp, 0xc
lea eax, [ebp - 0x8c]
push 0
push 0x8000000
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000666a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8c]
push eax
push str.Error_opening_file__s_nError:__d_n
call fcn.10004b4a
add esp, 0xc
jmp 0x1000676f
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1000669e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.10004b4a
pop ecx
pop ecx
jmp 0x10006768
lea eax, [ebp - 0x494]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100066eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.10004b4a
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1000676f
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1000671f
cmp dword [ebp - 0x498], 0
je 0x1000678e
push 0
push dword [ebp - 0x498]
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x494]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10006780
push 0
lea eax, [ebp - 0x498]
push eax
push 0x400
lea eax, [ebp - 0x48c]
push eax
push esi
call edi
test eax, eax
jne 0x100066f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_failed:__d_n
call fcn.10004b4a
pop ecx
pop ecx
push 0
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x494]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptHashData_failed:__d_n
jmp 0x10006747
test eax, eax
je 0x1000673b
push 0
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x49c], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 0x494]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100067f3
xor edi, edi
cmp dword [ebp - 0x49c], edi
jbe 0x100067ed
mov edx, ebx
movzx ecx, byte [ebp + edi - 0x28]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc edi
mov al, byte [ebp + eax - 0x18]
mov byte [edx], al
lea edx, [edx + 2]
mov al, byte [ebp + ecx - 0x18]
mov byte [edx - 1], al
cmp edi, dword [ebp - 0x49c]
jb 0x100067c7
mov byte [ebx + 0x20], 0
jmp 0x10006806
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptGetHashParam_failed:__d_n
call fcn.10004b4a
pop ecx
pop ecx
push dword [ebp - 0x494]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x10006768