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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2a269e026
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x60], rsi
mov rdx, rbx
shr rdx, 2
mov qword [rsp + 0x28], rdx
xor r8d, r8d
nop
jmp 0x2a269de65
mov qword [rsp + 0x18], r8
shl r8, 2
mov rsi, rcx
sub rsi, r8
mov rdi, rbx
sub rdi, r8
mov r9, rsi
neg rsi
sar rsi, 0x3f
and r8, rsi
lea rsi, [rax + r8]
mov rax, rsi
mov rbx, rdi
mov rcx, r9
call fcn.2a264b3e0
mov r8, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x58]
mov dword [rdi + r8*4], eax
inc r8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
mov r9, qword [rsp + 0x70]
cmp r8, rdx
jl 0x2a269de02
jmp 0x2a269de80
mov r10, r8
sub r10, rbx
xor ecx, dword [rdi + r10*4]
mov dword [rdi + r8*4], ecx
inc r8
mov rdx, rbx
cmp rsi, r8
jle 0x2a269df31
mov ecx, dword [rdi + r8*4 - 4]
test rdx, rdx
je 0x2a269e01c
mov qword [rsp + 0x18], r8
mov rax, r8
mov rbx, rdx
cmp rbx, 0xffffffffffffffff
jne 0x2a269deaf
neg rax
xor edx, edx
jmp 0x2a269deb4
cqo
idiv rbx
test rdx, rdx
je 0x2a269deea
cmp rbx, 6
jle 0x2a269de6c
nop
cmp rdx, 4
jne 0x2a269de6c
mov eax, ecx
call fcn.2a269dd60
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x70]
mov ecx, eax
jmp 0x2a269de6c
mov qword [rsp + 0x20], rax
mov eax, ecx
call fcn.2a269dda0
call fcn.2a269dd60
lea rcx, [0x2a27a1680]
mov rdx, qword [rsp + 0x20]
movzx edx, byte [rdx + rcx - 1]
shl edx, 0x18
xor edx, eax
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x70]
mov ecx, edx
jmp 0x2a269de6c
test r9, r9
je 0x2a269df3a
xor eax, eax
jmp 0x2a269df48
add rsp, 0x30
pop rbp
nop
ret
add rax, 4
mov rsi, rcx
cmp rsi, rax
jle 0x2a269df57
mov rcx, rsi
sub rsi, rax
xor edx, edx
jmp 0x2a269df68
add rsp, 0x30
pop rbp
ret
lea r8, [rdx + rax]
mov dword [r9 + r8*4], ebx
inc rdx
cmp rdx, 4
jge 0x2a269df41
lea rbx, [rdx + rsi]
lea rbx, [rbx - 4]
mov ebx, dword [rdi + rbx*4]
test rax, rax
jle 0x2a269dff4
lea r8, [rax + 4]
cmp rcx, r8
jle 0x2a269dff4
mov r8d, ebx
shr ebx, 0x18
lea r10, str.cw
movzx r11d, byte [rbx + r10]
lea r12, [0x2a27a6ea0]
mov ebx, dword [r12 + r11*4]
mov r11d, r8d
shr r8d, 0x10
movzx r8d, r8b
movzx r8d, byte [r8 + r10]
lea r13, [0x2a27a72a0]
xor ebx, dword [r13 + r8*4]
mov r8d, r11d
shr r11d, 8
movzx r11d, r11b
movzx r11d, byte [r11 + r10]
lea r15, [0x2a27a76a0]
xor ebx, dword [r15 + r11*4]
movzx r8d, r8b
movzx r8d, byte [r8 + r10]
lea r11, [0x2a27a7aa0]
xor ebx, dword [r11 + r8*4]
jmp 0x2a269df5d
lea r10, str.cw
lea r11, [0x2a27a7aa0]
lea r12, [0x2a27a6ea0]
lea r13, [0x2a27a72a0]
lea r15, [0x2a27a76a0]
jmp 0x2a269df5d
nop dword [rax]
call fcn.2a25bdac0
nop
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
call fcn.2a25eee80
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.2a269ddc0