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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0x1c
jmp 0x4cfaf4
movzx eax, byte [ebp - 1]
sub eax, 4
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 0x10
jle 0x4cfb98
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax - 4]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], dl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax - 3]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx + 1]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 1], dl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax - 2]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx + 2]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 2], dl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax - 1]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx + 3]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 3], dl
jmp 0x4cfaea
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xc]
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x10]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd]
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x11]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], al
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xe]
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x12], al
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xf]
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x13]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x13], al
mov byte [ebp - 1], 0xc
jmp 0x4cfc1c
movzx edx, byte [ebp - 1]
sub edx, 4
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
jle 0x4cfcbf
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx - 4]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + ecx]
xor ecx, edx
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
mov byte [eax + edx], cl
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx - 3]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + ecx + 1]
xor ecx, edx
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
mov byte [eax + edx + 1], cl
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx - 2]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + ecx + 2]
xor ecx, edx
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
mov byte [eax + edx + 2], cl
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx - 1]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + ecx + 3]
xor ecx, edx
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
mov byte [eax + edx + 3], cl
jmp 0x4cfc12
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
sar edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x8d
xor edx, ecx
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1d]
movzx eax, byte [edx + str.cw]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor eax, edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp + 8]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1e]
movzx eax, byte [edx + str.cw]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
xor edx, eax
mov eax, dword [ebp + 8]
mov byte [eax + 1], dl
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1f]
movzx eax, byte [edx + str.cw]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 2]
xor edx, eax
mov eax, dword [ebp + 8]
mov byte [eax + 2], dl
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1c]
movzx eax, byte [edx + str.cw]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 3]
xor edx, eax
mov eax, dword [ebp + 8]
mov byte [eax + 3], dl
mov esp, ebp
pop ebp
ret