Function at 0x4536ec
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call sub.rtl170.bpl__System__DynArrayAddRef_qqrpv
xor eax, eax
push ebp
push 0x453dd0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x449eb0]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
xor esi, esi
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004530bc
mov edx, dword [ebp - 8]
mov dword [edx + esi*4], eax
inc esi
cmp esi, 4
jne 0x453735
push 4
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x449eb0]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
movzx eax, byte [ebx + 0x14]
dec eax
test eax, eax
jl 0x45399a
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + esi*4]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + esi*4]
xor eax, dword [edx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + esi*4]
xor eax, dword [edx + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + esi*4]
xor eax, dword [edx + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
mov edi, dword [eax*4 + 0x5dbd98]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc198]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc598]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc998]
mov eax, dword [ebp - 8]
mov dword [eax], edi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
mov edi, dword [eax*4 + 0x5dbd98]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc198]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc598]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc998]
mov eax, dword [ebp - 8]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
mov edi, dword [eax*4 + 0x5dbd98]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc198]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc598]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc998]
mov eax, dword [ebp - 8]
mov dword [eax + 8], edi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
mov edi, dword [eax*4 + 0x5dbd98]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc198]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc598]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
xor edi, dword [eax*4 + 0x5dc998]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edi
inc esi
dec dword [ebp - 0x14]
jne 0x453778
push 0x10
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
mov ecx, 1
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
mov ecx, 2
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
mov ecx, 3
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 3], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 4]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 4], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 4]
mov ecx, 1
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 5], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 4]
mov ecx, 2
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 6], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 4]
mov ecx, 3
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 7], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 8], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov ecx, 1
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 9], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov ecx, 2
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xa], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov ecx, 3
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xb], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xc], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, 1
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xd], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov ecx, 2
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0xc]
mov ecx, 2
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xe], dl
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, 3
mov eax, ebx
call fcn.00453150
movzx eax, al
movzx eax, byte [eax + str.cw]
push eax
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0xc]
mov ecx, 3
mov eax, ebx
call fcn.00453150
pop edx
xor dl, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax + 0xf], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453dd7
lea eax, [ebp - 0xc]
mov edx, dword [0x449eb0]
mov ecx, 2
call sub.rtl170.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 4]
mov edx, dword [0x418ccc]
call sub.rtl170.bpl__System__DynArrayClear_qqrrpvpv
ret