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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
lea ebx, [ebp - 0x34]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], ebx
sub ecx, 6
xor edx, edx
cmp ecx, eax
mov ebx, dword [ebp + 8]
jle 0x4e1a6c
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx]
add ebx, 4
inc eax
mov dword [edi], esi
add dword [ebp - 0xc], 4
cmp ecx, eax
jg 0x4e1a59
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x4e1a9d
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x4e1a90
cmp edx, 4
jl 0x4e1a7d
cmp edx, 4
jne 0x4e1a9d
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x4e1aac
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x4e1a87
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 0x4ec088]
mov dword [ebp - 0x14], eax
lea eax, [ebp + ecx*4 - 0x37]
mov dword [ebp - 0x10], eax
jmp 0x4e1bf3
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x4e8e85]
xor byte [ebp - 0x34], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov al, byte [eax + 0x4e8e85]
xor byte [ebp - 0x33], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov al, byte [eax + 0x4e8e85]
xor byte [ebp - 0x32], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax - 1]
mov al, byte [eax + 0x4e8e85]
xor byte [ebp - 0x31], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
xor byte [ebp - 0x34], al
add dword [ebp - 0x14], 4
cmp ecx, 8
je 0x4e1b34
mov eax, 1
lea ebx, [ebp - 0x34]
cmp ecx, eax
jle 0x4e1bb3
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x4e1b25
jmp 0x4e1bb3
mov eax, 1
lea ebx, [ebp - 0x34]
jmp 0x4e1b47
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
mov esi, ecx
sar esi, 1
jns 0x4e1b50
adc esi, 0
cmp eax, esi
jl 0x4e1b3e
mov eax, ecx
sar eax, 1
jns 0x4e1b5d
adc eax, 0
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x38]
mov bl, byte [ebx + 0x4e8e85]
xor byte [ebp + eax*4 - 0x34], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x37]
mov bl, byte [ebx + 0x4e8e85]
xor byte [ebp + eax*4 - 0x33], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x36]
mov bl, byte [ebx + 0x4e8e85]
xor byte [ebp + eax*4 - 0x32], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x35]
mov bl, byte [ebx + 0x4e8e85]
xor byte [ebp + eax*4 - 0x31], bl
inc eax
lea ebx, [ebp + eax*4 - 0x38]
cmp ecx, eax
jle 0x4e1bb3
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x4e1ba6
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x4e1be4
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x4e1bd7
cmp edx, 4
jl 0x4e1bc4
cmp edx, 4
jne 0x4e1be4
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x4e1bf3
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x4e1bce
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 8]
jge 0x4e1ac5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret