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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
jmp 0x4659f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x465a16
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + str.cw]
mov al, byte [ebp - 4]
mov byte [edx + 0x4c5fd8], al
jmp 0x4659ef
mov dword [ebp - 4], 0
jmp 0x465a28
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x465c50
mov edx, dword [ebp - 4]
movzx eax, byte [edx + str.cw]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x80
je 0x465a56
mov dword [ebp - 0x34], 0x1b
jmp 0x465a5d
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 8]
shl edx, 1
xor edx, dword [ebp - 0x34]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x4c60d8], ecx
mov eax, dword [ebp - 0xc]
shl eax, 8
or eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 8]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4c64d8], eax
mov edx, dword [ebp - 0x14]
shl edx, 8
or edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp - 8]
shl ecx, 0x18
or edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4c68d8], edx
mov ecx, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0xc]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x4c6cd8], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x4c5fd8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x80
je 0x465b24
mov dword [ebp - 0x38], 0x1b
jmp 0x465b2b
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
shl eax, 1
xor eax, dword [ebp - 0x38]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x80
je 0x465b4f
mov dword [ebp - 0x3c], 0x1b
jmp 0x465b56
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x20]
shl edx, 1
xor edx, dword [ebp - 0x3c]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
and eax, 0x80
je 0x465b7a
mov dword [ebp - 0x40], 0x1b
jmp 0x465b81
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
xor ecx, dword [ebp - 0x40]
and ecx, 0xff
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x28]
shl eax, 8
or eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 0x2c]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4c70d8], eax
mov edx, dword [ebp - 0x30]
shl edx, 8
or edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp - 0x24]
shl ecx, 0x18
or edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4c74d8], edx
mov ecx, dword [ebp - 0x2c]
shl ecx, 8
or ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x28]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x4c78d8], ecx
mov eax, dword [ebp - 0x24]
shl eax, 8
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 0x30]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4c7cd8], eax
jmp 0x465a1f
mov dword [ebp - 0x44], 0x464e40
mov edx, dword [ebp - 0x44]
mov dword [0x4c823c], edx
mov esp, ebp
pop ebp
ret