Function at 0x1813a08a9
Capabilities:
Execute anti-debugging instructions
Manually build aes constants

Disassembly:
mov qword [r9 + rax - 0x5220210f], rdi
mov esi, dword [rsp + rax - 0x5220211b]
lea r9, [r9 + rax - 0x5220210f]
bswap rsi
lea rdx, [rsi*4 + 0x6d328e2b]
mov ecx, dword [rbx + rax - 0x5220211f]
lea rbx, [rax + rbx - 0x5220211b]
inc dword [rsp + rax - 0x5220211e]
xor ecx, ebp
shr byte [rsp + rax - 0x5220211a], 0x23
movsx r11d, ax
dec r11
neg ecx
sar word [rsp + rsi + 2], 4
sar qword [rsp + rsi*2], 0x10
shl sil, 1
bswap ecx
jns 0x1814070ab
not dx
add dx, 0xd79d
not byte [rsp + r9*4 + 8]
push rax
btr ebx, 0xa0
neg dx
bts r8w, 0x1a
ror dx, 1
btr r9d, 0x1b
bt r9w, 0x1f
sbb dx, r9w
neg qword [rsp + rbx - 0x5a1e7b9e]
mov edi, eax
xor bp, dx
lea rdx, [rsp + rdx + 0x18]
shr ebx, 0x2a
not rdi
xchg byte [rsp + rbx*8 - 0xb43ce3], r8b
mov dword [rdx + rbx*2 - 0x2d0f3c], ecx
mov edx, 0x392fd4b7
jb 0x18140504f
mov r9w, word [r9 + rsi - 0x6d5227a6]
movsx r8d, bx
lea rsi, [rsi + r8*2 - 0x2dfc]
movzx edi, bx
mov word [rax + rbx - 0x61361703], r9w
mov ecx, r8d
movzx eax, bl
lea r11, [r11 + r8*4 - 0x5c10]
mov r9d, 0x13e04a3
shl r9b, cl
imul r8d, ebx
mov r8d, dword [r11 + rbx - 0x61361703]
movsx edx, cl
jae 0x1813b1eff
xor r8d, ebp
dec ax
shl dil, 0x41
rol r8d, 1
xchg cl, bl
idiv rcx
bswap r8d
xadd rdx, rdi
sal r9w, 0xcd
rol ebx, cl
rol r8d, cl
neg r8d
rol r8d, 1
btc cx, ax
and dx, di
inc r8d
add edx, r9d
push rbp
xor dword [rsp + rbx - 0x9b0b81b], r8d
and rbx, rbx
pop rbp
lea rcx, [rdi - 0xd60b6cf]
shr bx, 0x21
movsxd r8, r8d
xchg di, r9w
add r10, r8
ror bl, 0xa2
not edx
lea rcx, [rdi + rcx*2 - 0x117c7751]
adc rdi, r10
jmp rdi
rol ecx, 1
mov r8d, edx
lea ecx, [rax + rcx + 0x74bd25ab]
not edx
lea r9, [r8 + rax*8 - 0x15e4fd2]
shl r8, 0x9a
rol ecx, 1
call fcn.1813e321f
mov rsi, qword [r9]
mov eax, 0x5220211f
mov rcx, qword [r9 + rax - 0x52202117]
add rsi, rcx
mov qword [rsp + rax - 0x5220211f], rax
mov rdi, rsi
mov r11, qword [rax + r9 - 0x5220210f]
rol word [rsp + rax - 0x5220211b], 0x2f
adc rdi, r11
jmp 0x181331da1
mul word [rsp + rdx + 0x2903d45]
xor ecx, ebp
xor ecx, 0x3226fe9a
jmp 0x1813593b7
btr edi, 0xb2
adc rbx, 3
dec r10w
xor esi, ebp
neg esi
shr rdi, 0xdb
dec dil
je 0x1813cf7f7
lea esi, [rdi + rsi - 0x3795c393]
dec edi
inc r11b
adc r11, rdx
ror esi, 1
rol dil, 1
lea esi, [rsi + rdi - 0x1782194d]
movsx eax, di
push rbp
jb 0x181343dd7
movsx ebp, di
xor dword [rsp + rdi*2 - 0x3c], esi
not r10w
cdqe
xadd dl, dil
pop rbp
movsxd rsi, esi
dec ax
sal dil, 0xa6
adc r8, rsi
xor rdi, r8
jmp rdi
mov qword [rsp + rbx*4 - 0x5a1e78], r10
ret 0x10
lea r10, [r11 + rax*2 - 0x7d8f654]
lea ecx, [rcx + rax - 0x4a7bbc84]
mov qword [rsp + r11 - 0x211e], rsi
sal byte [rsp + rax - 0x5220211b], 0x24
call fcn.181373465
mov rcx, qword [r9]
mov r10d, 0x8ba36236
movsx esi, r10b
mov edx, 0x8d9fc217
mov eax, dword [r9 + rsi - 0x2e]
neg r10b
lea r9, [r9 + rsi*2 - 0x60]
mov edi, edx
movsx r11d, dl
mov dword ss:[rcx + rsi*2 - 0x6c], eax
lea r11, [r11 + rdx - 0xcd84b44]
xadd sil, r10b
add r10b, 0xb0
add esi, dword [rbx + rsi]
shl dl, 0x86
js 0x1813e0fb0
inc r10
mov qword [rsp + r11*2 - 0xb27f02a], rbp
push r10
xor dword [rsp + r11 - 0x593f809], eax
sub dword [rsp + r11 - 0x593f80e], r10d
sar word [rsp + r11*8 - 0x2c9fc0c6], 0x8b
mov rbp, qword [rsp + r11*2 - 0xb27f022]
ror dword [rsp + r11*2 - 0xb27f02d], 9
mov qword [rsp + r11*4 - 0x164fe054], 0x68913aa8
movsxd rax, eax
jae 0x1813fbe2a