Function at 0x414200
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 0x4fa340
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.00497ef0
mov eax, dword [0x537474]
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 0x41427d
mov eax, dword [edi]
jmp 0x41427f
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.0049d060
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 0x4142ea
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 0x414466
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x5276e0
cmovae eax, dword [ebp + 8]
push eax
call fcn.004a4da5
mov esi, eax
add esp, 8
test esi, esi
je 0x414458
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.004a4bc2
add esp, 4
test eax, eax
jne 0x41438d
push 0x1000
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.0049d060
add esp, 0xc
lea eax, [ebp - 0x1020]
push esi
push 0x1000
push 1
push eax
call fcn.004a4ff1
add esp, 0x10
push 0
push eax
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x103c]
call ebx
push esi
call fcn.004a4bc2
add esp, 4
test eax, eax
je 0x414341
sub edi, 1
jne 0x414334
push esi
call fcn.004a4b42
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.00414010
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x104c]
cmp edi, esi
je 0x41443a
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x414413
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404a60
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x41442b
mov eax, dword [edi]
jmp 0x41442d
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.00414110
mov eax, dword [ebp - 0x1024]
cmp eax, 8
jb 0x414458
inc eax
lea ecx, [ebp - 0x1038]
push eax
push dword [ebp - 0x1038]
call fcn.00404a60
push 0
push dword [ebp - 0x1040]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4144be
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x7fffffff
jbe 0x41447e
call fcn.004a5de4
add eax, eax
cmp eax, 0x1000
jb 0x4144b5
test cl, 0x1f
je 0x414491
call fcn.004a5de4
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41449d
call fcn.004a5de4
sub ecx, eax
cmp ecx, 4
jae 0x4144a9
call fcn.004a5de4
cmp ecx, 0x23
jbe 0x4144b3
call fcn.004a5de4
mov ecx, eax
push ecx
call fcn.00471ca4
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.00497ebf
mov esp, ebp
pop ebp
ret