Function at 0x140088ce0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140089151
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
mov rcx, r11
mov rax, r9
mov ebx, 4
nop
call fcn.140086d40
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
lea rdx, [rcx - 4]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 4
mov rdi, qword [rsp + 0x78]
add rdx, rdi
mov ebx, 4
mov rax, rdx
mov rcx, rsi
call fcn.140086d40
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x88]
lea rdx, [rcx - 8]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 8
mov rdi, qword [rsp + 0x78]
add rdx, rdi
mov ebx, 4
mov rax, rdx
mov rcx, rsi
call fcn.140086d40
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x88]
add rcx, 0xfffffffffffffff4
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and edx, 0xc
mov rsi, qword [rsp + 0x78]
add rdx, rsi
mov ebx, 4
mov rax, rdx
nop dword [rax]
call fcn.140086d40
mov rdx, qword [rsp + 0x50]
shr rdx, 2
mov esi, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
xor esi, dword [rdi]
mov r8d, dword [rsp + 0x2c]
xor r8d, dword [rdi + 4]
mov r9d, dword [rsp + 0x28]
xor r9d, dword [rdi + 8]
xor eax, dword [rdi + 0xc]
add rdx, 0xfffffffffffffffe
xor ecx, ecx
xor ebx, ebx
xor r10d, r10d
xor r11d, r11d
mov r12d, 4
jmp 0x140088f60
mov dword [rsp + 0x24], eax
mov r13d, esi
shr esi, 0x18
movzx r15d, sil
mov ecx, r13d
lea r13, [0x1400a88a0]
mov esi, dword [r13 + r15*4]
xor esi, dword [rdi + r12*4]
mov r15d, r8d
shr r8d, 0x10
movzx ebx, r8b
lea r13, [0x1400a8ca0]
xor esi, dword [r13 + rbx*4]
mov ebx, r9d
shr r9d, 8
movzx r8d, r9b
lea r13, [0x1400a90a0]
xor esi, dword [r13 + r8*4]
movzx r8d, al
mov r9d, r15d
shr r15d, 0x18
movzx r15d, r15b
lea r13, [0x1400a88a0]
mov r15d, dword [r13 + r15*4]
xor r15d, dword [rdi + r12*4 + 4]
mov r10d, ebx
shr ebx, 0x10
movzx ebx, bl
lea r13, [0x1400a8ca0]
xor r15d, dword [r13 + rbx*4]
mov ebx, eax
shr eax, 8
movzx eax, al
lea r13, [0x1400a90a0]
xor r15d, dword [r13 + rax*4]
mov dword [rsp + 0x34], r15d
movzx eax, cl
mov r11d, r10d
shr r10d, 0x18
movzx r10d, r10b
lea r15, [0x1400a88a0]
mov r10d, dword [r15 + r10*4]
xor r10d, dword [rdi + r12*4 + 8]
shr ebx, 0x10
movzx ebx, bl
lea r15, [0x1400a8ca0]
xor r10d, dword [r15 + rbx*4]
mov ebx, ecx
shr ecx, 8
movzx ecx, cl
xor r10d, dword [r13 + rcx*4]
movzx ecx, r9b
mov r13d, dword [rsp + 0x24]
shr r13d, 0x18
movzx r13d, r13b
lea r15, [0x1400a88a0]
mov r13d, dword [r15 + r13*4]
xor r13d, dword [rdi + r12*4 + 0xc]
shr ebx, 0x10
movzx ebx, bl
lea r15, [0x1400a8ca0]
xor r13d, dword [r15 + rbx*4]
shr r9d, 8
movzx ebx, r9b
lea r15, [0x1400a90a0]
xor r13d, dword [r15 + rbx*4]
movzx ebx, r11b
dec rdx
lea r15, [0x1400a94a0]
xor esi, dword [r15 + r8*4]
mov r8d, dword [rsp + 0x34]
xor r8d, dword [r15 + rax*4]
xor r10d, dword [r15 + rcx*4]
xor r13d, dword [r15 + rbx*4]
add r12, 4
mov r9d, r10d
mov eax, r13d
mov ecx, esi
mov ebx, r8d
mov r11d, eax
nop word [rax + rax]
test rdx, rdx
jg 0x140088e07
mov edx, ecx
shr ecx, 0x18
lea rsi, str.cw
movzx r8d, byte [rsi + rcx]
shl r8d, 0x18
mov r9d, ebx
shr ebx, 0x10
movzx r13d, bl
movzx r13d, byte [r13 + rsi]
shl r13d, 0x10
or r8d, r13d
mov r13d, r10d
shr r10d, 8
movzx r10d, r10b
movzx r10d, byte [r10 + rsi]
shl r10d, 8
or r10d, r8d
movzx r8d, r11b
movzx r8d, byte [r8 + rsi]
or r8d, r10d
mov r10d, r9d
shr r9d, 0x18
movzx r9d, byte [r9 + rsi]
shl r9d, 0x18
mov r15d, r13d
shr r13d, 0x10
movzx r13d, r13b
movzx r13d, byte [r13 + rsi]
shl r13d, 0x10
or r9d, r13d
mov r13d, r11d
shr r11d, 8
movzx r11d, r11b
movzx r11d, byte [r11 + rsi]
shl r11d, 8
or r11d, r9d
movzx r9d, dl
movzx r9d, byte [r9 + rsi]
or r9d, r11d
mov r11d, r15d
shr r15d, 0x18
movzx r15d, byte [r15 + rsi]
shl r15d, 0x18
mov eax, r13d
shr r13d, 0x10
movzx r13d, r13b
movzx r13d, byte [r13 + rsi]
shl r13d, 0x10
or r15d, r13d
mov r13d, edx
shr edx, 8
movzx edx, dl
movzx edx, byte [rdx + rsi]
shl edx, 8
or edx, r15d
movzx r15d, r10b
movzx r15d, byte [r15 + rsi]
or r15d, edx
shr eax, 0x18
movzx edx, byte [rsi + rax]
shl edx, 0x18
shr r13d, 0x10
movzx r13d, r13b
movzx r13d, byte [r13 + rsi]
shl r13d, 0x10
or r13d, edx
shr r10d, 8
movzx edx, r10b
movzx edx, byte [rdx + rsi]
shl edx, 8
or edx, r13d
movzx r10d, r11b
movzx esi, byte [r10 + rsi]
or esi, edx
xor r8d, dword [rdi + r12*4]
xor r9d, dword [rdi + r12*4 + 4]
mov dword [rsp + 0x2c], r9d
xor r15d, dword [rdi + r12*4 + 8]
mov dword [rsp + 0x28], r15d
xor esi, dword [rdi + r12*4 + 0xc]
mov dword [rsp + 0x24], esi
mov rax, qword [rsp + 0x60]
mov ebx, 4
mov rcx, qword [rsp + 0x70]
mov edi, r8d
call fcn.140086d60
mov rcx, qword [rsp + 0x70]
lea rdx, [rcx - 4]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 4
mov r8, qword [rsp + 0x60]
lea rax, [r8 + rdx]
mov ebx, 4
mov edi, dword [rsp + 0x2c]
mov rcx, rsi
call fcn.140086d60
mov rcx, qword [rsp + 0x70]
lea rdx, [rcx - 8]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 8
mov r8, qword [rsp + 0x60]
lea rax, [r8 + rdx]
mov ebx, 4
mov edi, dword [rsp + 0x28]
mov rcx, rsi
call fcn.140086d60
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and edx, 0xc
mov rsi, qword [rsp + 0x60]
lea rax, [rsi + rdx]
mov ebx, 4
mov edi, dword [rsp + 0x24]
call fcn.140086d60
add rsp, 0x38
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
nop
call fcn.140068360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.140088ce0