Function at 0x403cf0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, 0x4d
mov word [ebp - 0x74], ax
mov eax, 0x69
mov word [ebp - 0x72], ax
mov eax, 0x63
mov word [ebp - 0x70], ax
mov eax, 0x72
mov word [ebp - 0x6e], ax
mov eax, 0x6f
mov word [ebp - 0x6c], ax
mov eax, 0x73
mov word [ebp - 0x6a], ax
mov eax, 0x6f
mov word [ebp - 0x68], ax
mov eax, 0x66
mov word [ebp - 0x66], ax
mov eax, 0x74
mov word [ebp - 0x64], ax
mov eax, 0x20
mov word [ebp - 0x62], ax
mov eax, 0x45
mov word [ebp - 0x60], ax
mov eax, 0x6e
mov word [ebp - 0x5e], ax
mov eax, 0x68
mov word [ebp - 0x5c], ax
mov eax, 0x61
mov word [ebp - 0x5a], ax
mov eax, 0x6e
mov word [ebp - 0x58], ax
mov eax, 0x63
mov word [ebp - 0x56], ax
mov eax, 0x65
mov word [ebp - 0x54], ax
mov eax, 0x64
mov word [ebp - 0x52], ax
mov eax, 0x20
mov word [ebp - 0x50], ax
mov eax, 0x52
mov word [ebp - 0x4e], ax
mov eax, 0x53
mov word [ebp - 0x4c], ax
mov eax, 0x41
mov word [ebp - 0x4a], ax
mov eax, 0x20
mov word [ebp - 0x48], ax
mov eax, 0x61
mov word [ebp - 0x46], ax
mov eax, 0x6e
mov word [ebp - 0x44], ax
mov eax, 0x64
mov word [ebp - 0x42], ax
mov eax, 0x20
mov word [ebp - 0x40], ax
mov eax, 0x41
mov word [ebp - 0x3e], ax
mov eax, 0x45
mov word [ebp - 0x3c], ax
mov eax, 0x53
mov word [ebp - 0x3a], ax
mov eax, 0x20
mov word [ebp - 0x38], ax
mov eax, 0x43
mov word [ebp - 0x36], ax
mov eax, 0x72
mov word [ebp - 0x34], ax
mov eax, 0x79
mov word [ebp - 0x32], ax
mov eax, 0x70
mov word [ebp - 0x30], ax
mov eax, 0x74
mov word [ebp - 0x2e], ax
mov eax, 0x6f
mov word [ebp - 0x2c], ax
mov eax, 0x67
mov word [ebp - 0x2a], ax
mov eax, 0x72
mov word [ebp - 0x28], ax
mov eax, 0x61
mov word [ebp - 0x26], ax
mov eax, 0x70
mov word [ebp - 0x24], ax
mov eax, 0x68
mov word [ebp - 0x22], ax
mov eax, 0x69
mov word [ebp - 0x20], ax
mov eax, 0x63
mov word [ebp - 0x1e], ax
mov eax, 0x20
mov word [ebp - 0x1c], ax
mov eax, 0x50
mov word [ebp - 0x1a], ax
mov eax, 0x72
mov word [ebp - 0x18], ax
mov eax, 0x6f
mov word [ebp - 0x16], ax
mov eax, 0x76
mov word [ebp - 0x14], ax
mov eax, 0x69
mov word [ebp - 0x12], ax
mov eax, 0x64
mov word [ebp - 0x10], ax
mov eax, 0x65
mov word [ebp - 0xe], ax
mov eax, 0x72
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 0xa], ax
mov dword [ebp - 0x78], 1
push 0xf0000008
push 0x18
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x403f25
push 0xf0000008
push 0x18
lea eax, [ebp - 0x74]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x404094
mov byte [ebp - 0xb8], 8
mov byte [ebp - 0xb7], 2
xor eax, eax
mov word [ebp - 0xb6], ax
mov dword [ebp - 0xb4], 0x6610
mov dword [ebp - 0xb0], 0x20
mov dword [ebp - 0x8c], 0
jmp 0x403f75
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x20
jae 0x403f98
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
mov dl, byte [eax]
mov byte [ebp + ecx - 0xac], dl
jmp 0x403f66
mov dword [ebp - 0x8c], 0
jmp 0x403fb3
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x10
jae 0x403fd7
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp + 8]
mov cl, byte [edx + ecx*2]
mov byte [ebp + eax - 0x88], cl
jmp 0x403fa4
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0x2c
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x404074
push 0
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x404054
push 0
lea eax, [ebp - 0x88]
push eax
push 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x404034
mov eax, 1
jmp 0x4040b0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
jmp 0x4040b0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
jmp 0x4040b0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
jmp 0x4040b0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret