Function at 0x416e10
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4398f6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x449314]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x416fae
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x416fd4
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push 0
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x416ffa
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 4
push eax
push 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edi, eax
test edi, edi
je 0x416f89
cmp dword [ebp - 0x30], 0x10
jne 0x416f89
push 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00435e86
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [esi + 4], eax
add esp, 4
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esi]
lea ecx, [eax + 0x10]
movups xmmword [eax], xmm0
mov dword [esi + 4], ecx
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], 1
push eax
push dword [esi]
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edi, eax
test edi, edi
je 0x417020
cmp dword [ebp - 0x30], 0x10
jne 0x417020
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
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.0043624e
mov esp, ebp
pop ebp
ret 8
push str.CryptGetHashParam_failed_
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 0x1c0
push str.generate_md5_hash
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.0041b150
push str.CryptAcquireContext_failed_
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 0x1b1
push str.generate_md5_hash
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0041b150
push str.CryptCreateHash_failed_
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 0x1b6
push str.generate_md5_hash
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0041b150
push str.CryptHashData_failed_
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 0x1ba
push str.generate_md5_hash
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.0041b150
push str.CryptGetHashParam_failed_
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 0x1c5
push str.generate_md5_hash
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0041b150
int3