Function at 0x401f8f
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x810
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
jmp 0x401ff2
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x414], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x814], edx
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc]
and eax, 0x80
test eax, eax
je 0x401fdc
mov eax, 0x1b
jmp 0x401fe1
mov eax, 0
xor eax, edx
xor eax, dword [ebp - 0xc]
and eax, 0xff
mov dword [ebp - 0xc], eax
add dword [ebp - 8], 1
cmp dword [ebp - 8], 0xff
jle 0x401fa9
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
jmp 0x402044
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45e220], edx
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc]
and eax, 0x80
test eax, eax
je 0x402031
mov eax, 0x1b
jmp 0x402036
mov eax, 0
xor eax, edx
and eax, 0xff
mov dword [ebp - 0xc], eax
add dword [ebp - 8], 1
cmp dword [ebp - 8], 9
jle 0x40200b
mov byte [0x45c020], 0x63
mov byte [0x45d183], 0
mov dword [ebp - 8], 1
jmp 0x40211c
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x814]
mov edx, 0xff
sub edx, eax
mov eax, edx
mov eax, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x10]
sar eax, 7
or eax, edx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x10]
sar eax, 7
or eax, edx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x10]
sar eax, 7
or eax, edx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x10]
sar eax, 7
or eax, edx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, 0x63
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 0x45c020
mov byte [eax], dl
mov eax, dword [ebp - 8]
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, 0x45d120
mov byte [eax], dl
add dword [ebp - 8], 1
cmp dword [ebp - 8], 0xff
jle 0x402064
mov dword [ebp - 8], 0
jmp 0x40239b
mov eax, dword [ebp - 8]
add eax, 0x45c020
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc]
and eax, 0x80
test eax, eax
je 0x40215f
mov eax, 0x1b
jmp 0x402164
mov eax, 0
xor eax, edx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0xc]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
shl eax, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
xor edx, eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
xor edx, eax
mov eax, dword [ebp - 0x14]
shl eax, 0x18
xor edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45c120], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45c120]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45c520], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45c520]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45c920], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45c920]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45cd20], edx
mov eax, dword [ebp - 8]
add eax, 0x45d120
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402248
mov edx, dword [ebp - 0x7dc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x814]
lea ecx, [edx + eax]
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, ecx
sub eax, edx
mov eax, dword [ebp + eax*4 - 0x414]
mov ebx, eax
jmp 0x40224d
mov ebx, 0
cmp dword [ebp - 0xc], 0
je 0x402297
mov edx, dword [ebp - 0x7f0]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x814]
lea ecx, [edx + eax]
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, ecx
sub eax, edx
mov eax, dword [ebp + eax*4 - 0x414]
shl eax, 8
jmp 0x40229c
mov eax, 0
xor ebx, eax
cmp dword [ebp - 0xc], 0
je 0x4022e8
mov edx, dword [ebp - 0x7e0]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x814]
lea ecx, [edx + eax]
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, ecx
sub eax, edx
mov eax, dword [ebp + eax*4 - 0x414]
shl eax, 0x10
jmp 0x4022ed
mov eax, 0
xor ebx, eax
cmp dword [ebp - 0xc], 0
je 0x402339
mov edx, dword [ebp - 0x7e8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x814]
lea ecx, [edx + eax]
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, ecx
sub eax, edx
mov eax, dword [ebp + eax*4 - 0x414]
shl eax, 0x18
jmp 0x40233e
mov eax, 0
xor eax, ebx
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45d220], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45d220]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45d620], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45d620]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45da20], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x45da20]
rol eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x45de20], edx
add dword [ebp - 8], 1
cmp dword [ebp - 8], 0xff
jle 0x402135
nop
nop
add esp, 0x810
pop ebx
pop ebp
ret