Function at 0x434020
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 0x50a620
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.004c9060
mov eax, dword [0x5503dc]
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 0x43409d
mov eax, dword [edi]
jmp 0x43409f
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.004debe0
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 0x43410a
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 0x434284
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x53f114
cmovae eax, dword [ebp + 8]
push eax
call fcn.004ece33
mov esi, eax
add esp, 8
test esi, esi
je 0x434276
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.004eda84
add esp, 4
test eax, eax
jne 0x4341aa
push 0x1000
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.004debe0
push esi
push 0x1000
lea eax, [ebp - 0x1020]
push 1
push eax
call fcn.004ed32a
add esp, 0x1c
push 0
push eax
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x103c]
call ebx
push esi
call fcn.004eda84
add esp, 4
test eax, eax
je 0x434161
sub edi, 1
jne 0x434154
push esi
call fcn.004ec879
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 0x10
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1038]
call fcn.0042ae00
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x104c]
cmp edi, esi
je 0x434258
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x434231
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00408230
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x434249
mov eax, dword [edi]
jmp 0x43424b
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.00407c90
mov eax, dword [ebp - 0x1024]
cmp eax, 8
jb 0x434276
inc eax
lea ecx, [ebp - 0x1038]
push eax
push dword [ebp - 0x1038]
call fcn.00408230
push 0
push dword [ebp - 0x1040]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4342dc
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x7fffffff
jbe 0x43429c
call fcn.004e12d1
add eax, eax
cmp eax, 0x1000
jb 0x4342d3
test cl, 0x1f
je 0x4342af
call fcn.004e12d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4342bb
call fcn.004e12d1
sub ecx, eax
cmp ecx, 4
jae 0x4342c7
call fcn.004e12d1
cmp ecx, 0x23
jbe 0x4342d1
call fcn.004e12d1
mov ecx, eax
push ecx
call fcn.00469456
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.004c9018
mov esp, ebp
pop ebp
ret