Function at 0x401000
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x204], 1
jmp 0x401062
mov eax, dword [ebp - 0x20c]
add eax, 1
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x204]
and ecx, 0xff
shl ecx, 1
mov edx, dword [ebp - 0x204]
and edx, 0xff
and edx, 0x80
neg edx
sbb edx, edx
and edx, 0x1b
xor ecx, edx
mov al, byte [ebp - 0x204]
xor al, cl
mov byte [ebp - 0x204], al
cmp dword [ebp - 0x20c], 0x100
jge 0x40109b
mov ecx, dword [ebp - 0x20c]
mov dl, byte [ebp - 0x204]
mov byte [ebp + ecx - 0x100], dl
mov eax, dword [ebp - 0x204]
and eax, 0xff
mov cl, byte [ebp - 0x20c]
mov byte [ebp + eax - 0x200], cl
jmp 0x40101c
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x204], 1
jmp 0x4010eb
mov edx, dword [ebp - 0x20c]
add edx, 1
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x204]
and eax, 0xff
shl eax, 1
mov ecx, dword [ebp - 0x204]
and ecx, 0xff
and ecx, 0x80
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor eax, ecx
mov byte [ebp - 0x204], al
cmp dword [ebp - 0x20c], 0xa
jge 0x401112
mov edx, dword [ebp - 0x204]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x412b20], edx
jmp 0x4010ae
mov dword [0x410320], 0x63
mov dword [0x4128ac], 0
mov dword [ebp - 0x20c], 1
jmp 0x401141
mov ecx, dword [ebp - 0x20c]
add ecx, 1
mov dword [ebp - 0x20c], ecx
cmp dword [ebp - 0x20c], 0x100
jge 0x40129d
mov edx, dword [ebp - 0x20c]
xor eax, eax
mov al, byte [ebp + edx - 0x200]
mov ecx, 0xff
sub ecx, eax
mov dl, byte [ebp + ecx - 0x100]
mov byte [ebp - 0x204], dl
mov al, byte [ebp - 0x204]
mov byte [ebp - 0x208], al
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
shl ecx, 1
mov edx, dword [ebp - 0x208]
and edx, 0xff
sar edx, 7
or ecx, edx
mov byte [ebp - 0x208], cl
mov al, byte [ebp - 0x204]
xor al, byte [ebp - 0x208]
mov byte [ebp - 0x204], al
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
shl ecx, 1
mov edx, dword [ebp - 0x208]
and edx, 0xff
sar edx, 7
or ecx, edx
mov byte [ebp - 0x208], cl
mov al, byte [ebp - 0x204]
xor al, byte [ebp - 0x208]
mov byte [ebp - 0x204], al
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
shl ecx, 1
mov edx, dword [ebp - 0x208]
and edx, 0xff
sar edx, 7
or ecx, edx
mov byte [ebp - 0x208], cl
mov al, byte [ebp - 0x204]
xor al, byte [ebp - 0x208]
mov byte [ebp - 0x204], al
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
shl ecx, 1
mov edx, dword [ebp - 0x208]
and edx, 0xff
sar edx, 7
or ecx, edx
mov byte [ebp - 0x208], cl
mov eax, dword [ebp - 0x208]
and eax, 0xff
xor eax, 0x63
mov cl, byte [ebp - 0x204]
xor cl, al
mov byte [ebp - 0x204], cl
mov edx, dword [ebp - 0x204]
and edx, 0xff
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x410320], edx
mov ecx, dword [ebp - 0x204]
and ecx, 0xff
mov edx, dword [ebp - 0x20c]
mov dword [ecx*4 + 0x412720], edx
jmp 0x401132
mov dword [ebp - 0x20c], 0
jmp 0x4012b8
mov eax, dword [ebp - 0x20c]
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x100
jge 0x401673
mov ecx, dword [ebp - 0x20c]
mov dl, byte [ecx*4 + 0x410320]
mov byte [ebp - 0x204], dl
mov eax, dword [ebp - 0x204]
and eax, 0xff
shl eax, 1
mov ecx, dword [ebp - 0x204]
and ecx, 0xff
and ecx, 0x80
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor eax, ecx
mov byte [ebp - 0x208], al
mov edx, dword [ebp - 0x204]
and edx, 0xff
mov eax, dword [ebp - 0x208]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 0x204]
and ecx, 0xff
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp - 0x204]
and eax, 0xff
shl eax, 0x10
xor edx, eax
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
shl ecx, 0x18
xor edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x40f320], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx*4 + 0x40f320]
mov dword [ecx*4 + 0x40f320], eax
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x40f320]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x40f320]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x40f720], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x40f720]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x40f720]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x40fb20], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x40fb20]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x40fb20]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x40ff20], edx
mov ecx, dword [ebp - 0x20c]
mov dl, byte [ecx*4 + 0x412720]
mov byte [ebp - 0x208], dl
mov eax, 0xb
test eax, eax
je 0x40146f
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
test ecx, ecx
je 0x40146f
mov eax, dword [ebp - 0x1f5]
and eax, 0xff
mov edx, dword [ebp - 0x208]
and edx, 0xff
xor ecx, ecx
mov cl, byte [ebp + edx - 0x200]
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
xor eax, eax
mov al, byte [ebp + edx - 0x100]
mov dword [ebp - 0x210], eax
jmp 0x401479
mov dword [ebp - 0x210], 0
mov ecx, 0xd
test ecx, ecx
je 0x4014cd
mov edx, dword [ebp - 0x208]
and edx, 0xff
test edx, edx
je 0x4014cd
mov eax, dword [ebp - 0x1f3]
and eax, 0xff
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
xor edx, edx
mov dl, byte [ebp + ecx - 0x200]
add eax, edx
cdq
mov ecx, 0xff
idiv ecx
xor eax, eax
mov al, byte [ebp + edx - 0x100]
mov dword [ebp - 0x214], eax
jmp 0x4014d7
mov dword [ebp - 0x214], 0
mov ecx, 9
test ecx, ecx
je 0x40152b
mov edx, dword [ebp - 0x208]
and edx, 0xff
test edx, edx
je 0x40152b
mov eax, dword [ebp - 0x1f7]
and eax, 0xff
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
xor edx, edx
mov dl, byte [ebp + ecx - 0x200]
add eax, edx
cdq
mov ecx, 0xff
idiv ecx
xor eax, eax
mov al, byte [ebp + edx - 0x100]
mov dword [ebp - 0x218], eax
jmp 0x401535
mov dword [ebp - 0x218], 0
mov ecx, 0xe
test ecx, ecx
je 0x401589
mov edx, dword [ebp - 0x208]
and edx, 0xff
test edx, edx
je 0x401589
mov eax, dword [ebp - 0x1f2]
and eax, 0xff
mov ecx, dword [ebp - 0x208]
and ecx, 0xff
xor edx, edx
mov dl, byte [ebp + ecx - 0x200]
add eax, edx
cdq
mov ecx, 0xff
idiv ecx
xor eax, eax
mov al, byte [ebp + edx - 0x100]
mov dword [ebp - 0x21c], eax
jmp 0x401593
mov dword [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x214]
shl ecx, 8
mov edx, dword [ebp - 0x210]
xor edx, ecx
mov eax, dword [ebp - 0x218]
shl eax, 0x10
xor edx, eax
mov ecx, dword [ebp - 0x21c]
shl ecx, 0x18
xor edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x411720], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx*4 + 0x411720]
mov dword [ecx*4 + 0x411720], eax
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x411720]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x411720]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x411b20], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x411b20]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x411b20]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x411f20], edx
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*4 + 0x411f20]
shl edx, 0x18
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax*4 + 0x411f20]
shr ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x20c]
mov dword [eax*4 + 0x412320], edx
jmp 0x4012a9
mov esp, ebp
pop ebp
ret