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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1d]
movzx edx, byte [ecx + str.cw]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1e]
movzx edx, byte [ecx + str.cw]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx + 1], cl
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1f]
movzx edx, byte [ecx + str.cw]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 2]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx + 2], cl
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [ecx + str.cw]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 3]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx + 3], cl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
shl ecx, 1
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
sar eax, 7
and eax, 1
imul eax, eax, 0x11b
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov byte [edx], cl
mov byte [ebp - 1], 4
jmp 0x4cf80f
movzx eax, byte [ebp - 1]
add eax, 4
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 0x10
jge 0x4cf8b3
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 0x4cf805
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], 0x14
jmp 0x4cf937
movzx edx, byte [ebp - 1]
add edx, 4
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 0x20
jge 0x4cf9db
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 0x4cf92d
mov esp, ebp
pop ebp
ret