Function at 0x47cf22
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor eax, eax
mov ebx, edx
push edi
push eax
push eax
mov edi, eax
mov dword [esp + 0x1c], eax
push str.live
mov ebp, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
call fcn.0040f9a6
mov esi, eax
mov edx, ebx
push edi
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push dword [esp + 0x44]
call fcn.0040f9a6
add esp, 0x18
test eax, eax
jne 0x47cf7c
push eax
lea eax, [esp + 0x14]
mov edx, ebx
push eax
push 0x4ed5bc
mov ecx, ebp
call fcn.0040f9a6
add esp, 0xc
test esi, esi
jne 0x47cf8a
cmp dword [esp + 0x10], edi
je 0x47d178
mov ebp, dword [esp + 0x44]
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x47d178
push ebp
push dword [esp + 0x44]
push ebx
call fcn.0049fa90
add esp, 0xc
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x34]
test esi, esi
je 0x47cfdc
mov ecx, str.user
test ebp, ebp
mov eax, str.machine
cmove eax, ecx
push eax
push dword [esp + 0x34]
push str.___Live_Key__:__s____s_:
call fcn.00409cda
add esp, 0xc
xor ecx, ecx
mov eax, 0xf0000000
test esi, esi
cmovne eax, ecx
neg ebp
mov ecx, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
sbb ebp, ebp
and ebp, 0x20
or eax, ebp
cmp dword [0x528c98], 0xa28
push eax
push 0x18
mov eax, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
cmova eax, ecx
push eax
xor eax, eax
test esi, esi
cmovne eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x47d15e
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x47d03f
push 0x4ea464
call fcn.00409cda
jmp 0x47d0aa
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
xor edi, edi
lea edx, [esp + 0x18]
push edi
push eax
call fcn.00407fb9
pop ecx
pop ecx
test eax, eax
je 0x47d0b5
push dword [esp + 0x10]
push dword [esp + 0x34]
push str.___PVK_file__:__s____s_:
call fcn.00409cda
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push edi
mov edi, dword [esp + 0x24]
push dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x47d09c
push 0x4ea464
call fcn.00409cda
pop ecx
jmp 0x47d0b9
call ebp
push eax
push str.ERROR_kuhl_m_iis_apphost_provider_decrypt___CryptImportKey__RSA___0x_08x__n
call fcn.00409cda
pop ecx
pop ecx
test esi, esi
je 0x47d0b9
mov eax, dword [esp + 0x14]
jmp 0x47d0c5
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47d145
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x47d122
lea eax, [esp + 0x24]
push eax
push ebx
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x47d107
lea eax, [ebx + 4]
push eax
push str.___Password__:__s_n
jmp 0x47d10f
call ebp
push eax
push str.ERROR_kuhl_m_iis_apphost_provider_decrypt___CryptDecrypt__0x_08x__n
call fcn.00409cda
pop ecx
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x47d131
call ebp
push eax
push str.ERROR_kuhl_m_iis_apphost_provider_decrypt___CryptImportKey__session___0x_08x__n
call fcn.00409cda
pop ecx
pop ecx
test esi, esi
jne 0x47d150
cmp dword [esp + 0x14], esi
je 0x47d145
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test edi, edi
je 0x47d150
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x47d171
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR_kuhl_m_iis_apphost_provider_decrypt___CryptAcquireContext__0x_08x__n
call fcn.00409cda
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret