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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
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 - 0xc], 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 - 0x10], ebx
shr ebx, 0x18
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
movzx eax, al
mov eax, dword [eax*4 + 0x5ff9a8]
shr ecx, 0x10
movzx edi, cl
xor eax, dword [edi*4 + 0x5ffda8]
mov dword [ebp - 8], esi
xor eax, dword [ebx*4 + 0x6001a8]
mov ebx, esi
movzx edi, dl
xor eax, dword [edi*4 + 0x5ff5a8]
shr ebx, 0x10
movzx esi, bl
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov esi, dword [esi*4 + 0x5ffda8]
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor esi, dword [edi*4 + 0x6001a8]
mov ebx, edx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x5ff9a8]
movzx edi, byte [ebp - 0x10]
xor esi, dword [edi*4 + 0x5ff5a8]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 4], esi
mov esi, dword [ebp - 8]
shr esi, 0x18
mov esi, dword [esi*4 + 0x6001a8]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x5ff9a8]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x5ffda8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edi, bl
xor esi, dword [edi*4 + 0x5ff5a8]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi*4 + 0x5ff9a8]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x5ffda8]
shr edx, 0x18
xor esi, dword [edx*4 + 0x6001a8]
movzx edx, byte [ebp - 8]
xor esi, dword [edx*4 + 0x5ff5a8]
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x1c]
dec edx
cmp edx, 1
jle 0x458b8f
mov edi, dword [eax + 4]
mov dword [ebp + 0x10], 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 - 4], edx
mov edi, dword [esi]
xor edi, dword [ebp + 8]
mov edx, dword [esi - 4]
mov dword [ebp - 0x10], edi
mov edi, dword [esi + 4]
xor edi, dword [ebp + 0xc]
xor edx, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [esi + 8]
xor edi, dword [ebp + 0x10]
sub esi, 0x10
mov ebx, edi
shr ebx, 8
mov dword [ebp - 8], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x5ff9a8]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5ffda8]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6001a8]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x5ff5a8]
mov ebx, dword [ebp - 8]
shr ebx, 0x10
mov dword [eax], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x5ffda8]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6001a8]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5ff9a8]
movzx ebx, byte [ebp - 0x10]
xor edi, dword [ebx*4 + 0x5ff5a8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov dword [eax + 4], edi
mov edi, dword [ebp - 8]
shr ebx, 8
shr edi, 0x18
mov edi, dword [edi*4 + 0x6001a8]
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5ff9a8]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5ffda8]
movzx ebx, byte [ebp - 0xc]
xor edi, dword [ebx*4 + 0x5ff5a8]
mov ebx, dword [ebp - 0xc]
shr ebx, 8
mov dword [ebp + 0xc], edi
mov dword [eax + 8], edi
movzx edi, bl
mov ebx, dword [ebp - 0x10]
mov edi, dword [edi*4 + 0x5ff9a8]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x5ffda8]
shr edx, 0x18
xor edi, dword [edx*4 + 0x6001a8]
movzx edx, byte [ebp - 8]
xor edi, dword [edx*4 + 0x5ff5a8]
dec dword [ebp - 4]
mov edx, edi
mov dword [ebp + 0x10], edx
mov dword [eax + 0xc], edx
jne 0x458a75
mov esi, dword [ecx + 0x34]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 0x30]
xor edx, dword [eax]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + 0x38]
xor esi, dword [eax + 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x3c]
xor esi, dword [eax + 0xc]
mov dword [ebp - 8], esi
movzx esi, dl
mov bl, byte [esi + 0x6005a8]
mov byte [eax], bl
mov ebx, dword [ebp - 8]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 1], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov esi, dword [ebp - 0x10]
mov byte [eax + 2], bl
shr esi, 0x18
mov bl, byte [esi + 0x6005a8]
movzx esi, byte [ebp - 0x10]
mov byte [eax + 3], bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 4], bl
mov ebx, edx
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 5], bl
mov ebx, dword [ebp - 8]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov esi, dword [ebp - 0xc]
mov byte [eax + 6], bl
shr esi, 0x18
mov bl, byte [esi + 0x6005a8]
movzx esi, byte [ebp - 0xc]
mov byte [eax + 7], bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 8], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 9], bl
mov ebx, edx
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov esi, dword [ebp - 8]
mov byte [eax + 0xa], bl
shr esi, 0x18
mov bl, byte [esi + 0x6005a8]
movzx esi, byte [ebp - 8]
mov byte [eax + 0xb], bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 0xc], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 8
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
mov byte [eax + 0xd], bl
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
movzx esi, bl
mov bl, byte [esi + 0x6005a8]
shr edx, 0x18
mov byte [eax + 0xe], bl
mov dl, byte [edx + 0x6005a8]
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