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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
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 - 0x4f]
sub rsp, 0xb8
xor edi, edi
lea rcx, [rbp - 0x49]
and qword [rbp - 0x59], rdi
xor eax, eax
xor r13d, r13d
mov qword [rbp + 0x57], rdi
and dword [rbp - 0x69], r13d
xor esi, esi
mov qword [rbp - 0x61], rsi
mov r14, r9
mov qword [rbp - 0x49], rax
mov r15, r8
mov r12, rdx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x140066207
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400661e9
lea rdx, [0x14044e448]
mov r12d, 0x80004005
lea rcx, [0x140426ae8]
call fcn.1400f7184
jmp 0x1400661fa
movzx r12d, ax
or r12d, 0x80070000
test eax, eax
cmovle r12d, eax
mov ecx, r12d
call fcn.140082a8c
jmp 0x14006645b
test r12, r12
jne 0x14006621a
mov r14d, 0x80070057
mov r12d, r14d
mov ecx, r14d
jmp 0x1400661fd
test r15, r15
je 0x14006620c
test r14, r14
jne 0x140066242
mov r14d, 0x80070057
lea rdx, [0x14044c18c]
lea rcx, [0x140434894]
mov r12d, r14d
call fcn.1400f6ac8
jmp 0x140066215
cmp qword [rbp + 0x77], rbx
je 0x14006620c
cmp qword [rbp + 0x7f], rbx
je 0x14006620c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140066269
test rbx, rbx
jne 0x140066271
mov r12d, 0x8007000e
jmp 0x1400661fa
lea rdx, [rbp + 0x57]
mov rcx, r12
call fcn.14005739c
mov r12d, eax
test eax, eax
jns 0x14006628b
mov ecx, eax
jmp 0x140066452
mov r14, qword [0x140451770]
lea rdx, [0x14044c6dc]
lea rcx, [0x14042cf98]
call fcn.1400f6e28
test r14, r14
je 0x140066449
and dword [rbp - 0x69], esi
lea r13, [r14 + 8]
test r13, r13
je 0x1400662cf
mov r15d, 1
mov rcx, r13
mov edx, r15d
mov dword [rbp - 0x69], r15d
call fcn.14007afcc
mov rdi, qword [rbp + 0x57]
lea r8, [rbp + 0x57]
mov rcx, rdi
lea rdx, str.Volume:GVLK
call fcn.1400f4ae0
test eax, eax
jns 0x1400662f7
mov ecx, 0xc004f306
mov r12d, ecx
jmp 0x1400661fd
cmp dword [rbp + 0x57], esi
jne 0x140066318
lea r8, [rbp + 0x57]
mov rcx, rdi
lea rdx, str.Volume:CSVLK
call fcn.1400f4ae0
test eax, eax
js 0x1400662ea
cmp dword [rbp + 0x57], esi
je 0x1400662ea
mov r15, qword [rbp + 0x5f]
lea r9, [rbp - 0x59]
and qword [rsp + 0x20], rsi
mov rdx, r15
xor r8d, r8d
mov rcx, r14
call fcn.1400e7850
mov r12d, eax
test eax, eax
jns 0x140066346
mov ecx, eax
call fcn.140082a8c
jmp 0x14006645f
mov r15, qword [rbp - 0x59]
lea r8, [rbp + 0x57]
and qword [rbp + 0x57], rsi
lea rcx, [0x1403da950]
xor edx, edx
call fcn.1400fdd38
mov r14, qword [rbp + 0x57]
mov r12d, eax
test eax, eax
jns 0x140066374
mov ecx, eax
call fcn.140082a8c
jmp 0x140066399
lea r9, [rbp + 0x57]
mov rdx, r14
lea r8, [rbp - 0x61]
mov rcx, r15
call fcn.140076ac0
mov r12d, eax
test eax, eax
jns 0x140066395
mov ecx, eax
call fcn.140082a8c
mov rsi, qword [rbp - 0x61]
mov ecx, r12d
call fcn.140082b34
test r14, r14
je 0x1400663c1
mov rax, qword [r14]
mov r15, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, r15
call rax
mov rax, r15
mov rcx, r14
call rax
test r12d, r12d
js 0x1400661fa
mov r14d, dword [rbp + 0x57]
lea rax, [0x14001311c]
xor r9d, r9d
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x15], rsi
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x19], r14d
mov ecx, 0xb9
mov qword [rbp - 0x31], 3
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x21], rax
mov dword [rbp - 0xd], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rbp - 9], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov r12d, dword [rbp - 0x51]
test r12d, r12d
js 0x1400661fa
mov rcx, qword [rbp + 0x6f]
mov rax, rsi
xor esi, esi
mov qword [rcx], rax
mov rax, qword [rbp + 0x67]
mov rcx, qword [rbp + 0x7f]
mov dword [rax], r14d
mov rax, rbx
mov qword [rcx], rax
xor ebx, ebx
mov rax, qword [rbp + 0x77]
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14006645b
mov r12d, 0x8000ffff
mov ecx, r12d
call fcn.140082a8c
mov rdi, qword [rbp + 0x57]
mov r15, qword [rbp + 0x5f]
cmp dword [0x140448890], 5
jbe 0x1400664f2
movabs rdx, 0x400000000000
test qword [0x1404488a0], rdx
je 0x1400664f2
mov rax, qword [0x1404488a8]
and rax, rdx
cmp rax, qword [0x1404488a8]
jne 0x1400664f2
lea rdx, [0x14044eab4]
lea rcx, [0x140436da0]
call fcn.1400f7830
mov rcx, qword [rbp - 0x49]
call fcn.140081938
mov qword [rbp - 0x61], rax
lea rdx, [0x14043bfb6]
lea rax, [rbp - 0x61]
mov dword [rbp + 0x57], r12d
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x57]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 0x1000000
call fcn.140001008
mov ecx, r12d
call fcn.140082b34
test rbx, rbx
je 0x140066508
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x140066516
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x14006653f
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rsi
call rax
mov rax, rsi
mov rcx, rbx
call rax
and qword [rbp - 0x59], 0
lea rdx, [0x1404504b8]
lea rcx, [0x140430a08]
call fcn.1400f74d8
test rdi, rdi
je 0x140066560
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r13, r13
je 0x140066573
cmp dword [rbp - 0x69], 0
je 0x140066573
mov rcx, r13
call fcn.14007ae68
mov eax, r12d
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret