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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1a0
xor r14d, r14d
xorps xmm0, xmm0
mov rsi, rcx
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
mov qword [rbp + 0x48], r14
xor eax, eax
movdqa xmmword [rbp + 0x50], xmm1
lea rcx, [rbp - 0x28]
movdqa xmmword [rbp + 0x60], xmm0
mov r12d, r14d
mov qword [rbp + 0x70], r14
mov r15d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov ebx, r14d
mov qword [rbp - 0x30], r14
mov edi, r14d
mov qword [rbp - 0x38], r14
mov r13, r8
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 0x20], r14
movups xmmword [rbp - 8], xmm0
mov qword [rsp + 0x48], r14
movups xmmword [rbp + 8], xmm0
mov qword [rsp + 0x58], r14
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x140061031
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140061013
mov r14d, 0x80004005
jmp 0x140061024
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
mov ecx, r14d
call fcn.140082a8c
jmp 0x1400610da
test r13, r13
jne 0x140061040
mov ecx, 0x80070057
mov r14d, ecx
jmp 0x140061027
cmp qword [rbp + 0x100], rbx
je 0x140061036
cmp qword [rbp + 0x108], rbx
je 0x140061036
mov r15, qword [0x140451770]
lea rdx, [0x140450c30]
lea rcx, [0x140431cf8]
call fcn.1400f6ac8
test r15, r15
jne 0x14006107c
mov r15, r14
mov r12d, 8
jmp 0x14006108c
lea r12, [r15 + 8]
mov dword [rbp + 0xf8], r14d
test r12, r12
je 0x1400610a3
mov edx, 1
mov rcx, r12
call fcn.14007afcc
mov dword [rbp + 0xf8], 1
cmp qword [rsi + 0x30], r14
je 0x1400610c6
cmp qword [rsi + 0x38], r14
jne 0x140061284
lea rdx, [0x1404500bc]
lea rcx, [0x1404288f0]
call fcn.1400f7830
mov ecx, 0x80070005
mov r14d, ecx
call fcn.140082a8c
mov r15d, dword [rbp + 0xf8]
cmp dword [0x140448890], 5
jbe 0x14006114f
movabs rdx, 0x400000000000
test qword [0x1404488a0], rdx
je 0x14006114f
mov rax, qword [0x1404488a8]
and rax, rdx
cmp rax, qword [0x1404488a8]
jne 0x14006114f
mov rcx, qword [rbp - 0x28]
call fcn.140081938
mov qword [rbp + 0x18], rax
lea rdx, [0x14043c722]
lea rax, [rbp + 0x18]
mov dword [rbp + 0xf8], r14d
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x20], 0x1000000
call fcn.1400014e0
mov ecx, r14d
call fcn.140082b34
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140061180
lea rdi, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1400611ab
mov rax, qword [rdi]
mov rsi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rsi
call rax
mov rax, rsi
mov rcx, rdi
call rax
and qword [rsp + 0x48], 0
lea rcx, [rbp - 0x20]
call fcn.140061a8c
test rbx, rbx
je 0x1400611e1
or eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1400611e1
mov rcx, rbx
call fcn.1400731c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x18]
call fcn.14005d33c
lea rcx, [rbp - 0x38]
call fcn.14005d290
lea rcx, [rbp - 0x30]
call fcn.140061a14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140061212
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rsp + 0x60], 0
lea rdx, [0x1404496b0]
lea rcx, [0x140439b4c]
call fcn.1400f6e28
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14006124a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
lea rcx, [rbp + 0x30]
call fcn.140061870
test r12, r12
je 0x140061265
test r15d, r15d
je 0x140061265
mov rcx, r12
call fcn.14007ae68
mov rbx, qword [rsp + 0x1f0]
mov eax, r14d
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x1404517e0]
mov r14, qword [r15 + 0xd8]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rdx, [0x14044fa60]
mov rsi, rax
lea rcx, [0x14042826c]
call fcn.1400f7184
xor eax, eax
mov ecx, 0x8007000e
test rsi, rsi
je 0x14006130d
mov rdx, qword [rsp + 0x40]
mov r8, r14
mov rcx, rsi
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rax
mov qword [rbp - 0x40], rsi
call fcn.140075150
mov r14d, eax
test eax, eax
jns 0x140061300
mov ecx, eax
jmp 0x140061314
and qword [rbp - 0x40], rbx
mov rdi, rsi
mov qword [rbp - 0x20], rsi
jmp 0x140061319
and qword [rbp - 0x40], rax
mov r14d, ecx
call fcn.140082a8c
mov ecx, r14d
call fcn.140082b34
lea rcx, [rbp - 0x40]
call fcn.140061a8c
test r14d, r14d
jns 0x140061337
mov ecx, r14d
jmp 0x1400610ce
mov eax, dword [rbp + 0xe8]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x80]
mov dword [rbp + 0x88], eax
mov qword [rbp + 0x80], r13
call fcn.14006ae98
mov r14d, eax
test eax, eax
jns 0x140061369
mov ecx, eax
jmp 0x1400610ce
mov r14, qword [rdi + 0x18]
mov rax, qword [r14]
mov rsi, qword [rax + 0x18]
mov rax, qword [0x1403cf6d0]
mov rcx, rsi
call rax
mov rdx, qword [rsp + 0x48]
mov rax, rsi
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x140061362
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov qword [rbp - 0x78], rax
xor r9d, r9d
lea rax, [0x140011a5c]
mov qword [rsp + 0x68], 3
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x30]
lea r8d, [r9 + 0x40]
mov qword [rbp - 0x80], rax
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x58]
test r14d, r14d
js 0x14006132f
mov rcx, qword [rbp + 0x30]
test rcx, rcx
jne 0x1400613f8
mov ecx, 0x8000ffff
jmp 0x1400610cb
mov r13, qword [rbp + 0xe0]
mov rdx, qword [r13 + 0x30]
mov rax, qword [rdx]
cmp rax, qword [rcx]
jne 0x1400610c6
mov rax, qword [rdx + 8]
cmp rax, qword [rcx + 8]
jne 0x1400610c6
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400613ee
mov rax, qword [r13 + 0x38]
sub rcx, rax
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x140061443
add rax, 2
test r8d, r8d
jne 0x14006142d
test edx, edx
jne 0x1400610c6
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140061469
lea rdx, [rsp + 0x58]
call fcn.140082960
mov r14d, eax
test eax, eax
js 0x140061362
mov r14, qword [rdi + 0x18]
mov rax, qword [r14]
mov rsi, qword [rax + 0x20]
mov rax, qword [0x1403cf6d0]
mov rcx, rsi
call rax
mov rdx, qword [rsp + 0x48]
mov rax, rsi
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x140061362
mov r14, qword [rsp + 0x58]
and qword [rsp + 0x58], rbx
mov rsi, qword [rbp - 0x10]
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r15
test rsi, rsi
je 0x1400614e2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [0x14044b1a0]
lea rcx, [0x14043ac24]
call fcn.1400f74d8
xor ecx, ecx
call fcn.140082b34
lea rax, [0x140012a9c]
mov qword [rbp - 0x10], r14
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rax, [rbp - 0x54]
mov esi, 3
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea rax, [rbp - 0x18]
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x38]
lea r15d, [rsi + 0x3d]
mov qword [rbp - 0x78], rax
mov r8d, r15d
lea ecx, [r15 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x54]
test r14d, r14d
js 0x14006132f
mov rax, qword [rbp - 0x38]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp + 0x48]
xor r9d, r9d
mov qword [rbp - 0x80], rax
mov r8d, r15d
lea rax, [0x14002b71c]
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x70], rax
lea ecx, [r15 + 0x79]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x4c]
mov qword [rbp - 0x70], rax
mov eax, dword [rbp + 0x40]
mov dword [rbp - 0x60], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x50]
test r14d, r14d
js 0x14006132f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rsi + 0x25]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14006185b
and dword [rax + 4], 0
lea r15d, [rsi - 2]
and qword [rax + 8], 0
mov dword [rax], r15d
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
test rax, rax
je 0x14006185d
xor esi, esi
cmp qword [rdi + 8], rsi
jne 0x14006160a
mov r14d, 0x80004005
mov ecx, r14d
mov esi, r14d
call fcn.140082a8c
jmp 0x140061652
cmp qword [rdi + 0x10], rsi
je 0x1400615f7
lea rax, [0x14000f35c]
mov qword [rsp + 0x68], 3
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
xor r9d, r9d
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x90]
mov qword [rsp + 0x78], rax
lea rax, [rbx + 0x10]
mov qword [rbp - 0x80], rax
lea r8d, [r9 + 0x40]
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, esi
call fcn.140082b34
mov r14d, esi
test esi, esi
jns 0x140061667
mov ecx, esi
jmp 0x1400610ce
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov qword [rbp - 0x74], rax
mov edi, 3
lea rax, [0x14000f01c]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea rax, [rbp - 0x48]
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], rax
lea r8d, [rdi + 0x3d]
mov eax, dword [rbp - 0x4c]
lea ecx, [r8 + 0x79]
mov dword [rbp - 0x6c], eax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x44]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x78], r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x48]
test r14d, r14d
js 0x14006132f
mov r9, qword [rbp - 0x30]
lea rcx, [rsp + 0x50]
mov r8d, dword [rbp - 0x44]
mov edx, r15d
call fcn.140058e80
mov r14d, eax
test eax, eax
js 0x140061362
mov r9, qword [rbp + 0x50]
test r9, r9
je 0x14006171b
lea rdx, [rsp + 0x40]
mov rcx, r9
call fcn.1400816d0
mov r14d, eax
test eax, eax
js 0x140061362
mov r9, qword [rbp + 0x50]
mov r8d, dword [rsp + 0x40]
jmp 0x140061723
xor r8d, r8d
mov dword [rsp + 0x40], r8d
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140058e80
mov r14d, eax
test eax, eax
js 0x140061362
mov r9, qword [rbp - 8]
test r9, r9
je 0x140061769
lea rdx, [rsp + 0x40]
mov rcx, r9
call fcn.1400816d0
mov r14d, eax
test eax, eax
js 0x140061362
mov r9, qword [rbp - 8]
mov r8d, dword [rsp + 0x40]
jmp 0x140061771
xor r8d, r8d
mov dword [rsp + 0x40], r8d
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140058e80
mov r14d, eax
test eax, eax
js 0x140061362
mov r8, qword [rbp + 0x100]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbp + 0x108]
call fcn.140058ddc
mov r14d, eax
test eax, eax
js 0x140061362
lea rsi, [rbx + 8]
mov rdi, qword [rsi]
test rdi, rdi
je 0x1400617d7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140082b34
and qword [rsi], 0
mov r14, qword [rbp]
test r14, r14
jne 0x1400617e5
and qword [rsi], r14
jmp 0x14006180b
mov edi, dword [r14 - 4]
xor ecx, ecx
call fcn.140082b34
mov r8, rsi
mov edx, edi
mov rcx, r14
call fcn.140082808
mov r14d, eax
test eax, eax
jns 0x14006180b
mov ecx, eax
call fcn.140082a8c
mov ecx, r14d
call fcn.140082b34
test r14d, r14d
js 0x14006132f
mov rdi, qword [r13 + 0x28]
test rdi, rdi
je 0x14006184d
or eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, r15d
jne 0x14006184d
mov rcx, rdi
call fcn.1400731c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rbx
xor ebx, ebx
mov qword [r13 + 0x28], rax
jmp 0x1400610d3
xor ebx, ebx
mov ecx, 0x8007000e
jmp 0x1400610cb