Function at 0x405f70
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x406003
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x406003
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x406003
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x406003
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40600c
mov al, 1
jmp 0x40615d
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4060a7
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4060a7
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4060a7
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4060a7
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4060b0
mov al, 1
jmp 0x40615d
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40614b
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40614b
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40614b
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40614b
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40614f
mov al, 1
jmp 0x40615d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00407610
xor al, al
mov esp, ebp
pop ebp
ret 4