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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
jmp 0x402718
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x402736
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + str.cw]
mov al, byte [ebp - 4]
mov byte [edx + 0x465a60], al
jmp 0x40270f
mov dword [ebp - 4], 0
jmp 0x402748
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x402970
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 0x402776
mov dword [ebp - 0x34], 0x1b
jmp 0x40277d
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 + 0x463a60], 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 + 0x463e60], 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 + 0x464260], 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 + 0x464660], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x465a60]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x80
je 0x402844
mov dword [ebp - 0x38], 0x1b
jmp 0x40284b
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 0x40286f
mov dword [ebp - 0x3c], 0x1b
jmp 0x402876
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 0x40289a
mov dword [ebp - 0x40], 0x1b
jmp 0x4028a1
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 + 0x464a60], 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 + 0x464e60], 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 + 0x465260], 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 + 0x465660], eax
jmp 0x40273f
mov dword [ebp - 0x44], 0x4022a0
mov edx, dword [ebp - 0x44]
mov dword [0x4668b0], edx
mov esp, ebp
pop ebp
ret