Function at 0x14001dd40
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, 0x228
mov rax, qword [0x14007c0c0]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x1e0], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x1e0]
mov r8d, dword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xc0000004
jne 0x14001ddfd
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x1e0]
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 + 0x1e0]
mov r8d, dword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x44], eax
jmp 0x14001dd98
cmp dword [rsp + 0x44], 0
jl 0x14001de0c
cmp qword [rsp + 0x30], 0
jne 0x14001de2f
cmp qword [rsp + 0x30], 0
je 0x14001de28
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor al, al
jmp 0x14001e29c
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x38], 0
jmp 0x14001de63
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
cmp rax, qword [rcx]
jae 0x14001dec9
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x58]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x98], rax
je 0x14001dea6
jmp 0x14001de59
mov rax, qword [rsp + 0x240]
cmp qword [rsp + 0xa0], rax
jne 0x14001dec7
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
jmp 0x14001dec9
jmp 0x14001de59
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 0x14001deec
xor al, al
jmp 0x14001e29c
mov qword [rsp + 0x200], 0
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8d, 8
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.14002cdc0
movzx eax, al
test eax, eax
je 0x14001df29
cmp qword [rsp + 0x200], 0
jne 0x14001df81
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 + 0x3c]
lea rcx, [rsp + 0xe0]
call fcn.14001e2c0
mov rcx, rax
call fcn.14001f6a0
mov rcx, rax
call fcn.140002af0
nop
xor al, al
jmp 0x14001e29c
mov qword [rsp + 0x208], 0
mov rax, qword [rsp + 0x200]
add rax, 8
mov r8d, 8
lea rdx, [rsp + 0x208]
mov rcx, rax
call fcn.14002cdc0
movzx eax, al
test eax, eax
je 0x14001dfc1
cmp qword [rsp + 0x208], 0
jne 0x14001e019
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 + 0x3d]
lea rcx, [rsp + 0x120]
call fcn.14001e2f0
mov rcx, rax
call fcn.14001f660
mov rcx, rax
call fcn.140002af0
nop
xor al, al
jmp 0x14001e29c
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x208]
add rax, 0x28
mov r8d, 8
lea rdx, [rsp + 0x1f8]
mov rcx, rax
call fcn.14002cdc0
movzx eax, al
test eax, eax
je 0x14001e059
cmp qword [rsp + 0x1f8], 0
jne 0x14001e0b1
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 + 0x3e]
lea rcx, [rsp + 0x160]
call fcn.14001e320
mov rcx, rax
call fcn.14001f620
mov rcx, rax
call fcn.140002af0
nop
xor al, al
jmp 0x14001e29c
lea rax, [rsp + 0x1e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1f8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rsp + 0x1e8]
mov rcx, rax
call fcn.14002cdc0
movzx eax, al
test eax, eax
je 0x14001e0fa
movzx eax, word [rsp + 0x1e8]
test eax, eax
jne 0x14001e152
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 + 0x3f]
lea rcx, [rsp + 0x1a0]
call fcn.14001e350
mov rcx, rax
call fcn.14001f5e0
mov rcx, rax
call fcn.140002af0
nop
xor al, al
jmp 0x14001e29c
movzx eax, word [rsp + 0x1e8]
mov qword [rsp + 0x70], rax
mov eax, 2
mov rcx, qword [rsp + 0x70]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.140045f28
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
movzx eax, word [rsp + 0x1e8]
shl rax, 1
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rcx, qword [rsp + 0x80]
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x1e8]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1f0]
call fcn.14002cdc0
xor eax, eax
mov word [rsp + 0x1e8], ax
mov rax, qword [rsp + 0x1f8]
add rax, 0x58
mov r8d, 0x10
lea rdx, [rsp + 0x1e8]
mov rcx, rax
call fcn.14002ce10
movzx eax, al
test eax, eax
jne 0x14001e25a
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 + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.14001e380
mov rcx, rax
call fcn.14001f5a0
mov rcx, rax
call fcn.140002af0
nop
xor al, al
jmp 0x14001e29c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140045b58
cmp qword [rsp + 0x60], 0
jne 0x14001e284
mov qword [rsp + 0x88], 0
jmp 0x14001e29a
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov al, 1
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140045b30
add rsp, 0x228
pop rdi
pop rsi
ret