Function at 0x520ffb
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push edx
push ebx
add dl, bl
push esi
xor esi, 0x7ad0a497
push ecx
mov cx, bx
not si
rol esi, 1
shl si, 1
push eax
add ah, 0x24
mov dx, 0x405
shl eax, cl
stc
mov al, 0x75
xor bl, 0x2b
xchg edx, eax
and bx, bx
shl bh, cl
adc bx, si
mov ecx, 0x4098e934
shl cx, 8
nop
add dx, ax
ror dx, cl
adc eax, 0xdcb4afc
sbb cl, al
sub ecx, 0x42d28481
push edi
ror edi, cl
sub esi, 0x316547c4
shl bx, cl
not bx
rol ecx, cl
nop
xchg edx, edx
rol al, 7
ror di, 7
nop
sbb bx, 0x4320
sub esi, 0x3b8fa073
cmp bl, 0x74
shl ecx, 4
ror ecx, 6
or cl, dh
sub bl, 0x7a
add dl, 0x5e
ror bl, cl
xchg ah, dh
cmp esi, 0x3e20f1fe
sbb dx, ax
and di, ax
xchg bh, al
sub ebx, edi
sub edi, eax
stc
rol si, cl
sbb bl, dh
sbb ebx, 0x1554341
sbb edx, 0x382df9db
rol dx, cl
not dh
not ax
stc
cmp bh, bl
test ecx, 0x616d8aa5
not esi
test ecx, 0x2f700c4
shr ch, 2
sbb di, 0x5aed
shr cx, cl
or di, 0x7279
sbb ebx, 0x5ee4fa21
or si, bx
or bl, bh
adc bx, 0x37b7
or cx, 0x2bc4
xor ecx, 0xbc6476e
dec di
ror cl, 3
nop
xor al, 0x60
dec dl
shl ah, 3
mov esi, ecx
inc ax
test ax, cx
shl cx, 3
nop
stc
add esi, 0x353f945c
xor edx, edi
nop
dec ebx
and ch, 0x2e
xor bl, 0x63
sub ebx, 0xdf7493a
inc ecx
test bl, bl
test edx, 0x2500c1d4
ror ebx, 5
dec bl
test esi, eax
stc
nop
pop edi
stc
not bh
shl bh, cl
or eax, ecx
or al, bl
or edx, 0x198ecc98
rol ebx, 5
add dl, 2
xchg ch, ah
sbb ax, 0x19fc
cmp eax, ecx
sbb si, dx
inc bl
nop
and ah, bh
sbb bx, 0x5cab
not eax
sub dl, ch
inc ah
push edi
not di
add eax, 0x62733ba7
dec dx
sbb edi, esi
and bl, ah
add si, 0x5c5f
sbb bh, dh
test eax, 0x54354c12
not di
mov dl, ch
stc
not dl
dec ecx
nop
dec ax
nop
xor bh, 0x7e
add dx, 0x452a
cmp dx, cx
sbb ax, 0x6c31
not esi
or di, di
add esi, ebx
and eax, 0x5248435
xor ax, 0x50d1
mov dh, dh
and edx, 0x214a0459
mov edx, 0x23324115
mov edi, ecx
inc di
dec esi
and ax, bx
stc
nop
xor bx, ax
inc edi
add dl, 0x1c
cmp bl, 0x1b
nop
ror bl, cl
cmp al, 0x58
inc cl
and bh, 7
cmp dh, bh
xchg di, cx
not ah
mov cl, dh
dec cx
sbb al, 0x28
nop
shl ecx, cl
stc
or bl, al
ror cx, cl
inc cl
mov ax, 0x46ed
sbb dx, si
xor ch, al
sbb bh, dl
inc di
and edx, eax
rol bh, cl
mov si, cx
shr cx, 5
ror ax, cl
test bh, ch
test bx, si
not si
shr esi, cl
xor cl, 0x76
xor al, 0x4c
nop
nop
stc
ror edi, cl
xor bx, 0x5e29
inc dx
rol dx, cl
inc cx
ror bl, cl
or al, bh
pop edi
push edi
not di
cmp esi, 0x6c42e2bf
and ecx, edx
sbb dx, ax
sub di, 0x7312
mov edi, edi
shl ax, cl
adc edi, 0x6c65bdfb
nop
test dl, 0x1c
nop
adc esi, eax
stc
or esi, edi
nop
ror bh, cl
dec bl
and ax, dx
sub eax, edi
inc dx
not bx
sbb dh, cl
sbb bx, bx
or ch, bh
xchg edx, ebx
cmp ecx, edi
cmp ah, ch
sbb dl, al
shr dh, cl
stc
add dl, dl
add bh, dl
and si, ax
rol edi, cl
adc ax, dx
sbb dx, bx
sbb edi, 0x2bfa4a96
stc
cmp ax, 0x12c5
dec ebx
sub di, 0x231
not dl
shl esi, cl
mov esi, eax
nop
shl ah, 6
cmp ax, dx
shl dx, 5
sbb ch, 0x15
xchg dh, dh
add cx, di
sub bh, dl
xor dh, bh
cmp esi, edx
shl dx, 7
stc
pop edi
pop eax
pop ecx
pop esi
pop ebx
pop edx
jecxz 0x5212c2
jne 0x52134d
push edx
push ebx
test dx, bx
nop
inc edx
push ecx
xchg cx, bx
push esi
mov edx, esi
push edi
sub di, 0xa59
inc esi
xor dx, bx
push eax
and eax, 0x27a813c8
and ebx, esi
sbb ah, al
or ebx, eax
adc dx, si
inc al
mov ax, bx
not ax
mov al, ch
stc
inc bl
nop
xchg ah, ah
test bx, 0x3c90
cmp ecx, ecx
test di, dx
sbb dl, dh
xor cl, dl
pop eax
pop edi
pop esi
pop ecx
pop ebx
pop edx
push ebx
inc ebx
push edx
and dh, 0x3f
push ecx
sub ecx, ecx
push edi
or di, 0x7d81
push esi
xchg esi, edx
test edx, 0x721980b8
add dx, 0x1aa0
rol edi, cl
pop esi
pop edi
pop ecx
pop edx
pop ebx
push ecx
push eax
xchg ch, al
push edi
shl edi, cl
adc edi, edi
push edx
rol edx, cl
pop edx
pop edi
pop eax
pop ecx
stc
push ecx
test ch, 0x66
pop ecx
push edi
xchg edi, edi
push ecx
shl ecx, 5
push ebx
mov bx, bx
pop ebx
pop ecx
pop edi
push ebx
push ecx
shr bx, cl
push eax
xchg bx, ax
shr eax, 7
push esi
shl si, 5
or cl, 0x22
add ch, 0x1a
push edi
push edx
cmp di, dx
nop
dec dh
shl ah, cl
add cx, bx
xor si, 0x6fb
xchg bh, cl
adc eax, esi
mov bx, 0x18ff
sbb bh, ch
and edi, esi
cmp edx, 0x3f645045
xor dl, 0x4a
pop edx
pop edi
pop esi
pop eax
pop ecx
pop ebx
push edi
push edx
cmp di, dx
xchg dh, dh
nop
pop edx
pop edi
push edi
push esi
xchg di, si
push ebx
inc bh
push eax
push ecx
sbb ax, cx
push edx
adc dx, 0x1ca4
not ebx
xor bh, bl
pop edx
pop ecx
pop eax
pop ebx
pop esi
pop edi
push eax
sub ax, 0x1a2b
push edi
push ecx
shr edi, cl
pop ecx
pop edi
pop eax
push edx
push ebx
adc dl, bl
ror bl, 3
push ecx
push esi
xor ecx, esi
shr cl, cl
shl ebx, cl
nop
shr bx, cl
sbb esi, 0x553446d
and bl, dh
ror edx, 8
rol edx, 5
shr edx, 5
test dh, 0x63
sub dl, 0x5b
inc bx
inc ch
push eax
adc ax, cx
xchg dl, bh
rol cx, 7
pop eax
pop esi
pop ecx
pop ebx
pop edx
stc
push ebx
push eax
adc bx, ax
push esi
push ecx
adc esi, ecx
dec bl
inc ebx
nop
inc eax
adc cx, 0x5299
test ecx, 0x50c795fc
rol ah, cl
push edx
mov dx, cx
push edi
xor di, 0x587a
or ah, dh
add di, 0x2e0
nop
pop edi
pop edx
pop ecx
pop esi
pop eax
pop ebx
push edi
push ebx
mov di, bx
push ecx
shr ch, 2
nop
push esi
dec si
inc ebx
pop esi
pop ecx
pop ebx
pop edi
push edi
inc di
pop edi
pop ebp
ret