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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
push 0
push 1
push 0
push str.VIKeyContainer
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10115929
call fcn.1010dbe0
cmp dword [eax], 0
je 0x101158d0
call fcn.1010dbe0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getSignatureOfData_CryptAcquireContext_with_error__d
push 0x101a4aec
push esi
call dword [edi + 0x1c]
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov edi, dword [ebp - 0x14]
push 8
push 1
push 0
push str.VIKeyContainer
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10115929
call fcn.1010dbe0
cmp dword [eax], 0
je 0x10115914
call fcn.1010dbe0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getSignatureOfData_CryptAcquireContext_with_error__d
push 0x101a4aec
push esi
call dword [edi + 0x24]
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1011598e
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1011596e
call fcn.1010dbe0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getSignatureOfData_CryptCreateHash_with_error__d
push 0x101a4aec
push esi
call dword [edi + 0x24]
add esp, 0x10
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
push 0
push dword [ebp + 0xc]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x101159f5
call fcn.1010dbe0
cmp dword [eax], 0
je 0x101159cc
call fcn.1010dbe0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getSignatureOfData_CryptHashData_with_error__d
push 0x101a4aec
push esi
call dword [edi + 0x24]
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
push ebx
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x10115a62
call fcn.1010dbe0
cmp dword [eax], 0
je 0x10115a33
call fcn.1010dbe0
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getSignatureOfData_CryptGetHashParam_with_error__d
push 0x101a4aec
push esi
call dword [edi + 0x24]
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10115a70
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10115a80
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10