Function at 0x1400f98b0
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, 0xe8
mov rax, qword [0x14016fb40]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0xa0]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1400f996b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0xa0]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xa0]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
jmp 0x1400f9907
cmp dword [rsp + 0x30], 0
jl 0x1400f997a
cmp qword [rsp + 0x28], 0
jne 0x1400f999c
cmp qword [rsp + 0x28], 0
je 0x1400f9995
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x1400f9c9d
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1400f99c3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
cmp rax, qword [rcx]
jae 0x1400f9a26
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
lea rcx, [rsp + 0x78]
mov rdx, qword [rsp + 0x48]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rsp + 0x80], rax
je 0x1400f9a06
jmp 0x1400f99b9
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0x88], rax
jne 0x1400f9a24
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
jmp 0x1400f9a26
jmp 0x1400f99b9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rsp + 0x40], 0
jne 0x1400f9a48
xor al, al
jmp 0x1400f9c9d
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400fb960
movzx eax, al
test eax, eax
je 0x1400f9a8d
cmp qword [rsp + 0xc0], 0
jne 0x1400f9a94
xor al, al
jmp 0x1400f9c9d
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc0]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0xc8]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400fb960
movzx eax, al
test eax, eax
je 0x1400f9adc
cmp qword [rsp + 0xc8], 0
jne 0x1400f9ae3
xor al, al
jmp 0x1400f9c9d
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xc8]
add rax, 0x28
mov r9d, 8
lea r8, [rsp + 0xb8]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400fb960
movzx eax, al
test eax, eax
je 0x1400f9b2b
cmp qword [rsp + 0xb8], 0
jne 0x1400f9b32
xor al, al
jmp 0x1400f9c9d
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xb8]
add rax, 0x58
mov r9d, 0x10
lea r8, [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400fb960
movzx eax, al
test eax, eax
je 0x1400f9b83
movzx eax, word [rsp + 0xa8]
test eax, eax
jne 0x1400f9b8a
xor al, al
jmp 0x1400f9c9d
movzx eax, word [rsp + 0xa8]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov qword [rsp + 0x58], rax
mov eax, 2
mov rcx, qword [rsp + 0x58]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140101610
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
movzx eax, word [rsp + 0xa8]
add rax, 2
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x68]
rep stosb byte [rdi], al
movzx eax, word [rsp + 0xa8]
mov r9d, eax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x100]
call fcn.1400fb960
movzx eax, al
test eax, eax
jne 0x1400f9c22
xor al, al
jmp 0x1400f9c9d
xor eax, eax
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0xb8]
add rax, 0x58
mov r9d, 0x10
lea r8, [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1400fc000
movzx eax, al
test eax, eax
jne 0x1400f9c61
xor al, al
jmp 0x1400f9c9d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140100d74
cmp qword [rsp + 0x50], 0
jne 0x1400f9c88
mov qword [rsp + 0x70], 0
jmp 0x1400f9c9b
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov al, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401010d0
add rsp, 0xe8
pop rdi
pop rsi
ret