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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp + 8], rax
mov r9, qword [rcx]
xor r11d, r11d
mov r12, r8
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov r15, rcx
mov r10d, dword [r9 + 4]
lea r13d, [r11 + 1]
sub r10d, r13d
je 0x14019b6e0
cmp r10d, r13d
je 0x14019b6db
mov ebx, r11d
jmp 0x14019b6e5
mov ebx, r13d
jmp 0x14019b6e5
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rbp + 7], r11b
mov edi, r11d
test r8, r8
je 0x14019b99c
mov eax, dword [r8]
mov dword [rsp + 0x28], eax
cmp qword [rdx], r11
jne 0x14019b709
mov dword [r8], ebx
jmp 0x14019b9d0
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x14019b99c
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne 0x14019b99c
lea edx, [rbx + rbx]
cmp ecx, edx
ja 0x14019b99c
lea r14, [r15 + 0x40]
movzx ecx, byte [r14 + 0x17]
test ecx, ecx
je 0x14019b747
cmp ecx, r13d
je 0x14019b744
mov r14, r11
jmp 0x14019b747
mov r14, qword [r14]
mov esi, edx
cmp rsi, 0x27
jbe 0x14019b77d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 7]
xor r11d, r11d
test rsi, rsi
cmovne eax, r13d
mov byte [rbp + 7], al
jmp 0x14019b781
lea rsi, [rbp - 0x20]
test rsi, rsi
jne 0x14019b792
mov edi, 0x8007000e
mov ecx, edi
jmp 0x14019b9a3
mov edx, dword [r15 + 0x38]
mov r13d, r11d
test edx, edx
je 0x14019b8e9
lea r12, [r15 + 0x10]
mov rdx, qword [0x140438658]
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x48], r11d
lea rax, [r8 + rsi]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14019b7cb
mov rax, r11
jmp 0x14019b7d2
mov eax, dword [rdx]
lea rax, [rsp + rax + 0x40]
movzx ecx, byte [r12 + 0x27]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r11d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x30], xmm0
test ecx, ecx
je 0x14019b800
cmp ecx, 1
je 0x14019b7fa
mov rax, r11
jmp 0x14019b803
mov rax, qword [r12]
jmp 0x14019b803
mov rax, r12
add rax, r8
mov dword [rsp + 0x54], r11d
mov qword [rsp + 0x4c], rax
jne 0x14019b817
mov rax, r11
jmp 0x14019b81e
mov eax, dword [rdx]
lea rax, [rsp + rax + 0x4c]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x80]
lea rax, [0x14004a6b8]
mov dword [rsp + 0x78], r11d
movaps xmm0, xmmword [rsp + 0x70]
xor r9d, r9d
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x70], rax
mov rax, qword [r15]
mov qword [rbp - 0x68], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x5c], rax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x80], 3
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x60], 0x40
mov dword [rbp - 0x54], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x24]
xor r11d, r11d
test edi, edi
js 0x14019b902
mov edx, r11d
test ebx, ebx
je 0x14019b8b1
mov al, byte [r14]
lea ecx, [rdx + r13]
xor byte [rcx + rsi], al
inc edx
inc r14
cmp edx, ebx
jb 0x14019b89e
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x14019b8cb
cmp ecx, 1
je 0x14019b8c5
mov rax, r11
jmp 0x14019b8ce
mov rax, qword [r12]
jmp 0x14019b8ce
mov rax, r12
mov edx, dword [r15 + 0x38]
mov r14d, r13d
add r13d, ebx
add r14, rax
cmp r13d, edx
jb 0x14019b7a5
mov r12, qword [rsp + 0x38]
lea eax, [rdx - 1]
movzx r9d, byte [rax + rsi]
mov ecx, r9d
cmp r9d, ebx
jbe 0x14019b914
mov ecx, 0xc004d211
mov edi, ecx
jmp 0x14019b904
mov ecx, edi
call fcn.14007ab24
mov r13d, 1
jmp 0x14019b9a8
mov r8d, r11d
mov r13d, 1
test ecx, ecx
je 0x14019b93b
mov eax, edx
sub eax, r8d
sub eax, r13d
cmp byte [rax + rsi], r9b
jne 0x14019b96a
add r8d, r13d
cmp r8d, ecx
jb 0x14019b921
mov edx, dword [r15 + 0x38]
sub edx, ecx
mov dword [r12], edx
mov eax, dword [r15 + 0x38]
sub eax, ecx
cmp dword [rsp + 0x28], eax
jae 0x14019b971
mov r14, qword [rsp + 0x30]
mov rax, qword [r14]
neg rax
sbb edi, edi
and edi, 0xc004d107
cmp qword [r14], r11
je 0x14019b9a8
jmp 0x14019b78b
mov ecx, 0xc004d211
jmp 0x14019b9a1
mov ebx, r11d
test edx, edx
je 0x14019b9a8
mov r14, qword [rsp + 0x30]
mov edx, dword [r14 + 8]
mov rcx, qword [r14]
add edx, ebx
mov eax, ebx
mov r8b, byte [rax + rsi]
call fcn.1401842f0
add ebx, r13d
cmp ebx, dword [r12]
jb 0x14019b97d
jmp 0x14019b9a8
mov ecx, 0x80070057
mov edi, ecx
call fcn.14007ab24
mov al, byte [rbp + 7]
test al, al
je 0x14019b9d0
cmp al, r13b
jne 0x14019b9cc
mov rbx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbp + 7], 0
mov ecx, edi
call fcn.14007ab44
mov eax, edi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14036e5e0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret