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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140114500]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x3c], 0
xor edi, edi
lea r9, [rsp + 0x3c]
mov ecx, 0xb
xor edx, edx
xor r8d, r8d
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400955e2
xor edi, edi
mov r14, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rbx, [rsp + 0x3c]
nop dword [rax]
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call r14
mov edx, dword [rsp + 0x3c]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call r15
mov rdi, rax
mov r8d, dword [rsp + 0x3c]
mov ecx, 0xb
mov rdx, rax
mov r9, rbx
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400955a0
test eax, eax
js 0x140095781
cmp dword [rdi], 0
je 0x140095781
lea rbx, [rdi + 0x30]
xor r14d, r14d
lea r13, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
nop word cs:[rax + rax]
movzx r12d, word [rbx - 2]
add r12, rbx
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x40], ymm0
mov rcx, r12
vzeroupper
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x1400957bc
mov r15, rax
cmp rax, 0xf
ja 0x140095670
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov rcx, r13
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add r15, rsp
add r15, 0x40
jmp 0x1400956e4
mov rsi, r13
mov rbp, r15
or rbp, 0xf
cmp rbp, 0x17
mov eax, 0x16
cmovb rbp, rax
cmp rbp, 0xfff
jb 0x1400956b0
lea rcx, [rbp + 0x28]
call fcn.1400a1c64
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x1400956bc
lea rcx, [rbp + 1]
call fcn.1400a1c64
mov r13, rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbp
mov rcx, r13
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add r15, r13
mov r13, rsi
mov rsi, qword [rsp + 0x30]
mov byte [r15], 0
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x1400956f5
mov rdx, qword [rsi]
cmp qword [rsp + 0x58], 0x10
mov rcx, r13
jb 0x140095705
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebp, eax
test eax, eax
jne 0x14009572b
mov rax, qword [rbx - 0x18]
mov qword [rsp + 0x28], rax
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x140095768
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140095763
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400957c1
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400a1ca8
test ebp, ebp
je 0x1400957b5
inc r14
mov eax, dword [rdi]
add rbx, 0x128
cmp r14, rax
jb 0x140095610
xor esi, esi
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a1e40
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x28]
jmp 0x140095794
call fcn.140006a40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3