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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
and rsp, 0xffffffffffffffe0
mov r12, rdx
mov rax, qword [0x1400c1548]
xor rax, rbp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x3c], 0
xor r13d, r13d
lea r9, [rsp + 0x3c]
mov ecx, 0xb
xor edx, edx
xor r8d, r8d
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14005c740
xor r13d, r13d
mov rdi, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rsi, [rsp + 0x3c]
nop word [rax + rax]
mov rcx, r13
xor edx, edx
mov r8d, 0x8000
call rdi
mov edx, dword [rsp + 0x3c]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call rbx
mov r13, rax
mov r8d, dword [rsp + 0x3c]
mov ecx, 0xb
mov rdx, rax
mov r9, rsi
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14005c700
test eax, eax
js 0x14005c8e7
cmp dword [r13], 0
je 0x14005c8e7
lea r14, [r13 + 0x30]
xor r15d, r15d
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x30], r12
nop word cs:[rax + rax]
movzx esi, word [r14 - 2]
add rsi, r14
vxorps xmm0, xmm0, xmm0
vmovaps ymmword [rsp + 0x40], ymm0
mov rcx, rsi
vzeroupper
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x14005c922
mov rbx, rax
cmp rax, 0xf
ja 0x14005c7d0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
add rbx, rsp
add rbx, 0x40
jmp 0x14005c847
mov qword [rsp + 0x58], 0xf
mov r12, rbx
or r12, 0xf
cmp r12, 0x17
mov eax, 0x16
cmovb r12, rax
cmp r12, 0xfff
jb 0x14005c810
lea rcx, [r12 + 0x28]
call fcn.140066fac
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005c81d
lea rcx, [r12 + 1]
call fcn.140066fac
mov rdi, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov r12, qword [rsp + 0x30]
lea rdi, [rsp + 0x40]
mov byte [rbx], 0
cmp qword [r12 + 0x18], 0x10
mov rdx, r12
jb 0x14005c859
mov rdx, qword [r12]
cmp qword [rsp + 0x58], 0x10
mov rcx, rdi
jb 0x14005c869
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov esi, eax
test eax, eax
jne 0x14005c88f
mov rax, qword [r14 - 0x18]
mov qword [rsp + 0x28], rax
mov rcx, r13
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14005c8cc
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005c8c7
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14005c927
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.140066ff0
test esi, esi
je 0x14005c91b
inc r15
mov eax, dword [r13]
add r14, 0x128
cmp r15, rax
jb 0x14005c770
xor esi, esi
mov rcx, r13
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x70]
xor rcx, rbp
call fcn.140067310
mov rax, rsi
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rsi, qword [rsp + 0x28]
jmp 0x14005c8fa
call fcn.1400047b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3