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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r12d, r12d
lea r9, [rbp + 0x48]
xor edx, edx
mov dword [rbp + 0x48], r12d
mov rdi, rcx
xor r8d, r8d
mov ebx, r12d
lea esi, [rdx + 0x40]
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r14d, 0xc0000004
jmp 0x14000839e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x48]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x48]
lea r9, [rbp + 0x48]
mov rdx, rax
mov ecx, esi
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, r14d
je 0x140008362
test eax, eax
js 0x140008562
test rbx, rbx
je 0x140008578
mov r15, r12
mov r14d, r12d
mov esi, 1
cmp qword [rbx], r12
jbe 0x140008414
mov rax, r12
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rbp - 0x48]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140008402
cmp qword [rbp - 0x38], rdi
je 0x14000840f
add r14d, esi
mov eax, r14d
cmp rax, qword [rbx]
jb 0x1400083c7
jmp 0x140008414
movq r15, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
je 0x140008578
mov ebx, 8
mov qword [rbp + 0x58], r12
mov r9d, ebx
lea r8, [r15 + 8]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.140007ba0
test al, al
je 0x140008578
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x140008578
add r8, rbx
mov qword [rbp - 0x60], r12
mov r9d, ebx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.140007ba0
test al, al
je 0x140008578
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x140008578
add r8, 0x28
mov qword [rbp + 0x50], r12
mov r9d, ebx
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.140007ba0
test al, al
je 0x140008578
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x140008578
xorps xmm0, xmm0
lea r15d, [rbx + 8]
mov r9d, r15d
lea rdx, [rbp - 0x58]
add r8, 0x58
mov rcx, rdi
movups xmmword [rbp - 0x58], xmm0
call fcn.140007ba0
test al, al
je 0x140008578
movzx eax, word [rbp - 0x58]
test ax, ax
je 0x140008578
mov ecx, eax
lea eax, [rbx - 6]
shr rcx, 1
add rcx, rsi
mul rcx
mov rbx, rax
lea rax, [r15 - 0x11]
cmovb rbx, rax
mov rcx, rbx
call fcn.1400deec8
mov r8, rbx
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rbp - 0x58]
mov rdx, r14
mov r8, qword [rbp - 0x50]
mov rcx, rdi
call fcn.140007ba0
test al, al
je 0x140008552
mov rdx, qword [rbp + 0x50]
lea r8, [rbp - 0x58]
add rdx, 0x58
mov word [rbp - 0x58], r12w
mov r9d, r15d
mov rcx, rdi
call fcn.140007ba0
test al, al
jne 0x140008555
mov sil, r12b
mov rcx, r14
call fcn.1400ded74
mov al, sil
jmp 0x14000857a
test rbx, rbx
je 0x140008578
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret