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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0000004
jne 0x1400cbef9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
jmp 0x1400cbe9d
cmp dword [rsp + 0x38], 0
jl 0x1400cbf08
cmp qword [rsp + 0x30], 0
jne 0x1400cbf2a
cmp qword [rsp + 0x30], 0
je 0x1400cbf23
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
xor al, al
jmp 0x1400cc1c1
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0
jmp 0x1400cbf51
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
cmp rax, qword [rcx]
jae 0x1400cbfba
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov eax, eax
cmp qword [rsp + 0x90], rax
je 0x1400cbf97
jmp 0x1400cbf47
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x98], rax
jne 0x1400cbfb8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
jmp 0x1400cbfba
jmp 0x1400cbf47
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
cmp qword [rsp + 0x50], 0
jne 0x1400cbfdc
xor al, al
jmp 0x1400cc1c1
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x50]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400cace0
movzx eax, al
test eax, eax
je 0x1400cc018
cmp qword [rsp + 0x58], 0
jne 0x1400cc01f
xor al, al
jmp 0x1400cc1c1
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400cace0
movzx eax, al
test eax, eax
je 0x1400cc05b
cmp qword [rsp + 0x60], 0
jne 0x1400cc062
xor al, al
jmp 0x1400cc1c1
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov r9d, 8
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400cace0
movzx eax, al
test eax, eax
je 0x1400cc09e
cmp qword [rsp + 0x40], 0
jne 0x1400cc0a5
xor al, al
jmp 0x1400cc1c1
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400cace0
movzx eax, al
test eax, eax
je 0x1400cc0ea
movzx eax, word [rsp + 0x68]
test eax, eax
jne 0x1400cc0f1
xor al, al
jmp 0x1400cc1c1
movzx eax, word [rsp + 0x68]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400ce000
nop
movzx eax, word [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
call fcn.140006890
mov rcx, qword [rsp + 0x80]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xd0]
call fcn.1400cace0
movzx eax, al
test eax, eax
jne 0x1400cc165
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call fcn.1400cd5d0
movzx eax, byte [rsp + 0x20]
jmp 0x1400cc1c1
xor eax, eax
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x40]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400cad20
movzx eax, al
test eax, eax
jne 0x1400cc1ad
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x48]
call fcn.1400cd5d0
movzx eax, byte [rsp + 0x21]
jmp 0x1400cc1c1
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x48]
call fcn.1400cd5d0
movzx eax, byte [rsp + 0x22]
add rsp, 0xb8
pop rdi
pop rsi
ret