Function at 0x401470
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 1
jmp 0x40149e
mov eax, dword [ebp - 0x40c]
add eax, 1
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0x100
jge 0x401500
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x408]
mov dword [ebp + ecx*4 - 0x400], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x40c]
mov dword [ebp + eax*4 - 0x810], ecx
mov edx, dword [ebp - 0x408]
shl edx, 1
mov eax, dword [ebp - 0x408]
and eax, 0x80
neg eax
sbb eax, eax
and eax, 0x1b
xor edx, eax
xor edx, dword [ebp - 0x408]
and edx, 0xff
mov dword [ebp - 0x408], edx
jmp 0x40148f
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 1
jmp 0x401525
mov ecx, dword [ebp - 0x40c]
add ecx, 1
mov dword [ebp - 0x40c], ecx
cmp dword [ebp - 0x40c], 0xa
jge 0x40156c
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 0x408]
mov dword [edx*4 + 0x46bfe0], eax
mov ecx, dword [ebp - 0x408]
shl ecx, 1
mov edx, dword [ebp - 0x408]
and edx, 0x80
neg edx
sbb edx, edx
and edx, 0x1b
xor ecx, edx
and ecx, 0xff
mov dword [ebp - 0x408], ecx
jmp 0x401516
mov byte [0x46e108], 0x63
mov byte [0x46d06b], 0
mov dword [ebp - 0x40c], 1
jmp 0x401595
mov eax, dword [ebp - 0x40c]
add eax, 1
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0x100
jge 0x4016c0
mov ecx, dword [ebp - 0x40c]
mov edx, 0xff
sub edx, dword [ebp + ecx*4 - 0x810]
mov eax, dword [ebp + edx*4 - 0x400]
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp - 0x404]
shl edx, 1
mov eax, dword [ebp - 0x404]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x404], edx
mov ecx, dword [ebp - 0x408]
xor ecx, dword [ebp - 0x404]
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x404]
shl edx, 1
mov eax, dword [ebp - 0x404]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x404], edx
mov ecx, dword [ebp - 0x408]
xor ecx, dword [ebp - 0x404]
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x404]
shl edx, 1
mov eax, dword [ebp - 0x404]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x404], edx
mov ecx, dword [ebp - 0x408]
xor ecx, dword [ebp - 0x404]
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x404]
shl edx, 1
mov eax, dword [ebp - 0x404]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x404], edx
mov ecx, dword [ebp - 0x404]
xor ecx, 0x63
xor ecx, dword [ebp - 0x408]
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x40c]
mov al, byte [ebp - 0x408]
mov byte [edx + 0x46e108], al
mov ecx, dword [ebp - 0x408]
mov dl, byte [ebp - 0x40c]
mov byte [ecx + 0x46d008], dl
jmp 0x401586
mov dword [ebp - 0x40c], 0
jmp 0x4016db
mov eax, dword [ebp - 0x40c]
add eax, 1
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0x100
jge 0x4019ec
mov ecx, dword [ebp - 0x40c]
movzx edx, byte [ecx + 0x46e108]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x408]
shl eax, 1
mov ecx, dword [ebp - 0x408]
and ecx, 0x80
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor eax, ecx
and eax, 0xff
mov dword [ebp - 0x404], eax
mov edx, dword [ebp - 0x404]
xor edx, dword [ebp - 0x408]
and edx, 0xff
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x408]
shl eax, 8
xor eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x408]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 0x814]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46dd08], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46dd08]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46dd08]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46d908], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46d908]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46d908]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46d508], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46d508]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46d508]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46d108], eax
mov edx, dword [ebp - 0x40c]
movzx eax, byte [edx + 0x46d008]
mov dword [ebp - 0x408], eax
mov ecx, 0xe
test ecx, ecx
je 0x40184c
cmp dword [ebp - 0x408], 0
je 0x40184c
mov edx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x7d8]
add eax, dword [ebp + edx*4 - 0x810]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x400]
mov dword [ebp - 0x818], edx
jmp 0x401856
mov dword [ebp - 0x818], 0
mov eax, 9
test eax, eax
je 0x401892
cmp dword [ebp - 0x408], 0
je 0x401892
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x7ec]
add eax, dword [ebp + ecx*4 - 0x810]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x400]
mov dword [ebp - 0x81c], edx
jmp 0x40189c
mov dword [ebp - 0x81c], 0
mov eax, 0xd
test eax, eax
je 0x4018d8
cmp dword [ebp - 0x408], 0
je 0x4018d8
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x7dc]
add eax, dword [ebp + ecx*4 - 0x810]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x400]
mov dword [ebp - 0x820], edx
jmp 0x4018e2
mov dword [ebp - 0x820], 0
mov eax, 0xb
test eax, eax
je 0x40191e
cmp dword [ebp - 0x408], 0
je 0x40191e
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x7e4]
add eax, dword [ebp + ecx*4 - 0x810]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x400]
mov dword [ebp - 0x824], edx
jmp 0x401928
mov dword [ebp - 0x824], 0
mov eax, dword [ebp - 0x81c]
shl eax, 8
xor eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 0x820]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 0x824]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46cc08], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46cc08]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46cc08]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46c808], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46c808]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46c808]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46c408], eax
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx*4 + 0x46c408]
shl eax, 8
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx*4 + 0x46c408]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x40c]
mov dword [ecx*4 + 0x46c008], eax
jmp 0x4016cc
mov esp, ebp
pop ebp
ret