Function at 0x4e4a80
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 0x4e4ee5
nop
nop
nop
nop
test rbx, rbx
jbe 0x4e4ed6
mov edx, dword [r9]
bswap edx
xor edx, dword [rax]
nop
cmp rbx, 1
jbe 0x4e4ec9
mov r8d, dword [r9 + 4]
bswap r8d
xor r8d, dword [rax + 4]
cmp rbx, 2
jbe 0x4e4ebc
mov r10d, dword [r9 + 8]
bswap r10d
xor r10d, dword [rax + 8]
cmp rbx, 3
jbe 0x4e4eaf
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 0x4e4ba1
shr r15d, 0x18
movzx edx, r15b
mov r15d, dword [r13 + rdx*4]
xor r15d, dword [rax + r11*4 + 0xc]
shr r8d, 0x10
movzx edx, r8b
xor r15d, dword [rdi + rdx*4]
shr r9d, 8
movzx edx, r9b
xor r15d, dword [rsi + rdx*4]
mov edx, dword [rsp + 0x24]
movzx edx, dl
mov r8, qword [rsp + 0x30]
dec r8
xor r15d, dword [r12 + rdx*4]
lea rdx, [r11 + 4]
mov r9d, dword [rsp + 0x1c]
mov r11d, dword [rsp + 0x2c]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r10d, ebx
mov r9d, r15d
mov r12d, dword [rsp + 0x1c]
mov r13d, r10d
mov qword [rsp + 0x38], rdx
mov rbx, r8
mov edx, r11d
mov r8d, r12d
test rbx, rbx
jle 0x4e4cce
mov r11, qword [rsp + 0x38]
cmp rcx, r11
jbe 0x4e4ea7
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], edx
shr edx, 0x18
movzx edx, dl
lea r13, [0x008b4fa0]
mov edx, dword [r13 + rdx*4]
xor edx, dword [rax + r11*4]
mov r15d, r8d
shr r8d, 0x10
movzx r8d, r8b
lea rdi, [0x008b53a0]
xor edx, dword [rdi + r8*4]
mov r8d, r10d
shr r10d, 8
movzx r10d, r10b
lea rsi, [0x008b57a0]
xor edx, dword [rsi + r10*4]
movzx r10d, r9b
lea rbx, [r11 + 1]
lea r12, [0x008b5ba0]
xor edx, dword [r12 + r10*4]
cmp rcx, rbx
jbe 0x4e4e9f
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r15d
shr r15d, 0x18
movzx r10d, r15b
mov r10d, dword [r13 + r10*4]
xor r10d, dword [rax + r11*4 + 4]
mov r15d, r8d
shr r8d, 0x10
movzx r8d, r8b
xor r10d, dword [rdi + r8*4]
mov r8d, r9d
shr r9d, 8
movzx r9d, r9b
xor r10d, dword [rsi + r9*4]
mov r9d, dword [rsp + 0x20]
movzx edx, r9b
lea rbx, [r11 + 2]
xor r10d, dword [r12 + rdx*4]
cmp rcx, rbx
jbe 0x4e4e97
mov dword [rsp + 0x1c], r10d
mov dword [rsp + 0x24], r15d
shr r15d, 0x18
movzx ebx, r15b
mov ebx, dword [r13 + rbx*4]
xor ebx, dword [rax + r11*4 + 8]
mov r15d, r8d
shr r8d, 0x10
movzx r8d, r8b
xor ebx, dword [rdi + r8*4]
mov r8d, r9d
shr r9d, 8
movzx r9d, r9b
xor ebx, dword [rsi + r9*4]
mov r9d, dword [rsp + 0x28]
movzx r10d, r9b
lea rdx, [r11 + 3]
xor ebx, dword [r12 + r10*4]
nop dword [rax]
cmp rcx, rdx
ja 0x4e4b30
jmp 0x4e4e8f
mov dword [rsp + 0x14], r15d
mov dword [rsp + 0x18], r13d
mov edx, r11d
shr r11d, 0x18
lea rbx, str.cw
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 r10d, r11d
movzx r11d, r15b
movzx r11d, byte [r11 + rbx]
mov r12d, r9d
shr r9d, 0x18
movzx r9d, byte [rbx + r9]
shl r9d, 0x18
mov r13d, r8d
shr r8d, 0x10
movzx r8d, r8b
movzx r8d, byte [r8 + rbx]
shl r8d, 0x10
or r8d, r9d
mov r9d, r15d
shr r15d, 8
movzx r15d, r15b
movzx r15d, byte [r15 + rbx]
shl r15d, 8
or r8d, r15d
movzx r15d, dl
movzx r15d, byte [r15 + rbx]
shr r13d, 0x18
movzx r13d, byte [r13 + rbx]
shl r13d, 0x18
shr r9d, 0x10
movzx r9d, r9b
movzx r9d, byte [r9 + rbx]
shl r9d, 0x10
or r9d, r13d
mov r13d, edx
shr edx, 8
movzx edx, dl
movzx edx, byte [rdx + rbx]
shl edx, 8
or r9d, edx
movzx edx, r12b
movzx edx, byte [rdx + rbx]
mov edi, dword [rsp + 0x14]
shr edi, 0x18
movzx edi, byte [rbx + rdi]
shl edi, 0x18
shr r13d, 0x10
movzx r13d, r13b
movzx r13d, byte [r13 + rbx]
shl r13d, 0x10
or r13d, edi
shr r12d, 8
movzx edi, r12b
movzx edi, byte [rdi + rbx]
shl edi, 8
or r13d, edi
mov edi, dword [rsp + 0x18]
movzx edi, dil
movzx ebx, byte [rdi + rbx]
or r11d, r10d
or r15d, r8d
or edx, r9d
or ebx, r13d
mov rdi, qword [rsp + 0x38]
nop dword [rax]
cmp rcx, rdi
jbe 0x4e4e87
lea r8, [rdi + 1]
xor r11d, dword [rax + rdi*4]
cmp rcx, r8
jbe 0x4e4e7f
lea r8, [rdi + 2]
xor r15d, dword [rax + rdi*4 + 4]
nop
cmp rcx, r8
jbe 0x4e4e77
lea r8, [rdi + 3]
xor edx, dword [rax + rdi*4 + 8]
cmp rcx, r8
jbe 0x4e4e6f
xor ebx, dword [rax + rdi*4 + 0xc]
cmp rsi, 0xf
jbe 0x4e4e62
bswap r11d
bswap r15d
bswap edx
bswap ebx
nop
mov rax, qword [rsp + 0x68]
mov dword [rax], r11d
nop
mov dword [rax + 4], r15d
nop
mov dword [rax + 8], edx
nop
mov dword [rax + 0xc], ebx
add rsp, 0x40
pop rbp
ret
mov eax, 0xf
mov rcx, rsi
call sym.runtime.panicIndex
mov rax, r8
call sym.runtime.panicIndex
mov rax, r8
call sym.runtime.panicIndex
mov rax, r8
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, 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
nop dword [rax + rax]
call sym.runtime.panicIndex
mov eax, 0xf
mov rcx, r10
call sym.runtime.panicIndex
nop
int3