Function at 0x585c19
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push eax
sub ah, 6
push ebx
adc bh, bl
dec eax
push ecx
ror ax, cl
adc bl, ah
dec bx
push edi
not di
shl al, 3
not di
push esi
sbb di, si
push edx
or edx, 0x537c550
ror esi, cl
xor dh, 0x51
nop
cmp dh, 0x69
rol ecx, 6
ror dl, 3
inc cx
adc edx, 0x15d0ae3b
dec dx
not esi
and ax, bx
adc si, ax
xchg dl, dl
sub bl, ah
shr di, cl
inc dx
rol si, 3
inc ah
sub dx, dx
adc ecx, 0x4d9466ce
dec cx
stc
xor bx, bx
nop
dec bl
test edi, eax
not si
shr dl, 7
add ecx, eax
inc ch
cmp bx, 0x6f0d
mov edi, ebx
test ch, bl
dec ebx
xor di, di
and dx, cx
sbb cx, 0x3f99
mov ah, 0x1b
and esi, 0x75d3cf1b
shr di, cl
test cl, ch
xor edi, edx
sbb ecx, edi
stc
adc eax, ebx
and ah, al
shr si, 5
cmp al, ch
dec eax
xchg cx, ax
and ch, al
nop
stc
mov edi, 0x459d8355
mov edx, edi
or edx, 0x77b90de0
shr eax, cl
xchg ecx, ebx
not dh
xchg ch, ch
or dl, dl
dec dx
xchg cx, si
mov al, 0x5c
shr dx, 8
shr si, cl
stc
xor dx, dx
and bl, 0x5f
or eax, edx
nop
nop
sbb ecx, 0x18972d6b
cmp ch, bl
rol ah, cl
adc bl, 0x3c
rol bl, cl
nop
sbb eax, eax
shr cx, 8
nop
inc esi
test ebx, 0x2ddca7ea
dec bh
mov si, 0x36b2
cmp cl, 0x60
xchg bx, ax
shl dx, cl
not si
pop edx
shr al, 2
and di, 0x7322
nop
push edx
sub edi, edx
xchg bx, bx
or edx, 0x7775133c
xor di, dx
sub si, 0x5bb3
and bl, ah
xor dx, dx
cmp ah, dh
nop
adc bh, 6
inc ebx
sbb dl, al
add edi, 0x2891b090
stc
shl dx, cl
mov cx, 0x2bf6
dec si
adc edx, 0x7149404e
test eax, 0x28c6b2cd
test edi, ecx
test ebx, 0x7cc9fc53
not bh
shl di, 6
sbb si, di
rol ebx, cl
ror edx, 7
test bl, dl
add ah, cl
adc si, ax
xor cl, ah
mov edx, 0x7829a72a
xchg bl, al
sbb eax, edi
xor eax, edi
xor edx, eax
sub esi, ebx
xchg dh, al
sbb esi, 0x4df254c5
dec ecx
nop
sbb dh, al
not ax
not esi
mov bx, 0x63
shr bx, cl
add edi, 0x198efeb1
test di, 0x17b0
adc di, 0x7bf1
test eax, ebx
and ah, bl
ror cl, cl
xor edx, 0x20fe8eda
stc
nop
inc ecx
ror si, 4
and ecx, edx
cmp dl, cl
mov ebx, 0x76bf0d64
dec cx
or ax, cx
and edi, edx
or dl, 4
not bx
cmp dl, 0x63
xor ah, 0x4d
sub di, dx
xor ch, dl
test ecx, edi
or di, bx
sbb dl, bh
rol dh, 4
cmp ax, dx
sub si, bx
mov cx, 0xae8
or ah, 0x32
mov bx, ax
xchg bx, di
shr dh, 2
xchg dx, dx
shr cx, cl
sub dh, bh
test al, 0x5a
or ecx, edx
nop
stc
or ecx, ebx
rol dl, 1
sub eax, 0x5c4c098a
mov ch, 0x45
test ax, 0x1754
not eax
shl edi, 6
dec dx
cmp ax, 0x5127
test al, bh
sbb ecx, esi
pop edx
push edx
xchg dx, bx
ror bx, 4
sbb dx, bx
adc bl, 0x6b
shl eax, cl
stc
xor cx, ax
sbb esi, 0x155abb88
ror edx, cl
ror ebx, 3
inc ecx
nop
shr si, cl
rol ecx, 1
add dx, 0x74a9
inc ch
shr cx, cl
adc edx, edx
sbb ecx, edx
inc edi
xor ebx, edi
sub esi, 0x62a3dcf3
xor edx, ecx
nop
xchg dh, bl
cmp ch, cl
sub di, di
xor dh, dl
ror bx, cl
xor cx, di
mov dl, 0x2a
stc
xchg ebx, eax
mov ebx, edx
pop edx
pop esi
pop edi
pop ecx
pop ebx
pop eax
push ebx
dec bx
push eax
push ecx
shl ax, cl
mov ecx, 0x3660fffe
stc
or ax, 0x2bd7
push edx
xor dl, 7
sub bh, 0x4b
push esi
adc si, 0x5908
adc dx, si
and edx, 0x602a9bd3
not dl
cmp cx, 0x7c4e
rol ebx, cl
or ecx, edx
shr esi, 6
shl si, 5
and ax, 0x4c04
rol cx, 1
shr ah, cl
ror ah, cl
inc si
push edi
dec di
test bh, ah
inc dx
xchg ebx, ecx
and ecx, ecx
or bx, 0x4684
rol ch, 3
shl ecx, 4
shl bx, cl
or cx, 0x6830
xchg dl, al
test ah, dh
shr dh, cl
rol bh, 3
dec si
dec esi
test al, 6
add bl, 0x42
shl eax, 8
nop
cmp cx, 0x39d1
adc ecx, esi
xchg edi, edx
adc cx, 0x53b8
add eax, eax
inc ah
nop
shl si, cl
mov dl, ah
add ax, bx
cmp si, 0x57a1
cmp dl, 0x4f
test ebx, edx
xchg dx, ax
not cx
dec ax
shl dh, cl
nop
shr dx, cl
cmp di, di
sub di, bx
stc
add ebx, edi
and bx, di
nop
adc dx, 0xd97
adc esi, 0x21724508
and dl, ch
shr dx, cl
test di, 0x44e3
xor dx, bx
mov ch, 0x1d
and ecx, 0x6d020da8
nop
sub ax, 0x4f3b
xchg al, bl
add edi, 0x2ceb55f2
and al, 0x22
and cx, 0x3ef3
pop edi
pop esi
pop edx
pop ecx
pop eax
pop ebx
stc
push ebx
push edx
sbb bl, dl
push ecx
cmp ecx, ecx
stc
not cx
mov dh, dl
ror bx, 7
pop ecx
pop edx
pop ebx
push ecx
not cx
pop ecx
pop ebp
ret