Function at 0x140019280
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 [0x140084ee0]
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 0x140019522
xor esi, esi
lea rbx, [rcx + 0x4b4]
cmp dword [rbx + 0x134], r15d
jne 0x14001932f
mov rdx, rdi
mov rcx, rbx
call fcn.140045730
test al, al
je 0x14001932f
mov rax, qword [rbx + 0x102]
cmp rax, qword [r13]
jne 0x14001932f
mov rax, qword [rbx + 0x10a]
cmp rax, qword [r13 + 8]
je 0x140019545
inc esi
add rbx, 0x178
cmp esi, 4
jb 0x1400192f9
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov ebx, 0x200
mov r8d, ebx
call fcn.14004b0f8
mov ecx, r15d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140019365
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.140019ac4
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140045a2c
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 0x1400193e9
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.14004588c
movups xmm3, xmmword [rbp - 0x70]
movups xmm2, xmmword [rbp - 0x80]
test r12, r12
je 0x1400194b3
movups xmmword [r12], xmm2
movups xmmword [r12 + 0x10], xmm3
test r14, r14
je 0x1400194eb
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 0x1400194c7
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140045a2c
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140019515
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.140042834
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140045a2c
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140057de0
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.14004588c
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 0x1400194a3