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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400014c0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jge 0x140001fe9
mov eax, dword [rsp + 0x2c]
jmp 0x140002549
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xf0]
shl eax, 2
mov dword [rsp + 0x24], eax
jmp 0x140002025
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
sub eax, 4
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x14000215b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov ecx, dword [rsp + 0x20]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 2
cdqe
mov ecx, dword [rsp + 0x20]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x24]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
add eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 3
cdqe
mov ecx, dword [rsp + 0x20]
add ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x24]
add eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
jmp 0x14000200f
mov dword [rsp + 0x20], 1
jmp 0x14000216f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xf0]
cmp dword [rsp + 0x20], eax
jge 0x140002547
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
shr eax, 0x18
mov eax, eax
lea rcx, str.ccccwwww
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov eax, eax
lea rcx, [0x1401b3cf0]
mov edx, 4
imul rdx, rdx, 0
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, str.ccccwwww
mov edx, dword [r8 + rdx*4]
and edx, 0xff
mov edx, edx
lea r8, [0x1401b40f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b44f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b48f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
shr eax, 0x18
mov eax, eax
lea rcx, str.ccccwwww
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov eax, eax
lea rcx, [0x1401b3cf0]
mov edx, 4
imul rdx, rdx, 1
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, str.ccccwwww
mov edx, dword [r8 + rdx*4]
and edx, 0xff
mov edx, edx
lea r8, [0x1401b40f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b44f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b48f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
shr eax, 0x18
mov eax, eax
lea rcx, str.ccccwwww
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov eax, eax
lea rcx, [0x1401b3cf0]
mov edx, 4
imul rdx, rdx, 2
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, str.ccccwwww
mov edx, dword [r8 + rdx*4]
and edx, 0xff
mov edx, edx
lea r8, [0x1401b40f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b44f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b48f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
shr eax, 0x18
mov eax, eax
lea rcx, str.ccccwwww
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov eax, eax
lea rcx, [0x1401b3cf0]
mov edx, 4
imul rdx, rdx, 3
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx]
shr edx, 0x10
and edx, 0xff
mov edx, edx
lea r8, str.ccccwwww
mov edx, dword [r8 + rdx*4]
and edx, 0xff
mov edx, edx
lea r8, [0x1401b40f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b44f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1401b48f0]
xor eax, dword [rdx + rcx*4]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x140002165
xor eax, eax
add rsp, 0x48
ret