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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
shl eax, 4
push edi
mov edi, dword [esp + 0x2c]
mov ebp, dword [eax + edi]
mov edx, dword [eax + edi + 4]
xor ecx, ebp
mov ebp, dword [esi + 8]
add eax, edi
xor edx, ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor ebx, ebp
xor eax, dword [esi + 0xc]
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0xffd33f0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
movzx ebp, byte [esp + 0x1a]
xor esi, dword [ebp*4 + 0xffd2ff0]
movzx eax, ah
xor esi, dword [eax*4 + 0xffd2bf0]
movzx eax, cl
mov ebp, dword [eax*4 + 0xffd27f0]
mov eax, dword [esp + 0x28]
xor esi, ebp
movzx ebp, byte [esp + 0x1e]
mov dword [eax], esi
mov dword [esp + 0x10], ecx
movzx ecx, ch
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0xffd33f0]
xor esi, dword [ebp*4 + 0xffd2ff0]
mov ebp, dword [ecx*4 + 0xffd2bf0]
movzx ecx, dl
xor esi, ebp
mov ebp, dword [ecx*4 + 0xffd27f0]
mov ecx, dword [esp + 0x1c]
xor esi, ebp
mov dword [eax + 4], esi
movzx esi, byte [esp + 0x12]
mov ebp, dword [esi*4 + 0xffd2ff0]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xffd33f0]
mov dword [esp + 0x14], edx
xor ecx, ebp
movzx edx, dh
xor ecx, dword [edx*4 + 0xffd2bf0]
movzx edx, bl
mov esi, dword [edx*4 + 0xffd27f0]
movzx edx, byte [esp + 0x16]
xor ecx, esi
mov dword [eax + 8], ecx
mov ebp, dword [edx*4 + 0xffd2ff0]
movzx ecx, byte [esp + 0x13]
mov ecx, dword [ecx*4 + 0xffd33f0]
movzx edx, bh
mov ebx, dword [edx*4 + 0xffd2bf0]
movzx edx, byte [esp + 0x1c]
mov esi, dword [edx*4 + 0xffd27f0]
mov edx, dword [esp + 0x30]
xor ecx, ebp
xor ecx, ebx
xor ecx, esi
dec edx
cmp edx, 1
mov dword [eax + 0xc], ecx
jle 0xffe5160
mov ecx, edx
shl ecx, 4
dec edx
lea ecx, [ecx + edi + 8]
mov dword [esp + 0x24], edx
mov edx, dword [ecx - 8]
xor edx, dword [eax]
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], esi
mov esi, dword [ecx]
xor esi, ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x18], esi
mov esi, dword [eax + 0xc]
movzx ebp, byte [esp + 0x1a]
xor ebx, esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
mov esi, dword [esi*4 + 0xffd33f0]
xor esi, dword [ebp*4 + 0xffd2ff0]
movzx ebp, bh
xor esi, dword [ebp*4 + 0xffd2bf0]
movzx ebp, dl
xor esi, dword [ebp*4 + 0xffd27f0]
mov dword [esp + 0x10], edx
mov dword [eax], esi
mov esi, dword [esp + 0x18]
shr esi, 0x18
mov esi, dword [esi*4 + 0xffd33f0]
movzx edx, dh
mov dword [esp + 0x1c], ebx
movzx ebp, byte [esp + 0x1e]
xor esi, dword [ebp*4 + 0xffd2ff0]
mov ebp, dword [edx*4 + 0xffd2bf0]
mov edx, dword [esp + 0x14]
xor esi, ebp
movzx ebp, dl
xor esi, dword [ebp*4 + 0xffd27f0]
movzx ebp, byte [esp + 0x12]
mov dword [eax + 4], esi
movzx edx, dh
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0xffd33f0]
xor esi, dword [ebp*4 + 0xffd2ff0]
mov ebp, dword [edx*4 + 0xffd2bf0]
mov edx, dword [esp + 0x18]
xor esi, ebp
movzx ebp, dl
xor esi, dword [ebp*4 + 0xffd27f0]
movzx ebp, byte [esp + 0x16]
mov dword [eax + 8], esi
movzx esi, byte [esp + 0x13]
mov esi, dword [esi*4 + 0xffd33f0]
xor esi, dword [ebp*4 + 0xffd2ff0]
movzx edx, dh
mov ebp, dword [edx*4 + 0xffd2bf0]
movzx edx, bl
mov ebx, dword [edx*4 + 0xffd27f0]
mov edx, dword [esp + 0x24]
xor esi, ebp
xor esi, ebx
sub ecx, 0x10
dec edx
mov dword [eax + 0xc], esi
mov dword [esp + 0x24], edx
jne 0xffe5055
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x18]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
xor ecx, edx
mov edx, dword [edi + 0x14]
xor esi, ebx
xor edx, ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0x1c]
xor esi, ebp
mov dword [esp + 0x1c], esi
movzx esi, cl
mov bl, byte [esi + 0xffd37f0]
movzx esi, byte [esp + 0x1d]
mov byte [eax], bl
mov bl, byte [esi + 0xffd37f0]
movzx esi, byte [esp + 0x1a]
mov byte [eax + 1], bl
mov bl, byte [esi + 0xffd37f0]
mov byte [eax + 2], bl
mov esi, edx
mov dword [esp + 0x10], ecx
shr esi, 0x18
mov bl, byte [esi + 0xffd37f0]
movzx esi, dl
mov byte [eax + 3], bl
mov bl, byte [esi + 0xffd37f0]
mov byte [eax + 4], bl
movzx ecx, ch
mov cl, byte [ecx + 0xffd37f0]
mov byte [eax + 5], cl
mov ecx, dword [esp + 0x1c]
shr ecx, 0x10
movzx ecx, cl
mov cl, byte [ecx + 0xffd37f0]
mov byte [eax + 6], cl
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
mov cl, byte [ecx + 0xffd37f0]
mov byte [eax + 7], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
movzx esi, cl
mov bl, byte [esi + 0xffd37f0]
mov byte [eax + 8], bl
movzx edx, dh
mov dl, byte [edx + 0xffd37f0]
mov byte [eax + 9], dl
movzx edx, byte [esp + 0x12]
mov dl, byte [edx + 0xffd37f0]
mov byte [eax + 0xa], dl
movzx edx, byte [esp + 0x1f]
mov dl, byte [edx + 0xffd37f0]
mov ebx, dword [eax]
mov byte [eax + 0xb], dl
movzx edx, byte [esp + 0x1c]
mov dl, byte [edx + 0xffd37f0]
mov esi, dword [eax + 4]
mov byte [eax + 0xc], dl
movzx ecx, ch
mov dl, byte [ecx + 0xffd37f0]
movzx ecx, byte [esp + 0x16]
mov byte [eax + 0xd], dl
mov dl, byte [ecx + 0xffd37f0]
movzx ecx, byte [esp + 0x13]
mov byte [eax + 0xe], dl
mov dl, byte [ecx + 0xffd37f0]
mov byte [eax + 0xf], dl
mov ecx, dword [edi]
xor ebx, ecx
mov dword [eax], ebx
mov edx, dword [edi + 4]
xor esi, edx
mov edx, dword [eax + 8]
mov dword [eax + 4], esi
mov ecx, dword [edi + 8]
xor edx, ecx
mov dword [eax + 8], edx
mov edx, dword [edi + 0xc]
mov ecx, dword [eax + 0xc]
pop edi
pop esi
xor ecx, edx
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
add esp, 0x10
ret 0x10