Function at 0x140018e28
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 [0x140081ee0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x248]
mov rbx, 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 0x1400190ca
xor esi, esi
lea rdi, [rcx + 0x4b4]
cmp dword [rdi + 0x134], r15d
jne 0x140018ed7
mov rdx, rbx
mov rcx, rdi
call fcn.140043594
test al, al
je 0x140018ed7
mov rax, qword [rdi + 0x102]
cmp rax, qword [r13]
jne 0x140018ed7
mov rax, qword [rdi + 0x10a]
cmp rax, qword [r13 + 8]
je 0x1400190ed
inc esi
add rdi, 0x178
cmp esi, 4
jb 0x140018ea1
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov edi, 0x200
mov r8d, edi
call fcn.140048d2c
mov ecx, r15d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140018f0d
mov dword [rsp + 0x38], eax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x80]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
mov r8, r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.14001945c
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400438bc
mov rdi, qword [rsp + 0x48]
mov ecx, dword [rdi + 0xa94]
lea rdx, [rdi + 0x4b4]
mov eax, ecx
and eax, 3
imul rax, rax, 0x178
add rdx, rax
lea eax, [rcx + 1]
mov dword [rdi + 0xa94], eax
mov rcx, rdx
mov eax, 2
mov dword [rdx + 0x134], r15d
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rbx + 0x70]
add rbx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140018f91
movzx eax, word [rbx]
xor r9d, r9d
mov word [rcx], ax
mov r8b, 1
movups xmm0, xmmword [r13]
lea rcx, [rdx + 0x112]
lea esi, [r9 + 0x20]
movdqu xmmword [rdx + 0x102], xmm0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x138], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x148], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x158], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x168], xmm1
mov edx, esi
call fcn.140043710
movups xmm3, xmmword [rsp + 0x70]
movups xmm2, xmmword [rsp + 0x60]
test r12, r12
je 0x14001905d
movups xmmword [r12], xmm2
movups xmmword [r12 + 0x10], xmm3
test r14, r14
je 0x140019095
xor eax, eax
lea r8, [rbp - 0x80]
mov qword [r14], rax
xor edx, edx
mov r9, rsi
mov al, byte [r8]
mov rcx, rdx
and ecx, 7
inc rdx
inc r8
xor byte [rcx + r14], al
sub r9, 1
jne 0x140019070
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400438bc
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400190be
mov dl, byte [rsp + 0x40]
lea rcx, [rdi + 0xa9c]
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x60]
call fcn.1400405b8
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400438bc
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140055f90
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
lea rbx, [rdi + 0x112]
xor r8d, r8d
mov rcx, rbx
lea esi, [r9 + 0x20]
mov edx, esi
call fcn.140043710
movups xmm0, xmmword [rbx]
xor r9d, r9d
mov r8b, 1
movups xmm1, xmmword [rbx + 0x10]
mov edx, esi
mov rcx, rbx
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm1
call fcn.140043710
movups xmm0, xmmword [rdi + 0x138]
movups xmm1, xmmword [rdi + 0x148]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rdi + 0x158]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [rdi + 0x168]
mov rdi, qword [rsp + 0x48]
movups xmm2, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmm3, xmm1
movups xmmword [rsp + 0x70], xmm1
jmp 0x14001904d