Function at 0x418fc0
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 0x511b3e
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004c45f0
mov eax, dword [0x56f8f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1038]
call fcn.00401680
mov byte [ebp - 4], 1
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1014], 0
push 0xfff
push 0
lea eax, [ebp - 0x1013]
push eax
call fcn.004c3b30
add esp, 0xc
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x41907f
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea edx, [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x419227
push 0x5384b0
lea ecx, [ebp + 0xc]
call fcn.00401770
push eax
call fcn.004cde7a
add esp, 8
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x419218
lea eax, [ebp - 0x1018]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov dword [ebp - 0x1054], 0
jmp 0x4190e0
mov edx, dword [ebp - 0x1054]
add edx, 1
mov dword [ebp - 0x1054], edx
cmp dword [ebp - 0x1054], 0x100
jge 0x41915c
mov eax, dword [ebp - 0x103c]
push eax
call fcn.004cd4b7
add esp, 4
test eax, eax
jne 0x419157
push 0x1000
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.004c3b30
add esp, 0xc
mov edx, dword [ebp - 0x103c]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x1014]
push eax
call fcn.004cd49a
add esp, 0x10
mov dword [ebp - 0x1058], eax
push 0
mov ecx, dword [ebp - 0x1058]
push ecx
lea edx, [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
jmp 0x4190ec
jmp 0x4190d1
mov ecx, dword [ebp - 0x103c]
push ecx
call fcn.004c7090
add esp, 4
mov dword [ebp - 0x1040], 0x10
mov byte [ebp - 0x1050], 0
xor edx, edx
mov dword [ebp - 0x104f], edx
mov dword [ebp - 0x104b], edx
mov dword [ebp - 0x1047], edx
mov word [ebp - 0x1043], dx
mov byte [ebp - 0x1041], dl
push 0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1050]
push ecx
push 2
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x10
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x1074]
push edx
call fcn.00418eb0
add esp, 0xc
mov dword [ebp - 0x107c], eax
mov eax, dword [ebp - 0x107c]
mov dword [ebp - 0x1080], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1080]
push ecx
lea ecx, [ebp - 0x1038]
call fcn.00401750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.00401730
push 0
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x1038]
push eax
mov ecx, dword [ebp + 8]
call fcn.004016f0
mov ecx, dword [ebp - 0x1078]
or ecx, 1
mov dword [ebp - 0x1078], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1038]
call fcn.00401730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3202
mov esp, ebp
pop ebp
ret