Function at 0x55bfe150
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x55aa3026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x55aa12d0
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
call sub.MSVBVM60.DLL_VarPtr
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
mov dword [ebp - 0x28], 0x55aa6124
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x84], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.55bff7cc
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
push ebx
push 0x18
push eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x84]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
mov esi, eax
lea ecx, [ebp - 0x1c]
neg esi
sbb esi, esi
inc esi
neg esi
call sub.MSVBVM60.DLL___vbaFreeStr
cmp si, bx
je 0x55bfe406
push ebx
call sub.MSVBVM60.DLL_VarPtr
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
mov dword [ebp - 0x28], 0x55aa6214
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x84], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.55bff7cc
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
push 8
pop edi
push edi
push 0x18
push eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x84]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
mov esi, eax
lea ecx, [ebp - 0x1c]
neg esi
sbb esi, esi
inc esi
neg esi
call sub.MSVBVM60.DLL___vbaFreeStr
cmp si, bx
je 0x55bfe406
push ebx
call sub.MSVBVM60.DLL_VarPtr
sub esp, 0x10
mov dword [ebp - 0x30], edi
lea esi, [ebp - 0x30]
mov edi, esp
mov dword [ebp - 0x28], 0x55aa62f0
mov dword [ebp - 0x84], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.55bff7cc
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
push ebx
push 0x18
push eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x84]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextW
mov esi, eax
lea ecx, [ebp - 0x1c]
neg esi
sbb esi, esi
inc esi
neg esi
call sub.MSVBVM60.DLL___vbaFreeStr
cmp si, bx
je 0x55bfe406
push ebx
push 4
push 1
lea eax, [ebp - 0x20]
push ebx
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL_VarPtr
push 3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
pop ebx
mov dword [ebp - 0x40], ebx
lea edx, [ebp - 0x40]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov esi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, esi
call sub.MSVBVM60.DLL___vbaVarMove
push 0
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], ebx
lea edx, [ebp - 0x50]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov esi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, esi
add ecx, 0x10
call sub.MSVBVM60.DLL___vbaVarMove
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
mov dword [ebp - 0x28], 0x55aa63fc
mov dword [ebp - 0x30], 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.55bff7cc
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
push 2
mov dword [ebp - 0x60], ebx
pop ecx
lea edx, [ebp - 0x60]
sub ecx, dword [eax + 0x14]
shl ecx, 4
add ecx, dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x70], ebx
sub ecx, dword [eax + 0x14]
lea edx, [ebp - 0x70]
shl ecx, 4
add ecx, dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp - 0x20]
push 4
pop ecx
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x80], ebx
sub ecx, dword [eax + 0x14]
lea edx, [ebp - 0x80]
shl ecx, 4
add ecx, dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x55c011f8]
push 0x13
pop ecx
sub ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
push dword [eax + ecx*4]
call fcn.55aa2cd7
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
xor eax, eax
lea ecx, [ebp - 0x1c]
test esi, esi
sete al
neg eax
mov esi, eax
call sub.MSVBVM60.DLL___vbaFreeStr
test si, si
jne 0x55bfe40c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push 0x55bfe428
jmp 0x55bfe427
ret