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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xe20]
sub rsp, 0xf20
mov r10d, edx
mov r11d, edx
mov rbx, rcx
shr r10d, 4
lea rdx, [rsp + 0x20]
mov rcx, r8
call fcn.140320ac8
lea rcx, [rsp + 0x20]
call fcn.140320dc4
mov rdi, qword [rbp + 0xe50]
mov ecx, r10d
mov edx, 0
movdqu xmm5, xmmword [r9]
mov r8, qword [rdi]
and ecx, 0xfffffffc
jbe 0x1403209bc
movdqa xmm0, xmmword [rsp + 0x20]
mov eax, edx
add rax, rax
add edx, 4
movdqu xmm1, xmmword [rbx + rax*8]
movdqu xmm2, xmmword [rbx + rax*8 + 0x10]
pxor xmm0, xmm1
aesdec xmm0, xmmword [rsp + 0x30]
aesdec xmm0, xmmword [rsp + 0x40]
aesdec xmm0, xmmword [rsp + 0x50]
aesdec xmm0, xmmword [rsp + 0x60]
aesdec xmm0, xmmword [rsp + 0x70]
aesdec xmm0, xmmword [rbp - 0x80]
aesdec xmm0, xmmword [rbp - 0x70]
aesdec xmm0, xmmword [rbp - 0x60]
aesdec xmm0, xmmword [rbp - 0x50]
aesdec xmm0, xmmword [rbp - 0x40]
aesdec xmm0, xmmword [rbp - 0x30]
aesdec xmm0, xmmword [rbp - 0x20]
aesdec xmm0, xmmword [rbp - 0x10]
aesdeclast xmm0, xmmword [rbp]
movdqu xmm4, xmmword [rbx + rax*8 + 0x20]
movdqu xmm3, xmmword [rbx + rax*8 + 0x30]
pxor xmm0, xmm5
movdqa xmm5, xmmword [rsp + 0x20]
movdqu xmmword [r8 + rax*8], xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm2
aesdec xmm0, xmmword [rsp + 0x30]
aesdec xmm0, xmmword [rsp + 0x40]
aesdec xmm0, xmmword [rsp + 0x50]
aesdec xmm0, xmmword [rsp + 0x60]
aesdec xmm0, xmmword [rsp + 0x70]
aesdec xmm0, xmmword [rbp - 0x80]
aesdec xmm0, xmmword [rbp - 0x70]
aesdec xmm0, xmmword [rbp - 0x60]
aesdec xmm0, xmmword [rbp - 0x50]
aesdec xmm0, xmmword [rbp - 0x40]
aesdec xmm0, xmmword [rbp - 0x30]
aesdec xmm0, xmmword [rbp - 0x20]
aesdec xmm0, xmmword [rbp - 0x10]
aesdeclast xmm0, xmmword [rbp]
pxor xmm0, xmm1
movdqa xmm1, xmm5
movdqu xmmword [r8 + rax*8 + 0x10], xmm0
pxor xmm1, xmm4
movdqa xmm0, xmm5
aesdec xmm1, xmmword [rsp + 0x30]
aesdec xmm1, xmmword [rsp + 0x40]
aesdec xmm1, xmmword [rsp + 0x50]
aesdec xmm1, xmmword [rsp + 0x60]
aesdec xmm1, xmmword [rsp + 0x70]
aesdec xmm1, xmmword [rbp - 0x80]
aesdec xmm1, xmmword [rbp - 0x70]
aesdec xmm1, xmmword [rbp - 0x60]
aesdec xmm1, xmmword [rbp - 0x50]
aesdec xmm1, xmmword [rbp - 0x40]
aesdec xmm1, xmmword [rbp - 0x30]
aesdec xmm1, xmmword [rbp - 0x20]
aesdec xmm1, xmmword [rbp - 0x10]
aesdeclast xmm1, xmmword [rbp]
pxor xmm0, xmm3
pxor xmm1, xmm2
aesdec xmm0, xmmword [rsp + 0x30]
aesdec xmm0, xmmword [rsp + 0x40]
aesdec xmm0, xmmword [rsp + 0x50]
aesdec xmm0, xmmword [rsp + 0x60]
aesdec xmm0, xmmword [rsp + 0x70]
aesdec xmm0, xmmword [rbp - 0x80]
aesdec xmm0, xmmword [rbp - 0x70]
aesdec xmm0, xmmword [rbp - 0x60]
aesdec xmm0, xmmword [rbp - 0x50]
aesdec xmm0, xmmword [rbp - 0x40]
aesdec xmm0, xmmword [rbp - 0x30]
aesdec xmm0, xmmword [rbp - 0x20]
aesdec xmm0, xmmword [rbp - 0x10]
aesdeclast xmm0, xmmword [rbp]
pxor xmm0, xmm4
movdqa xmm5, xmm3
movdqu xmmword [r8 + rax*8 + 0x20], xmm1
movdqu xmmword [r8 + rax*8 + 0x30], xmm0
cmp edx, ecx
jb 0x1403207da
cmp ecx, r10d
jae 0x140320a55
mov eax, ecx
sub rbx, r8
shl rax, 4
add rax, r8
sub r10d, ecx
mov ecx, r10d
movdqa xmm0, xmmword [rsp + 0x20]
movdqu xmm1, xmmword [rbx + rax]
pxor xmm0, xmm1
aesdec xmm0, xmmword [rsp + 0x30]
aesdec xmm0, xmmword [rsp + 0x40]
aesdec xmm0, xmmword [rsp + 0x50]
aesdec xmm0, xmmword [rsp + 0x60]
aesdec xmm0, xmmword [rsp + 0x70]
aesdec xmm0, xmmword [rbp - 0x80]
aesdec xmm0, xmmword [rbp - 0x70]
aesdec xmm0, xmmword [rbp - 0x60]
aesdec xmm0, xmmword [rbp - 0x50]
aesdec xmm0, xmmword [rbp - 0x40]
aesdec xmm0, xmmword [rbp - 0x30]
aesdec xmm0, xmmword [rbp - 0x20]
aesdec xmm0, xmmword [rbp - 0x10]
aesdeclast xmm0, xmmword [rbp]
pxor xmm0, xmm5
movdqa xmm5, xmm1
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1403209d7
mov r9, qword [rbp + 0xe58]
lea eax, [r11 - 1]
movzx edx, byte [rax + r8]
mov dword [r9], edx
lea eax, [rdx - 1]
cmp eax, 0xf
ja 0x140320a9b
mov ecx, 2
cmp edx, ecx
jb 0x140320a93
lea r10, [r8 - 2]
add r10, r11
movzx eax, byte [r10]
cmp edx, eax
jne 0x140320a9b
inc rcx
dec r10
cmp rcx, rdx
jbe 0x140320a80
sub r11d, edx
mov dword [r9], r11d
jmp 0x140320aab
and dword [r9], 0
mov rcx, r8
call fcn.14000d164
and qword [rdi], 0
lea r11, [rsp + 0xf20]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret