Function at 0x46fdf0
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 0x46fe30
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 0x46fe1d
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x46fe61
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x46fe54
cmp edx, 4
jl 0x46fe41
cmp edx, 4
jne 0x46fe61
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x46fe70
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x46fe4b
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 0x482310]
mov dword [ebp - 0x14], eax
lea eax, [ebp + ecx*4 - 0x37]
mov dword [ebp - 0x10], eax
jmp 0x46ffb7
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov al, byte [eax + 0x47f110]
xor byte [ebp - 0x34], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov al, byte [eax + 0x47f110]
xor byte [ebp - 0x33], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov al, byte [eax + 0x47f110]
xor byte [ebp - 0x32], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax - 1]
mov al, byte [eax + 0x47f110]
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 0x46fef8
mov eax, 1
lea ebx, [ebp - 0x34]
cmp ecx, eax
jle 0x46ff77
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x46fee9
jmp 0x46ff77
mov eax, 1
lea ebx, [ebp - 0x34]
jmp 0x46ff0b
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
mov esi, ecx
sar esi, 1
jns 0x46ff14
adc esi, 0
cmp eax, esi
jl 0x46ff02
mov eax, ecx
sar eax, 1
jns 0x46ff21
adc eax, 0
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x38]
mov bl, byte [ebx + 0x47f110]
xor byte [ebp + eax*4 - 0x34], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x37]
mov bl, byte [ebx + 0x47f110]
xor byte [ebp + eax*4 - 0x33], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x36]
mov bl, byte [ebx + 0x47f110]
xor byte [ebp + eax*4 - 0x32], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x35]
mov bl, byte [ebx + 0x47f110]
xor byte [ebp + eax*4 - 0x31], bl
inc eax
lea ebx, [ebp + eax*4 - 0x38]
cmp ecx, eax
jle 0x46ff77
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x46ff6a
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x46ffa8
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x46ff9b
cmp edx, 4
jl 0x46ff88
cmp edx, 4
jne 0x46ffa8
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x46ffb7
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x46ff92
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 8]
jge 0x46fe89
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret