Function at 0x452450
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 0x4a2325
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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 - 0x94], edi
mov dword [ebp - 0xa0], ebx
cmp dword [ebx + 0x10], 0
jne 0x4524af
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x452726
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x88], 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.00451220
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 0x452536
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.00451220
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 0x4525c3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00413a60
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 0x8c]
push 0
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push eax
mov byte [ebp - 4], 1
call esi
test eax, eax
jne 0x452613
push 8
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push eax
lea eax, [ebp - 0x8c]
push eax
call esi
test eax, eax
je 0x452698
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 - 0x88]
push eax
push 1
push 0
push 0x1c
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
push 0
test eax, eax
jne 0x452744
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4526e0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4526d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452980
push edx
push ecx
call fcn.0049900e
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 0x452726
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45271c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452980
push edx
push ecx
call fcn.0049900e
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.0049901c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push dword [ebp - 0x88]
call esi
push 0
test eax, eax
jne 0x452783
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x452698
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 1
push eax
push 4
push dword [ebp - 0x88]
call esi
push 0
test eax, eax
je 0x452766
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 1
push 0
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4527d5
push eax
jmp 0x452766
mov eax, dword [ebp - 0x90]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x452842
cmp eax, 0x7fffffff
ja 0x452986
cmp eax, 0x1000
jb 0x452822
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x45298b
push ecx
call fcn.00498fde
add esp, 4
test eax, eax
je 0x452980
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x45282d
push eax
call fcn.00498fde
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x9c]
push eax
push 0
push esi
lea ebx, [esi + eax]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x14], 0x10
jb 0x452857
mov ecx, dword [eax]
add ecx, dword [eax + 0x10]
mov eax, dword [eax]
jmp 0x45285c
mov ecx, dword [eax + 0x10]
add ecx, eax
sub ecx, eax
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x94]
push dword [ebp - 0x90]
push eax
push esi
push 0
push 1
push 0
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push 0
push dword [ebp - 0x8c]
test eax, eax
jne 0x4528f2
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x4526ac
sub ebx, esi
cmp ebx, 0x1000
jb 0x4528e3
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x452980
mov esi, ecx
push ebx
push esi
call fcn.0049900e
add esp, 8
jmp 0x4526ac
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp edx, 0x10
jb 0x45293c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452980
push edx
push ecx
call fcn.0049900e
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 0x452726
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45271c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45271c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00401c60
call fcn.00401bd0
int3