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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xf0], 0xa
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x10
imul eax, edx, 0
add eax, dword [ebp + 0xc]
push eax
call fcn.004013fc
add esp, 8
mov dword [ebp - 8], 1
jmp 0x4e12f2
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xb
jge 0x4e14f1
mov edx, dword [ebp - 8]
sub edx, 1
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 1
imul ecx, eax, 0xd
movzx edx, byte [edx + ecx]
movzx eax, byte [edx + str.cw]
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov ecx, 1
imul ecx, ecx, 0
mov byte [edx + ecx], al
mov edx, dword [ebp - 8]
sub edx, 1
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 1
imul ecx, eax, 0xe
movzx edx, byte [edx + ecx]
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 1
shl ecx, 0
mov dl, byte [edx + str.cw]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 8]
sub eax, 1
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 1
imul edx, ecx, 0xf
movzx eax, byte [eax + edx]
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 1
shl edx, 1
mov al, byte [eax + str.cw]
mov byte [ecx + edx], al
mov ecx, dword [ebp - 8]
sub ecx, 1
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 1
imul eax, edx, 0xc
movzx ecx, byte [ecx + eax]
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 1
imul eax, eax, 3
mov cl, byte [ecx + str.cw]
mov byte [edx + eax], cl
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
sub eax, 1
shl eax, 4
add eax, dword [ebp + 0xc]
mov esi, 4
imul esi, esi, 0
mov ecx, dword [edx + ecx]
xor ecx, dword [eax + esi]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 8]
sub ecx, 1
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov esi, 4
shl esi, 0
mov edx, dword [eax + edx]
xor edx, dword [ecx + esi]
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 4
shl ecx, 0
mov dword [eax + ecx], edx
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 8]
sub ecx, 1
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov esi, 4
shl esi, 1
mov edx, dword [edx + eax]
xor edx, dword [ecx + esi]
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 4
shl ecx, 1
mov dword [eax + ecx], edx
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 8]
sub ecx, 1
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov esi, 4
imul esi, esi, 3
mov edx, dword [edx + eax]
xor edx, dword [ecx + esi]
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 4
imul ecx, ecx, 3
mov dword [eax + ecx], edx
movzx edx, byte [ebp - 1]
and edx, 0x80
je 0x4e14dd
movzx eax, byte [ebp - 1]
shl eax, 1
xor eax, 0x1b
mov dword [ebp - 0xc], eax
jmp 0x4e14e6
movzx ecx, byte [ebp - 1]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov dl, byte [ebp - 0xc]
mov byte [ebp - 1], dl
jmp 0x4e12e9
pop esi
mov esp, ebp
pop ebp
ret