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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489230
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4ae0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x454], esi
cmp dword [edx + 0x18], 7
lea eax, [edx + 4]
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x42c], 0x10
jbe 0x421774
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x454], edi
cmp edi, 0xffffffff
je 0x4217e8
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4217e1
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x421816
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
push 0
mov dword [esi + 0x14], 0
mov ecx, esi
push 0x4a38ae
mov dword [esi + 0x18], 0
call fcn.0040dbe0
jmp 0x421a25
lea eax, [ebp - 0x430]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x421874
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x421874
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x430]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x421834
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x4218e1
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [esi], 0
push 0
movups xmmword [esi + 4], xmm0
push 0x4a38ae
mov ecx, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.0040dbe0
jmp 0x421a25
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x450], 0
movups xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
call fcn.0042f4f0
lea ecx, [ebp - 0x450]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x450], eax
mov dword [eax], ecx
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0xf
mov byte [ebp - 0x44c], 0
xor edi, edi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x42c], edi
jbe 0x421997
nop dword [eax + eax]
movzx eax, byte [ebp + edi - 0x20]
push eax
push str._02X
lea eax, [ebp - 0x434]
push 3
push eax
call fcn.00401710
add esp, 0x10
lea eax, [ebp - 0x434]
lea ecx, [ebp - 0x450]
push eax
call fcn.00407600
inc edi
cmp edi, dword [ebp - 0x42c]
jb 0x421960
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x454]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.0042f4f0
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [ebp - 0x450]
push eax
call fcn.00409fe0
lea ecx, [ebp - 0x450]
call fcn.00409df0
mov eax, dword [ebp - 0x450]
push 8
push eax
mov dword [ebp - 0x450], 0
call fcn.0042f4d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f4c0
mov esp, ebp
pop ebp
ret