Function at 0x1401b6660
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea r10, [0x140426500]
lea rdi, [0x140425d00]
lea r11, str.cc
movzx eax, byte [rcx + 3]
xor eax, dword [r8]
movzx ebp, byte [rcx + 7]
xor ebp, dword [r8 + 4]
movzx r12d, byte [rcx + 0xb]
xor r12d, dword [r8 + 8]
movzx r9d, byte [rcx + 0xf]
xor r9d, dword [r8 + 0xc]
mov qword [rsp + 0x88], rdx
movzx edx, byte [rcx]
shl edx, 0x18
xor eax, edx
movzx edx, byte [rcx + 1]
shl edx, 0x10
xor eax, edx
movzx edx, byte [rcx + 2]
shl edx, 8
xor eax, edx
movzx edx, byte [rcx + 4]
mov r13d, eax
shl edx, 0x18
xor ebp, edx
movzx edx, byte [rcx + 5]
shl edx, 0x10
xor ebp, edx
movzx edx, byte [rcx + 6]
shl edx, 8
xor ebp, edx
movzx edx, byte [rcx + 8]
shl edx, 0x18
xor r12d, edx
movzx edx, byte [rcx + 9]
shl edx, 0x10
xor r12d, edx
movzx edx, byte [rcx + 0xa]
shl edx, 8
xor r12d, edx
movzx edx, byte [rcx + 0xc]
shl edx, 0x18
xor r9d, edx
movzx edx, byte [rcx + 0xd]
shl edx, 0x10
xor r9d, edx
movzx edx, byte [rcx + 0xe]
shl edx, 8
xor r9d, edx
mov edx, dword [r8 + 0xf0]
mov eax, r9d
sar edx, 1
sub edx, 1
add rdx, 1
shl rdx, 5
lea rsi, [r8 + rdx]
mov qword [rsp + 0x28], rsi
lea rsi, [0x140426100]
jmp 0x1401b67c5
mov ebx, dword [rsi + r12*4]
xor ebx, dword [r10 + r14*4]
xor ebx, r13d
xor ebx, dword [rdi + rbp*4]
mov ebp, dword [rsp + 0x24]
mov eax, dword [rsi + rax*4]
xor eax, dword [r10 + rdx*4]
mov edx, ecx
mov r13d, dword [r11 + rbp*4]
xor eax, dword [r8 + 0xc]
xor eax, dword [rdi + rdx*4]
mov edx, dword [rsp + 8]
xor r13d, ebx
mov ebx, dword [rsp + 0xc]
xor eax, dword [r11 + rdx*4]
mov ebp, dword [rsi + rbx*4]
xor ebp, dword [r10 + r9*4]
mov r9d, dword [rsp + 0x10]
xor ebp, dword [r8 + 4]
xor ebp, dword [rdi + r9*4]
mov r9d, dword [rsp + 0x14]
xor ebp, dword [r11 + r9*4]
mov r9d, dword [rsp + 0x18]
mov r12d, dword [rsi + r9*4]
mov r9d, dword [rsp + 0x1c]
xor r12d, dword [r10 + r15*4]
xor r12d, dword [r8 + 8]
xor r12d, dword [rdi + r9*4]
mov r9d, dword [rsp + 0x20]
xor r12d, dword [r11 + r9*4]
mov edx, r13d
movzx r9d, al
mov ebx, r12d
add r8, 0x20
shr edx, 0x18
mov ecx, dword [rsi + rdx*4]
mov edx, ebp
xor ecx, dword [r10 + r9*4]
movzx r9d, r13b
shr edx, 0x10
xor ecx, dword [r8 - 0x10]
movzx edx, dl
xor ecx, dword [rdi + rdx*4]
movzx edx, bh
mov edx, edx
xor ecx, dword [r11 + rdx*4]
mov edx, ebp
shr edx, 0x18
mov r14d, ecx
mov ecx, r13d
shr r13d, 0x10
mov ebx, dword [rsi + rdx*4]
mov edx, r12d
xor ebx, dword [r10 + r9*4]
movzx r9d, bpl
shr edx, 0x10
xor ebx, dword [r8 - 0xc]
movzx ecx, ch
movzx r13d, r13b
movzx edx, dl
mov dword [rsp + 8], r14d
xor ebx, dword [rdi + rdx*4]
movzx edx, ah
mov edx, edx
xor ebx, dword [r11 + rdx*4]
mov edx, r12d
movzx r12d, r12b
shr edx, 0x18
mov r15d, ebx
mov edx, dword [rsi + rdx*4]
xor edx, dword [r10 + r9*4]
mov r9d, eax
shr r15d, 0x18
shr r9d, 0x10
xor edx, dword [r8 - 8]
mov dword [rsp + 0xc], r15d
shr eax, 0x18
movzx r9d, r9b
mov eax, dword [rsi + rax*4]
xor eax, dword [r10 + r12*4]
xor edx, dword [rdi + r9*4]
mov r9d, ecx
mov ecx, ebp
xor eax, dword [r8 - 4]
xor edx, dword [r11 + r9*4]
movzx ebp, ch
mov ecx, r14d
xor eax, dword [rdi + r13*4]
mov ebp, ebp
mov r15d, edx
shr ecx, 0x18
mov r9d, edx
xor eax, dword [r11 + rbp*4]
shr r15d, 0x18
mov r12d, ecx
movzx ecx, dh
mov dword [rsp + 0x18], r15d
mov r15d, eax
shr r9d, 0x10
mov ebp, ebx
shr r15d, 0x10
mov dword [rsp + 0x24], ecx
movzx ecx, ah
movzx r9d, r9b
mov dword [rsp + 0x14], ecx
movzx ecx, r15b
movzx r15d, bl
movzx ebx, bh
mov dword [rsp + 0x1c], ecx
mov ecx, dword [rsp + 8]
shr ebp, 0x10
movzx r14d, al
mov dword [rsp + 0x10], r9d
mov r13d, dword [r8]
shr eax, 0x18
movzx ebp, bpl
movzx ecx, ch
movzx r9d, byte [rsp + 8]
movzx edx, dl
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 8]
mov dword [rsp + 8], ebx
mov rbx, qword [rsp + 0x28]
shr ecx, 0x10
movzx ecx, cl
cmp r8, rbx
jne 0x1401b6750
mov dword [rsp + 0x28], r9d
mov r9d, eax
mov eax, r13d
mov r13d, dword [rsp + 0x24]
mov dword [rsp + 0x24], ecx
movzx ecx, byte [rdi + r14*4]
movzx edx, byte [rdi + rdx*4]
xor ecx, eax
mov eax, dword [rsi + r13*4]
mov ebx, ecx
mov ecx, dword [r10 + rbp*4]
and eax, 0xff00
xor ebx, eax
mov eax, dword [r11 + r12*4]
and ecx, 0xff0000
and eax, 0xff000000
or eax, ecx
mov ecx, dword [rsp + 0x14]
xor eax, ebx
mov rbx, qword [rsp + 0x88]
mov ecx, dword [rsi + rcx*4]
bswap eax
mov dword [rbx], eax
mov eax, dword [rsp + 0x28]
and ecx, 0xff00
movzx eax, byte [rdi + rax*4]
xor eax, dword [r8 + 4]
xor eax, ecx
mov ecx, dword [rsp + 0x10]
mov ebx, eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [r10 + rcx*4]
mov eax, dword [r11 + rax*4]
and ecx, 0xff0000
and eax, 0xff000000
or eax, ecx
movzx ecx, byte [rdi + r15*4]
xor ebx, eax
mov rax, qword [rsp + 0x88]
bswap ebx
mov dword [rax + 4], ebx
mov eax, dword [rsp + 0x20]
xor ecx, dword [r8 + 8]
mov eax, dword [rsi + rax*4]
and eax, 0xff00
xor ecx, eax
mov eax, dword [rsp + 0x18]
mov eax, dword [r11 + rax*4]
and eax, 0xff000000
mov ebx, eax
mov eax, dword [rsp + 0x1c]
mov eax, dword [r10 + rax*4]
and eax, 0xff0000
or eax, ebx
mov rbx, qword [rsp + 0x88]
xor eax, ecx
bswap eax
mov dword [rbx + 8], eax
xor edx, dword [r8 + 0xc]
mov eax, dword [rsp + 8]
mov eax, dword [rsi + rax*4]
and eax, 0xff00
xor edx, eax
mov eax, r9d
mov r9d, dword [rsp + 0x24]
mov eax, dword [r11 + rax*4]
mov ecx, dword [r10 + r9*4]
and eax, 0xff000000
and ecx, 0xff0000
or eax, ecx
xor eax, edx
bswap eax
mov dword [rbx + 0xc], eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret