Function at 0x1000602f
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 [0x1003f51c]
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 0x10006077
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.10012d8b
add esp, 0xc
lea eax, [ebp - 0x8c]
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 0x100060da
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.10004977
add esp, 0xc
jmp 0x100061df
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 0x1000610e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.10004977
pop ecx
pop ecx
jmp 0x100061d8
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 0x1000615b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptAcquireContext_failed:__d_n
call fcn.10004977
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 0x100061df
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1000618f
cmp dword [ebp - 0x498], 0
je 0x100061fe
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 0x100061f0
push 0
lea eax, [ebp - 0x498]
push eax
push 0x400
lea eax, [ebp - 0x48c]
push eax
push esi
call edi
test eax, eax
jne 0x10006163
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_failed:__d_n
call fcn.10004977
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.1000837d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptHashData_failed:__d_n
jmp 0x100061b7
test eax, eax
je 0x100061ab
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 0x10006263
xor edi, edi
cmp dword [ebp - 0x49c], edi
jbe 0x1000625d
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 0x10006237
mov byte [ebx + 0x20], 0
jmp 0x10006276
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptGetHashParam_failed:__d_n
call fcn.10004977
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 0x100061d8