Function at 0x451310
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a245b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb4], edi
cmp dword [ebx + 0x10], 0
jne 0x45136c
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x451588
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x3c], 0x6f
mov byte [ebp - 0x3b], 4
mov byte [ebp - 0x3a], 0x18
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x38], 0x68
mov byte [ebp - 0x37], 0x18
mov byte [ebp - 0x36], 0x25
mov byte [ebp - 0x35], 0x18
mov byte [ebp - 0x34], 0x4e
mov byte [ebp - 0x33], 0x7c
mov byte [ebp - 0x32], 0x69
mov byte [ebp - 0x31], 0x7c
mov byte [ebp - 0x30], 0x69
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x3a
mov byte [ebp - 0x2d], 4
mov byte [ebp - 0x2c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x2b], 0
call fcn.004512d0
mov edx, eax
mov dword [ebp - 0x68], 0
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4513f3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00413a60
mov byte [ebp - 0x50], 0x11
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x4f], 0x18
mov byte [ebp - 0x4e], 0x7d
mov byte [ebp - 0x4d], 0x11
mov byte [ebp - 0x4c], 0x68
mov byte [ebp - 0x4b], 0x18
mov byte [ebp - 0x4a], 0x2c
mov byte [ebp - 0x49], 0x54
mov byte [ebp - 0x48], 4
mov byte [ebp - 0x47], 0x2c
mov byte [ebp - 0x46], 4
mov byte [ebp - 0x45], 0x69
mov byte [ebp - 0x44], 0x54
mov byte [ebp - 0x43], 0x54
mov byte [ebp - 0x42], 0x12
mov byte [ebp - 0x41], 0x12
mov byte [ebp - 0x40], 0
mov al, byte [ebp - 0x50]
mov dword [ebp - 4], 0
mov byte [ebp - 0x3f], 0
call fcn.004512d0
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451480
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00413a60
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 0xa4]
push 0
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push eax
mov byte [ebp - 4], 2
call esi
test eax, eax
jne 0x4515a6
push 8
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push eax
lea eax, [ebp - 0xa4]
push eax
call esi
test eax, eax
jne 0x4515a6
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0xac]
call fcn.0044da70
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x451542
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451538
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4517c1
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x54]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
cmp edx, 0x10
jb 0x451588
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45157e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4517c1
push edx
push ecx
call fcn.004991fe
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049920c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x84], 0x208
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
mov dword [ebp - 0x78], eax
cmovae edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
sub edx, eax
mov dword [ebp - 0x80], 0x660e
push edx
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0x10
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
push 1
push 0
push 0x1c
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x451668
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x451642
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x45150e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 0xa4], 0
jmp 0x45150e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 1
push dword [ebp - 0xa0]
call esi
test eax, eax
je 0x4514ec
push 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 1
push eax
push 4
push dword [ebp - 0xa0]
call esi
test eax, eax
je 0x4514ec
push ebx
lea ecx, [ebp - 0x9c]
call fcn.0040e780
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push ecx
push eax
push 0
push 1
push 0
push dword [ebp - 0xa0]
mov byte [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
lea ecx, [ebp - 0x9c]
test eax, eax
jne 0x45171c
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
call fcn.004081e0
jmp 0x451503
push 0
push dword [ebp - 0xb0]
call fcn.0043e0f0
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
call fcn.0040e720
lea ecx, [ebp - 0x9c]
call fcn.004081e0
lea ecx, [ebp - 0xac]
call fcn.0044da70
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45177d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4517c1
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x451588
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45157e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45157e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3