Function at 0x40144c
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004088b0
mov eax, dword [0x421130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1040], ecx
mov dword [ebp - 0x1030], ebx
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x103c], ebx
mov dword [ebp - 0x1038], ebx
movsb byte es:[edi], byte [esi]
cmp eax, ebx
je 0x401654
cmp ecx, ebx
je 0x401654
push ebx
push 0x8000000
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or edi, 0xffffffff
mov esi, eax
mov dword [ebp - 0x1034], esi
cmp esi, edi
jne 0x4014d6
mov eax, edi
jmp 0x401657
lea eax, [ebp - 0x1030]
push 0xf0000000
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
or eax, eax
jne 0x4014f9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4014cf
lea eax, [ebp - 0x102c]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebx
or eax, eax
jne 0x401526
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4014cf
lea edi, [ebp - 0x103c]
push edi
lea eax, [ebp - 0x1028]
mov edi, 0x1000
push edi
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x40157f
cmp dword [ebp - 0x103c], ebx
je 0x401587
push ebx
lea eax, [ebp - 0x1028]
push dword [ebp - 0x103c]
push eax
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
test eax, eax
je 0x40158c
lea eax, [ebp - 0x103c]
push eax
push edi
lea eax, [ebp - 0x1028]
push eax
push dword [ebp - 0x1034]
call esi
cmp eax, ebx
jne 0x401543
jmp 0x40158b
cmp eax, ebx
jne 0x4015a9
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x401648
push ebx
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x1038]
push edi
push eax
push 2
push dword [ebp - 0x102c]
mov dword [ebp - 0x1038], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
or eax, eax
je 0x40162f
xor esi, esi
cmp dword [ebp - 0x1038], ebx
jbe 0x401606
mov edi, dword [ebp - 0x1040]
movzx eax, byte [ebp + esi - 0x28]
mov ecx, eax
shr ecx, 4
and eax, 0xf
mov cl, byte [ebp + ecx - 0x18]
mov al, byte [ebp + eax - 0x18]
mov byte [edi + esi*2], cl
mov byte [edi + esi*2 + 1], al
inc esi
cmp esi, dword [ebp - 0x1038]
jb 0x4015db
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x1034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x401657
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x1034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
call fcn.0040884a
leave
ret