Function at 0x140169720
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x57]
sub rsp, 0xf8
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [r11 + 0x18], rsi
mov rbx, rcx
mov qword [r11 - 0x18], rdi
mov ecx, 0x48
mov qword [r11 - 0x20], r12
mov r12d, r8d
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14, r9
mov qword [rbp - 0x79], rdx
mov rdx, qword [0x1402cb8a8]
mov qword [r11 - 0x38], r15
mov r15, qword [rbp + 0x7f]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402cba10]
mov rdi, rax
mov edx, 4
mov r8d, 0x200
mov dword [rax], 8
lea rax, [0x140148190]
mov qword [rdi + 8], rax
lea rax, [0x1401481a0]
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], 0x80
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rdi + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rdi + 0x20], rax
call fcn.14020ba80
mov eax, dword [rdi + 0x18]
mov edx, 4
mov rcx, qword [0x1402cba10]
mov dword [rdi + 0x28], eax
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r13d, r13d
mov dword [rdi + 0x3c], 0xffffffff
mov qword [rdi + 0x30], rax
mov dword [rdi + 0x38], r13d
mov dword [rdi + 0x40], r13d
cmp rbx, 4
jne 0x140169974
mov rcx, qword [0x1402cba10]
mov edx, ebx
mov r8d, 0x800
mov dword [rsp + 0x30], 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x4d
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000004
jne 0x14016989a
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x4d
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test ebx, ebx
js 0x1401698b7
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140169120
jmp 0x14016995d
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 0x800
mov dword [rbp - 1], 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbp - 1]
lea r9, [rbp - 1]
mov rdx, rax
mov ecx, 0xb
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000004
jne 0x140169941
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword ds:[rbp - 1]
mov edx, 4
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbp - 1]
lea r9, [rbp - 1]
mov rdx, rax
mov ecx, 0xb
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test ebx, ebx
js 0x140169b0f
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140168e40
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140169b0f
mov rcx, qword ds:[rbp - 0x79]
xor sil, sil
test rcx, rcx
jne 0x140169a43
cmp dword [0x1402ced08], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x410
mov qword [rbp + 7], r13
jl 0x1401699ae
lea r8, [rbp - 1]
call fcn.1401783e0
jmp 0x1401699de
xorps xmm0, xmm0
mov dword [rbp - 0x49], 0x30
lea r9, [rbp - 1]
mov qword [rbp - 0x41], r13
lea r8, [rbp - 0x49]
mov dword [rbp - 0x31], r13d
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x39], r13
call qword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
je 0x1401699e4
nop
test eax, eax
jns 0x140169a3c
cmp dword [0x1402ced08], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x1010
mov qword [rbp + 7], r13
jl 0x140169a09
lea r8, [rbp - 1]
call fcn.1401783e0
jmp 0x140169a32
xorps xmm0, xmm0
mov dword [rbp - 0x49], 0x30
lea r9, [rbp - 1]
mov qword [rbp - 0x41], r13
lea r8, [rbp - 0x49]
mov dword [rbp - 0x31], r13d
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x39], r13
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
test eax, eax
js 0x140169b0f
mov rcx, qword [rbp - 0x79]
mov sil, 1
lea rax, [0x140168be0]
mov qword ds:[rbp - 0x71], r14
mov qword [rbp - 0x19], rax
lea r8, [rbp - 0x19]
lea rax, [rbp - 0x71]
mov qword [rbp - 0x69], r15
lea rdx, [0x140163be0]
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x61], 1
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x51], r13d
mov dword [rbp - 9], 2
call fcn.1401639e0
mov rcx, qword ds:[rbp - 0x79]
lea r8, [rbp - 1]
mov r9d, 8
mov qword [rsp + 0x20], r13
mov edx, 0x1a
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140169add
cmp qword [rbp - 1], r13
je 0x140169add
mov rcx, qword [rbp - 0x79]
lea r8, [rbp - 0x19]
lea rdx, [0x140164100]
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x69], r15
mov dword [rbp - 0x61], 3
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x51], r13d
call fcn.140163f00
mov ebx, eax
nop dword [rax]
test r12b, 3
je 0x140169afd
mov rcx, qword [rbp - 0x79]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rdi
mov edx, r12d
call fcn.140169400
nop dword [rax]
test sil, sil
je 0x140169b0f
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0x120]
cmp eax, 1
jne 0x140169b57
call fcn.140142200
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xf8
pop rbx
pop rbp
ret