Function at 0x460ebc
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 0x460efc
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 0x460ee9
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x460f2d
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x460f20
cmp edx, 4
jl 0x460f0d
cmp edx, 4
jne 0x460f2d
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x460f3c
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x460f17
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 0x46b168]
mov dword [ebp - 0x14], eax
lea eax, [ebp + ecx*4 - 0x37]
mov dword [ebp - 0x10], eax
jmp 0x461083
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x467f68]
xor byte [ebp - 0x34], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov al, byte [eax + 0x467f68]
xor byte [ebp - 0x33], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov al, byte [eax + 0x467f68]
xor byte [ebp - 0x32], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax - 1]
mov al, byte [eax + 0x467f68]
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 0x460fc4
mov eax, 1
lea ebx, [ebp - 0x34]
cmp ecx, eax
jle 0x461043
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x460fb5
jmp 0x461043
mov eax, 1
lea ebx, [ebp - 0x34]
jmp 0x460fd7
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
mov esi, ecx
sar esi, 1
jns 0x460fe0
adc esi, 0
cmp eax, esi
jl 0x460fce
mov eax, ecx
sar eax, 1
jns 0x460fed
adc eax, 0
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x38]
mov bl, byte [ebx + 0x467f68]
xor byte [ebp + eax*4 - 0x34], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x37]
mov bl, byte [ebx + 0x467f68]
xor byte [ebp + eax*4 - 0x33], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x36]
mov bl, byte [ebx + 0x467f68]
xor byte [ebp + eax*4 - 0x32], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x35]
mov bl, byte [ebx + 0x467f68]
xor byte [ebp + eax*4 - 0x31], bl
inc eax
lea ebx, [ebp + eax*4 - 0x38]
cmp ecx, eax
jle 0x461043
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x461036
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x461074
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x461067
cmp edx, 4
jl 0x461054
cmp edx, 4
jne 0x461074
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x461083
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x46105e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 8]
jge 0x460f55
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret