Function at 0x1417fff9b
Capabilities:
Manually build aes constants

Disassembly:
xchg dh, dl
movzx eax, word [r9 + riz - 2]
push rdx
movzx ecx, word [rsp + 1]
lea rcx, [rdx*8 - 0x4cb81e6]
xor ax, r10w
add ax, 0x779e
lea rbp, [rcx + rcx + 0x201ec7bd]
neg ax
not ax
btr ebp, 0x80
inc cl
xchg qword [rsp + rbp - 0x5822ce80], rbp
rol ax, 1
xchg byte [rsp + 1], ch
add rcx, 0xffffffff90a97e2f
xor r10w, ax
movzx r11d, word [rsp + 1]
sub qword [rsp + r11 - 0x2203], r11
lea rax, [rsp + rax + 8]
mov rdi, qword [r11 + rax - 0x2203]
ror qword [rsp + r11*2 - 0x4406], cl
mov rax, rdi
movsx esi, byte [rsp + r11 - 0x2203]
inc word [rsp + r11*2 - 0x4403]
mov ebp, dword [r8 + r11*4 - 0x880c]
shl r11b, 0x41
lea r8, [r8 + r11*2 - 0x4408]
btc rsi, 0x3a
and word [rsp + r11 - 0x2202], cx
mov dword [r11 + rax - 0x2206], ebp
rol byte [rsp + r11 - 0x2205], 0x81
mov r11d, dword [r9 + r11 - 0x220c]
xor qword [rsp], rdx
lea rax, [rsi + rcx*4 + 0xa28570a]
mov edi, edx
sbb r9, 6
xadd qword [rsp], rax
xor r11d, r10d
call fcn.1417cc3e2
push 0xffffffffba8a429f
xor edi, r10d
shl byte [rsp], 0xa3
ror edi, 1
inc dword [rsp + 3]
not edi
jo 0x1417ab768
shl byte [rsp + 6], 0xc7
je 0x1417e7161
adc edi, 0x80b919a3
push 0xffffffff85a2670e
neg edi
push 0xdbcb5b3
dec byte [rsp + 2]
mov qword [rsp + 0x10], r10
call fcn.1417f912d
mov r11d, 0x3c29a989
lea r9, [r9 + r11*2 - 0x78535316]
mov ebp, dword [r9 + r11*2 - 0x78535312]
movsx esi, r11b
xor ebp, r10d
push rsi
ror ebp, 1
sub ebp, 0xff979f04
mov edi, dword [rsp + r11*2 - 0x78535310]
mov ecx, 0x702918ba
push rsi
neg ebp
mov edx, ecx
shr byte [rsp + r11 - 0x3c29a980], 0xc6
mov eax, 0x211d802a
rol ebp, 3
shr rcx, 0x5c
mov qword [rsp + r11 - 0x3c29a981], r10
div qword [rsp + r11*2 - 0x78535312]
push rdx
xor dword [rsp + r11*2 - 0x78535302], ebp
inc r11
xchg dword [rsp + r11 - 0x3c29a98a], r11d
push rdx
mov r10, qword [rsp + rdi - 0xffe7]
movsxd rbp, ebp
mul qword [rsp + r11 - 0x72798cd8]
neg ax
cmovg si, cx
add rbx, rbp
not esi
mov word [rsp + rsi - 0xffe4], dx
pop rbp
mov ebp, dword [r8 + r11 - 0x72798ce8]
idiv qword [rsp + rsi*8 - 0x7ffbb]
mov cl, byte [r8 + r11 - 0x72798ce4]
cdqe
mov qword [rsp + rsi - 0xffe8], r11
lea r8, [r11 + r8 - 0x72798ce6]
add dl, 0x3d
cwde
jle 0x14182eb4a
mov esi, dword [r9 + rsi - 0x98]
jb 0x1417dbf08
mov edx, 0xc419a9b0
jmp 0x1417c7938
call fcn.141821c39
movzx esi, dl
bswap edx
mov word [rax + rsi*8 - 0x4c0], bp
lea r9, [r9 + rsi - 0x9c]
movsx eax, dx
ror word [rsp + rsi - 0x98], 0xb
jb 0x1417ed087
mov rax, qword [r8 + rcx - 0x57a92500]
shl byte [rsp + r11 - 0x6a9d0eae], 0x41
push rcx
xor dx, 0xfd8f
mov r11b, byte [rcx + r8 - 0x57a924f8]
mov byte [rax + rcx - 0x57a92500], r11b
pop rcx
and si, word [rsp + rcx - 0x57a924fd]
shl dl, 0x41
mov ebp, dword [r8 + rcx - 0x57a924f6]
movsx eax, dl
lea r8, [r8 + rcx - 0x57a924f2]
mov qword [rsp + rcx - 0x57a92500], rcx
movzx r11d, byte [r9 + rcx - 0x57a92505]
movsx edi, byte [rsp + rcx - 0x57a924fc]
lea r9, [rcx + r9 - 0x57a92505]
adc edi, 0x681113a5
shl rdi, 0xd0
xor r11b, r10b
ror dword [rsp + rcx - 0x57a92500], 0x52
adc r11b, 0x98
neg r11b
cdqe
add r11b, 0x95
inc dword [rsp + rax*4 + 0x6c]
call fcn.1417e0d6f
mov r10, qword [rsp + rax*2 - 0x2320004]
cdqe
movsxd rdx, edx
adc rbx, rdx
dec di
rol edi, 0x99
lea rbp, [r8 + rax*2 - 0x2320008]
mov qword [rsp + rax - 0x118fffe], 0xffffffffa634e596
mov qword [r8 + rax*2 - 0x2320010], rbp
or r11, r11
push r11
neg word [rsp + rax*2 - 0x232000a]
lea r8, [r8 + rax - 0x119000a]
or byte [rsp + rax - 0x118ffef], ah
pop rsi
pop rdx
pop rcx
jp fcn.1417fa90c
sub r9, 4
mov edi, 0x12292e14
sal dil, 0x42
shl rdi, 0x2e
xor edi, dword [r9 + riz]
jmp 0x1417e888a
lea rax, [rdx + rdx - 0x72c2ab75]
pop rdx
pop rbp
pop rbp
pop rsi
pop rdx
jno fcn.1417fa90c
mov ecx, 0x9a37be82
lea rdi, [rcx*4 - 0x67da6a4b]
mov r11d, dword [r8 + riz]
lea rsi, [rsp + 0xbc]
lea rdx, [rcx + 0x6aa3772c]
lea rbp, [rcx + rcx + 0x77922f00]
mov dword [rsi + riz], r11d
lea rax, [rdi + rdi*2 + 0x2315c832]
mov esi, dword [r8 + riz + 4]
movzx edi, byte [r9 + riz - 1]
rol eax, 0xbc
jae 0x1417a70ce
mov ebp, 0x5ca4280d
movzx esi, bp
mov edx, dword [r9 + rsi - 0x2811]
xor edx, r10d
lea rax, [rbp + rbp*2 - 0x979cefa]
movsx edi, si
dec edx
lea rcx, [rbp*2 - 0x70cb2641]
xor edx, 0xdd83640c
imul eax, edi
dec di
ror edx, 2
sub ax, 0x5529
sets cl
sal di, 0x46
neg edx
bswap edx
xchg cx, ax
sar rbp, cl
movsx r11d, ax
push r10
inc dil
ror rsi, 2
xor dword [rsp + rbp*2], edx
bts ecx, ecx
xadd bp, di
sar rbp, 0xcd
pop r10
ror si, 9
cdqe
neg r11w
movsxd rdx, edx
idiv sil
add rbx, rdx
mov rsi, qword [r8 + rsi*4 - 0x614]
movzx edx, cx
bswap ecx
and rcx, 0xffffffffd737192b
mov rax, qword [r8 + rbp*8 + 8]
jge 0x1417f0db9
pop r10
not eax
call fcn.141816a77
adc rbx, rdi
jmp 0x1417f3635