Function at 0x5f18ec
Capabilities:
Create new key via cryptacquirecontext
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040ac64
xor eax, eax
push ebp
push 0x5f1b25
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5f1aeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
xor eax, eax
push ebp
push 0x5f1aba
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005ec86c
test al, al
je 0x5f1ab0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x5f1b40
call fcn.0040b9e4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.005f00fc
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.advapi32.dll_CryptAcquireContextW
test eax, eax
je 0x5f1aa3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.005f05d4
test al, al
je 0x5f1a98
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004254cc
jmp 0x5f1a22
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042556c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004254cc
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004255ac
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x5f1b70
call fcn.00425bf8
inc ebx
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00425190
test al, al
jne 0x5f19cd
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 8]
mov edx, 0x5f1b90
call fcn.0040b9e4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call fcn.005f00fc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.005ec92c
test al, al
je 0x5f1a8b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
call fcn.005efb60
test al, al
jne 0x5f1a7c
mov eax, dword [ebp - 4]
call fcn.0040b778
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov edx, 0x5f1bc4
mov eax, dword [ebp - 0xc]
call fcn.005f00fc
jmp 0x5f1a98
mov edx, 0x5f1c10
mov eax, dword [ebp - 0xc]
call fcn.005f00fc
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_CryptReleaseContext
mov eax, dword [ebp - 0x10]
call fcn.00406a88
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f1ad7
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.005f00fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f1af5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1b2c
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040abe0
lea eax, [ebp - 0x20]
call fcn.0040ab80
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040abe0
ret