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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x80], r9
nop word [rax + rax]
cmp r10, 0xf
jbe 0x4e4736
nop
nop
nop
nop
test rbx, rbx
jbe 0x4e472c
mov edx, dword [r9]
bswap edx
xor edx, dword [rax]
nop
cmp rbx, 1
jbe 0x4e471f
mov r8d, dword [r9 + 4]
bswap r8d
xor r8d, dword [rax + 4]
cmp rbx, 2
jbe 0x4e4712
mov r10d, dword [r9 + 8]
bswap r10d
xor r10d, dword [rax + 8]
cmp rbx, 3
jbe 0x4e4705
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov rcx, rbx
shr rbx, 2
mov r9d, dword [r9 + 0xc]
bswap r9d
xor r9d, dword [rax + 0xc]
add rbx, 0xfffffffffffffffe
xor r11d, r11d
xor r12d, r12d
xor r13d, r13d
xor r15d, r15d
mov r11d, 4
mov qword [rsp + 0x38], r11
xor r11d, r11d
jmp 0x4e4400
shr r10d, 0x18
movzx ebx, r10b
mov ebx, dword [r13 + rbx*4]
xor ebx, dword [rax + r11*4 + 0xc]
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rdi + rdx*4]
shr r15d, 8
movzx edx, r15b
xor ebx, dword [rsi + rdx*4]
mov edx, dword [rsp + 0x28]
movzx edx, dl
mov r8, qword [rsp + 0x30]
dec r8
xor ebx, dword [r9 + rdx*4]
lea rdx, [r11 + 4]
mov r15d, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r9d, ebx
mov r10d, r12d
mov r12d, r9d
mov r13d, r10d
mov qword [rsp + 0x38], rdx
mov rbx, r8
mov edx, r11d
mov r8d, r15d
nop dword [rax + rax]
test rbx, rbx
jle 0x4e452e
mov r11, qword [rsp + 0x38]
cmp rcx, r11
jbe 0x4e46fd
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x1c], r10d
mov r12d, edx
shr edx, 0x18
movzx edx, dl
lea r13, [0x0088ed60]
mov edx, dword [r13 + rdx*4]
xor edx, dword [rax + r11*4]
mov r15d, r9d
shr r9d, 0x10
movzx r9d, r9b
lea rdi, [0x0088f160]
xor edx, dword [rdi + r9*4]
shr r10d, 8
movzx r10d, r10b
lea rsi, [0x0088f560]
xor edx, dword [rsi + r10*4]
movzx r10d, r8b
lea rbx, [r11 + 1]
lea r9, [0x0088f960]
xor edx, dword [r9 + r10*4]
cmp rcx, rbx
jbe 0x4e46f5
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x2c], r15d
mov ebx, r8d
shr r8d, 0x18
movzx r8d, r8b
mov r8d, dword [r13 + r8*4]
xor r8d, dword [rax + r11*4 + 4]
mov r10d, r12d
shr r12d, 0x10
movzx r12d, r12b
xor r8d, dword [rdi + r12*4]
shr r15d, 8
movzx r15d, r15b
xor r8d, dword [rsi + r15*4]
mov r15d, dword [rsp + 0x1c]
movzx edx, r15b
lea r12, [r11 + 2]
xor r8d, dword [r9 + rdx*4]
cmp rcx, r12
jbe 0x4e46ed
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x28], r10d
mov edx, r15d
shr r15d, 0x18
movzx r12d, r15b
mov r12d, dword [r13 + r12*4]
xor r12d, dword [rax + r11*4 + 8]
mov r15d, ebx
shr ebx, 0x10
movzx ebx, bl
xor r12d, dword [rdi + rbx*4]
shr r10d, 8
movzx r10d, r10b
xor r12d, dword [rsi + r10*4]
mov r10d, dword [rsp + 0x2c]
movzx r8d, r10b
lea rbx, [r11 + 3]
xor r12d, dword [r9 + r8*4]
nop dword [rax + rax]
cmp rcx, rbx
ja 0x4e4390
jmp 0x4e46e5
mov dword [rsp + 0x18], r15d
mov dword [rsp + 0x14], r13d
mov edx, r11d
shr r11d, 0x18
lea rbx, [0x0088bd40]
movzx r8d, byte [rbx + r11]
shl r8d, 0x18
mov r9d, r12d
shr r12d, 0x10
movzx r10d, r12b
movzx r10d, byte [r10 + rbx]
shl r10d, 0x10
or r10d, r8d
mov r8d, r13d
shr r13d, 8
movzx r11d, r13b
movzx r11d, byte [r11 + rbx]
shl r11d, 8
or r11d, r10d
movzx r10d, r15b
movzx r10d, byte [r10 + rbx]
mov r12d, r15d
shr r15d, 0x18
movzx r13d, byte [rbx + r15]
shl r13d, 0x18
mov r15d, edx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [rdx + rbx]
shl edx, 0x10
or r13d, edx
mov edx, r9d
shr r9d, 8
movzx r9d, r9b
movzx r9d, byte [r9 + rbx]
shl r9d, 8
or r9d, r13d
movzx r13d, r8b
movzx r13d, byte [r13 + rbx]
shr r8d, 0x18
movzx r8d, byte [r8 + rbx]
shl r8d, 0x18
shr r12d, 0x10
movzx r12d, r12b
movzx r12d, byte [r12 + rbx]
shl r12d, 0x10
or r8d, r12d
mov r12d, r15d
shr r15d, 8
movzx r15d, r15b
movzx r15d, byte [r15 + rbx]
shl r15d, 8
or r15d, r8d
movzx r8d, dl
movzx r8d, byte [r8 + rbx]
shr edx, 0x18
movzx edx, byte [rbx + rdx]
shl edx, 0x18
mov edi, dword [rsp + 0x14]
shr edi, 0x10
movzx edi, dil
movzx edi, byte [rdi + rbx]
shl edi, 0x10
or edi, edx
mov edx, dword [rsp + 0x18]
shr edx, 8
movzx edx, dl
movzx edx, byte [rdx + rbx]
shl edx, 8
or edx, edi
movzx edi, r12b
movzx ebx, byte [rdi + rbx]
or r10d, r11d
or r13d, r9d
or r8d, r15d
or ebx, edx
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jbe 0x4e46dd
lea rdi, [rdx + 1]
xor r10d, dword [rax + rdx*4]
cmp rcx, rdi
jbe 0x4e46d5
lea rdi, [rdx + 2]
xor r13d, dword [rax + rdx*4 + 4]
cmp rcx, rdi
jbe 0x4e46cd
lea rdi, [rdx + 3]
xor r8d, dword [rax + rdx*4 + 8]
cmp rcx, rdi
jbe 0x4e46c5
xor ebx, dword [rax + rdx*4 + 0xc]
cmp rsi, 0xf
jbe 0x4e46b8
bswap r10d
bswap r13d
bswap r8d
bswap ebx
nop
mov rax, qword [rsp + 0x68]
mov dword [rax], r10d
nop
mov dword [rax + 4], r13d
nop
mov dword [rax + 8], r8d
nop
mov dword [rax + 0xc], ebx
add rsp, 0x40
pop rbp
ret
mov eax, 0xf
mov rcx, rsi
call sym.runtime.panicIndex
mov rax, rdi
call sym.runtime.panicIndex
mov rax, rdi
call sym.runtime.panicIndex
mov rax, rdi
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rbx
call sym.runtime.panicIndex
mov rax, r12
call sym.runtime.panicIndex
mov rax, rbx
call sym.runtime.panicIndex
mov rax, r11
call sym.runtime.panicIndex
mov eax, 3
mov rcx, rax
call sym.runtime.panicIndex
mov eax, 2
mov rcx, rax
call sym.runtime.panicIndex
mov eax, 1
mov rcx, rax
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov eax, 0xf
mov rcx, r10
nop
call sym.runtime.panicIndex
nop
int3