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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], 0
jmp 0x492f89
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jae 0x492fdf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4]
mov byte [edx + ecx*4], al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 1]
mov byte [edx + ecx*4 + 1], al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 2]
mov byte [edx + ecx*4 + 2], al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 3]
mov byte [edx + ecx*4 + 3], al
jmp 0x492f80
mov dword [ebp - 0xc], 4
jmp 0x492ff1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x2c
jae 0x493214
mov edx, dword [ebp - 0xc]
lea eax, [edx*4 - 4]
mov dword [ebp - 0x10], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp + edx - 8], cl
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax + 1]
mov byte [ebp + edx - 8], cl
mov edx, 1
shl edx, 1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax + 2]
mov byte [ebp + edx - 8], cl
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 3]
mov byte [ebp + eax - 8], dl
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
jne 0x493174
mov edx, 1
imul eax, edx, 0
mov cl, byte [ebp + eax - 8]
mov byte [ebp - 1], cl
mov edx, 1
shl edx, 0
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + edx - 8]
mov byte [ebp + ecx - 8], dl
mov eax, 1
shl eax, 1
mov ecx, 1
shl ecx, 0
mov dl, byte [ebp + eax - 8]
mov byte [ebp + ecx - 8], dl
mov eax, 1
imul ecx, eax, 3
mov edx, 1
shl edx, 1
mov al, byte [ebp + ecx - 8]
mov byte [ebp + edx - 8], al
mov ecx, 1
imul edx, ecx, 3
mov al, byte [ebp - 1]
mov byte [ebp + edx - 8], al
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 8]
mov ecx, 1
imul edx, ecx, 0
mov al, byte [eax + 0x5bc840]
mov byte [ebp + edx - 8], al
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 8]
mov eax, 1
shl eax, 0
mov cl, byte [edx + 0x5bc840]
mov byte [ebp + eax - 8], cl
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 8]
mov ecx, 1
shl ecx, 1
mov dl, byte [eax + 0x5bc840]
mov byte [ebp + ecx - 8], dl
mov eax, 1
imul ecx, eax, 3
movzx edx, byte [ebp + ecx - 8]
mov eax, 1
imul ecx, eax, 3
mov dl, byte [edx + 0x5bc840]
mov byte [ebp + ecx - 8], dl
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 8]
mov eax, dword [ebp - 0xc]
shr eax, 2
movzx ecx, byte [eax + 0x5bc634]
xor edx, ecx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 8], dl
mov edx, dword [ebp - 0xc]
shl edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
lea ecx, [eax*4 - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
movzx ecx, byte [ebp + edx - 8]
xor eax, ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 1]
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 8]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov byte [edx + 1], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 2]
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 8]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov byte [edx + 2], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
mov edx, 1
imul eax, edx, 3
movzx edx, byte [ebp + eax - 8]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov byte [eax + 3], cl
jmp 0x492fe8
pop esi
mov esp, ebp
pop ebp
ret