Function at 0x451e18
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x15], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__DynArrayAddRef_qqrpv
xor eax, eax
push ebp
push 0x452011
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x38
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
push 0x38
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
push 0x20
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x449eb0]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
xor eax, eax
mov ecx, str.80_
movzx edx, byte [ecx]
mov ebx, 7
and ebx, edx
mov dword [ebp - 0x20], ebx
shr edx, 3
mov ebx, dword [ebp - 4]
movzx edx, byte [ebx + edx]
mov ebx, dword [ebp - 0x20]
and dl, byte [ebx + 0x5da4b8]
jne 0x451ec5
mov edx, dword [ebp - 8]
mov byte [edx + eax], 0
jmp 0x451ecc
mov edx, dword [ebp - 8]
mov byte [edx + eax], 1
inc eax
inc ecx
cmp eax, 0x38
jne 0x451e9a
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, 0x5da558
cmp byte [ebp - 0x15], 0
je 0x451ef2
mov eax, 0xf
sub eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x20], eax
jmp 0x451efa
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
xor ebx, ebx
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor ebx, ebx
mov dword [eax + edx*4], ebx
xor eax, eax
movzx edx, byte [ecx]
add edx, eax
cmp edx, 0x1c
jge 0x451f32
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx]
mov ebx, dword [ebp - 0xc]
mov byte [ebx + eax], dl
jmp 0x451f40
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx - 0x1c]
mov ebx, dword [ebp - 0xc]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x1c
jne 0x451f19
mov eax, 0x1c
movzx edx, byte [ecx]
add edx, eax
cmp edx, 0x38
jge 0x451f64
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx]
mov ebx, dword [ebp - 0xc]
mov byte [ebx + eax], dl
jmp 0x451f72
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx - 0x1c]
mov ebx, dword [ebp - 0xc]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x38
jne 0x451f4b
mov eax, 0x18
mov edx, 0x5da568
mov dword [ebp - 0x28], 0x5da4c0
movzx ebx, byte [edx]
mov esi, dword [ebp - 0xc]
cmp byte [esi + ebx], 0
je 0x451fa3
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
or dword [ebx + esi*4], edi
movzx ebx, byte [edx + 0x18]
mov esi, dword [ebp - 0xc]
cmp byte [esi + ebx], 0
je 0x451fbe
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
or dword [ebx + esi*4], edi
add dword [ebp - 0x28], 4
inc edx
dec eax
jne 0x451f89
inc dword [ebp - 0x1c]
inc ecx
cmp dword [ebp - 0x1c], 0x10
jne 0x451edd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00452024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452018
lea eax, [ebp - 0x10]
mov edx, dword [0x449eb0]
call sub.rtl170.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0xc]
mov edx, dword [0x418ccc]
mov ecx, 3
call sub.rtl170.bpl__System__FinalizeArray_qqrpvt1ui
ret