Function at 0x140192210
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 - 0x58]
sub rsp, 0x118
mov r10, qword [rcx]
mov r14, rcx
xor r15d, r15d
movaps xmmword [rax - 0x58], xmm6
mov r11, r9
mov ebx, r8d
mov ecx, dword [r10 + 4]
sub ecx, 1
je 0x140192263
cmp ecx, 1
je 0x14019225c
mov edi, r15d
jmp 0x140192268
mov edi, 1
jmp 0x140192268
mov edi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, dword [r14 + 0x38]
mov esi, r15d
mov dword [rsp + 0x78], r15d
mov dword [rbp - 0x78], r15d
lea eax, [r9 + r8]
cmp eax, ebx
jae 0x14019228c
mov esi, 0xc004d107
mov ecx, esi
jmp 0x1401925a7
xor edx, edx
div edi
mov r13d, eax
mov dword [rsp + 0x24], eax
imul r13d, edi
mov r10d, eax
mov rax, qword [rbp + 0x80]
mov dword [rbp + 0x70], r13d
cmp dword [rax], r13d
jb 0x14019258f
cmp qword [r11], r15
je 0x14019258f
cmp r13d, edi
jb 0x14019258f
lea r12, [r14 + 0x10]
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x1401922e2
cmp ecx, 1
je 0x1401922dc
mov rax, r15
jmp 0x1401922e5
mov rax, qword [r12]
jmp 0x1401922e5
mov rax, r12
mov r8, qword [0x140422958]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1401922fb
mov rax, r15
jmp 0x140192303
mov eax, dword [r8]
lea rax, [rsp + rax + 0x70]
movzx ecx, byte [r14 + 0x57]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r15d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm6
test ecx, ecx
je 0x140192330
cmp ecx, 1
je 0x14019232a
mov rax, r15
jmp 0x140192334
mov rax, qword [r14 + 0x40]
jmp 0x140192334
lea rax, [r14 + 0x40]
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x140192342
mov rax, r15
jmp 0x14019234a
mov eax, dword [r8]
lea rax, [rbp + rax - 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r15d
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp r9d, edi
jae 0x1401923bc
mov r13, qword [rbp + 0x68]
cmp r15d, ebx
jae 0x1401923af
mov edx, dword [r13 + 8]
mov rcx, qword [r13]
add edx, r15d
call fcn.14017bc10
movzx ecx, byte [r12 + 0x27]
mov dl, al
test ecx, ecx
je 0x140192398
cmp ecx, 1
je 0x140192392
xor ecx, ecx
jmp 0x14019239b
mov rcx, qword [r12]
jmp 0x14019239b
mov rcx, r12
mov eax, dword [r14 + 0x38]
inc r15d
mov byte [rax + rcx], dl
inc dword [r14 + 0x38]
cmp dword [r14 + 0x38], edi
jb 0x140192368
mov r13d, dword [rbp + 0x70]
mov r11, qword [rbp + 0x78]
mov r10d, dword [rsp + 0x24]
and dword [rsp + 0x20], esi
sub ebx, r15d
sub ebx, r13d
add dword [r14 + 0x38], ebx
movaps xmm0, xmmword [r11]
movaps xmmword [rsp + 0x60], xmm0
test r10d, r10d
je 0x1401924f6
mov ebx, dword [rsp + 0x68]
lea rax, [0x140007ca0]
mov dword [rsp + 0x50], edi
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x54]
movdqa xmmword [rbp - 0x10], 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 - 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
lea r8d, [r9 + 0x48]
lea rax, [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm6
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x60], 3
mov dword [rbp - 0x40], 0x40
mov dword [rbp - 0x30], edi
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rsp + 0x54]
test esi, esi
js 0x140192285
test edi, edi
je 0x1401924b0
mov r12d, dword [rsp + 0x38]
mov r13d, ebx
sub r12d, ebx
mov r14d, edi
mov rcx, qword [rsp + 0x30]
lea edx, [r12 + r13]
call fcn.14017bc10
mov rcx, qword [rsp + 0x60]
mov edx, r13d
mov bl, al
call fcn.14017bc10
mov rcx, qword [rsp + 0x60]
xor al, bl
mov r8b, al
mov edx, r13d
call fcn.14017bc50
inc r13d
sub r14, 1
jne 0x140192468
mov r14, qword [rbp + 0x60]
mov r13d, dword [rbp + 0x70]
mov ebx, dword [rsp + 0x68]
lea r12, [r14 + 0x10]
mov rdx, qword [rbp + 0x68]
add ebx, edi
movdqa xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x68], ebx
mov rax, qword [rdx]
mov ecx, dword [rdx + 8]
mov qword [rbp - 0x70], rax
add ecx, r15d
mov eax, dword [rsp + 0x20]
add r15d, edi
inc eax
mov dword [rbp - 0x68], ecx
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x20], eax
cmp eax, dword [rsp + 0x24]
jae 0x1401924f6
movaps xmm0, xmmword [rsp + 0x60]
jmp 0x1401923e0
mov rax, qword [rbp + 0x80]
xor ebx, ebx
mov dword [rax], r13d
test edi, edi
je 0x14019254b
mov r12d, dword [rsp + 0x38]
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
lea edx, [r12 + rbx]
call fcn.14017bc10
movzx ecx, byte [r14 + 0x57]
mov dl, al
test ecx, ecx
je 0x140192536
cmp ecx, 1
je 0x140192530
xor eax, eax
jmp 0x14019253a
mov rax, qword [r14 + 0x40]
jmp 0x14019253a
lea rax, [r14 + 0x40]
mov byte [r15 + rax], dl
inc ebx
inc r15
cmp ebx, edi
jb 0x14019250e
lea r12, [r14 + 0x10]
xor ebx, ebx
cmp dword [r14 + 0x38], ebx
jbe 0x1401925ac
mov edi, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea edx, [rdi + rbx]
call fcn.14017bc10
movzx ecx, byte [r12 + 0x27]
mov dl, al
test ecx, ecx
je 0x14019257f
cmp ecx, 1
je 0x140192579
xor ecx, ecx
jmp 0x140192582
mov rcx, qword [r12]
jmp 0x140192582
mov rcx, r12
mov byte [rbx + rcx], dl
inc ebx
cmp ebx, dword [r14 + 0x38]
jb 0x140192557
jmp 0x1401925ac
mov dword [rax], r13d
mov rax, qword [r11]
neg rax
sbb ecx, ecx
and ecx, 0xc004d107
mov esi, ecx
cmp qword [r11], r15
je 0x1401925ac
call fcn.140078308
mov ecx, esi
call fcn.140078324
movaps xmm6, xmmword [rsp + 0x100]
mov eax, esi
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret