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

Disassembly:
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x88], r9
cmp r10, 0xf
jbe 0x1de5540cf
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 0x1de5540c5
bswap edx
xor edx, dword [rax]
cmp rbx, 1
jbe 0x1de5540b7
bswap r8d
xor r8d, dword [rax + 4]
nop
cmp rbx, 2
jbe 0x1de5540aa
bswap r10d
xor r10d, dword [rax + 8]
cmp rbx, 3
jbe 0x1de55409d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], 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 + 0x14], r12d
mov r12d, 4
mov qword [rsp + 0x40], r12
xor r12d, r12d
nop
jmp 0x1de553d88
mov r11, qword [rsp + 0x38]
inc r11
shr r8d, 0x18
movzx ebx, r8b
mov ebx, dword [r15 + rbx*4]
xor ebx, dword [rax + r12*4 + 0xc]
mov edi, dword [rsp + 0x28]
shr edi, 8
movzx r8d, r13b
mov r13d, dword [rsp + 0x18]
shr r13d, 0x10
movzx edi, dil
movzx r13d, r13b
xor ebx, dword [rsi + r13*4]
xor ebx, dword [r9 + rdi*4]
xor ebx, dword [r10 + r8*4]
lea rdi, [r12 + 4]
mov r8, qword [rsp + 0x30]
mov r12d, dword [rsp + 0x10]
mov r13d, dword [rsp + 0x1c]
mov rsi, qword [rsp + 0x78]
mov r10d, edx
mov r9d, ebx
mov edx, r13d
mov r8d, r12d
mov r12d, r10d
mov r13d, r9d
mov r15d, edx
mov dword [rsp + 0x14], r8d
mov qword [rsp + 0x40], rdi
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x70]
cmp r11, rbx
jge 0x1de553eb5
mov r12, qword [rsp + 0x40]
cmp rcx, r12
jbe 0x1de554095
mov dword [rsp + 0x18], r10d
mov dword [rsp + 0x24], r9d
mov r13d, edx
shr edx, 0x18
movzx edx, dl
lea r15, [0x1de5fa4a0]
mov edx, dword [r15 + rdx*4]
xor edx, dword [rax + r12*4]
shr r10d, 8
movzx edi, r8b
shr r9d, 0x10
movzx r10d, r10b
movzx r9d, r9b
lea rsi, [0x1de5fa0a0]
xor edx, dword [rsi + r9*4]
lea r9, [0x1de5f98a0]
xor edx, dword [r9 + r10*4]
lea r10, [0x1de5f9ca0]
xor edx, dword [r10 + rdi*4]
lea rdi, [r12 + 1]
nop dword [rax + rax]
cmp rcx, rdi
jbe 0x1de55408d
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x1c], edx
mov dword [rsp + 0x2c], r13d
mov edi, r8d
shr r8d, 0x18
movzx r8d, r8b
mov r8d, dword [r15 + r8*4]
xor r8d, dword [rax + r12*4 + 4]
mov ebx, dword [rsp + 0x24]
shr ebx, 8
mov edx, dword [rsp + 0x18]
movzx r11d, dl
shr r13d, 0x10
movzx ebx, bl
movzx r13d, r13b
xor r8d, dword [rsi + r13*4]
xor r8d, dword [r9 + rbx*4]
xor r8d, dword [r10 + r11*4]
lea rbx, [r12 + 2]
cmp rcx, rbx
jbe 0x1de554085
mov dword [rsp + 0x10], r8d
mov dword [rsp + 0x28], edi
shr edx, 0x18
movzx edx, dl
mov edx, dword [r15 + rdx*4]
xor edx, dword [rax + r12*4 + 8]
mov r11d, dword [rsp + 0x2c]
mov r13d, r11d
shr r11d, 8
mov r8d, dword [rsp + 0x24]
movzx ebx, r8b
shr edi, 0x10
movzx r11d, r11b
movzx edi, dil
xor edx, dword [rsi + rdi*4]
xor edx, dword [r9 + r11*4]
xor edx, dword [r10 + rbx*4]
lea rbx, [r12 + 3]
cmp rcx, rbx
ja 0x1de553d05
jmp 0x1de55407d
mov dword [rsp + 0x20], r12d
mov edx, r12d
shr r12d, 8
movzx ebx, r12b
lea r8, [0x1de7a3180]
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 + 0x14]
movzx r10d, bl
movzx r10d, byte [r10 + r8]
or r10d, r12d
mov r12d, r9d
shr r9d, 8
movzx r9d, r9b
movzx r9d, byte [r9 + r8]
shl r9d, 8
mov r13d, r11d
shr r11d, 0x10
movzx r11d, r11b
movzx r11d, byte [r11 + r8]
shl r11d, 0x10
mov r15d, ebx
shr ebx, 0x18
movzx ebx, byte [r8 + rbx]
shl ebx, 0x18
or ebx, r11d
or ebx, r9d
movzx r9d, dl
movzx r9d, byte [r9 + r8]
or r9d, ebx
mov ebx, r13d
shr r13d, 8
movzx r11d, r13b
movzx r11d, byte [r11 + r8]
shl r11d, 8
mov r13d, r15d
shr r15d, 0x10
movzx r15d, r15b
movzx r15d, byte [r15 + r8]
shl r15d, 0x10
shr edx, 0x18
movzx edx, byte [r8 + rdx]
shl edx, 0x18
or edx, r15d
or edx, r11d
movzx r11d, r12b
movzx r11d, byte [r11 + r8]
or r11d, edx
shr r13d, 8
movzx edx, r13b
movzx edx, byte [rdx + r8]
shl edx, 8
mov r13d, dword [rsp + 0x20]
shr r13d, 0x10
movzx r13d, r13b
movzx r13d, byte [r13 + r8]
shl r13d, 0x10
shr r12d, 0x18
movzx r12d, byte [r8 + r12]
shl r12d, 0x18
or r12d, r13d
or edx, r12d
movzx ebx, bl
movzx ebx, byte [rbx + r8]
or ebx, edx
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jbe 0x1de554075
xor r10d, dword [rax + rdx*4]
lea r8, [rdx + 1]
cmp rcx, r8
jbe 0x1de55406d
xor r9d, dword [rax + rdx*4 + 4]
lea r8, [rdx + 2]
cmp rcx, r8
jbe 0x1de554065
xor r11d, dword [rax + rdx*4 + 8]
lea r8, [rdx + 3]
cmp rcx, r8
jbe 0x1de55405a
xor ebx, dword [rax + rdx*4 + 0xc]
nop word [rax + rax]
cmp rsi, 0xf
jbe 0x1de55404d
nop
bswap r10d
mov dword [rdi], r10d
nop
bswap r9d
mov dword [rdi + 4], r9d
nop
bswap r11d
mov dword [rdi + 8], r11d
nop
bswap ebx
mov dword [rdi + 0xc], ebx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov eax, 0xf
mov rcx, rsi
call fcn.1de49fa60
mov rax, r8
nop dword [rax]
call fcn.1de49fa60
mov rax, r8
call fcn.1de49fa60
mov rax, r8
call fcn.1de49fa60
mov rax, rdx
call fcn.1de49fa60
mov rax, rbx
call fcn.1de49fa60
mov rax, rbx
call fcn.1de49fa60
mov rax, rdi
call fcn.1de49fa60
mov rax, r12
call fcn.1de49fa60
mov eax, 3
mov rcx, rax
call fcn.1de49fa60
mov eax, 2
mov rcx, rax
call fcn.1de49fa60
mov eax, 1
mov rcx, rax
nop
call fcn.1de49fa60
xor eax, eax
mov rcx, rax
call fcn.1de49fa60
mov eax, 0xf
mov rcx, r10
call fcn.1de49fa60
nop
int3