Function at 0x140351a8d
Capabilities:
Manually build aes constants

Disassembly:
lea rdi, [rdi + rbx*8 + 8]
lea rdx, [rax + rax*8 - 0x19525946]
ror ax, 0xc2
xchg ebx, esi
xor ebp, r10d
xor ebp, 0xf122e03f
sar rdx, 0x37
push rcx
not ebp
shl byte [rsp + rbx*4 - 0x3f9], 0x87
sbb esi, dword [rsp + rbx*4 - 0x3f8]
rol ebp, 3
imul bl
btr eax, esi
adc ebp, edx
rol ebp, 1
shr cx, 0xe3
sbb ebp, 0xe284f78a
mov qword [rsp + rbx - 0xff], r10
cqo
push rsi
not dword [rsp + rax - 0x7fff0017]
xor dword [rsp + rax - 0x7fff0010], ebp
idiv si
lea r10, [rbx*8 + 0x6188abb3]
mov r10, qword [rsp + rbx*8 - 0x7f0]
ror rcx, 0x54
movsxd rbp, ebp
cdqe
and byte [rsp + rax - 0x7ffefffb], ch
adc r8, rbp
bt rax, rax
dec qword [rsp + rax - 0x7fff0000]
or rax, rax
mov eax, dword [r9 + rbx*2 - 0x202]
mov ebp, dword [r9 + rbx*2 - 0x1fe]
jp 0x140372f67
mov r11d, 0xe10bbf8c
mov r11, qword [r9 + riz]
call fcn.140377488
pop rsi
call fcn.140377a91
mov edx, 0x618c5a2
mov ebp, dword [rdx + rdi - 0x618c5a2]
shl rdx, 0x46
movzx r11d, dx
push rdx
lea rdi, [r11 + rdi - 0x687c]
xor ebp, r10d
movsx ecx, r11b
rol rcx, 0x4c
push r11
inc ebp
not word [rsp + r11*2 - 0xd100]
sar byte [rsp + r11*4 - 0x1a1fb], 0x41
xor ebp, 0x938fe70d
lea ebp, [rbp + r11 - 0x6bada50f]
mov esi, 0xb19ca382
lea rbx, [rsi + rdx + 0x7a81731]
bswap ebp
mov qword [rsp + r11*2 - 0xd0f8], r10
movzx eax, si
xor dword [rsp + r11 - 0x6878], ebp
not esi
mov r10, qword [rsp + r11 - 0x6878]
movsxd rbp, ebp
add r8, rbp
mul ecx
mov r9w, word [rdx + r9 - 0xa37c]
jb 0x140367027
xor bpl, r10b
call fcn.14038208e
mov eax, 0x60d820b
mov ax, word [r9 + rax*8 - 0x306c1058]
mov ecx, 0x5b95d6ac
mov ebx, 0x1792ca92
lea r9, [r9 + rbx*2 - 0x2f259522]
movzx r11d, bl
mov r11b, byte [rdi + rcx - 0x5b95d6ac]
lea rdi, [rcx + rdi - 0x5b95d6ab]
mov edx, ecx
movzx esi, dx
lea rcx, [rdx*4 + 0x57141739]
xor r11b, r10b
rol r11b, 1
rol edx, 0x62
adc r11b, 0xbb
not r11b
neg bx
neg r11b
imul edx, ebx
mov ebp, 0x30f8324
bts dx, 3
xor r10b, r11b
add r11, rsp
sub rbp, rdx
bt rdx, 0x3c
mov byte [r11 + rbx - 0x1792356e], al
rol ebx, 0x1a
mov esi, dword [rdi + rdx - 0x1f419d0e]
sbb bp, cx
lea rdi, [rdx + rdi - 0x1f419d0a]
xchg ecx, ebx
lea r11, [rbx + rbp*2 - 0x3645b8f6]
add rcx, 0x4f94eea5
xor esi, r10d
ror bx, 0x6d
add rdx, rbp
neg cl
lea esi, [rsi + rcx - 0x4f6e5cf1]
sar cl, 0x24
jae 0x1403626f8
mov eax, 0xb320a32f
mov edx, dword [rdi + riz]
xor edx, r10d
movsx ebx, al
movsx ecx, bx
sar rbx, cl
not edx
movzx esi, bx
shr esi, cl
bts rax, rcx
rol edx, 1
xor al, sil
push rax
lea edx, [rdx + rbx*2 - 0x3ea4139d]
pop rbp
dec sil
ror edx, 3
cwde
push r10
rol rbx, 6
movsx r10d, al
jae 0x1403655dc
ror esi, 1
xor cl, r11b
neg rcx
not esi
rol esi, 2
bswap rbx
lea rax, [rbx + rbx*8 - 0x21451e5a]
xor r11w, r11w
dec esi
not ax
bswap esi
neg esi
sal cx, 0x8f
sub ebp, ebp
push r10
lea rbp, [rcx + rdx*8 - 0x2fc8a6c5]
jle 0x140376ae5
mov r11d, 0xa5171120
mov ecx, r11d
lea rbx, [rcx + r11*4 - 0x6e49a16e]
mov si, word [r9 + riz]
add r11, r11
sbb r11w, cx
xchg r11d, ecx
lea r9, [r9 + rcx - 0x4a2e111e]
movsx edx, bl
push rcx
movzx ebp, word [rdi + rdx*4 - 0xc8]
lea rdi, [rcx + rdi - 0x4a2e111e]
shr r11, cl
xor bp, r10w
ror bp, 1
push rdx
not bp
imul bx, word [rsp + r11*2 + 4]
xor bp, 0x437
mov eax, dword [rsp + r11*2 + 3]
lea rax, [rcx*2 - 0x6f410beb]
lea rcx, [rax*4 - 0x7fd90d7c]
neg bp
xor r10w, bp
call fcn.14032bb93
xor dword [rsp + rbx], edx
xor rcx, rbp
pop r10
mov dword [r9 + rbx*2 - 4], edx
mov ebp, dword [rdi + rbx + 4]
rol rbx, 0xf7
sar ax, 8
jne 0x14034febc
and eax, ebp
movsx r11d, word [rsp + rbx*4 - 0x3f8]
inc ebx
not eax
mov dword [r9 + r11*4 - 0x3fc], eax
mov qword [rsp + rbx*4 - 0x400], r8
ret 8
xor dword [rsp + rdx*2 - 0x61e2274], esi
sal r11, 0x1a
pop r10
movsxd rsi, esi
adc r8, rsi
bt bp, dx
jae 0x14038179a
jmp r8