Function at 0x140168aa0
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 [0x1402bf040]
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 [0x1402ca980]
mov qword [r11 - 0x38], r15
mov r15, qword [rbp + 0x7f]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caaf0]
mov rdi, rax
mov edx, 4
mov r8d, 0x200
mov dword [rax], 8
lea rax, [0x140147d30]
mov qword [rdi + 8], rax
lea rax, [0x140147d40]
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.14020ab40
mov eax, dword [rdi + 0x18]
mov edx, 4
mov rcx, qword [0x1402caaf0]
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 0x140168cf4
mov rcx, qword [0x1402caaf0]
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 0x140168c1a
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402caaf0]
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 0x140168c37
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1401684a0
jmp 0x140168cdd
mov rcx, qword [0x1402caaf0]
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 0x140168cc1
mov rcx, qword [0x1402caaf0]
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 [0x1402caaf0]
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 0x140168e8f
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1401681c0
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140168e8f
mov rcx, qword ds:[rbp - 0x79]
xor sil, sil
test rcx, rcx
jne 0x140168dc3
cmp dword [0x1402cddd8], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x410
mov qword [rbp + 7], r13
jl 0x140168d2e
lea r8, [rbp - 1]
call fcn.140177760
jmp 0x140168d5e
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 0x140168d64
nop
test eax, eax
jns 0x140168dbc
cmp dword [0x1402cddd8], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x1010
mov qword [rbp + 7], r13
jl 0x140168d89
lea r8, [rbp - 1]
call fcn.140177760
jmp 0x140168db2
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 0x140168e8f
mov rcx, qword [rbp - 0x79]
mov sil, 1
lea rax, [0x140167f60]
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, [0x140162f60]
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.140162d60
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 0x140168e5d
cmp qword [rbp - 1], r13
je 0x140168e5d
mov rcx, qword [rbp - 0x79]
lea r8, [rbp - 0x19]
lea rdx, [0x140163480]
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.140163280
mov ebx, eax
nop dword [rax]
test r12b, 3
je 0x140168e7d
mov rcx, qword [rbp - 0x79]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rdi
mov edx, r12d
call fcn.140168780
nop dword [rax]
test sil, sil
je 0x140168e8f
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 0x140168ed7
call fcn.140141ea0
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0xf8
pop rbx
pop rbp
ret