Function at 0x531c13
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x401396
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x28
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401308
push 0
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x2c], eax
push 0x40375c
push 0x403774
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403790
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4037c0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x30], eax
push 0
push 0x18
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
movsx eax, word [ebp - 0x34]
test eax, eax
je 0x531ec8
push 0
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x2c], eax
push 0x40375c
push 0x403774
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403790
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4037c0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x30], eax
push 8
push 0x18
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
movsx eax, word [ebp - 0x34]
test eax, eax
je 0x531ec8
push 0
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x2c], eax
push 0x40362c
push 0x4037e0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403800
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403824
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403864
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x30], eax
push 0
push 0x18
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
movsx eax, word [ebp - 0x34]
test eax, eax
je 0x531ec8
push 0
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x2c], eax
push 0x40362c
push 0x4037e0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403800
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403824
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403864
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x30], eax
push 8
push 0x18
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
movsx eax, word [ebp - 0x34]
test eax, eax
je 0x531ec8
jmp 0x531ece
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push 0x531ef1
jmp 0x531ef0
ret