Function at 0x40d8a0
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 0x443580
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x451050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x128]
push ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateGuid]
cmp eax, esi
je 0x40d91b
push 0x44cc88
lea edx, [ebp - 0x140]
push edx
mov dword [ebp - 0x140], eax
call fcn.0043519b
movzx eax, byte [ebp - 0x119]
movzx ecx, byte [ebp - 0x11a]
movzx edx, byte [ebp - 0x11b]
push eax
movzx eax, byte [ebp - 0x11c]
push ecx
movzx ecx, byte [ebp - 0x11d]
push edx
movzx edx, byte [ebp - 0x11e]
push eax
movzx eax, byte [ebp - 0x11f]
push ecx
movzx ecx, byte [ebp - 0x120]
push edx
movzx edx, word [ebp - 0x122]
push eax
movzx eax, word [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x128]
push edx
push eax
push ecx
push str._08lX__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
mov ecx, 0x80
lea ebx, [ebp - 0x118]
call fcn.00401250
add esp, 0x30
push 0x10
push 1
push esi
mov edx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edx
lea eax, [ebp - 0x12c]
push eax
call ebx
push 8
push 1
push esi
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x12c]
push edx
call ebx
test eax, eax
jne 0x40d9d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14c], eax
push 0x44cc88
lea eax, [ebp - 0x14c]
push eax
call fcn.0043519b
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x134]
push ecx
push esi
push esi
push 0x54
push 0x452540
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x40da15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x154], eax
push 0x44cc88
lea eax, [ebp - 0x154]
push eax
call fcn.0043519b
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x130]
push ecx
push esi
push esi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40da51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
push 0x44cc88
lea eax, [ebp - 0x138]
push eax
call fcn.0043519b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x130]
push esi
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x40da85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x150], eax
push 0x44cc88
lea eax, [ebp - 0x150]
push eax
call fcn.0043519b
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x130]
push esi
push esi
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
jne 0x40dad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44cc88
lea ecx, [ebp - 0x13c]
push ecx
mov dword [ebp - 0x13c], eax
call fcn.0043519b
mov eax, 0x40dacb
ret
mov edi, 1
mov eax, dword [ebp - 0x130]
cmp eax, esi
je 0x40daed
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x134]
cmp eax, esi
je 0x40dafe
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x12c]
cmp eax, esi
je 0x40db25
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10
push 1
push esi
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x12c]
push eax
call ebx
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 - 0x14]
xor ecx, ebp
call fcn.00433c32
mov esp, ebp
pop ebp
ret