Function at 0x458728
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
mov esi, dword [ebp + 8]
mov edi, 0x78a160
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov esi, dword [0x78a250]
shr esi, 1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
add edi, 0x20
dec esi
je 0x4589f1
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x775230]
mov ebx, dword [ebx*4 + 0x775630]
mov ecx, dword [ecx*4 + 0x775a30]
mov edx, dword [edx*4 + 0x775e30]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x45876b
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x776230]
mov ebx, dword [ebx*4 + 0x776230]
mov ecx, dword [ecx*4 + 0x776230]
mov edx, dword [edx*4 + 0x776230]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
invalid
loop 0x458a4a
add byte [eax], al