Function at 0x1400c5c80
Capabilities:
Allocate or change rwx memory
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor r15d, r15d
mov dword [rbp + 0x38], r15d
mov ebx, r15d
lea r9, [rbp + 0x38]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x40]
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400c5d05
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x38]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x38]
mov r8d, dword [rbp + 0x38]
mov rdx, rax
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400c5cc0
test eax, eax
js 0x1400c5efe
test rbx, rbx
je 0x1400c5f14
mov r14, r15
mov edi, r15d
cmp qword [rbx], rdi
jbe 0x1400c5d7e
mov rax, r15
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x58], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movups xmm1, xmmword [rbp - 0x58]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x1400c5d6b
cmp qword [rbp - 0x38], rsi
je 0x1400c5d79
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1400c5d30
jmp 0x1400c5f03
movq r14, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x1400c5f14
mov qword [rbp + 0x48], r15
lea r8, [r14 + 8]
mov r9d, 8
lea rdx, [rbp + 0x48]
mov rcx, rsi
call fcn.1400c7af0
test al, al
je 0x1400c5ee9
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x1400c5ee9
mov qword [rbp - 0x60], r15
add r8, 8
mov r9d, 8
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1400c7af0
test al, al
je 0x1400c5ee9
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400c5ee9
mov qword [rbp + 0x40], r15
add r8, 0x28
mov r9d, 8
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.1400c7af0
test al, al
je 0x1400c5ee9
mov r8, qword [rbp + 0x40]
test r8, r8
je 0x1400c5ee9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
add r8, 0x58
mov r9d, select
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.1400c7af0
test al, al
je 0x1400c5ee9
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x1400c5ee9
mov edx, eax
shr rdx, 1
inc rdx
lea rcx, [rbp - 0x58]
call fcn.1400c4cc0
nop
movzx r9d, word [rbp - 0x48]
mov r8, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x58]
mov rdx, rbx
mov rcx, rsi
call fcn.1400c7af0
test al, al
je 0x1400c5ea8
mov word [rbp - 0x48], r15w
mov rdx, qword [rbp + 0x40]
add rdx, 0x58
mov r9d, select
lea r8, [rbp - 0x48]
mov rcx, rsi
call fcn.1400c7af0
test al, al
jne 0x1400c5ec0
lea rdx, [0x14010e0b5]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c3a10
xor dil, dil
jmp 0x1400c5ed6
lea rdx, [0x14010e0b5]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c3a10
mov dil, 1
test rbx, rbx
je 0x1400c5ee3
mov rcx, rbx
call fcn.140103e64
movzx eax, dil
jmp 0x1400c5f16
lea rdx, [0x14010e0b5]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c3a10
jmp 0x1400c5f14
test rbx, rbx
je 0x1400c5f14
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret