Function at 0x4e1500
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], 0xe
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 ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, 0x10
shl edx, 0
add edx, dword [ebp + 0xc]
push edx
call fcn.004013fc
add esp, 8
mov dword [ebp - 8], 2
jmp 0x4e155d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xf
jge 0x4e1834
mov ecx, dword [ebp - 8]
and ecx, 1
jne 0x4e166f
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
movzx edx, byte [ebp - 1]
and edx, 0x80
je 0x4e165b
movzx eax, byte [ebp - 1]
shl eax, 1
xor eax, 0x1b
mov dword [ebp - 0xc], eax
jmp 0x4e1664
movzx ecx, byte [ebp - 1]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov dl, byte [ebp - 0xc]
mov byte [ebp - 1], dl
jmp 0x4e1736
mov eax, dword [ebp - 8]
sub eax, 1
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, 1
imul edx, ecx, 0xc
movzx eax, byte [eax + edx]
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 1
imul edx, edx, 0
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, 0xd
movzx ecx, byte [ecx + eax]
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 1
shl eax, 0
mov cl, byte [ecx + str.cw]
mov byte [edx + eax], cl
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, 1
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
imul edx, edx, 3
mov al, byte [eax + str.cw]
mov byte [ecx + edx], al
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 8]
sub edx, 2
shl edx, 4
add edx, dword [ebp + 0xc]
mov esi, 4
imul esi, esi, 0
mov eax, dword [ecx + eax]
xor eax, dword [edx + esi]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov dword [ecx + edx], eax
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, 2
shl eax, 4
add eax, dword [ebp + 0xc]
mov esi, 4
shl esi, 0
mov ecx, dword [edx + ecx]
xor ecx, dword [eax + esi]
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
shl eax, 0
mov dword [edx + eax], ecx
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 8]
sub eax, 2
shl eax, 4
add eax, dword [ebp + 0xc]
mov esi, 4
shl esi, 1
mov ecx, dword [ecx + edx]
xor ecx, dword [eax + esi]
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
shl eax, 1
mov dword [edx + eax], ecx
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 8]
sub eax, 2
shl eax, 4
add eax, dword [ebp + 0xc]
mov esi, 4
imul esi, esi, 3
mov ecx, dword [ecx + edx]
xor ecx, dword [eax + esi]
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp + 0xc]
mov eax, 4
imul eax, eax, 3
mov dword [edx + eax], ecx
jmp 0x4e1554
pop esi
mov esp, ebp
pop ebp
ret