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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
push ebx
mov ebx, ecx
ror ebx, 8
mov eax, 0xff00ff00
and ebx, eax
rol ecx, 8
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0xff00ff
and ecx, edi
or ebx, ecx
xor ebx, dword [esi]
mov ecx, dword [edx + 4]
mov edx, ecx
ror edx, 8
and edx, eax
rol ecx, 8
and ecx, edi
or edx, ecx
xor edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ebp + 0x10], edx
mov edx, ecx
ror edx, 8
and edx, eax
rol ecx, 8
and ecx, edi
or edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
xor edx, dword [esi + 8]
mov dword [ebp + 8], ecx
ror dword [ebp + 8], 8
and dword [ebp + 8], eax
mov eax, ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
rol eax, 8
and eax, edi
or ecx, eax
xor ecx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
movzx eax, byte [ebp - 6]
mov ecx, dword [eax*4 + 0x42bc30]
movzx edi, dh
xor ecx, dword [edi*4 + 0x42c030]
mov edi, dword [ebp + 0x10]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x42b830]
movzx ebx, byte [ebp - 2]
mov eax, 0xff
and edi, eax
xor ecx, dword [edi*4 + 0x42c430]
movzx edi, byte [ebp - 7]
mov edi, dword [edi*4 + 0x42c030]
xor edi, dword [ebx*4 + 0x42bc30]
mov ebx, dword [ebp + 0x10]
xor ecx, dword [esi + 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x42b830]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x42c430]
movzx ebx, byte [ebp - 3]
xor edi, dword [esi + 0x14]
mov dword [ebp - 0xc], edx
mov dword [ebp + 8], edi
movzx edi, byte [ebp + 0x12]
mov edi, dword [edi*4 + 0x42bc30]
xor edi, dword [ebx*4 + 0x42c030]
mov ebx, dword [ebp - 8]
shr edx, 0x18
xor edi, dword [edx*4 + 0x42b830]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov edx, ebx
and edx, eax
xor edi, dword [edx*4 + 0x42c430]
movzx edx, byte [ebp - 0xa]
xor edi, dword [esi + 0x18]
mov edx, dword [edx*4 + 0x42bc30]
mov dword [ebp - 8], edi
movzx edi, byte [ebp + 0x11]
xor edx, dword [edi*4 + 0x42c030]
shr ebx, 0x18
mov edi, ebx
xor edx, dword [edi*4 + 0x42b830]
mov edi, dword [ebp - 4]
and edi, eax
xor edx, dword [edi*4 + 0x42c430]
mov dword [ebp + 0x10], ebx
xor edx, dword [esi + 0x1c]
mov dword [ebp + 0x10], edi
lea edi, [esi + 0x20]
mov esi, dword [esi + 0xf0]
sar esi, 1
dec esi
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x10], edi
je 0x4cd214
mov dword [ebp - 0x18], esi
movzx esi, byte [ebp + 0x12]
mov esi, dword [esi*4 + 0x42bc30]
movzx edi, byte [ebp - 7]
xor esi, dword [edi*4 + 0x42c030]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x42b830]
mov edi, dword [ebp + 8]
mov dword [ebp + 0x10], esi
and edi, eax
xor esi, dword [edi*4 + 0x42c430]
mov edi, dword [ebp - 0x10]
xor esi, dword [edi]
movzx edi, byte [ebp - 0x12]
mov dword [ebp - 4], esi
movzx esi, dh
mov esi, dword [esi*4 + 0x42c030]
xor esi, dword [edi*4 + 0x42bc30]
mov edi, dword [ebp - 8]
mov dword [ebp + 0x10], esi
mov esi, dword [ebp + 8]
shr esi, 0x18
mov esi, dword [esi*4 + 0x42b830]
xor dword [ebp + 0x10], esi
mov esi, dword [ebp + 0x10]
and edi, eax
xor esi, dword [edi*4 + 0x42c430]
mov edi, dword [ebp - 0x10]
xor esi, dword [edi + 4]
movzx edi, ch
mov dword [ebp + 0x10], esi
movzx esi, byte [ebp + 0xa]
mov esi, dword [esi*4 + 0x42bc30]
xor esi, dword [edi*4 + 0x42c030]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x14], esi
shr edi, 0x18
xor esi, dword [edi*4 + 0x42b830]
mov edi, edx
and edi, eax
xor esi, dword [edi*4 + 0x42c430]
mov edi, dword [ebp - 0x10]
xor esi, dword [edi + 8]
movzx edi, byte [ebp + 9]
mov dword [ebp - 0xc], esi
movzx esi, byte [ebp - 6]
mov ebx, dword [esi*4 + 0x42bc30]
xor ebx, dword [edi*4 + 0x42c030]
mov edi, dword [ebp - 0x10]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x42b830]
movzx edx, byte [ebp - 0xb]
and ecx, eax
xor ebx, dword [ecx*4 + 0x42c430]
movzx esi, byte [ebp - 2]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 8], ebx
movzx ecx, byte [ebp - 6]
mov ecx, dword [ecx*4 + 0x42bc30]
xor ecx, dword [edx*4 + 0x42c030]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x42b830]
mov edx, dword [ebp + 0x10]
and edx, eax
xor ecx, dword [edx*4 + 0x42c430]
movzx edx, bh
mov edx, dword [edx*4 + 0x42c030]
xor edx, dword [esi*4 + 0x42bc30]
mov esi, dword [ebp + 0x10]
xor ecx, dword [edi + 0x10]
shr esi, 0x18
xor edx, dword [esi*4 + 0x42b830]
mov esi, dword [ebp - 0xc]
and esi, eax
xor edx, dword [esi*4 + 0x42c430]
movzx esi, byte [ebp - 3]
xor edx, dword [edi + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp + 8], edx
movzx edx, byte [ebp + 0x12]
mov edx, dword [edx*4 + 0x42bc30]
xor edx, dword [esi*4 + 0x42c030]
mov esi, dword [ebp - 0xc]
shr esi, 0x18
xor edx, dword [esi*4 + 0x42b830]
mov esi, ebx
and esi, eax
xor edx, dword [esi*4 + 0x42c430]
movzx esi, byte [ebp + 0x11]
xor edx, dword [edi + 0x18]
shr ebx, 0x18
mov dword [ebp - 8], edx
movzx edx, byte [ebp - 0xa]
mov edx, dword [edx*4 + 0x42bc30]
xor edx, dword [esi*4 + 0x42c030]
add edi, 0x20
xor edx, dword [ebx*4 + 0x42b830]
mov dword [ebp - 0x10], edi
mov esi, edx
mov edx, dword [ebp - 4]
and edx, eax
xor esi, dword [edx*4 + 0x42c430]
xor esi, dword [edi - 4]
dec dword [ebp - 0x18]
mov edx, esi
mov dword [ebp + 0x10], edx
jne 0x4cd04e
movzx esi, byte [ebp + 0x12]
movzx esi, byte [esi + 0x42c830]
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov esi, ecx
shr esi, 0x18
mov bh, byte [esi + 0x42c830]
mov esi, dword [ebp - 0x18]
movzx edx, dh
xor esi, ebx
movzx ebx, byte [ebp - 7]
movzx ebx, byte [ebx + 0x42c830]
shl esi, 8
xor esi, ebx
mov ebx, dword [ebp + 8]
shl esi, 8
and ebx, eax
movzx ebx, byte [ebx + 0x42c830]
xor esi, ebx
xor esi, dword [edi]
mov ebx, esi
ror ebx, 8
and ebx, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or ebx, esi
mov esi, dword [ebp + 0xc]
mov dword [esi], ebx
movzx esi, byte [ebp - 0x12]
movzx esi, byte [esi + 0x42c830]
movzx edx, byte [edx + 0x42c830]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 8]
shr esi, 0x18
xor ebx, ebx
mov bh, byte [esi + 0x42c830]
mov esi, dword [ebp - 0x18]
xor esi, ebx
shl esi, 8
xor esi, edx
mov edx, dword [ebp - 8]
shl esi, 8
mov ebx, edx
and ebx, eax
movzx ebx, byte [ebx + 0x42c830]
xor esi, ebx
xor esi, dword [edi + 4]
shr edx, 0x18
mov ebx, esi
ror ebx, 8
and ebx, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or ebx, esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], ebx
movzx esi, byte [ebp + 0xa]
movzx esi, byte [esi + 0x42c830]
xor ebx, ebx
mov bh, byte [edx + 0x42c830]
movzx edx, ch
movzx edx, byte [edx + 0x42c830]
xor esi, ebx
shl esi, 8
xor esi, edx
mov edx, dword [ebp + 0x10]
shl esi, 8
mov ebx, edx
and ebx, eax
movzx ebx, byte [ebx + 0x42c830]
xor esi, ebx
xor esi, dword [edi + 8]
mov ebx, esi
ror ebx, 8
and ebx, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or ebx, esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 8], ebx
movzx esi, byte [ebp - 6]
movzx esi, byte [esi + 0x42c830]
shr edx, 0x18
xor ebx, ebx
mov bh, byte [edx + 0x42c830]
movzx edx, byte [ebp + 9]
movzx edx, byte [edx + 0x42c830]
xor esi, ebx
shl esi, 8
and ecx, eax
movzx eax, byte [ecx + 0x42c830]
mov ecx, dword [ebp + 0xc]
xor esi, edx
shl esi, 8
xor esi, eax
xor esi, dword [edi + 0xc]
pop edi
mov eax, esi
ror eax, 8
and eax, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or eax, esi
pop esi
mov dword [ecx + 0xc], eax
pop ebx
leave
ret 0xc