Function at 0x140192c90
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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x18], 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 0x140192cec
cmp r10d, r13d
je 0x140192ce7
mov ebx, r11d
jmp 0x140192cf1
mov ebx, r13d
jmp 0x140192cf1
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rbp + 0x17], r11b
mov edi, r11d
test r8, r8
je 0x140192fa2
mov eax, dword [r8]
mov dword [rsp + 0x28], eax
cmp qword [rdx], r11
jne 0x140192d15
mov dword [r8], ebx
jmp 0x140192fd6
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x140192fa2
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne 0x140192fa2
lea edx, [rbx + rbx]
cmp ecx, edx
ja 0x140192fa2
lea rsi, [r15 + 0x40]
movzx ecx, byte [rsi + 0x17]
test ecx, ecx
je 0x140192d52
cmp ecx, r13d
je 0x140192d4f
mov rsi, r11
jmp 0x140192d52
mov rsi, qword [rsi]
mov r14d, edx
cmp r14, 0x27
jbe 0x140192d89
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rbp - 0x10], rax
movzx eax, byte [rbp + 0x17]
xor r11d, r11d
test r14, r14
cmovne eax, r13d
mov byte [rbp + 0x17], al
jmp 0x140192d8d
lea r14, [rbp - 0x10]
test r14, r14
jne 0x140192d9e
mov edi, 0x8007000e
mov ecx, edi
jmp 0x140192fa9
mov r13d, r11d
cmp dword [r15 + 0x38], r11d
jbe 0x140192ef0
lea r12, [r15 + 0x10]
mov rdx, qword [0x140422958]
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x48], r11d
lea rax, [r8 + r14]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140192dd5
mov rax, r11
jmp 0x140192ddc
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 - 0x20], xmm0
test ecx, ecx
je 0x140192e0a
cmp ecx, 1
je 0x140192e04
mov rax, r11
jmp 0x140192e0d
mov rax, qword [r12]
jmp 0x140192e0d
mov rax, r12
add rax, r8
mov dword [rsp + 0x54], r11d
mov qword [rsp + 0x4c], rax
jne 0x140192e21
mov rax, r11
jmp 0x140192e28
mov eax, dword [rdx]
lea rax, [rsp + rax + 0x4c]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x80]
lea rax, [0x140007ca0]
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 + 0x48]
lea rax, [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x58], rax
lea ecx, [r8 + 0x71]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x80], 3
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x60], 0x40
mov dword [rbp - 0x50], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x24]
xor r11d, r11d
test edi, edi
js 0x140192f0d
mov edx, r11d
test ebx, ebx
je 0x140192ebb
mov al, byte [rsi]
lea ecx, [rdx + r13]
xor byte [rcx + r14], al
inc edx
inc rsi
cmp edx, ebx
jb 0x140192ea8
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x140192ed5
cmp ecx, 1
je 0x140192ecf
mov rax, r11
jmp 0x140192ed8
mov rax, qword [r12]
jmp 0x140192ed8
mov rax, r12
mov esi, r13d
add r13d, ebx
add rsi, rax
cmp r13d, dword [r15 + 0x38]
jb 0x140192daf
mov r12, qword [rsp + 0x38]
mov edx, dword [r15 + 0x38]
lea eax, [rdx - 1]
movzx r9d, byte [rax + r14]
mov ecx, r9d
cmp r9d, ebx
jbe 0x140192f1f
mov ecx, 0xc004d211
mov edi, ecx
jmp 0x140192f0f
mov ecx, edi
call fcn.140078308
mov r13d, 1
jmp 0x140192fae
mov r8d, r11d
mov r13d, 1
test ecx, ecx
je 0x140192f42
mov eax, edx
sub eax, r8d
sub eax, r13d
cmp byte [rax + r14], r9b
jne 0x140192f71
add r8d, r13d
cmp r8d, ecx
jb 0x140192f2c
sub edx, ecx
mov dword [r12], edx
mov eax, dword [r15 + 0x38]
sub eax, ecx
cmp dword [rsp + 0x28], eax
jae 0x140192f78
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsi]
neg rax
sbb edi, edi
and edi, 0xc004d107
cmp qword [rsi], r11
je 0x140192fae
jmp 0x140192d97
mov ecx, 0xc004d211
jmp 0x140192fa7
mov ebx, r11d
test edx, edx
je 0x140192fae
mov rsi, qword [rsp + 0x30]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
add edx, ebx
mov eax, ebx
mov r8b, byte [rax + r14]
call fcn.14017bc50
add ebx, r13d
cmp ebx, dword [r12]
jb 0x140192f84
jmp 0x140192fae
mov ecx, 0x80070057
mov edi, ecx
call fcn.140078308
mov al, byte [rbp + 0x17]
test al, al
je 0x140192fd6
cmp al, r13b
jne 0x140192fd2
mov rbx, qword [rbp - 0x10]
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 + 0x17], 0
mov ecx, edi
call fcn.140078324
mov eax, edi
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14035a4e0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret