Function at 0x14001bcb0
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, 0x218
mov rax, qword [0x14007cb40]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x1d0], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x1d0]
mov r8d, dword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xc0000004
jne 0x14001bd6b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x1d0]
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 + 0x1d0]
mov r8d, dword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x40], eax
jmp 0x14001bd07
cmp dword [rsp + 0x40], 0
jl 0x14001bd7a
cmp qword [rsp + 0x30], 0
jne 0x14001bd9d
cmp qword [rsp + 0x30], 0
je 0x14001bd96
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor al, al
jmp 0x14001c1f0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x2c], 0
jmp 0x14001bdc4
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
cmp rax, qword [rcx]
jae 0x14001be2d
mov eax, dword [rsp + 0x2c]
imul rax, rax, 0x28
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
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 + 0x88], rax
je 0x14001be0a
jmp 0x14001bdba
mov rax, qword [rsp + 0x230]
cmp qword [rsp + 0x90], rax
jne 0x14001be2b
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
jmp 0x14001be2d
jmp 0x14001bdba
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
cmp qword [rsp + 0x50], 0
jne 0x14001be50
xor al, al
jmp 0x14001c1f0
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8d, 8
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.14002bf30
movzx eax, al
test eax, eax
je 0x14001be8d
cmp qword [rsp + 0x1f0], 0
jne 0x14001bee5
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0xd0]
call fcn.14001a660
mov rcx, rax
call fcn.140027000
mov rcx, rax
call fcn.140006b60
nop
xor al, al
jmp 0x14001c1f0
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x1f0]
add rax, 8
mov r8d, 8
lea rdx, [rsp + 0x1f8]
mov rcx, rax
call fcn.14002bf30
movzx eax, al
test eax, eax
je 0x14001bf25
cmp qword [rsp + 0x1f8], 0
jne 0x14001bf7d
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x39]
lea rcx, [rsp + 0x110]
call fcn.14001a7b0
mov rcx, rax
call fcn.140027040
mov rcx, rax
call fcn.140006b60
nop
xor al, al
jmp 0x14001c1f0
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x1f8]
add rax, 0x28
mov r8d, 8
lea rdx, [rsp + 0x1e8]
mov rcx, rax
call fcn.14002bf30
movzx eax, al
test eax, eax
je 0x14001bfbd
cmp qword [rsp + 0x1e8], 0
jne 0x14001c015
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x3a]
lea rcx, [rsp + 0x150]
call fcn.14001a840
mov rcx, rax
call fcn.140027060
mov rcx, rax
call fcn.140006b60
nop
xor al, al
jmp 0x14001c1f0
lea rax, [rsp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1e8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rsp + 0x1d8]
mov rcx, rax
call fcn.14002bf30
movzx eax, al
test eax, eax
je 0x14001c05e
movzx eax, word [rsp + 0x1d8]
test eax, eax
jne 0x14001c0b6
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x26]
movzx r8d, byte [rsp + 0x27]
movzx edx, byte [rsp + 0x3b]
lea rcx, [rsp + 0x190]
call fcn.14001a900
mov rcx, rax
call fcn.140027020
mov rcx, rax
call fcn.140006b60
nop
xor al, al
jmp 0x14001c1f0
movzx eax, word [rsp + 0x1d8]
mov qword [rsp + 0x68], rax
mov eax, 2
mov rcx, qword [rsp + 0x68]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14003e4b8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movzx eax, word [rsp + 0x1d8]
shl rax, 1
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14005f400
movzx eax, word [rsp + 0x1d8]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1e0]
call fcn.14002bf30
xor eax, eax
mov word [rsp + 0x1d8], ax
mov rax, qword [rsp + 0x1e8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rsp + 0x1d8]
mov rcx, rax
call fcn.14002c710
movzx eax, al
test eax, eax
jne 0x14001c1b4
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x28]
movzx r8d, byte [rsp + 0x29]
movzx edx, byte [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.14001a960
mov rcx, rax
call fcn.140026fe0
mov rcx, rax
call fcn.140006b60
nop
xor al, al
jmp 0x14001c1f0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14003dfb4
cmp qword [rsp + 0x60], 0
jne 0x14001c1db
mov qword [rsp + 0x78], 0
jmp 0x14001c1ee
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov al, 1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14003e0d0
add rsp, 0x218
pop rdi
pop rsi
ret