Function at 0x401230
Capabilities:
Contain obfuscated stackstrings
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0xc0000001
mov byte [ebp - 0x30], 0x70
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x70
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x31
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x70
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x7a
mov byte [ebp - 0x24], 0x7a
mov byte [ebp - 0x23], 0x61
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push 0
push 0
push 0x403200
lea ecx, [ebp - 8]
push ecx
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4012ea
mov edx, dword [ebp - 4]
push edx
push str.BCryptOpenAlgorithmProvider_failed_with_status:__x_n
call fcn.00401950
add esp, 8
jmp 0x401445
push 0
lea eax, [ebp + 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push str.ObjectLength
mov edx, dword [ebp - 8]
push edx
call sub.bcrypt.dll_BCryptGetProperty
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401328
mov eax, dword [ebp - 4]
push eax
push str.BCryptGetProperty_failed_with_status:__x_n
call fcn.00401950
add esp, 8
jmp 0x401445
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40135b
push str.HeapAlloc_failed_n
call fcn.00401950
add esp, 4
jmp 0x401445
push 0
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.bcrypt.dll_BCryptGenerateSymmetricKey
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40139e
mov edx, dword [ebp - 4]
push edx
push str.BCryptGenerateSymmetricKey_failed_with_status:__x_n
call fcn.00401950
add esp, 8
jmp 0x401445
push 1
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x40]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.bcrypt.dll_BCryptEncrypt
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4013d2
xor edx, edx
jne 0x4013ca
jmp 0x401445
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x4013fa
xor eax, eax
jne 0x4013f2
jmp 0x401445
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
push 0x10
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.bcrypt.dll_BCryptEncrypt
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401445
xor eax, eax
jne 0x40142c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], 0
je 0x401456
push 0
mov eax, dword [ebp - 8]
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
cmp dword [ebp - 0xc], 0
je 0x401465
mov ecx, dword [ebp - 0xc]
push ecx
call sub.bcrypt.dll_BCryptDestroyKey
cmp dword [ebp - 0x10], 0
je 0x40147e
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret