Function at 0x14019afa4
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 - 0x57]
sub rsp, 0xf8
mov r10, qword [rcx]
mov r12, rcx
xor r15d, r15d
movaps xmmword [rax - 0x58], xmm6
mov ebx, r8d
mov rsi, r9
mov r8, rdx
mov ecx, dword [r10 + 4]
sub ecx, 1
je 0x14019affb
cmp ecx, 1
je 0x14019aff3
mov r14d, r15d
jmp 0x14019b001
mov r14d, 1
jmp 0x14019b001
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, dword [r12 + 0x38]
mov dword [rbp - 0x19], r15d
lea eax, [rcx + rbx]
cmp eax, ebx
jae 0x14019b01f
mov r15d, 0xc004d107
mov ecx, r15d
jmp 0x14019b508
cmp qword [r9], r15
jne 0x14019b041
lea eax, [rcx + r14]
xor edx, edx
lea ecx, [rbx - 1]
add ecx, eax
mov eax, ecx
div r14d
mov rax, qword [rbp + 0x7f]
sub ecx, edx
mov dword [rax], ecx
jmp 0x14019b50d
cmp eax, r14d
ja 0x14019b0aa
mov edi, r15d
test ebx, ebx
je 0x14019b096
mov edx, dword [r8 + 8]
mov rcx, qword [r8]
add edx, edi
call fcn.1401842a8
movzx ecx, byte [r12 + 0x37]
mov dl, al
test ecx, ecx
je 0x14019b078
cmp ecx, 1
je 0x14019b071
mov rcx, r15
jmp 0x14019b07d
mov rcx, qword [r12 + 0x10]
jmp 0x14019b07d
lea rcx, [r12 + 0x10]
mov eax, dword [r12 + 0x38]
mov r8, qword [rbp + 0x67]
add eax, edi
inc edi
mov byte [rax + rcx], dl
cmp edi, ebx
jb 0x14019b04d
mov ecx, dword [r12 + 0x38]
lea eax, [rcx + rbx]
mov dword [r12 + 0x38], eax
mov rax, qword [rbp + 0x7f]
mov dword [rax], r15d
jmp 0x14019b50d
xor edx, edx
lea eax, [rcx - 1]
add eax, r14d
add eax, ebx
div r14d
mov rdx, qword [rbp + 0x7f]
dec eax
mov dword [rsp + 0x28], eax
imul eax, r14d
mov dword [rsp + 0x2c], eax
cmp dword [rdx], eax
jb 0x14019b4ef
mov dword [rbp + 0x6f], r15d
mov edi, r15d
cmp ecx, r14d
jae 0x14019b133
cmp edi, ebx
jae 0x14019b12c
mov edx, dword [r8 + 8]
mov rcx, qword [r8]
add edx, edi
call fcn.1401842a8
lea rcx, [r12 + 0x10]
mov r8b, al
movzx edx, byte [rcx + 0x27]
test edx, edx
je 0x14019b10c
cmp edx, 1
je 0x14019b109
mov rcx, r15
jmp 0x14019b10c
mov rcx, qword [rcx]
mov eax, dword [r12 + 0x38]
inc edi
mov byte [rax + rcx], r8b
mov ecx, dword [r12 + 0x38]
mov r8, qword [rbp + 0x67]
inc ecx
mov dword [r12 + 0x38], ecx
cmp ecx, r14d
jb 0x14019b0dd
mov eax, dword [rsp + 0x2c]
mov dword [rbp + 0x6f], edi
sub ecx, eax
mov dword [rsp + 0x24], r14d
sub ecx, edi
lea r13, [r12 + 0x10]
add ecx, ebx
mov dword [r12 + 0x38], ecx
movzx ecx, byte [r13 + 0x27]
movaps xmm0, xmmword [rsi]
movdqa xmmword [rbp - 0x11], xmm0
test ecx, ecx
je 0x14019b169
cmp ecx, 1
je 0x14019b163
mov rax, r15
jmp 0x14019b16c
mov rax, qword [r13]
jmp 0x14019b16c
mov rax, r13
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14019b180
mov rax, r15
jmp 0x14019b191
mov rax, qword [0x140438658]
mov ecx, dword [rax]
lea rax, [rsp + 0x40]
add rax, rcx
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x61]
mov ecx, 0x40
mov dword [rsp + 0x58], r15d
movaps xmm0, xmmword [rsp + 0x50]
lea rax, [0x14004a6b8]
mov qword [rbp - 0x59], rax
mov r8d, ecx
lea rax, [rsp + 0x60]
mov dword [rbp - 0x41], ecx
mov qword [rbp - 0x51], rax
xor r9d, r9d
mov rax, qword [r12]
mov qword [rbp - 0x49], rax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 0x71]
movdqa xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x3d], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x31], rax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x61], 3
mov dword [rbp - 0x35], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov r15d, dword [rsp + 0x60]
mov dword [rbp - 0x7d], r15d
test r15d, r15d
js 0x14019b017
and dword [rsp + 0x20], 0
test r14d, r14d
je 0x14019b29c
mov r13, qword [rbp + 0x77]
lea r15, [r12 + 0x40]
mov r12d, dword [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x30], rdx
movzx ecx, byte [r15 + 0x17]
test ecx, ecx
je 0x14019b249
cmp ecx, 1
je 0x14019b244
xor ecx, ecx
jmp 0x14019b24c
mov rcx, qword [r15]
jmp 0x14019b24c
mov rcx, r15
mov bl, byte [rdx + rcx]
mov edi, dword [r13 + 8]
mov rsi, qword [r13]
add edi, r12d
mov edx, edi
mov rcx, rsi
call fcn.1401842a8
xor al, bl
mov edx, edi
mov r8b, al
mov rcx, rsi
call fcn.1401842f0
mov rdx, qword [rsp + 0x30]
inc r12d
inc rdx
mov qword [rsp + 0x30], rdx
cmp r12d, r14d
jb 0x14019b232
mov r12, qword [rbp + 0x5f]
mov r15d, dword [rbp - 0x7d]
mov edi, dword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
lea r13, [r12 + 0x10]
mov rdx, qword [rbp + 0x67]
mov rax, qword [rdx]
mov ecx, dword [rdx + 8]
add ecx, edi
mov qword [rsp + 0x50], rax
mov rax, qword [rsi]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsi + 8]
movaps xmm6, xmmword [rsp + 0x50]
add ecx, r14d
mov dword [rsp + 0x38], ecx
movzx ecx, byte [r13 + 0x27]
mov qword [rsp + 0x30], rax
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x30], xmm1
test ecx, ecx
je 0x14019b2ef
cmp ecx, 1
je 0x14019b2e9
xor eax, eax
jmp 0x14019b2f2
mov rax, qword [r13]
jmp 0x14019b2f2
mov rax, r13
mov qword [rbp - 0x21], rax
test rax, rax
je 0x14019b30b
mov rax, qword [0x140438658]
mov ecx, dword [rax]
lea rax, [rbp - 0x21]
add rax, rcx
and dword [rsp + 0x48], 0
mov ebx, 0
add dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], ebx
je 0x14019b451
mov esi, dword [rsp + 0x38]
mov ecx, 0x40
mov dword [rsp + 0x24], r14d
lea rax, [0x14004a6b8]
mov dword [rbp - 0x41], ecx
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x61]
lea rax, [rbp - 0x79]
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rbp - 0x51], rax
mov r8d, ecx
mov rax, qword [r12]
xor r9d, r9d
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x3d], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x31], rax
lea ecx, [r8 + 0x79]
lea rax, [rsp + 0x24]
movdqa xmmword [rbp - 0x11], xmm6
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x61], 3
mov dword [rbp - 0x35], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov r15d, dword [rbp - 0x79]
test r15d, r15d
js 0x14019b017
test r14d, r14d
je 0x14019b40c
mov r12d, dword [rsp + 0x48]
mov r13d, esi
sub r12d, esi
mov edi, r14d
mov rcx, qword [rsp + 0x40]
lea edx, [r12 + r13]
call fcn.1401842a8
mov rcx, qword [rsp + 0x30]
mov edx, r13d
mov bl, al
call fcn.1401842a8
mov rcx, qword [rsp + 0x30]
xor al, bl
mov r8b, al
mov edx, r13d
call fcn.1401842f0
inc r13d
sub rdi, 1
jne 0x14019b3c4
mov r12, qword [rbp + 0x5f]
mov edi, dword [rbp + 0x6f]
mov ebx, dword [rsp + 0x20]
lea r13, [r12 + 0x10]
mov rdx, qword [rbp + 0x67]
add edi, r14d
add esi, r14d
movdqa xmmword [rsp + 0x40], xmm6
inc ebx
mov dword [rbp + 0x6f], edi
mov dword [rsp + 0x38], esi
mov ecx, dword [rdx + 8]
mov rax, qword [rdx]
add ecx, edi
mov dword [rbp - 0x69], ecx
mov qword [rbp - 0x71], rax
movaps xmm6, xmmword [rbp - 0x71]
movaps xmmword [rsp + 0x50], xmm6
mov dword [rsp + 0x20], ebx
cmp ebx, dword [rsp + 0x28]
jae 0x14019b451
movaps xmm1, xmmword [rsp + 0x30]
jmp 0x14019b338
mov rcx, qword [rbp + 0x7f]
xor ebx, ebx
mov eax, dword [rsp + 0x2c]
mov dword [rcx], eax
test r14d, r14d
je 0x14019b4aa
mov r13d, dword [rsp + 0x48]
xor edi, edi
mov rcx, qword [rsp + 0x40]
lea edx, [rbx + r13]
call fcn.1401842a8
movzx ecx, byte [r12 + 0x57]
mov dl, al
test ecx, ecx
je 0x14019b493
cmp ecx, 1
je 0x14019b48c
xor eax, eax
jmp 0x14019b498
mov rax, qword [r12 + 0x40]
jmp 0x14019b498
lea rax, [r12 + 0x40]
mov byte [rax + rdi], dl
inc ebx
inc rdi
cmp ebx, r14d
jb 0x14019b469
lea r13, [r12 + 0x10]
xor ebx, ebx
cmp dword [r12 + 0x38], ebx
jbe 0x14019b50d
mov edi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
lea edx, [rdi + rbx]
call fcn.1401842a8
movzx ecx, byte [r13 + 0x27]
mov dl, al
test ecx, ecx
je 0x14019b4de
cmp ecx, 1
je 0x14019b4d8
xor ecx, ecx
jmp 0x14019b4e1
mov rcx, qword [r13]
jmp 0x14019b4e1
mov rcx, r13
mov byte [rbx + rcx], dl
inc ebx
cmp ebx, dword [r12 + 0x38]
jb 0x14019b4b7
jmp 0x14019b50d
mov dword [rdx], eax
mov rax, qword [r9]
neg rax
sbb ecx, ecx
and ecx, 0xc004d107
cmp qword [r9], 0
mov r15d, ecx
je 0x14019b50d
call fcn.14007ab24
mov ecx, r15d
call fcn.14007ab44
movaps xmm6, xmmword [rsp + 0xe0]
mov eax, r15d
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret