Function at 0x1401925d4
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 r15, rcx
xor r12d, r12d
movaps xmmword [rax - 0x58], xmm6
mov ebx, r8d
mov rsi, r9
mov r8, rdx
mov ecx, dword [r10 + 4]
sub ecx, 1
je 0x14019262b
cmp ecx, 1
je 0x140192623
mov r14d, r12d
jmp 0x140192631
mov r14d, 1
jmp 0x140192631
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, dword [r15 + 0x38]
mov dword [rbp - 0x30], r12d
lea eax, [rcx + rbx]
cmp eax, ebx
jae 0x14019264e
mov r12d, 0xc004d107
mov ecx, r12d
jmp 0x140192b21
cmp qword [r9], r12
jne 0x140192670
lea eax, [rcx + r14]
xor edx, edx
lea ecx, [rbx - 1]
add ecx, eax
mov eax, ecx
div r14d
mov rax, qword [rbp + 0x70]
sub ecx, edx
mov dword [rax], ecx
jmp 0x140192b26
cmp eax, r14d
ja 0x1401926cc
mov edi, r12d
test ebx, ebx
je 0x1401926bc
mov edx, dword [r8 + 8]
mov rcx, qword [r8]
add edx, edi
call fcn.14017bc10
movzx ecx, byte [r15 + 0x37]
mov dl, al
test ecx, ecx
je 0x1401926a5
cmp ecx, 1
je 0x14019269f
mov rcx, r12
jmp 0x1401926a9
mov rcx, qword [r15 + 0x10]
jmp 0x1401926a9
lea rcx, [r15 + 0x10]
mov eax, dword [r15 + 0x38]
mov r8, qword [rbp + 0x58]
add eax, edi
inc edi
mov byte [rax + rcx], dl
cmp edi, ebx
jb 0x14019267c
mov rax, qword [rbp + 0x70]
add dword [r15 + 0x38], ebx
mov dword [rax], r12d
jmp 0x140192b26
xor edx, edx
lea eax, [rcx - 1]
add eax, r14d
add eax, ebx
div r14d
mov rdx, qword [rbp + 0x70]
dec eax
mov dword [rsp + 0x28], eax
imul eax, r14d
mov dword [rsp + 0x2c], eax
cmp dword [rdx], eax
jb 0x140192b08
mov dword [rbp + 0x60], r12d
mov edi, r12d
cmp ecx, r14d
jae 0x14019274c
cmp edi, ebx
jae 0x140192745
mov edx, dword [r8 + 8]
mov rcx, qword [r8]
add edx, edi
call fcn.14017bc10
lea rcx, [r15 + 0x10]
mov r8b, al
movzx edx, byte [rcx + 0x27]
test edx, edx
je 0x14019272d
cmp edx, 1
je 0x14019272a
mov rcx, r12
jmp 0x14019272d
mov rcx, qword [rcx]
mov eax, dword [r15 + 0x38]
inc edi
mov byte [rax + rcx], r8b
inc dword [r15 + 0x38]
mov r8, qword [rbp + 0x58]
cmp dword [r15 + 0x38], r14d
jb 0x1401926ff
mov eax, dword [rsp + 0x2c]
mov dword [rbp + 0x60], edi
sub ebx, eax
mov dword [rsp + 0x24], r14d
sub ebx, edi
lea r13, [r15 + 0x10]
add dword [r15 + 0x38], ebx
movzx ecx, byte [r13 + 0x27]
movaps xmm0, xmmword [rsi]
movdqa xmmword [rbp - 0x20], xmm0
test ecx, ecx
je 0x14019277e
cmp ecx, 1
je 0x140192778
mov rax, r12
jmp 0x140192781
mov rax, qword [r13]
jmp 0x140192781
mov rax, r13
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140192795
mov rax, r12
jmp 0x1401927a6
mov rax, qword [0x140422958]
mov ecx, dword [rax]
lea rax, [rsp + 0x40]
add rax, rcx
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x80]
lea rax, [0x140007ca0]
mov dword [rsp + 0x58], r12d
movaps xmm0, xmmword [rsp + 0x50]
xor r9d, r9d
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [r15]
mov qword [rbp - 0x68], rax
lea r8d, [r9 + 0x48]
lea rax, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], 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 + 0x24]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x60], 0x40
mov dword [rbp - 0x50], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov r12d, dword [rsp + 0x60]
mov dword [rsp + 0x64], r12d
test r12d, r12d
js 0x140192646
and dword [rsp + 0x20], 0
test r14d, r14d
je 0x1401928b8
mov r13, qword [rbp + 0x68]
lea r12, [r15 + 0x40]
mov r15d, dword [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x30], rdx
movzx ecx, byte [r12 + 0x17]
test ecx, ecx
je 0x140192865
cmp ecx, 1
je 0x14019285f
xor ecx, ecx
jmp 0x140192868
mov rcx, qword [r12]
jmp 0x140192868
mov rcx, r12
mov bl, byte [rdx + rcx]
mov edi, dword [r13 + 8]
mov rsi, qword [r13]
add edi, r15d
mov edx, edi
mov rcx, rsi
call fcn.14017bc10
xor al, bl
mov edx, edi
mov r8b, al
mov rcx, rsi
call fcn.14017bc50
mov rdx, qword [rsp + 0x30]
inc r15d
inc rdx
mov qword [rsp + 0x30], rdx
cmp r15d, r14d
jb 0x14019284c
mov r15, qword [rbp + 0x50]
mov r12d, dword [rsp + 0x64]
mov edi, dword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea r13, [r15 + 0x10]
mov rdx, qword [rbp + 0x58]
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 0x14019290b
cmp ecx, 1
je 0x140192905
xor eax, eax
jmp 0x14019290e
mov rax, qword [r13]
jmp 0x14019290e
mov rax, r13
mov qword [rbp - 0x38], rax
test rax, rax
je 0x140192927
mov rax, qword [0x140422958]
mov ecx, dword [rax]
lea rax, [rbp - 0x38]
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 0x140192a70
mov esi, dword [rsp + 0x38]
lea rax, [0x140007ca0]
mov dword [rsp + 0x24], r14d
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rax, [rsp + 0x68]
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rbp - 0x70], rax
xor r9d, r9d
mov rax, qword [r15]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea r8d, [r9 + 0x48]
lea rax, [rsp + 0x24]
movdqa xmmword [rbp - 0x20], xmm6
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x80], 3
mov dword [rbp - 0x60], 0x40
mov dword [rbp - 0x50], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov r12d, dword [rsp + 0x68]
test r12d, r12d
js 0x140192646
test r14d, r14d
je 0x140192a28
mov r13d, dword [rsp + 0x48]
mov r15d, esi
sub r13d, esi
mov edi, r14d
mov rcx, qword [rsp + 0x40]
lea edx, [r15 + r13]
call fcn.14017bc10
mov rcx, qword [rsp + 0x30]
mov edx, r15d
mov bl, al
call fcn.14017bc10
mov rcx, qword [rsp + 0x30]
xor al, bl
mov r8b, al
mov edx, r15d
call fcn.14017bc50
inc r15d
sub rdi, 1
jne 0x1401929e1
mov r15, qword [rbp + 0x50]
mov edi, dword [rbp + 0x60]
mov ebx, dword [rsp + 0x20]
lea r13, [r15 + 0x10]
mov rdx, qword [rbp + 0x58]
add edi, r14d
add esi, r14d
movdqa xmmword [rsp + 0x40], xmm6
inc ebx
mov dword [rbp + 0x60], edi
mov dword [rsp + 0x38], esi
mov ecx, dword [rdx + 8]
mov rax, qword [rdx]
add ecx, edi
mov dword [rsp + 0x78], ecx
mov qword [rsp + 0x70], rax
movaps xmm6, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm6
mov dword [rsp + 0x20], ebx
cmp ebx, dword [rsp + 0x28]
jae 0x140192a70
movaps xmm1, xmmword [rsp + 0x30]
jmp 0x140192954
mov rcx, qword [rbp + 0x70]
xor ebx, ebx
mov eax, dword [rsp + 0x2c]
mov dword [rcx], eax
test r14d, r14d
je 0x140192ac5
mov r13d, dword [rsp + 0x48]
xor edi, edi
mov rcx, qword [rsp + 0x40]
lea edx, [rbx + r13]
call fcn.14017bc10
movzx ecx, byte [r15 + 0x57]
mov dl, al
test ecx, ecx
je 0x140192ab0
cmp ecx, 1
je 0x140192aaa
xor eax, eax
jmp 0x140192ab4
mov rax, qword [r15 + 0x40]
jmp 0x140192ab4
lea rax, [r15 + 0x40]
mov byte [rdi + rax], dl
inc ebx
inc rdi
cmp ebx, r14d
jb 0x140192a88
lea r13, [r15 + 0x10]
xor ebx, ebx
cmp dword [r15 + 0x38], ebx
jbe 0x140192b26
mov edi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
lea edx, [rdi + rbx]
call fcn.14017bc10
movzx ecx, byte [r13 + 0x27]
mov dl, al
test ecx, ecx
je 0x140192af8
cmp ecx, 1
je 0x140192af2
xor ecx, ecx
jmp 0x140192afb
mov rcx, qword [r13]
jmp 0x140192afb
mov rcx, r13
mov byte [rbx + rcx], dl
inc ebx
cmp ebx, dword [r15 + 0x38]
jb 0x140192ad1
jmp 0x140192b26
mov dword [rdx], eax
mov rax, qword [r9]
neg rax
sbb ecx, ecx
and ecx, 0xc004d107
cmp qword [r9], 0
mov r12d, ecx
je 0x140192b26
call fcn.140078308
mov ecx, r12d
call fcn.140078324
movaps xmm6, xmmword [rsp + 0xf0]
mov eax, r12d
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret