Function at 0x1000f290
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 0x100920c0
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.100527e0
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x104c], edi
mov dword [ebp - 0x1044], edi
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1048], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x1000f30d
mov eax, dword [edi]
jmp 0x1000f30f
mov eax, edi
xor ecx, ecx
mov word [eax], cx
push 0x1000
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x1048], 1
push eax
mov dword [ebp - 0x1040], ecx
mov dword [ebp - 0x103c], ecx
call fcn.1006a580
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x1040]
add esp, 0xc
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push eax
call esi
test eax, eax
jne 0x1000f37a
push eax
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push eax
lea eax, [ebp - 0x1040]
push eax
call esi
test eax, eax
je 0x1000f4f6
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x100ad548
cmovae eax, dword [ebp + 8]
push eax
call fcn.10076a38
mov esi, eax
add esp, 8
test esi, esi
je 0x1000f4e8
lea eax, [ebp - 0x103c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x1040]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edi, 0x100
push esi
call fcn.10076860
add esp, 4
test eax, eax
jne 0x1000f41d
push 0x1000
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.1006a580
add esp, 0xc
lea eax, [ebp - 0x1020]
push esi
push 0x1000
push 1
push eax
call fcn.100767b0
add esp, 0x10
push 0
push eax
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x103c]
call ebx
push esi
call fcn.10076860
add esp, 4
test eax, eax
je 0x1000f3d1
sub edi, 1
jne 0x1000f3c4
push esi
call fcn.10075ac4
add esp, 4
mov dword [ebp - 0x1044], 0x10
lea eax, [ebp - 0x1044]
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x17], edi
movq qword [ebp - 0x1f], xmm0
push edi
push eax
lea eax, [ebp - 0x20]
mov word [ebp - 0x13], di
push eax
push 2
push dword [ebp - 0x103c]
mov byte [ebp - 0x11], 0
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x103c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1038]
call fcn.1000f0a0
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x104c]
cmp edi, esi
je 0x1000f4ca
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x1000f4a3
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.10005250
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x1000f4bb
mov eax, dword [edi]
jmp 0x1000f4bd
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.1000f1a0
mov eax, dword [ebp - 0x1024]
cmp eax, 8
jb 0x1000f4e8
inc eax
lea ecx, [ebp - 0x1038]
push eax
push dword [ebp - 0x1038]
call fcn.10005250
push 0
push dword [ebp - 0x1040]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x1000f54e
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x7fffffff
jbe 0x1000f50e
call fcn.1006cec3
add eax, eax
cmp eax, 0x1000
jb 0x1000f545
test cl, 0x1f
je 0x1000f521
call fcn.1006cec3
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000f52d
call fcn.1006cec3
sub ecx, eax
cmp ecx, 4
jae 0x1000f539
call fcn.1006cec3
cmp ecx, 0x23
jbe 0x1000f543
call fcn.1006cec3
mov ecx, eax
push ecx
call fcn.1005205a
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret