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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea edx, [eax + 2]
add eax, eax
mov esi, dword [ecx + eax*8 + 0x28]
xor esi, dword [edi + 8]
mov ebx, dword [ecx + eax*8 + 0x24]
xor ebx, dword [edi + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + eax*8 + 0x2c]
xor esi, dword [edi + 0xc]
add edx, edx
mov edx, dword [ecx + edx*8]
xor edx, dword [edi]
mov eax, esi
shr eax, 8
mov dword [ebp - 0x14], ebx
shr ebx, 0x18
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
movzx eax, al
mov eax, dword [eax*4 + 0x446450]
shr ecx, 0x10
movzx edi, cl
xor eax, dword [edi*4 + 0x446850]
mov dword [ebp - 0xc], esi
xor eax, dword [ebx*4 + 0x446c50]
mov ebx, esi
movzx edi, dl
xor eax, dword [edi*4 + 0x446050]
shr ebx, 0x10
movzx esi, bl
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov esi, dword [esi*4 + 0x446850]
mov edi, dword [ebp - 0x10]
shr edi, 0x18
xor esi, dword [edi*4 + 0x446c50]
mov ebx, edx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x446450]
movzx edi, byte [ebp - 0x14]
xor esi, dword [edi*4 + 0x446050]
mov ebx, dword [ebp - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x446c50]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x446450]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x446850]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx edi, bl
xor esi, dword [edi*4 + 0x446050]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [ebp - 0x14]
mov esi, dword [esi*4 + 0x446450]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x446850]
shr edx, 0x18
xor esi, dword [edx*4 + 0x446c50]
movzx edx, byte [ebp - 0xc]
xor esi, dword [edx*4 + 0x446050]
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x1c]
dec edx
cmp edx, 1
jbe 0x417d8c
mov edi, dword [eax + 4]
mov dword [ebp - 4], esi
mov esi, edx
add esi, esi
mov dword [ebp + 8], edi
mov edi, dword [eax + 8]
dec edx
mov dword [ebp + 0xc], edi
lea esi, [ecx + esi*8 + 0x24]
mov dword [ebp - 8], edx
mov edi, dword [esi]
xor edi, dword [ebp + 8]
mov edx, dword [esi - 4]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 4]
xor edi, dword [ebp + 0xc]
xor edx, dword [eax]
mov dword [ebp - 0x10], edi
mov edi, dword [esi + 8]
xor edi, dword [ebp - 4]
sub esi, 0x10
mov ebx, edi
shr ebx, 8
mov dword [ebp - 0xc], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x446450]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x446850]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x446c50]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x446050]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
mov dword [eax], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x446850]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x446c50]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x446450]
movzx ebx, byte [ebp - 0x14]
xor edi, dword [ebx*4 + 0x446050]
mov ebx, dword [ebp - 0x14]
mov dword [ebp + 8], edi
mov dword [eax + 4], edi
mov edi, dword [ebp - 0xc]
shr ebx, 8
shr edi, 0x18
mov edi, dword [edi*4 + 0x446c50]
movzx ebx, bl
xor edi, dword [ebx*4 + 0x446450]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x446850]
movzx ebx, byte [ebp - 0x10]
xor edi, dword [ebx*4 + 0x446050]
mov ebx, dword [ebp - 0x10]
shr ebx, 8
mov dword [ebp + 0xc], edi
mov dword [eax + 8], edi
movzx edi, bl
mov ebx, dword [ebp - 0x14]
mov edi, dword [edi*4 + 0x446450]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x446850]
shr edx, 0x18
xor edi, dword [edx*4 + 0x446c50]
movzx edx, byte [ebp - 0xc]
xor edi, dword [edx*4 + 0x446050]
dec dword [ebp - 8]
mov edx, edi
mov dword [ebp - 4], edx
mov dword [eax + 0xc], edx
jne 0x417c72
mov esi, dword [ecx + 0x34]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 0x30]
xor edx, dword [eax]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x38]
xor esi, dword [eax + 8]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + 0x3c]
xor esi, dword [eax + 0xc]
mov dword [ebp - 0xc], esi
movzx esi, dl
mov bl, byte [esi + 0x447050]
mov byte [eax], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 1], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov esi, dword [ebp - 0x14]
mov byte [eax + 2], bl
shr esi, 0x18
mov bl, byte [esi + 0x447050]
movzx esi, byte [ebp - 0x14]
mov byte [eax + 3], bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 4], bl
mov ebx, edx
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 5], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov esi, dword [ebp - 0x10]
mov byte [eax + 6], bl
shr esi, 0x18
mov bl, byte [esi + 0x447050]
movzx esi, byte [ebp - 0x10]
mov byte [eax + 7], bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 8], bl
mov ebx, dword [ebp - 0x14]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 9], bl
mov ebx, edx
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov esi, dword [ebp - 0xc]
mov byte [eax + 0xa], bl
shr esi, 0x18
mov bl, byte [esi + 0x447050]
movzx esi, byte [ebp - 0xc]
mov byte [eax + 0xb], bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 0xc], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x447050]
mov byte [eax + 0xd], bl
mov ebx, dword [ebp - 0x14]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x447050]
shr edx, 0x18
mov byte [eax + 0xe], bl
mov dl, byte [edx + 0x447050]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x20]
xor dword [eax], edx
mov edx, dword [ecx + 0x24]
xor dword [eax + 4], edx
mov edx, dword [ecx + 0x28]
xor dword [eax + 8], edx
mov ecx, dword [ecx + 0x2c]
xor dword [eax + 0xc], ecx
pop edi
pop esi
pop ebx
leave
ret 8