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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x220
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140064718]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x1a0], 0
mov qword [rbp + 0x10], 0
lea r9, [rbp + 0x1a0]
mov r8d, dword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x10]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0xc0000004
jne 0x14000f736
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x1a0]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x10], rax
lea r9, [rbp + 0x1a0]
mov r8d, dword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x10]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rbp + 0x1c], eax
jmp 0x14000f6da
cmp dword [rbp + 0x1c], 0
jl 0x14000f743
cmp qword [rbp + 0x10], 0
jne 0x14000f763
cmp qword [rbp + 0x10], 0
je 0x14000f75c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14000fb9f
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x18], 0
jmp 0x14000f784
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
cmp rax, qword [rcx]
jae 0x14000f7d8
mov eax, dword [rbp + 0x18]
imul rax, rax, 0x28
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x30]
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 [rbp + 0x60], rax
je 0x14000f7be
jmp 0x14000f77c
mov rax, qword [rsp + 0x240]
cmp qword [rbp + 0x68], rax
jne 0x14000f7d6
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x28], rax
jmp 0x14000f7d8
jmp 0x14000f77c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rbp + 0x28], 0
jne 0x14000f7f8
xor al, al
jmp 0x14000fb9f
mov qword [rbp + 0x1c0], 0
mov rax, qword [rbp + 0x28]
add rax, 8
mov r8d, 8
lea rdx, [rbp + 0x1c0]
mov rcx, rax
call fcn.140017640
movzx eax, al
test eax, eax
je 0x14000f831
cmp qword [rbp + 0x1c0], 0
jne 0x14000f892
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0xa0]
call fcn.14000c7c0
mov rcx, rax
call fcn.140011cb0
mov rcx, rax
call fcn.14000a950
xor al, al
jmp 0x14000fb9f
mov qword [rbp + 0x1c8], 0
mov rax, qword [rbp + 0x1c0]
add rax, 8
mov r8d, 8
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.140017640
movzx eax, al
test eax, eax
je 0x14000f8ce
cmp qword [rbp + 0x1c8], 0
jne 0x14000f92f
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 3]
movzx r8d, byte [rbp + 4]
movzx edx, byte [rbp + 5]
lea rcx, [rbp + 0xe0]
call fcn.14000c580
mov rcx, rax
call fcn.140011cb0
mov rcx, rax
call fcn.14000a950
xor al, al
jmp 0x14000fb9f
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0x1c8]
add rax, 0x28
mov r8d, 8
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.140017640
movzx eax, al
test eax, eax
je 0x14000f96b
cmp qword [rbp + 0x1b8], 0
jne 0x14000f9cc
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x120]
call fcn.14000c240
mov rcx, rax
call fcn.140011cb0
mov rcx, rax
call fcn.14000a950
xor al, al
jmp 0x14000fb9f
lea rax, [rbp + 0x1a8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x1b8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rbp + 0x1a8]
mov rcx, rax
call fcn.140017640
movzx eax, al
test eax, eax
je 0x14000fa11
movzx eax, word [rbp + 0x1a8]
test eax, eax
jne 0x14000fa72
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 9]
movzx r8d, byte [rbp + 0xa]
movzx edx, byte [rbp + 0xb]
lea rcx, [rbp + 0x160]
call fcn.14000cd40
mov rcx, rax
call fcn.140011cb0
mov rcx, rax
call fcn.14000a950
xor al, al
jmp 0x14000fb9f
movzx eax, word [rbp + 0x1a8]
mov qword [rbp + 0x40], rax
mov eax, 2
mov rcx, qword [rbp + 0x40]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140021e70
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x20], rax
movzx eax, word [rbp + 0x1a8]
shl rax, 1
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x20]
call fcn.140023eb0
movzx eax, word [rbp + 0x1a8]
shl rax, 1
mov r8, rax
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x1b0]
call fcn.140017640
xor eax, eax
mov word [rbp + 0x1a8], ax
mov rax, qword [rbp + 0x1b8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rbp + 0x1a8]
mov rcx, rax
call fcn.140017e20
movzx eax, al
test eax, eax
jne 0x14000fb6b
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xd]
movzx edx, byte [rbp + 0xe]
lea rcx, [rbp + 0x80]
call fcn.14000d400
mov rcx, rax
call fcn.140011740
mov rcx, rax
call fcn.14000a950
xor al, al
jmp 0x14000fb9f
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
call fcn.140021958
cmp qword [rbp + 0x38], 0
jne 0x14000fb8d
mov qword [rbp + 0x50], 0
jmp 0x14000fb9d
mov qword [rbp + 0x20], 0x8123
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x50], rax
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140021a70
add rsp, 0x220
pop rdi
pop rsi
pop rbp
ret