Function at 0x140001000
Capabilities:
Manually build aes constants

Disassembly:
sub rsp, 0x238
mov dword [rsp + 0x104], 0
mov byte [rsp + 0x101], 1
jmp 0x140001078
mov eax, dword [rsp + 0x104]
add eax, 1
mov dword [rsp + 0x104], eax
movzx eax, byte [rsp + 0x101]
and eax, 0x80
test eax, eax
je 0x14000104b
mov dword [rsp + 0x210], DispInvoke
jmp 0x140001056
mov dword [rsp + 0x210], 0
movzx ecx, byte [rsp + 0x101]
shl ecx, 1
xor ecx, dword [rsp + 0x210]
movzx eax, byte [rsp + 0x101]
xor eax, ecx
mov byte [rsp + 0x101], al
cmp dword [rsp + 0x104], 0x100
jge 0x1400010b4
movsxd rcx, dword [rsp + 0x104]
movzx eax, byte [rsp + 0x101]
mov byte [rsp + rcx + 0x110], al
movzx ecx, byte [rsp + 0x101]
movzx eax, byte [rsp + 0x104]
mov byte [rsp + rcx], al
jmp 0x14000101c
mov dword [rsp + 0x104], 0
mov byte [rsp + 0x101], 1
jmp 0x14000111b
mov eax, dword [rsp + 0x104]
add eax, 1
mov dword [rsp + 0x104], eax
movzx eax, byte [rsp + 0x101]
and eax, 0x80
test eax, eax
je 0x1400010f8
mov dword [rsp + 0x214], DispInvoke
jmp 0x140001103
mov dword [rsp + 0x214], 0
movzx eax, byte [rsp + 0x101]
shl eax, 1
xor eax, dword [rsp + 0x214]
mov byte [rsp + 0x101], al
cmp dword [rsp + 0x104], 0xa
jge 0x140001144
movzx edx, byte [rsp + 0x101]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018c50]
mov dword [rax + rcx*4], edx
jmp 0x1400010c9
mov dword [0x140018050], 0x63
mov dword [0x14001b20c], 0
mov dword [rsp + 0x104], 1
jmp 0x140001176
mov eax, dword [rsp + 0x104]
add eax, 1
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0x100
jge 0x1400012d1
movsxd rax, dword [rsp + 0x104]
movzx ecx, byte [rsp + rax]
mov eax, 0xff
sub eax, ecx
cdqe
movzx eax, byte [rsp + rax + 0x110]
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x101]
mov byte [rsp + 0x100], al
movzx eax, byte [rsp + 0x100]
shl eax, 1
movzx ecx, byte [rsp + 0x100]
sar ecx, 7
or eax, ecx
mov byte [rsp + 0x100], al
movzx ecx, byte [rsp + 0x100]
movzx eax, byte [rsp + 0x101]
xor eax, ecx
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x100]
shl eax, 1
movzx ecx, byte [rsp + 0x100]
sar ecx, 7
or eax, ecx
mov byte [rsp + 0x100], al
movzx ecx, byte [rsp + 0x100]
movzx eax, byte [rsp + 0x101]
xor eax, ecx
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x100]
shl eax, 1
movzx ecx, byte [rsp + 0x100]
sar ecx, 7
or eax, ecx
mov byte [rsp + 0x100], al
movzx ecx, byte [rsp + 0x100]
movzx eax, byte [rsp + 0x101]
xor eax, ecx
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x100]
shl eax, 1
movzx ecx, byte [rsp + 0x100]
sar ecx, 7
or eax, ecx
mov byte [rsp + 0x100], al
movzx ecx, byte [rsp + 0x100]
xor ecx, 0x63
movzx eax, byte [rsp + 0x101]
xor eax, ecx
mov byte [rsp + 0x101], al
movzx edx, byte [rsp + 0x101]
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018050]
mov dword [rax + rcx*4], edx
movzx edx, byte [rsp + 0x101]
lea rcx, [0x14001b080]
mov eax, dword [rsp + 0x104]
mov dword [rcx + rdx*4], eax
jmp 0x140001165
mov dword [rsp + 0x104], 0
jmp 0x1400012ef
mov eax, dword [rsp + 0x104]
add eax, 1
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0x100
jge 0x1400016fc
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018050]
movzx eax, byte [rax + rcx*4]
mov byte [rsp + 0x101], al
movzx eax, byte [rsp + 0x101]
and eax, 0x80
test eax, eax
je 0x140001338
mov dword [rsp + 0x218], DispInvoke
jmp 0x140001343
mov dword [rsp + 0x218], 0
movzx eax, byte [rsp + 0x101]
shl eax, 1
xor eax, dword [rsp + 0x218]
mov byte [rsp + 0x100], al
movzx edx, byte [rsp + 0x101]
movzx eax, byte [rsp + 0x100]
xor edx, eax
movzx eax, byte [rsp + 0x101]
shl eax, 8
xor edx, eax
movzx eax, byte [rsp + 0x101]
shl eax, 0x10
xor edx, eax
movzx eax, byte [rsp + 0x100]
shl eax, 0x18
xor edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001ac80]
mov dword [rax + rcx*4], edx
movsxd r8, dword [rsp + 0x104]
lea rax, [0x14001ac80]
movsxd rdx, dword [rsp + 0x104]
lea rcx, [0x14001ac80]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001ac80]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001ac80]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a880]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a880]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a880]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a480]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a480]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a480]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001a080]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x14001b080]
movzx eax, byte [rax + rcx*4]
mov byte [rsp + 0x100], al
xor eax, eax
cmp eax, 0xb
je 0x1400014e3
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x1400014e3
movzx edx, byte [rsp + 0xb]
movzx eax, byte [rsp + 0x100]
movzx ecx, byte [rsp + rax]
mov eax, edx
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movsxd rax, edx
movzx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0x21c], eax
jmp 0x1400014ee
mov dword [rsp + 0x21c], 0
xor eax, eax
cmp eax, 0xd
je 0x140001532
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x140001532
movzx edx, byte [rsp + 0xd]
movzx eax, byte [rsp + 0x100]
movzx ecx, byte [rsp + rax]
mov eax, edx
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movsxd rax, edx
movzx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0x220], eax
jmp 0x14000153d
mov dword [rsp + 0x220], 0
xor eax, eax
cmp eax, 9
je 0x140001581
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x140001581
movzx edx, byte [rsp + 9]
movzx eax, byte [rsp + 0x100]
movzx ecx, byte [rsp + rax]
mov eax, edx
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movsxd rax, edx
movzx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0x224], eax
jmp 0x14000158c
mov dword [rsp + 0x224], 0
xor eax, eax
cmp eax, 0xe
je 0x1400015d0
movzx eax, byte [rsp + 0x100]
test eax, eax
je 0x1400015d0
movzx edx, byte [rsp + 0xe]
movzx eax, byte [rsp + 0x100]
movzx ecx, byte [rsp + rax]
mov eax, edx
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movsxd rax, edx
movzx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0x228], eax
jmp 0x1400015db
mov dword [rsp + 0x228], 0
mov eax, dword [rsp + 0x220]
shl eax, 8
mov edx, dword [rsp + 0x21c]
xor edx, eax
mov eax, dword [rsp + 0x224]
shl eax, 0x10
xor edx, eax
mov eax, dword [rsp + 0x228]
shl eax, 0x18
xor edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019c80]
mov dword [rax + rcx*4], edx
movsxd r8, dword [rsp + 0x104]
lea rax, [0x140019c80]
movsxd rdx, dword [rsp + 0x104]
lea rcx, [0x140019c80]
mov eax, dword [rax + r8*4]
mov dword [rcx + rdx*4], eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019c80]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019c80]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019880]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019880]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140019880]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018850]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018850]
mov edx, dword [rax + rcx*4]
shl edx, 0x18
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018850]
mov eax, dword [rax + rcx*4]
shr eax, 8
or edx, eax
movsxd rcx, dword [rsp + 0x104]
lea rax, [0x140018450]
mov dword [rax + rcx*4], edx
jmp 0x1400012de
add rsp, 0x238
ret