Function at 0x14001dca0
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 [0x14007eb40]
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 0x14001dd5b
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 0x14001dcf7
cmp dword [rsp + 0x40], 0
jl 0x14001dd6a
cmp qword [rsp + 0x30], 0
jne 0x14001dd8c
cmp qword [rsp + 0x30], 0
je 0x14001dd85
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14001e1d9
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x2c], 0
jmp 0x14001ddb3
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 0x14001de1c
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 0x14001ddf9
jmp 0x14001dda9
mov rax, qword [rsp + 0x230]
cmp qword [rsp + 0x90], rax
jne 0x14001de1a
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
jmp 0x14001de1c
jmp 0x14001dda9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rsp + 0x50], 0
jne 0x14001de3e
xor al, al
jmp 0x14001e1d9
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.14002dbd0
movzx eax, al
test eax, eax
je 0x14001de7b
cmp qword [rsp + 0x1f0], 0
jne 0x14001ded2
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.14001c660
mov rcx, rax
call fcn.140028dc0
mov rcx, rax
call fcn.140006af0
xor al, al
jmp 0x14001e1d9
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.14002dbd0
movzx eax, al
test eax, eax
je 0x14001df12
cmp qword [rsp + 0x1f8], 0
jne 0x14001df69
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.14001c7b0
mov rcx, rax
call fcn.140028e00
mov rcx, rax
call fcn.140006af0
xor al, al
jmp 0x14001e1d9
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.14002dbd0
movzx eax, al
test eax, eax
je 0x14001dfa9
cmp qword [rsp + 0x1e8], 0
jne 0x14001e000
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.14001c840
mov rcx, rax
call fcn.140028e20
mov rcx, rax
call fcn.140006af0
xor al, al
jmp 0x14001e1d9
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.14002dbd0
movzx eax, al
test eax, eax
je 0x14001e049
movzx eax, word [rsp + 0x1d8]
test eax, eax
jne 0x14001e0a0
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.14001c900
mov rcx, rax
call fcn.140028de0
mov rcx, rax
call fcn.140006af0
xor al, al
jmp 0x14001e1d9
movzx eax, word [rsp + 0x1d8]
mov qword [rsp + 0x68], rax
mov eax, 2
mov rcx, qword [rsp + 0x68]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14003f9f8
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.140061650
movzx eax, word [rsp + 0x1d8]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1e0]
call fcn.14002dbd0
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.14002e3b0
movzx eax, al
test eax, eax
jne 0x14001e19d
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.14001c960
mov rcx, rax
call fcn.140028da0
mov rcx, rax
call fcn.140006af0
xor al, al
jmp 0x14001e1d9
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14003f4fc
cmp qword [rsp + 0x60], 0
jne 0x14001e1c4
mov qword [rsp + 0x78], 0
jmp 0x14001e1d7
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.14003f610
add rsp, 0x218
pop rdi
pop rsi
ret