Function at 0x14000de30
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
mov esi, dword [rcx]
lea rax, [rcx + rax*4]
mov r9d, dword [rdx + 0xc]
xor r9d, dword [rax + 0x1c]
mov ebx, dword [rdx + 4]
mov ecx, r9d
xor ebx, dword [rax + 0x14]
mov r13d, r9d
mov ebp, dword [rdx + 8]
mov edi, ebx
xor ebp, dword [rax + 0x18]
mov r10d, ebx
mov r14d, dword [rdx]
mov r11d, ebp
xor r14d, dword [rax + 0x10]
mov r15d, ebp
shr ecx, 0x10
mov r12d, ebp
mov dword [rsp], ecx
add rax, 0x20
mov qword [rsp + 0x10], r8
mov ecx, r9d
sar esi, 1
mov r8d, ebx
shr ecx, 0x18
dec esi
shr edi, 0x18
shr r8d, 8
shr r10d, 0x10
shr r11d, 0x10
shr r15d, 0x18
shr r12d, 8
shr r13d, 8
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x1c], ebx
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], r9d
mov dword [rsp + 4], ecx
test esi, esi
jle 0x14000db9d
nop dword [rax]
lea r13, [0x140000000]
mov ecx, r9d
shr ecx, 8
movzx edi, cl
mov ecx, ebp
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
mov r11d, dword [r13 + rdi*4 + 0x2aa60]
shr rcx, 0x18
xor r11d, dword [r13 + rdx*4 + 0x2ba60]
mov edi, r9d
shr rdi, 0x18
xor r11d, dword [r13 + rcx*4 + 0x29d30]
movzx ecx, byte [rsp + 0x18]
xor r11d, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, r9d
mov r9d, dword [r13 + rdi*4 + 0x29d30]
xor r11d, dword [rax]
shr ecx, 0x10
movzx edx, cl
mov ecx, ebp
shr rcx, 0x18
shr ebp, 8
mov r10d, dword [r13 + rdx*4 + 0x2ba60]
xor r10d, dword [r13 + rcx*4 + 0x29d30]
mov ecx, r14d
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rsp + 0x1c]
xor r10d, dword [r13 + rdx*4 + 0x2aa60]
xor r10d, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, ebx
xor r10d, dword [rax + 4]
shr ecx, 8
movzx edx, cl
mov ecx, r14d
shr ecx, 0x10
shr ebx, 0x10
xor r9d, dword [r13 + rdx*4 + 0x2aa60]
movzx edx, cl
movzx ecx, byte [rsp + 0x20]
xor r9d, dword [r13 + rdx*4 + 0x2ba60]
xor r9d, dword [r13 + rcx*4 + 0x2ae60]
xor r9d, dword [rax + 8]
movzx ecx, bl
movzx edx, bpl
mov edx, dword [r13 + rdx*4 + 0x2aa60]
xor edx, dword [r13 + rcx*4 + 0x2ba60]
mov ecx, r14d
shr rcx, 0x18
xor edx, dword [r13 + rcx*4 + 0x29d30]
movzx ecx, byte [rsp + 0x24]
xor edx, dword [r13 + rcx*4 + 0x2ae60]
xor edx, dword [rax + 0xc]
mov ecx, edx
mov r8d, edx
shr ecx, 8
movzx edi, cl
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov r14d, dword [r13 + rdi*4 + 0x2aa60]
xor r14d, dword [r13 + rdx*4 + 0x2ba60]
xor r14d, dword [r13 + rcx*4 + 0x29d30]
movzx ecx, r11b
xor r14d, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, r11d
xor r14d, dword [rax + 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
mov dword [rsp + 0x18], r14d
mov ebx, dword [r13 + rdi*4 + 0x2aa60]
xor ebx, dword [r13 + rdx*4 + 0x2ba60]
shr rcx, 0x18
xor ebx, dword [r13 + rcx*4 + 0x29d30]
dec esi
movzx ecx, r10b
xor ebx, dword [r13 + rcx*4 + 0x2ae60]
xor ebx, dword [rax + 0x14]
mov ecx, ebx
mov dword [rsp + 0x1c], ebx
shr ecx, 0x10
mov r12d, ebx
mov dword [rsp + 0xc], ecx
mov edi, ebx
mov ecx, r11d
shr r12d, 8
shr ecx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 0x18
shr r11, 0x18
shr edi, 0x18
mov ebp, dword [r13 + rdx*4 + 0x2ba60]
xor ebp, dword [r13 + rcx*4 + 0x29d30]
mov ecx, r10d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
shr r9d, 8
shr r10d, 0x10
xor ebp, dword [r13 + rdx*4 + 0x2aa60]
xor ebp, dword [r13 + rcx*4 + 0x2ae60]
xor ebp, dword [rax + 0x18]
mov ecx, ebp
mov dword [rsp + 0x20], ebp
shr ecx, 0x10
mov edx, ebp
mov dword [rsp + 8], ecx
mov r15d, ebp
movzx ecx, r9b
mov r9d, dword [r13 + r11*4 + 0x29d30]
shr edx, 8
shr r15d, 0x18
xor r9d, dword [r13 + rcx*4 + 0x2aa60]
movzx ecx, r10b
xor r9d, dword [r13 + rcx*4 + 0x2ba60]
movzx ecx, r8b
xor r9d, dword [r13 + rcx*4 + 0x2ae60]
xor r9d, dword [rax + 0x1c]
add rax, 0x20
mov ecx, r9d
mov dword [rsp + 0x24], r9d
mov r8d, r9d
shr ecx, 0x18
mov r13d, r9d
shr r8d, 0x10
shr r13d, 8
test esi, esi
jg 0x14000d920
movzx r11d, byte [rsp + 8]
movzx r10d, byte [rsp + 0xc]
mov byte [rsp], r8b
movzx r8d, r12b
movzx r12d, dl
mov byte [rsp + 4], cl
movzx ecx, r11b
movzx edx, dil
lea rdi, [0x140000000]
mov esi, dword [rdi + rdx*4 + 0x29d30]
xor esi, dword [rdi + rcx*4 + 0x2ba60]
movzx ecx, r13b
lea r13, [0x140000000]
xor esi, dword [r13 + rcx*4 + 0x2aa60]
movzx ecx, byte [rsp + 0x18]
xor esi, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, r14d
xor esi, dword [rax]
shr ecx, 8
movzx edx, cl
movzx ecx, r15b
mov edx, dword [r13 + rdx*4 + 0x2aa60]
xor edx, dword [r13 + rcx*4 + 0x29d30]
movzx ecx, byte [rsp]
xor edx, dword [r13 + rcx*4 + 0x2ba60]
movzx ecx, bl
xor edx, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, r14d
xor edx, dword [rax + 4]
shr ecx, 0x10
mov ebx, edx
movzx edx, cl
movzx ecx, byte [rsp + 4]
mov r11d, dword [r13 + rdx*4 + 0x2ba60]
xor r11d, dword [r13 + rcx*4 + 0x29d30]
movzx ecx, r8b
mov edx, r14d
shr rdx, 0x18
xor r11d, dword [r13 + rcx*4 + 0x2aa60]
movzx ecx, bpl
mov edx, dword [r13 + rdx*4 + 0x29d30]
xor r11d, dword [r13 + rcx*4 + 0x2ae60]
xor r11d, dword [rax + 8]
movzx ecx, r10b
xor edx, dword [r13 + rcx*4 + 0x2ba60]
movzx ecx, r12b
xor edx, dword [r13 + rcx*4 + 0x2aa60]
movzx ecx, r9b
xor edx, dword [r13 + rcx*4 + 0x2ae60]
mov ecx, ebx
xor edx, dword [rax + 0xc]
shr rcx, 0x18
mov r9d, edx
movzx r10d, byte [rcx + r13 + 0x2a130]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r13 + 0x2a130]
xor r10d, ecx
mov ecx, r9d
shr ecx, 8
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r13 + 0x2a130]
xor r10d, ecx
movzx ecx, sil
shl r10d, 8
movzx ecx, byte [rcx + r13 + 0x2a130]
xor r10d, ecx
mov ecx, r11d
xor r10d, dword [rax + 0x10]
shr rcx, 0x18
movzx r8d, byte [rcx + r13 + 0x2a130]
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x2a130]
xor r8d, ecx
mov ecx, esi
shr ecx, 8
shl r8d, 8
movzx edx, cl
movzx ecx, byte [rdx + r13 + 0x2a130]
xor r8d, ecx
shl r8d, 8
movzx ecx, bl
movzx ecx, byte [rcx + r13 + 0x2a130]
xor r8d, ecx
mov ecx, r9d
xor r8d, dword [rax + 0x14]
shr rcx, 0x18
movzx edi, byte [rcx + r13 + 0x2a130]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl edi, 8
shr rsi, 0x18
movzx ecx, byte [rdx + r13 + 0x2a130]
xor edi, ecx
mov ecx, ebx
shr ecx, 8
movzx edx, cl
shl edi, 8
shr ebx, 0x10
movzx ecx, byte [rdx + r13 + 0x2a130]
movzx edx, byte [rsi + r13 + 0x2a130]
xor edi, ecx
shl edx, 8
shl edi, 8
movzx ecx, r11b
shr r11d, 8
movzx ecx, byte [rcx + r13 + 0x2a130]
xor edi, ecx
movzx ecx, bl
xor edi, dword [rax + 0x18]
movzx ecx, byte [rcx + r13 + 0x2a130]
xor edx, ecx
movzx ecx, r11b
shl edx, 8
movzx ecx, byte [rcx + r13 + 0x2a130]
xor edx, ecx
movzx ecx, r9b
shl edx, 8
movzx ecx, byte [rcx + r13 + 0x2a130]
xor edx, ecx
mov ecx, 0x20
xor edx, dword [rax + 0x1c]
mov rax, qword [rsp + 0x10]
mov dword [rax + 8], edi
lea rdi, [rsp + 0x18]
mov dword [rax], r10d
mov dword [rax + 4], r8d
mov dword [rax + 0xc], edx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000e730
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x20
mov r12, r9
mov r15, r8
mov ebp, edx
mov rdi, rcx
cmp edx, 1
jbe 0x14000de62
mov eax, 0xffffffdf
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov ebx, dword [0x140029c14]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
test ebx, ebx
jne 0x14000deb1
mov eax, 1
xor ecx, ecx
cpuid
mov dword [0x140029c24], ebx
mov esi, ecx
mov ebx, 1
mov dword [0x140029c20], eax
mov dword [0x140029c14], ebx
mov dword [0x140029c28], ecx
mov dword [0x140029c2c], edx
mov dword [0x140029c18], ecx
jmp 0x14000deb7
mov esi, dword [0x140029c18]
bt esi, 0x19
jae 0x14000ded2
mov rcx, rdi
shr rcx, 2
and ecx, 3
je 0x14000ded2
mov eax, 4
sub eax, ecx
jmp 0x14000ded4
xor eax, eax
mov rcx, qword [rdi + 8]
mov r14d, eax
cmp r14, rcx
je 0x14000df03
mov eax, dword [rdi]
add rcx, 4
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rdi + rcx*4]
lea rcx, [rdi + 0x10]
lea rcx, [rcx + r14*4]
call fcn.14000fe60
mov qword [rdi + 8], r14
mov r14, qword [rsp + 0x50]
test ebx, ebx
jne 0x14000df3f
mov eax, 1
mov dword [0x140029c14], 1
xor ecx, ecx
cpuid
mov esi, ecx
mov dword [0x140029c20], eax
mov dword [0x140029c24], ebx
mov dword [0x140029c28], ecx
mov dword [0x140029c2c], edx
mov dword [0x140029c18], ecx
mov rbx, qword [rsp + 0x40]
bt esi, 0x19
mov rsi, qword [rsp + 0x48]
jae 0x14000dfc9
mov rax, qword [rdi + 8]
movups xmm0, xmmword [r15]
mov ecx, dword [rdi]
lea rax, [rdi + rax*4]
dec ecx
pxor xmm0, xmmword [rax + 0x10]
add rax, 0x20
test ebp, ebp
jne 0x14000df99
test ecx, ecx
je 0x14000df7e
aesdec xmm0, xmmword [rax]
add rax, 0x10
add ecx, 0xffffffff
jne 0x14000df70
aesdeclast xmm0, xmmword [rax]
movups xmmword [r12], xmm0
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
test ecx, ecx
je 0x14000dfae
nop dword [rax]
aesenc xmm0, xmmword [rax]
add rax, 0x10
add ecx, 0xffffffff
jne 0x14000dfa0
aesenclast xmm0, xmmword [rax]
movups xmmword [r12], xmm0
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
mov r8, r12
mov rdx, r15
mov rcx, rdi
cmp ebp, 1
jne 0x14000dfea
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
jmp fcn.14000d280
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
jmp 0x14000d860