Function at 0x40eeb0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6fe068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x40], 0x6e2c70
mov dword [ebp - 0x40], vtable.CVolObject.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], vtable.CVolMem.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 4], 2
xor eax, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40ef44
cmp word [ecx], ax
sete al
jmp 0x40ef4b
cmp dword [esi + 0x24], 2
setle al
test eax, eax
je 0x40ef78
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0040b460
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], vtable.CVolMem.0
mov dword [ebp - 4], 3
jmp 0x40f159
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 0x10]
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
push eax
call ebx
test eax, eax
jne 0x40efd3
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
lea eax, [ebp - 0x10]
push eax
call ebx
test eax, eax
jne 0x40efd3
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0040b460
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], vtable.CVolMem.0
mov dword [ebp - 4], 4
jmp 0x40f159
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push 0
call fcn.00445cc0
mov ebx, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x44]
cmp edx, fcn.00401060
je 0x40f00f
lea ecx, [ebp - 0x40]
call edx
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040b5f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040ba10
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, dword [ebp - 0x34]
test eax, eax
push edx
push eax
cmove ecx, edx
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x14]
push 0x6801
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.00445cc0
mov esi, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x44]
cmp edx, fcn.00401060
je 0x40f082
lea ecx, [ebp - 0x40]
call edx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b5f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040ba10
mov esi, dword [ebp - 0x2c]
push esi
call fcn.004aeb39
push esi
mov ebx, eax
push 0
push ebx
call fcn.004b0540
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov edx, dword [ebp - 0x34]
test ecx, ecx
push ecx
cmove edx, eax
push edx
push ebx
call fcn.004b06a0
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0
push 1
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
push ebx
call fcn.0040c740
mov esi, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x44]
cmp edx, fcn.00401060
je 0x40f103
lea ecx, [ebp - 0x40]
call edx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b5f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040ba10
push ebx
call fcn.004aeb42
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0040b460
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], vtable.CVolMem.0
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40f17f
mov eax, dword [ebp - 0x40]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x40f17a
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x40f17f
lea ecx, [ebp - 0x40]
call eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], vtable.CVolObject.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4