Function at 0x51855a
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
push edx
mov di, dx
push ecx
push ebx
cmp ch, bl
not ebx
test ch, 0x1e
xchg cl, dh
push eax
cmp cx, ax
stc
or eax, eax
push esi
cmp di, si
dec bx
mov di, 0x7c86
xor edi, eax
sbb si, 0x50dd
nop
rol dl, cl
xor dx, 0x5759
adc esi, 0x5cac5875
test dh, bh
adc eax, 0x3659cd17
sub ah, 0x42
shl cl, cl
ror cl, cl
rol bl, cl
and esi, edi
xor dx, cx
test ecx, ecx
shl bl, cl
dec ebx
nop
rol cl, cl
or bh, 0x14
cmp bh, ah
xchg esi, ebx
mov di, dx
or ecx, edx
and ax, 0x2aa
and dx, 0x5c4e
dec si
xchg ebx, ecx
rol edi, 7
not dl
shr ebx, 5
shr eax, cl
adc cl, 0x34
shl bh, cl
and esi, edi
rol edi, 8
sub al, dh
add di, 0x6804
sbb dh, 0x63
stc
stc
not si
shl edx, cl
add dx, 0x6c52
sbb dl, 0x77
shl eax, 2
stc
cmp al, 0x58
sbb dl, dh
ror dl, 4
ror ecx, cl
xor ah, 0x1b
dec dx
and ebx, esi
ror cl, cl
shl al, cl
ror edi, 2
xchg dl, bh
or edx, ecx
cmp al, cl
mov dl, 0x7f
inc dx
xor ax, 0x6903
test bh, 0x36
test ecx, 0x171eb52a
mov bx, dx
xchg edx, eax
stc
not dl
shr bh, 5
stc
or ecx, 0x12d71f78
sub dh, al
or ax, 0x7db6
add al, 0x61
not bx
nop
shl dl, cl
xchg esi, eax
cmp al, ah
xchg cx, di
test ecx, 0x2a8898f7
nop
and dx, 0x19e4
rol ch, cl
not eax
dec ah
not ecx
xor dx, si
pop esi
not edi
inc dl
push esi
xchg bx, si
dec bh
sbb cx, dx
cmp ax, si
xchg si, dx
xchg edi, ecx
xchg bl, ch
mov ah, dl
xor dx, 0x443d
sub cl, al
sub ch, 0
add di, 0x2b5d
not si
or ebx, edx
mov al, cl
shr bx, cl
mov ecx, 0x2636f027
nop
test ah, 0x24
xchg bl, bh
sub ebx, esi
and ebx, 0x210b25ae
nop
not dx
shl ebx, 2
mov esi, edi
test ch, 0x24
xor ecx, ebx
sbb ah, 0x54
cmp ebx, esi
shr di, cl
shl ebx, cl
cmp cl, dh
cmp ecx, ebx
ror ecx, cl
test ecx, edi
dec edx
shr ax, 7
and ah, 0x51
shr esi, 5
shl bl, cl
and ah, ah
test dx, dx
dec bl
nop
shl dl, cl
mov si, 0xfd4
shr al, cl
xchg bx, ax
stc
ror si, cl
test edx, 0x3fe9e969
cmp ah, cl
xor bh, cl
shl ah, cl
dec dx
stc
sub edx, eax
or edx, 0x5a0dfdbb
inc ebx
rol dl, cl
inc cl
or ax, cx
sbb si, 0x13e2
cmp dx, 0x32ab
sbb dl, 0x63
inc al
stc
adc dl, dl
test ecx, 0x662aadbf
sub cx, 0x59ea
add bx, bx
xchg si, di
adc si, ax
xchg bx, ax
xchg bx, ax
xor al, 0x75
shr bh, 8
not esi
inc ah
xchg esi, edi
dec ecx
xchg di, si
rol eax, 2
xchg bh, ah
dec ebx
inc dl
add al, dl
dec bh
xor dh, ch
add cx, dx
ror dh, cl
dec edi
or cx, si
ror bx, 3
dec dh
rol bh, cl
sub dx, bx
pop esi
and ax, 0x115d
inc ax
or cx, 0x75b3
mov cl, 0x17
sbb al, 0x55
stc
and dx, 0x16bd
add cx, bx
stc
or dl, 0x1e
shr al, cl
test ah, 0x59
push esi
sub esi, 0x311fc9f6
test ah, cl
test ah, dl
adc ecx, 0x3821be07
xchg edi, ecx
not bl
test eax, 0x7a624295
add edx, 0x4b3af335
dec edx
add dh, 0x77
cmp bh, dh
and ah, ah
dec edx
xor dx, ax
shr al, 4
xchg esi, ebx
adc ax, di
dec ax
test edi, 0x13c40a74
cmp esi, ecx
sub dx, 0x6ab8
test di, si
not ax
dec edx
adc di, bx
sub di, 0x5365
inc esi
not edi
and bx, si
cmp ecx, 0x28a969e4
sbb ch, 0x61
inc edi
mov bl, 0x1a
or ecx, 0x4cb24f28
xchg edx, eax
inc ch
or ecx, ecx
add ecx, 0x68d0d2c0
shr edx, cl
sbb ecx, 0x3d132c6a
not dh
and ch, 0x59
shr dl, 7
stc
adc esi, edx
rol cx, 7
sub ecx, eax
sbb al, ch
test cx, cx
stc
xor ebx, eax
shr dl, 4
dec al
shl dl, cl
mov bx, 0x739f
ror ch, 8
nop
stc
test bx, cx
shl ebx, 7
shl di, 3
dec dh
mov bl, cl
nop
mov bl, 0xa
ror dx, 6
shl eax, cl
xchg edx, edi
stc
or si, di
and cl, 0x3a
inc al
adc dx, di
dec cl
dec edi
shl edx, 1
adc ax, di
or ecx, ecx
xchg si, ax
rol ecx, cl
inc ecx
xor al, 0x78
nop
adc dh, 0x2f
test dl, al
dec bl
xor ebx, 0x58e2549f
pop esi
pop eax
pop ebx
pop ecx
pop edx
pop edi
push ecx
push edi
and cx, di
nop
push ebx
inc bx
push esi
shr esi, 8
push eax
sub al, 0x64
ror cl, 6
push edx
shr edx, cl
nop
inc dx
adc bx, cx
dec ax
add dx, 0x4a11
shr cl, cl
rol si, 8
xchg ecx, esi
stc
sub si, 0x4a77
ror ecx, cl
cmp bl, al
mov cx, bx
xchg si, di
not dx
add al, al
stc
rol ah, cl
mov dl, 0x3c
dec al
nop
sbb edi, 0x63f0ed63
add bh, bh
rol edx, cl
nop
or ecx, ecx
sbb esi, 0x464fea29
shr dh, 5
xchg dx, si
add ax, 0x4555
nop
sbb ebx, ebx
sbb ecx, edx
cmp edi, 0x66c7983f
sub di, 0xfb6
ror ax, 7
dec dx
inc edx
xchg ah, al
adc ecx, ebx
ror bl, cl
nop
and di, ax
xor ax, 0x7b05
cmp ah, 0x46
adc al, 0x21
nop
xchg edi, eax
cmp bl, dl
sbb ch, 0x73
not bl
rol dl, 5
shl bx, cl
or dx, 0x52de
adc bx, ax
add al, bl
dec dl
dec dl
rol si, 4
test ebx, eax
not di
mov bl, 0x4e
cmp eax, ecx
test dl, bl
dec ah
cmp edi, ecx
xor bl, 0x70
adc si, cx
or esi, edx
or dh, bl
not bx
pop edx
pop eax
pop esi
pop ebx
pop edi
pop ecx
push ecx
sub cx, 0x787a
push eax
mov eax, 0x2222c258
push ebx
sub bx, 0x23e4
xchg ebx, ecx
push edx
xchg dx, ax
xor ebx, 0x4fa11771
sub ah, 0x28
or ah, bh
cmp al, 0x20
push esi
shl si, cl
or dx, 0x5f0d
xor bx, 0x2a8e
push edi
sbb edi, 0x27c72f15
or dl, 0
sub ebx, ecx
rol ebx, cl
or ebx, 0x22e70c8a
inc ax
or al, dh
sbb ebx, edi
stc
sub dh, 0x42
ror si, cl
xor bx, 0x45e0
xor dh, 0x28
nop
and di, 0x201b
dec dl
not ecx
sbb edi, ebx
stc
sbb edx, eax
stc
inc dl
add bh, 0x36
not cl
not al
not cl
or ah, al
shr esi, 8
pop edi
pop esi
pop edx
pop ebx
pop eax
pop ecx
push edx
test edx, 0x53744ca7
nop
push ecx
sub ch, ch
push ebx
xor bx, 0x24ba
and ebx, edx
push esi
xchg si, cx
push eax
and ah, cl
shr dl, 6
shl eax, cl
shl bh, cl
stc
push edi
ror edi, 4
shr al, 1
shl di, cl
or bx, 0x4275
sub edi, 0x502415f8
sbb ch, cl
add edx, eax
sub ax, 0x45a
shr si, cl
adc cx, 0x6a1c
xchg edi, ecx
dec cl
inc eax
mov edi, 0x35a09f11
adc dh, al
stc
sbb ch, 0x69
nop
or edx, 0x68595db1
stc
shr cl, 7
and dh, ch
not dl
sub dh, bh
rol ah, 2
adc ax, 0x6a92
add ebx, 0x6902dd93
add bx, bx
or cx, si
or edi, 0x7c7fb0ee
nop
xor dh, 0x13
adc edx, ebx
add dh, dl
sbb bx, di
sub ah, dl
dec ebx
dec dh
sub edi, 0x734f73e
nop
ror di, 8
mov al, 0x1f
or bx, di
mov ecx, esi
rol ecx, 3
dec bh
cmp eax, esi
stc
or edi, ebx
sbb eax, 0x20378eb2
sub edx, edi
cmp edx, edx
adc edx, edi
mov edx, ecx
sbb dx, 0x5c58
inc cx
nop
ror edi, cl
or eax, 0x343785eb
stc
and ax, 0x8af
and ax, 0x3f34
inc esi
rol si, 6
xchg bx, di
pop edi
pop eax
pop esi
pop ebx
pop ecx
pop edx
jl 0x518ace
jno 0x518aca
push edi
or edi, edi
pop edi
push ebx
cmp ebx, 0x24db1739
pop ebx
push edx
push ecx
and dh, cl
pop ecx
pop edx
push eax
inc ah
pop eax
pop ebp
ret