Function at 0x8efdb0
Capabilities:
Encrypt data using aes via winapi
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00409218
mov eax, dword [ebp - 8]
call fcn.00409218
xor eax, eax
push ebp
push 0x8f0008
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x800c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptCreateHash
call fcn.0042c770
xor ecx, ecx
push ebp
push 0x8effc8
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x8efe2f
sub ebx, 4
mov ebx, dword [ebx]
push 0
mov eax, ebx
push eax
mov eax, dword [ebp - 4]
call fcn.00409bd0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CryptHashData
call fcn.0042c770
mov eax, edi
call fcn.00409148
mov dword [ebp - 0x24], 0x20
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x8efec1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jle 0x8efec1
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x78]
mov edx, dword [edi]
call fcn.0040a350
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
movzx eax, byte [esi]
mov edx, 2
call fcn.00423d18
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00422ce8
mov edx, dword [ebp - 0x7c]
pop eax
call fcn.0040a48c
mov edx, dword [ebp - 0x78]
mov eax, edi
mov ecx, 0xfde9
call fcn.00409d88
inc esi
dec ebx
jne 0x8efe7c
mov byte [ebp - 0x74], 8
mov byte [ebp - 0x73], 2
mov word [ebp - 0x72], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, 0x20
cmp dword [ebp + 0xc], 0x660e
jne 0x8efee8
mov eax, 0x10
cmp dword [ebp + 0xc], 0x6610
jne 0x8efef6
mov eax, 0x20
mov dword [ebp - 0x6c], eax
mov ebx, eax
test ebx, ebx
jle 0x8eff0f
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x68]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x8eff05
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x2c
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptImportKey
call fcn.0042c770
mov dword [ebp - 0x20], 1
push 0
lea eax, [ebp - 0x20]
push eax
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CryptSetKeyParam
call fcn.0042c770
mov dword [ebp - 0x1c], 1
push 0
lea eax, [ebp - 0x1c]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CryptSetKeyParam
call fcn.0042c770
cmp dword [ebp - 8], 0
jne 0x8eff78
lea eax, [ebp - 8]
mov edx, 0x8f0028
call fcn.004095f0
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 8]
call fcn.0040a350
mov eax, dword [ebp - 0x84]
push eax
call fcn.0042dfe0
lea ecx, [ebp - 0xc]
pop edx
call fcn.0042db18
push 0
mov eax, dword [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CryptSetKeyParam
call fcn.0042c770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8effcf
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CryptDestroyHash
ret