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

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rcx
lea r9, [rsp + 0x68]
xor r14d, r14d
mov ecx, 0x40
xor r8d, r8d
mov dword [rsp + 0x68], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400c132b
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400c12e0
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rdi
test eax, eax
js 0x1400c1546
test rbx, rbx
je 0x1400c155c
mov edi, r14d
mov rbp, r14
cmp qword [rbx], rdi
jbe 0x1400c13af
mov rax, r14
nop word [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rsp + 0x20]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x1400c139f
cmp qword [rsp + 0x30], rsi
je 0x1400c13aa
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1400c1360
jmp 0x1400c13af
movq rbp, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rbp, rbp
je 0x1400c155c
lea r8, [rbp + 8]
mov qword [rsp + 0x88], r14
mov r9d, 8
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.1400c0a40
test al, al
je 0x1400c155c
mov r8, qword [rsp + 0x88]
test r8, r8
je 0x1400c155c
add r8, 8
mov qword [rsp + 0x90], r14
mov r9d, 8
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.1400c0a40
test al, al
je 0x1400c155c
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x1400c155c
add r8, 0x28
mov qword [rsp + 0x80], r14
mov r9d, 8
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.1400c0a40
test al, al
je 0x1400c155c
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x1400c155c
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
add r8, 0x58
mov r9d, 0x10
mov rcx, rsi
movups xmmword [rsp + 0x70], xmm0
call fcn.1400c0a40
test al, al
je 0x1400c155c
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x1400c155c
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovb rbx, rax
mov rcx, rbx
call fcn.1400c54e8
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rsp + 0x70]
mov rdx, rdi
mov r8, qword [rsp + 0x78]
mov rcx, rsi
call fcn.1400c0a40
test al, al
je 0x1400c1537
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
add rdx, 0x58
mov word [rsp + 0x70], r14w
mov r9d, 0x10
mov rcx, rsi
call fcn.1400c0a40
test al, al
je 0x1400c1537
mov rcx, rdi
mov bl, 1
call fcn.1400c50f4
movzx eax, bl
jmp 0x1400c155e
xor bl, bl
mov rcx, rdi
call fcn.1400c50f4
movzx eax, bl
jmp 0x1400c155e
test rbx, rbx
je 0x1400c155c
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rdi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400c5090
add rsp, 0xa0
pop r14
pop rsi
pop rbx
ret