Function at 0x401020
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4a1840]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 0xea1399a7
nop dword [eax + eax]
cmp eax, 0x9c6095df
jle 0x401060
cmp eax, 0x9c6095e0
je 0x4014f4
cmp eax, 0xabef9016
je 0x4015fc
cmp eax, 0xea1399a7
jne 0x401020
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, 0x9c6095e0
jmp 0x401020
cmp eax, 0x9a17e7a4
je 0x401c07
cmp eax, 0x9becd4d3
jne 0x401020
imul esi
mov edi, 0xd5
dec edx
sbb edx, 0x82
and eax, 0xac
mov esi, 0xdd
ror edi, 0x7b
sub esi, 0xf3
rol edi, 0xe7
bswap edi
bswap ebx
dec eax
or esi, 0x23
dec ebx
ror edi, 0xf5
bswap esi
rol esi, 0xa5
rcr esi, 0xfd
sbb ebx, 0x83
rcl eax, 0x5b
dec edx
dec edi
add edi, 0x61
neg edx
rcl edx, 0x2d
dec edi
ror edx, 0xd7
rcl eax, 0x2e
bswap esi
neg edi
neg ebx
or edx, 0x2e
rol edi, 0xc2
add esi, 0x8e
dec eax
neg eax
imul esi
and edx, 0xcb
neg esi
rcl eax, 0x8c
rcr eax, 0xd7
neg eax
rcl edi, 0xd8
sub eax, 0x64
sub ebx, 0x2c
or esi, 0x47
rcr edx, 1
bswap edx
neg edx
bswap edx
and esi, 0x1b
add eax, 0x96
neg esi
neg edi
neg esi
not edi
ror eax, 0xb6
inc esi
imul eax
rcl edi, 0xf8
dec ebx
sbb ebx, 0xc7
mov edi, 0x77
bswap edi
and esi, 0xb5
rol edi, 0xf1
and edx, 0xb
dec esi
neg esi
sub ebx, 0x3b
or edi, 0x26
rcr edx, 0xb
ror esi, 0xf1
neg edi
neg esi
and esi, 0xde
imul edx
or edx, 0x87
inc ebx
rcr eax, 0x45
sub esi, 0xb8
rcl eax, 0x41
rcl edx, 0x40
and ebx, 0xf0
imul edx
mov eax, 0x61
and edx, 0xbc
neg edx
dec esi
or esi, 0xde
bswap ebx
mov edi, 3
rcl ebx, 6
dec edi
bswap edx
sbb edi, 0xc0
mov edx, 0x41
sub ebx, 0xe4
sbb esi, 0xcd
not eax
imul eax
rcl ebx, 0x55
bswap edi
not ebx
ror edi, 0x82
sbb ebx, 0x69
inc edi
ror edx, 0x30
neg eax
add ebx, 0x30
sbb edx, 0xe
dec eax
or edx, 0xaf
not ebx
bswap eax
or edi, 0xe9
sbb esi, 0x56
rcl edx, 0x38
rcl edx, 0x2e
not esi
neg ebx
rcl edi, 0x78
bswap ebx
neg edx
add esi, 0xc4
rcr edi, 0x3c
rcl edx, 0xf3
imul ebx
bswap ebx
bswap edi
add eax, 0xa7
dec edx
dec edx
neg eax
imul edx
inc eax
rol edi, 0x53
ror edx, 0xf7
mov edi, 0x30
dec edi
rol esi, 0xd7
inc eax
rol edx, 0x5a
rol edi, 0x61
neg esi
rcr ebx, 0x2f
rcl edi, 0x3b
or eax, 0x34
neg eax
inc ebx
rol edx, 0xcd
neg edx
ror ebx, 0xb7
dec edx
dec edi
bswap edx
inc esi
dec edx
dec eax
neg esi
rcr edx, 0x5f
mov edx, 0x94
mov edx, 0xf1
imul edx
rol edx, 0x61
mov edi, 0x4b
ror edi, 0x95
or edi, 0xd6
bswap ebx
dec esi
dec edx
imul esi
sbb esi, 0xc4
rcr eax, 0xa0
bswap edi
imul edi
or edi, 0x7a
neg eax
ror ebx, 0xa2
mov eax, 0x58
dec esi
neg eax
neg ebx
rcl ebx, 0x56
sbb edi, 0xb6
ror edx, 0x19
neg ebx
sbb edx, 0xbd
neg eax
inc ebx
inc ebx
mov ebx, 0x5e
sub esi, 0x5a
dec edi
rol eax, 0xd8
and edi, 0x86
neg esi
inc edi
dec edx
dec eax
neg esi
neg edx
ror edi, 0xe3
bswap esi
not eax
rol esi, 0x9e
bswap edi
bswap eax
imul edi
bswap ebx
neg eax
neg esi
mov ebx, 0x7e
dec esi
bswap edx
mov edx, 0xdb
sub esi, 0x40
and ebx, 0xb9
not ebx
dec eax
neg esi
imul edi
mov esi, 0x7f
inc edx
sbb eax, 0xd2
not edx
bswap eax
bswap eax
and eax, 0x96
ror edx, 7
rcl ebx, 0x88
not edi
add eax, 0xc
bswap edx
add ebx, 0x81
neg esi
bswap edi
sub ebx, 0x3a
bswap edx
imul ebx
ror edx, 0xb1
rol edx, 0x8e
and ebx, 0xe0
rcl eax, 0xa5
bswap esi
or edx, 0xed
rcl edi, 0xe3
rcl esi, 0xd8
not edi
bswap ebx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
xor edi, edi
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
sub byte [edi], 0x89
add byte [edi], 0x45
imul byte [edi]
inc edi
loop 0x401344
add edi, 0x43
bswap ebx
sub edx, 0xd
neg esi
bswap esi
dec edx
inc edi
rol eax, 0xed
bswap eax
or ebx, 0x63
add eax, 0xb7
imul ebx
not edx
mov edx, 0x22
mov edi, 0xfa
sbb esi, 0x55
sbb eax, 0x91
ror ebx, 0xbe
dec ebx
rol eax, 0xd7
dec eax
inc edi
bswap ebx
bswap edi
neg esi
ror edi, 0xff
sbb eax, 0xad
sbb edi, 8
rcl ebx, 0x94
mov eax, 0x1e
rol ebx, 0x58
ror edx, 0x8e
rcr eax, 0x96
dec esi
or esi, 0xb2
not ebx
not edi
rol edx, 0xc0
bswap eax
neg edx
rcl ebx, 0xa3
inc ebx
rcl edx, 0x61
inc eax
imul ebx
not esi
rol esi, 0x1b
bswap edx
neg esi
inc esi
inc ebx
sbb edx, 0x4c
not ebx
imul esi
neg ebx
bswap ebx
not edi
not eax
neg edi
inc edi
bswap edx
add esi, 0x64
rcl ebx, 0x53
or ebx, 0xd5
dec edx
sbb edx, 4
or eax, 0xf3
rcr esi, 0xfb
imul edi
rcr ebx, 0xb6
rol edi, 0x8e
mov edx, 0xae
inc ebx
rcl esi, 0x55
and edx, 0x9e
rcl edx, 0xa7
sub eax, 4
imul ebx
rol ebx, 0x45
dec esi
inc eax
rcr ebx, 0xfa
inc eax
sbb edi, 0x8a
dec edi
dec eax
ror edx, 0x9d
and eax, 0xa6
rol edx, 0x82
ror edx, 0xf4
imul edi
neg edi
neg edi
sbb eax, 0x87
add eax, 0xc
inc esi
rcr esi, 9
imul esi
or edx, 0x2d
mov ebx, 0x25
ror eax, 0x4a
ror edi, 0xb9
sbb eax, 0x58
imul esi
mov edi, 0xfa
sbb ebx, 6
rol edi, 0xa
sub ebx, 0x23
sub eax, 0xed
and eax, 0x5a
imul edi
neg eax
sub eax, 0xaa
mov eax, 0xe1
not esi
inc esi
inc edx
ror esi, 0xa3
imul eax
sub eax, 0xb
sub edi, 0x52
dec edi
sub edi, 0xc0
bswap edx
sub edi, 0xfb
rol edi, 0x5e
rcr edi, 0xbc
add edi, 0x32
ror esi, 0x15
dec ebx
dec ebx
ror esi, 0x1f
rcl edx, 0x43
neg esi
ror edx, 0xce
inc ebx
dec eax
inc ebx
rcl esi, 0xca
mov ebx, 0x4a
ror esi, 0xfe
add eax, 0xb6
bswap eax
and ebx, 0xf3
bswap edi
bswap eax
mov ebx, 0x93
neg eax
bswap edi
bswap edi
mov eax, 0xabef9016
jmp 0x401020
mov ecx, dword [0x4a2b94]
lea eax, [ecx + 1]
imul eax, ecx
mov edx, eax
not edx
mov esi, eax
and esi, 0xed3b163
mov ecx, edx
and ecx, 0xd0000e80
and edx, 0x88a3e050
or esi, ecx
mov ecx, eax
and ecx, 0x212c401c
and eax, 0x775c1faf
xor esi, 0xed3b163
or eax, edx
or ecx, esi
mov esi, ecx
not esi
and ecx, 0x5f612885
and esi, 0xa09ed77a
or ecx, esi
mov esi, ecx
xor esi, 0x81808601
xor ecx, 0x7e4d6898
mov edx, ecx
and edx, 0x10327176
and esi, 0xefcd8e89
or esi, edx
mov edx, eax
xor edx, 0x674c0e89
xor eax, 0x226050
and eax, 0x10327176
and edx, 0xefcd8e89
or edx, eax
xor edx, esi
mov esi, 0x9becd4d3
not edx
or edx, ecx
xor edx, 0xffffffff
sete dl
setne al
cmp dword [0x4a2b90], 0xa
setge cl
setl ah
and ah, al
mov al, cl
and al, dl
xor dl, cl
and cl, dl
or al, ah
xor cl, 1
mov ah, cl
or cl, dl
xor ah, dl
xor cl, 1
or cl, ah
mov ah, cl
xor ah, 1
mov dl, ah
and dl, cl
xor ah, dl
xor dl, 1
or dl, cl
xor dl, 1
or dl, ah
mov ecx, edx
xor dl, al
xor al, 1
xor cl, 1
or al, cl
mov ecx, eax
xor cl, dl
test al, 1
mov eax, 0xabef9016
cmovne eax, esi
test dl, 1
mov edx, 0xabef9016
cmove eax, esi
test cl, 1
cmove eax, edx
jmp 0x401020
imul esi
mov edi, 0xd5
dec edx
sbb edx, 0x82
and eax, 0xac
mov esi, 0xdd
ror edi, 0x7b
sub esi, 0xf3
rol edi, 0xe7
bswap edi
bswap ebx
dec eax
or esi, 0x23
dec ebx
ror edi, 0xf5
bswap esi
rol esi, 0xa5
rcr esi, 0xfd
sbb ebx, 0x83
rcl eax, 0x5b
dec edx
dec edi
add edi, 0x61
neg edx
rcl edx, 0x2d
dec edi
ror edx, 0xd7
rcl eax, 0x2e
bswap esi
neg edi
neg ebx
or edx, 0x2e
rol edi, 0xc2
add esi, 0x8e
dec eax
neg eax
imul esi
and edx, 0xcb
neg esi
rcl eax, 0x8c
rcr eax, 0xd7
neg eax
rcl edi, 0xd8
sub eax, 0x64
sub ebx, 0x2c
or esi, 0x47
rcr edx, 1
bswap edx
neg edx
bswap edx
and esi, 0x1b
add eax, 0x96
neg esi
neg edi
neg esi
not edi
ror eax, 0xb6
inc esi
imul eax
rcl edi, 0xf8
dec ebx
sbb ebx, 0xc7
mov edi, 0x77
bswap edi
and esi, 0xb5
rol edi, 0xf1
and edx, 0xb
dec esi
neg esi
sub ebx, 0x3b
or edi, 0x26
rcr edx, 0xb
ror esi, 0xf1
neg edi
neg esi
and esi, 0xde
imul edx
or edx, 0x87
inc ebx
rcr eax, 0x45
sub esi, 0xb8
rcl eax, 0x41
rcl edx, 0x40
and ebx, 0xf0
imul edx
mov eax, 0x61
and edx, 0xbc
neg edx
dec esi
or esi, 0xde
bswap ebx
mov edi, 3
rcl ebx, 6
dec edi
bswap edx
sbb edi, 0xc0
mov edx, 0x41
sub ebx, 0xe4
sbb esi, 0xcd
not eax
imul eax
rcl ebx, 0x55
bswap edi
not ebx
ror edi, 0x82
sbb ebx, 0x69
inc edi
ror edx, 0x30
neg eax
add ebx, 0x30
sbb edx, 0xe
dec eax
or edx, 0xaf
not ebx
bswap eax
or edi, 0xe9
sbb esi, 0x56
rcl edx, 0x38
rcl edx, 0x2e
not esi
neg ebx
rcl edi, 0x78
bswap ebx
neg edx
add esi, 0xc4
rcr edi, 0x3c
rcl edx, 0xf3
imul ebx
bswap ebx
bswap edi
add eax, 0xa7
dec edx
dec edx
neg eax
imul edx
inc eax
rol edi, 0x53
ror edx, 0xf7
mov edi, 0x30
dec edi
rol esi, 0xd7
inc eax
rol edx, 0x5a
rol edi, 0x61
neg esi
rcr ebx, 0x2f
rcl edi, 0x3b
or eax, 0x34
neg eax
inc ebx
rol edx, 0xcd
neg edx
ror ebx, 0xb7
dec edx
dec edi
bswap edx
inc esi
dec edx
dec eax
neg esi
rcr edx, 0x5f
mov edx, 0x94
mov edx, 0xf1
imul edx
rol edx, 0x61
mov edi, 0x4b
ror edi, 0x95
or edi, 0xd6
bswap ebx
dec esi
dec edx
imul esi
sbb esi, 0xc4
rcr eax, 0xa0
bswap edi
imul edi
or edi, 0x7a
neg eax
ror ebx, 0xa2
mov eax, 0x58
dec esi
neg eax
neg ebx
rcl ebx, 0x56
sbb edi, 0xb6
ror edx, 0x19
neg ebx
sbb edx, 0xbd
neg eax
inc ebx
inc ebx
mov ebx, 0x5e
sub esi, 0x5a
dec edi
rol eax, 0xd8
and edi, 0x86
neg esi
inc edi
dec edx
dec eax
neg esi
neg edx
ror edi, 0xe3
bswap esi
not eax
rol esi, 0x9e
bswap edi
bswap eax
imul edi
bswap ebx
neg eax
neg esi
mov ebx, 0x7e
dec esi
bswap edx
mov edx, 0xdb
sub esi, 0x40
and ebx, 0xb9
not ebx
dec eax
neg esi
imul edi
mov esi, 0x7f
inc edx
sbb eax, 0xd2
not edx
bswap eax
bswap eax
and eax, 0x96
ror edx, 7
rcl ebx, 0x88
not edi
add eax, 0xc
bswap edx
add ebx, 0x81
neg esi
bswap edi
sub ebx, 0x3a
bswap edx
imul ebx
ror edx, 0xb1
rol edx, 0x8e
and ebx, 0xe0
rcl eax, 0xa5
bswap esi
or edx, 0xed
rcl edi, 0xe3
rcl esi, 0xd8
not edi
bswap ebx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
xor edi, edi
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
sub byte [edi], 0x89
add byte [edi], 0x45
imul byte [edi]
inc edi
loop 0x4018ce
add edi, 0x43
bswap ebx
sub edx, 0xd
neg esi
bswap esi
dec edx
inc edi
rol eax, 0xed
bswap eax
or ebx, 0x63
add eax, 0xb7
imul ebx
not edx
mov edx, 0x22
mov edi, 0xfa
sbb esi, 0x55
sbb eax, 0x91
ror ebx, 0xbe
dec ebx
rol eax, 0xd7
dec eax
inc edi
bswap ebx
bswap edi
neg esi
ror edi, 0xff
sbb eax, 0xad
sbb edi, 8
rcl ebx, 0x94
mov eax, 0x1e
rol ebx, 0x58
ror edx, 0x8e
rcr eax, 0x96
dec esi
or esi, 0xb2
not ebx
not edi
rol edx, 0xc0
bswap eax
neg edx
rcl ebx, 0xa3
inc ebx
rcl edx, 0x61
inc eax
imul ebx
not esi
rol esi, 0x1b
bswap edx
neg esi
inc esi
inc ebx
sbb edx, 0x4c
not ebx
imul esi
neg ebx
bswap ebx
not edi
not eax
neg edi
inc edi
bswap edx
add esi, 0x64
rcl ebx, 0x53
or ebx, 0xd5
dec edx
sbb edx, 4
or eax, 0xf3
rcr esi, 0xfb
imul edi
rcr ebx, 0xb6
rol edi, 0x8e
mov edx, 0xae
inc ebx
rcl esi, 0x55
and edx, 0x9e
rcl edx, 0xa7
sub eax, 4
imul ebx
rol ebx, 0x45
dec esi
inc eax
rcr ebx, 0xfa
inc eax
sbb edi, 0x8a
dec edi
dec eax
ror edx, 0x9d
and eax, 0xa6
rol edx, 0x82
ror edx, 0xf4
imul edi
neg edi
neg edi
sbb eax, 0x87
add eax, 0xc
inc esi
rcr esi, 9
imul esi
or edx, 0x2d
mov ebx, 0x25
ror eax, 0x4a
ror edi, 0xb9
sbb eax, 0x58
imul esi
mov edi, 0xfa
sbb ebx, 6
rol edi, 0xa
sub ebx, 0x23
sub eax, 0xed
and eax, 0x5a
imul edi
neg eax
sub eax, 0xaa
mov eax, 0xe1
not esi
inc esi
inc edx
ror esi, 0xa3
imul eax
sub eax, 0xb
sub edi, 0x52
dec edi
sub edi, 0xc0
bswap edx
sub edi, 0xfb
rol edi, 0x5e
rcr edi, 0xbc
add edi, 0x32
ror esi, 0x15
dec ebx
dec ebx
ror esi, 0x1f
rcl edx, 0x43
neg esi
ror edx, 0xce
inc ebx
dec eax
inc ebx
rcl esi, 0xca
mov ebx, 0x4a
ror esi, 0xfe
add eax, 0xb6
bswap eax
and ebx, 0xf3
bswap edi
bswap eax
mov ebx, 0x93
neg eax
bswap edi
bswap edi
mov eax, dword [0x4a2b94]
lea edx, [eax + 1]
imul edx, eax
mov eax, edx
not eax
mov esi, edx
or esi, 0x246d1881
and edx, 0x10022430
mov ecx, eax
or ecx, 0xc800430c
and esi, 0xec6d5b8d
and eax, 0x3908042
and ecx, 0xec6d5b8d
or eax, esi
or edx, ecx
xor edx, eax
mov eax, edx
not eax
and edx, 0x7f145c7
and eax, 0xf80eba38
or edx, eax
mov esi, edx
mov ecx, edx
xor esi, 0xcc618689
xor ecx, 0x339e7976
xor edx, 0xc5631e0d
mov eax, esi
mov edi, ecx
and edx, ecx
and eax, 0xf6fd677b
and esi, 0x26fabde0
and edi, 0xd905421f
and ecx, 1
or eax, edx
or edi, esi
mov edx, eax
not edx
xor edi, 0x26fabde1
and eax, 0x9da70a15
and edx, 0x6258f5ea
or ecx, edi
mov esi, ecx
or eax, edx
not esi
and ecx, 0xbad0b3fc
mov edx, eax
xor edx, 0x94210080
and esi, 0x452f4c03
xor eax, 0x6b5a6d6f
or ecx, esi
mov esi, eax
and esi, 0x40dcbe36
and edx, 0xbf2341c9
or edx, esi
mov esi, ecx
xor esi, 0xba0001c8
xor ecx, 0x452f4c03
or eax, ecx
and ecx, 0x40dcbe36
and esi, 0xbf2341c9
or esi, ecx
not eax
xor esi, edx
or eax, esi
mov esi, 0x9becd4d3
mov ecx, eax
xor ecx, 0xec6e9239
and ecx, eax
not eax
and eax, 0xec6e9239
or ecx, eax
mov eax, ecx
not eax
and ecx, 0x441da083
and eax, 0xbbe25f7c
or ecx, eax
xor ecx, 0xa87332ba
setne dl
sete cl
cmp dword [0x4a2b90], 0xa
mov dh, dl
setl ah
setge ch
mov al, ah
or dl, ah
and dh, ch
and al, cl
xor cl, ah
xor dl, 1
and cl, ah
or al, dh
or cl, dl
xor al, 1
mov ah, cl
or al, ch
mov ch, cl
xor ah, 1
mov dl, ah
or ah, al
and dl, cl
mov bl, ah
xor dl, 1
xor ch, dl
or dl, cl
mov cl, al
xor dl, 1
xor cl, 1
or dl, ch
and cl, dl
xor dl, 1
and dl, al
or dl, cl
xor bl, dl
test ah, ah
mov eax, 0x9a17e7a4
cmovne eax, esi
test dl, 1
mov edx, 0x9a17e7a4
cmove eax, esi
test bl, 1
cmove eax, edx
jmp 0x401020
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444f90
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret