Function at 0x1401682e0
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 [0x1402ca960]
mov qword [r11 - 0x38], r15
mov r15, qword [rbp + 0x7f]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caad0]
mov rdi, rax
mov edx, 4
mov r8d, 0x200
mov dword [rax], 8
lea rax, [0x140147b30]
mov qword [rdi + 8], rax
lea rax, [0x140147b40]
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.14020a280
mov eax, dword [rdi + 0x18]
mov edx, 4
mov rcx, qword [0x1402caad0]
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 0x140168534
mov rcx, qword [0x1402caad0]
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 0x14016845a
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402caad0]
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 0x140168477
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140167ce0
jmp 0x14016851d
mov rcx, qword [0x1402caad0]
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 0x140168501
mov rcx, qword [0x1402caad0]
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 [0x1402caad0]
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 0x1401686cf
lfence
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140167a00
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1401686cf
mov rcx, qword ds:[rbp - 0x79]
xor sil, sil
test rcx, rcx
jne 0x140168603
cmp dword [0x1402cddb8], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x410
mov qword [rbp + 7], r13
jl 0x14016856e
lea r8, [rbp - 1]
call fcn.140176ee0
jmp 0x14016859e
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 0x1401685a4
nop
test eax, eax
jns 0x1401685fc
cmp dword [0x1402cddb8], 3
lea rcx, [rbp - 0x79]
mov qword [rbp - 1], rbx
mov edx, 0x1010
mov qword [rbp + 7], r13
jl 0x1401685c9
lea r8, [rbp - 1]
call fcn.140176ee0
jmp 0x1401685f2
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 0x1401686cf
mov rcx, qword [rbp - 0x79]
mov sil, 1
lea rax, [0x1401677a0]
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, [0x1401627a0]
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.1401625a0
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 0x14016869d
cmp qword [rbp - 1], r13
je 0x14016869d
mov rcx, qword [rbp - 0x79]
lea r8, [rbp - 0x19]
lea rdx, [0x140162cc0]
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.140162ac0
mov ebx, eax
nop dword [rax]
test r12b, 3
je 0x1401686bd
mov rcx, qword [rbp - 0x79]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rdi
mov edx, r12d
call fcn.140167fc0
nop dword [rax]
test sil, sil
je 0x1401686cf
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 0x140168717
call fcn.140141ca0
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0xf8
pop rbx
pop rbp
ret