Function at 0x14000a864
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x248]
mov rdi, r8
mov r15d, dword [rbp + 0x250]
mov r13, qword [rbp + 0x240]
mov r12, qword [rbp + 0x258]
mov r14, qword [rbp + 0x260]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r9
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x48], rcx
cmp r15d, 0x18
ja 0x14000ab06
xor esi, esi
lea rbx, [rcx + 0x4b4]
cmp dword [rbx + 0x134], r15d
jne 0x14000a913
mov rdx, rdi
mov rcx, rbx
call fcn.14001d1b8
test al, al
je 0x14000a913
mov rax, qword [rbx + 0x102]
cmp rax, qword [r13]
jne 0x14000a913
mov rax, qword [rbx + 0x10a]
cmp rax, qword [r13 + 8]
je 0x14000ab29
inc esi
add rbx, 0x178
cmp esi, 4
jb 0x14000a8dd
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov ebx, 0x200
mov r8d, ebx
call fcn.14002160c
mov ecx, r15d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14000a949
mov dword [rsp + 0x38], eax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
mov r8, r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000af64
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14001d4d4
mov rbx, qword [rsp + 0x48]
mov ecx, dword [rbx + 0xa94]
lea rdx, [rbx + 0x4b4]
mov eax, ecx
and eax, 3
imul rax, rax, 0x178
add rdx, rax
lea eax, [rcx + 1]
mov dword [rbx + 0xa94], eax
mov rcx, rdx
mov eax, 2
mov dword [rdx + 0x134], r15d
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rdi + 0x70]
add rdi, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14000a9cd
movzx eax, word [rdi]
xor r9d, r9d
mov word [rcx], ax
mov r8b, 1
movups xmm0, xmmword [r13]
lea rcx, [rdx + 0x112]
lea edi, [r9 + 0x20]
movdqu xmmword [rdx + 0x102], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x138], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x148], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x158], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x168], xmm1
mov edx, edi
call fcn.14001d334
movups xmm3, xmmword [rbp - 0x70]
movups xmm2, xmmword [rbp - 0x80]
test r12, r12
je 0x14000aa97
movups xmmword [r12], xmm2
movups xmmword [r12 + 0x10], xmm3
test r14, r14
je 0x14000aacf
xor eax, eax
lea rdx, [rbp - 0x60]
mov qword [r14], rax
xor r8d, r8d
mov r9, rdi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + r14], al
sub r9, 1
jne 0x14000aaab
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14001d4d4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000aaf9
mov dl, byte [rsp + 0x40]
lea rcx, [rbx + 0xa9c]
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
call fcn.14001a7b0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14001d4d4
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14002cef0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [rbx + 0x112]
xor r9d, r9d
xor r8d, r8d
movups xmm1, xmmword [rbx + 0x122]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
lea edi, [r9 + 0x20]
mov edx, edi
movups xmmword [rsp + 0x70], xmm1
call fcn.14001d334
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [rbx + 0x168]
mov rbx, qword [rsp + 0x48]
movups xmm2, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmm3, xmm1
movups xmmword [rbp - 0x70], xmm1
jmp 0x14000aa87