Function at 0x52e6a0
Capabilities:
Encrypt data using aes

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x80], r9
cmp r10, 0xf
jbe 0x52eb0f
nop
nop
nop
nop
mov edx, dword [r9]
mov r8d, dword [r9 + 4]
mov r10d, dword [r9 + 8]
mov r9d, dword [r9 + 0xc]
nop dword [rax]
test rbx, rbx
jbe 0x52eb05
bswap edx
xor edx, dword [rax]
cmp rbx, 1
jbe 0x52eaf7
bswap r8d
xor r8d, dword [rax + 4]
nop
cmp rbx, 2
jbe 0x52eaea
bswap r10d
xor r10d, dword [rax + 8]
cmp rbx, 3
jbe 0x52eadd
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
bswap r9d
xor r9d, dword [rax + 0xc]
mov rcx, rbx
shr rbx, 2
add rbx, 0xfffffffffffffffe
mov qword [rsp + 0x30], rbx
xor r11d, r11d
xor r12d, r12d
xor r13d, r13d
xor r15d, r15d
xor r12d, r12d
mov dword [rsp + 0x10], r12d
mov r12d, 4
mov qword [rsp + 0x38], r12
xor r12d, r12d
nop
jmp 0x52e7e0
inc r11
mov ebx, dword [rsp + 0x18]
shr ebx, 0x18
movzx ebx, bl
mov r9d, dword [r15 + rbx*4]
xor r9d, dword [rax + r12*4 + 0xc]
shr edi, 8
mov ebx, dword [rsp + 0x1c]
movzx ebx, bl
mov r13d, dword [rsp + 0x28]
shr r13d, 0x10
movzx edi, dil
movzx r13d, r13b
xor r9d, dword [rsi + r13*4]
xor r9d, dword [r8 + rdi*4]
xor r9d, dword [r10 + rbx*4]
lea rbx, [r12 + 4]
mov rdi, qword [rsp + 0x30]
mov r12d, dword [rsp + 0x24]
mov r13d, dword [rsp + 0x2c]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r10d, edx
mov r8d, r13d
mov edx, r12d
mov r12d, r10d
mov r15d, edx
mov dword [rsp + 0x10], r9d
mov qword [rsp + 0x38], rbx
mov rbx, qword [rsp + 0x30]
nop dword [rax + rax]
cmp r11, rbx
jge 0x52e8fd
mov r12, qword [rsp + 0x38]
cmp rcx, r12
jbe 0x52ead5
mov dword [rsp + 0x1c], r10d
mov dword [rsp + 0x20], r8d
mov r13d, edx
shr edx, 0x18
movzx edx, dl
lea r15, [0x00609260]
mov edx, dword [r15 + rdx*4]
xor edx, dword [rax + r12*4]
shr r10d, 8
movzx edi, r9b
shr r8d, 0x10
movzx r10d, r10b
movzx r8d, r8b
lea rsi, [0x0060a260]
xor edx, dword [rsi + r8*4]
lea r8, [0x00609660]
xor edx, dword [r8 + r10*4]
lea r10, [0x00609e60]
xor edx, dword [r10 + rdi*4]
lea rdi, [r12 + 1]
cmp rcx, rdi
jbe 0x52eacd
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x18], r9d
mov edi, dword [rsp + 0x20]
shr edi, 0x18
movzx edi, dil
mov edi, dword [r15 + rdi*4]
xor edi, dword [rax + r12*4 + 4]
shr r9d, 8
movzx ebx, r13b
mov edx, dword [rsp + 0x1c]
shr edx, 0x10
movzx r9d, r9b
movzx edx, dl
xor edi, dword [rsi + rdx*4]
xor edi, dword [r8 + r9*4]
xor edi, dword [r10 + rbx*4]
lea rdx, [r12 + 2]
nop
cmp rcx, rdx
jbe 0x52eac5
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x28], r13d
mov edx, dword [rsp + 0x1c]
shr edx, 0x18
movzx edx, dl
mov edx, dword [r15 + rdx*4]
xor edx, dword [rax + r12*4 + 8]
shr r13d, 8
mov edi, dword [rsp + 0x20]
movzx r9d, dil
mov ebx, dword [rsp + 0x18]
shr ebx, 0x10
movzx r13d, r13b
movzx ebx, bl
xor edx, dword [rsi + rbx*4]
xor edx, dword [r8 + r13*4]
xor edx, dword [r10 + r9*4]
lea rbx, [r12 + 3]
cmp rcx, rbx
ja 0x52e762
jmp 0x52eabd
mov dword [rsp + 0x14], r12d
mov edx, r12d
shr r12d, 8
movzx ebx, r12b
lea r8, [0x00814da0]
movzx ebx, byte [rbx + r8]
shl ebx, 8
mov r9d, r13d
shr r13d, 0x10
movzx r10d, r13b
movzx r10d, byte [r10 + r8]
shl r10d, 0x10
mov r11d, r15d
shr r15d, 0x18
movzx r12d, byte [r8 + r15]
shl r12d, 0x18
or r12d, r10d
or r12d, ebx
mov ebx, dword [rsp + 0x10]
movzx r10d, bl
movzx r10d, byte [r10 + r8]
or r10d, r12d
mov r12d, ebx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [rbx + r8]
shl ebx, 8
mov r13d, edx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [rdx + r8]
shl edx, 0x10
mov r15d, r9d
shr r9d, 0x18
movzx r9d, byte [r8 + r9]
shl r9d, 0x18
or r9d, edx
or r9d, ebx
movzx edx, r11b
movzx edx, byte [rdx + r8]
or edx, r9d
mov ebx, r11d
shr r11d, 8
movzx r9d, r11b
movzx r9d, byte [r9 + r8]
shl r9d, 8
mov r11d, r12d
shr r12d, 0x10
movzx r12d, r12b
movzx r12d, byte [r12 + r8]
shl r12d, 0x10
shr r13d, 0x18
movzx r13d, byte [r8 + r13]
shl r13d, 0x18
or r13d, r12d
or r13d, r9d
movzx r9d, r15b
movzx r9d, byte [r9 + r8]
or r9d, r13d
shr r15d, 8
movzx r12d, r15b
movzx r12d, byte [r12 + r8]
shl r12d, 8
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [rbx + r8]
shl ebx, 0x10
shr r11d, 0x18
movzx r11d, byte [r8 + r11]
shl r11d, 0x18
or r11d, ebx
or r12d, r11d
mov ebx, dword [rsp + 0x14]
movzx ebx, bl
movzx ebx, byte [rbx + r8]
or ebx, r12d
mov r8, qword [rsp + 0x38]
cmp rcx, r8
jbe 0x52eab5
xor r10d, dword [rax + r8*4]
lea r11, [r8 + 1]
cmp rcx, r11
jbe 0x52eaad
xor edx, dword [rax + r8*4 + 4]
lea r11, [r8 + 2]
cmp rcx, r11
jbe 0x52eaa5
xor r9d, dword [rax + r8*4 + 8]
lea r11, [r8 + 3]
cmp rcx, r11
jbe 0x52ea98
xor ebx, dword [rax + r8*4 + 0xc]
nop
cmp rsi, 0xf
jbe 0x52ea8b
nop
bswap r10d
mov dword [rdi], r10d
nop
bswap edx
mov dword [rdi + 4], edx
nop
bswap r9d
mov dword [rdi + 8], r9d
nop
bswap ebx
mov dword [rdi + 0xc], ebx
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, 0xf
mov rcx, rsi
call fcn.00456360
mov rax, r11
nop dword [rax + rax]
call fcn.00456360
mov rax, r11
call fcn.00456360
mov rax, r11
call fcn.00456360
mov rax, r8
call fcn.00456360
mov rax, rbx
call fcn.00456360
mov rax, rdx
call fcn.00456360
mov rax, rdi
call fcn.00456360
mov rax, r12
call fcn.00456360
mov eax, 3
mov rcx, rbx
call fcn.00456360
mov eax, 2
mov rcx, rbx
call fcn.00456360
mov eax, 1
mov rcx, rbx
nop
call fcn.00456360
xor eax, eax
mov rcx, rbx
call fcn.00456360
mov eax, 0xf
mov rcx, r10
call fcn.00456360
nop
int3