Function at 0x14019abec
Capabilities:
Encode data using xor
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x108
mov r10, qword [rcx]
mov r14, rcx
xor r12d, r12d
movaps xmmword [rax - 0x58], xmm6
mov r11, r9
mov ebx, r8d
mov ecx, dword [r10 + 4]
sub ecx, 1
je 0x14019ac3f
cmp ecx, 1
je 0x14019ac38
mov edi, r12d
jmp 0x14019ac44
mov edi, 1
jmp 0x14019ac44
mov edi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, dword [r14 + 0x38]
mov esi, r12d
mov dword [rsp + 0x78], r12d
mov dword [rbp - 0x78], r12d
lea eax, [r9 + r8]
cmp eax, ebx
jae 0x14019ac68
mov esi, 0xc004d107
mov ecx, esi
jmp 0x14019af71
xor edx, edx
div edi
mov r13d, eax
mov dword [rsp + 0x24], eax
imul r13d, edi
mov r10d, eax
mov rax, qword [rbp + 0x70]
mov dword [rbp + 0x60], r13d
cmp dword [rax], r13d
jb 0x14019af59
cmp qword [r11], r12
je 0x14019af59
cmp r13d, edi
jb 0x14019af59
lea r15, [r14 + 0x10]
movzx ecx, byte [r15 + 0x27]
test ecx, ecx
je 0x14019acb9
cmp ecx, 1
je 0x14019acb4
mov rax, r12
jmp 0x14019acbc
mov rax, qword [r15]
jmp 0x14019acbc
mov rax, r15
mov r8, qword [0x140438658]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14019acd2
mov rax, r12
jmp 0x14019acda
mov eax, dword [r8]
lea rax, [rsp + rax + 0x70]
movzx ecx, byte [r14 + 0x57]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r12d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm6
test ecx, ecx
je 0x14019ad07
cmp ecx, 1
je 0x14019ad01
mov rax, r12
jmp 0x14019ad0b
mov rax, qword [r14 + 0x40]
jmp 0x14019ad0b
lea rax, [r14 + 0x40]
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x14019ad19
mov rax, r12
jmp 0x14019ad21
mov eax, dword [r8]
lea rax, [rbp + rax - 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r12d
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp r9d, edi
jae 0x14019ad91
mov r13, qword [rbp + 0x58]
cmp r12d, ebx
jae 0x14019ad84
mov edx, dword [r13 + 8]
mov rcx, qword [r13]
add edx, r12d
call fcn.1401842a8
movzx ecx, byte [r15 + 0x27]
mov dl, al
test ecx, ecx
je 0x14019ad6d
cmp ecx, 1
je 0x14019ad68
xor ecx, ecx
jmp 0x14019ad70
mov rcx, qword [r15]
jmp 0x14019ad70
mov rcx, r15
mov eax, dword [r14 + 0x38]
inc r12d
mov byte [rax + rcx], dl
inc dword [r14 + 0x38]
cmp dword [r14 + 0x38], edi
jb 0x14019ad3f
mov r13d, dword [rbp + 0x60]
mov r11, qword [rbp + 0x68]
mov r10d, dword [rsp + 0x24]
sub ebx, r12d
sub ebx, r13d
add dword [r14 + 0x38], ebx
xor ebx, ebx
movaps xmm0, xmmword [r11]
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], ebx
test r10d, r10d
je 0x14019aec5
lea rax, [0x14004a6b8]
mov dword [rsp + 0x50], edi
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x54]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x50], rax
xor r9d, r9d
mov rax, qword [r14]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x3c], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea r8d, [r9 + 0x40]
lea rax, [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm6
lea ecx, [r8 + 0x79]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x60], 3
mov dword [rbp - 0x40], 0x40
mov dword [rbp - 0x34], edi
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rsp + 0x54]
test esi, esi
js 0x14019ac61
test edi, edi
je 0x14019ae85
mov r13d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x68]
sub r13d, r15d
mov r14d, edi
mov rcx, qword [rsp + 0x30]
lea edx, [r15 + r13]
call fcn.1401842a8
mov rcx, qword [rsp + 0x60]
mov edx, r15d
mov bl, al
call fcn.1401842a8
mov rcx, qword [rsp + 0x60]
xor al, bl
mov r8b, al
mov edx, r15d
call fcn.1401842f0
inc r15d
sub r14, 1
jne 0x14019ae3d
mov r14, qword [rbp + 0x50]
mov r13d, dword [rbp + 0x60]
mov ebx, dword [rsp + 0x20]
lea r15, [r14 + 0x10]
mov rdx, qword [rbp + 0x58]
inc ebx
add dword [rsp + 0x68], edi
movdqa xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], ebx
mov ecx, dword [rdx + 8]
mov rax, qword [rdx]
add ecx, r12d
mov dword [rbp - 0x68], ecx
add r12d, edi
mov qword [rbp - 0x70], rax
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rsp + 0x40], xmm6
cmp ebx, dword [rsp + 0x24]
jae 0x14019aec5
movaps xmm0, xmmword [rsp + 0x60]
jmp 0x14019adb3
mov rax, qword [rbp + 0x70]
xor ebx, ebx
mov dword [rax], r13d
test edi, edi
je 0x14019af17
mov r15d, dword [rsp + 0x38]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
lea edx, [r15 + rbx]
call fcn.1401842a8
movzx ecx, byte [r14 + 0x57]
mov dl, al
test ecx, ecx
je 0x14019af02
cmp ecx, 1
je 0x14019aefc
xor eax, eax
jmp 0x14019af06
mov rax, qword [r14 + 0x40]
jmp 0x14019af06
lea rax, [r14 + 0x40]
mov byte [rax + r12], dl
inc ebx
inc r12
cmp ebx, edi
jb 0x14019aeda
lea r15, [r14 + 0x10]
xor ebx, ebx
cmp dword [r14 + 0x38], ebx
jbe 0x14019af76
mov edi, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea edx, [rdi + rbx]
call fcn.1401842a8
movzx ecx, byte [r15 + 0x27]
mov dl, al
test ecx, ecx
je 0x14019af49
cmp ecx, 1
je 0x14019af44
xor ecx, ecx
jmp 0x14019af4c
mov rcx, qword [r15]
jmp 0x14019af4c
mov rcx, r15
mov byte [rbx + rcx], dl
inc ebx
cmp ebx, dword [r14 + 0x38]
jb 0x14019af23
jmp 0x14019af76
mov dword [rax], r13d
mov rax, qword [r11]
neg rax
sbb ecx, ecx
and ecx, 0xc004d107
mov esi, ecx
cmp qword [r11], r12
je 0x14019af76
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
movaps xmm6, xmmword [rsp + 0xf0]
mov eax, esi
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret