Function at 0x512cb0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 1
push 1
push str.setByAlgorithmIdentifier
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
push str.algId_oid
mov ecx, dword [ebp + 0xc]
call fcn.004356f0
push 0x652a7c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512d74
push 0x652a90
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push 0x652a98
mov ecx, dword [ebp + 0xc]
call fcn.004357c0
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652aa4
mov ecx, dword [ebp - 8]
call fcn.00512660
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512850
mov edx, dword [ebp + 8]
add edx, 0x60
push edx
mov ecx, dword [ebp - 8]
call fcn.00512900
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512830
jmp 0x512ff5
push 0x652aa8
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512dd5
push str.AES128_CBC
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652acc
mov ecx, dword [ebp - 8]
call fcn.00512660
push 0x80
mov ecx, dword [ebp - 8]
call fcn.00512850
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512900
jmp 0x512ff5
push 0x652ad0
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512e36
push str.AES192_CBC
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652af4
mov ecx, dword [ebp - 8]
call fcn.00512660
push 0xc0
mov ecx, dword [ebp - 8]
call fcn.00512850
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512900
jmp 0x512ff5
push 0x652af8
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512e97
push str.AES256_CBC
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652b1c
mov ecx, dword [ebp - 8]
call fcn.00512660
push 0x100
mov ecx, dword [ebp - 8]
call fcn.00512850
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512900
jmp 0x512ff5
push 0x652b20
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512ef8
push str.DES3_CBC
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652b40
mov ecx, dword [ebp - 8]
call fcn.00512660
push 0xc0
mov ecx, dword [ebp - 8]
call fcn.00512850
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512900
jmp 0x512ff5
push 0x652b44
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512f56
push 0x652b54
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652b58
mov ecx, dword [ebp - 8]
call fcn.00512660
push 0x28
mov ecx, dword [ebp - 8]
call fcn.00512850
mov ecx, dword [ebp + 8]
add ecx, 0x60
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512900
jmp 0x512ff5
push 0x652b5c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00420ee0
movzx edx, al
test edx, edx
je 0x512fc1
push str.ARC4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push 0x652b78
mov ecx, dword [ebp + 0xc]
call fcn.004357c0
push 0
mov ecx, dword [ebp - 8]
call fcn.0050b150
push 0x652b84
mov ecx, dword [ebp - 8]
call fcn.00512660
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00512850
jmp 0x512ff5
push str.Unrecognized_OID_for_symmetric_encryption_algorithm.
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00402fc0
push eax
push 0x652bc4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8