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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
and dword [ebp - 4], 0
jmp 0x40202d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40204b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + str.cw]
mov cl, byte [ebp - 4]
mov byte [eax + 0x47f0e8], cl
jmp 0x402026
and dword [ebp - 4], 0
jmp 0x402058
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40226e
mov eax, dword [ebp - 4]
movzx eax, byte [eax + str.cw]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0x80
je 0x402085
mov dword [ebp - 0x34], 0x1b
jmp 0x402089
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
shl eax, 1
xor eax, dword [ebp - 0x34]
and eax, 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
shl eax, 8
or eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x14]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4801e8], eax
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 ecx, dword [ebp - 8]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4805e8], eax
mov eax, dword [ebp - 0x14]
shl eax, 8
or eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 8]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x4809e8], eax
mov eax, dword [ebp - 8]
shl eax, 8
or eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xc]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x480de8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x47f0e8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0x80
je 0x40214e
mov dword [ebp - 0x38], 0x1b
jmp 0x402152
and 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 eax, dword [ebp - 0x20]
and eax, 0x80
je 0x402175
mov dword [ebp - 0x3c], 0x1b
jmp 0x402179
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
shl eax, 1
xor eax, dword [ebp - 0x3c]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x80
je 0x40219c
mov dword [ebp - 0x40], 0x1b
jmp 0x4021a0
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
shl eax, 1
xor eax, dword [ebp - 0x40]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
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 ecx, dword [ebp - 0x2c]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x47f1e8], eax
mov eax, dword [ebp - 0x30]
shl eax, 8
or eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x24]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x47f5e8], eax
mov eax, dword [ebp - 0x2c]
shl eax, 8
or eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x28]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x47f9e8], eax
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 ecx, dword [ebp - 0x30]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x47fde8], eax
jmp 0x402051
mov dword [ebp - 0x44], 0x402b94
mov eax, dword [ebp - 0x44]
mov dword [0x48240c], eax
leave
ret