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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp + 8]
mov bl, byte [eax + edi]
mov dl, byte [ecx + eax + 0xa0]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x82730d
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x832db0]
mov byte [eax + edi - 1], dl
jl 0x827327
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x832eec]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x39], dl
jl 0x82733e
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, edi
push esi
mov dword [ebp - 0x14], 9
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x90]
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax + edi]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x827382
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, edi
lea edx, [ebp - 0x38]
lea ecx, [ebp + ebx - 0x38]
sub eax, edx
mov dword [ebp - 8], ecx
mov esi, 0xfffffffe
mov dword [ebp - 0x18], eax
jmp 0x8273b3
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ecx]
test al, al
mov byte [ebp - 0x1c], al
je 0x8273ee
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x832abe]
mov cl, byte [eax + 0x832ab0]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x832bb0]
mov dword [ebp - 4], eax
jmp 0x8273f5
mov dword [ebp - 4], 0
lea edx, [esi - 1]
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x20], al
je 0x827438
mov eax, dword [ebp - 0x20]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x832abb]
mov cl, byte [eax + 0x832ab0]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x832bb0]
mov dword [ebp + 0xc], eax
jmp 0x82743f
mov dword [ebp + 0xc], 0
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x24], al
je 0x82747e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x832abd]
mov cl, byte [eax + 0x832ab0]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor ecx, ecx
mov cl, byte [edx + 0x832bb0]
jmp 0x827480
xor ecx, ecx
inc esi
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x28], al
je 0x8274c3
mov eax, dword [ebp - 0x28]
xor edx, edx
and eax, 0xff
mov ebx, 0xff
mov dl, byte [eax + 0x832ab0]
mov eax, edx
xor edx, edx
mov dl, byte [0x832ab9]
add eax, edx
cdq
idiv ebx
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x832bb0]
jmp 0x8274c5
xor eax, eax
mov dl, byte [ebp + 0xc]
xor al, cl
mov cl, byte [ebp - 4]
xor al, dl
xor al, cl
mov ecx, dword [ebp - 8]
mov byte [ecx], al
lea eax, [esi + 2]
inc ecx
cmp eax, 4
mov dword [ebp - 8], ecx
jl 0x8273b0
add ebx, 4
cmp ebx, 0x10
mov dword [ebp - 0xc], ebx
jl 0x827398
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x832db0]
mov byte [eax + edi - 1], dl
jl 0x827510
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x832eec]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x49], dl
jl 0x827527
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
jne 0x827380
mov eax, dword [ebp + 8]
mov ecx, 0x10
sub eax, edi
pop esi
mov dl, byte [eax + edi]
mov bl, byte [edi]
xor bl, dl
mov byte [edi], bl
inc edi
dec ecx
jne 0x827576
pop edi
pop ebx
mov esp, ebp
pop ebp
ret