Function at 0x14009dd00
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, 0xb8
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0000004
jne 0x14009dd99
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x24]
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 + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
jmp 0x14009dd3d
cmp dword [rsp + 0x38], 0
jl 0x14009dda8
cmp qword [rsp + 0x30], 0
jne 0x14009ddca
cmp qword [rsp + 0x30], 0
je 0x14009ddc3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14009e061
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0
jmp 0x14009ddf1
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
cmp rax, qword [rcx]
jae 0x14009de5a
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rsp + 0x90], rax
je 0x14009de37
jmp 0x14009dde7
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x98], rax
jne 0x14009de58
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
jmp 0x14009de5a
jmp 0x14009dde7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rsp + 0x50], 0
jne 0x14009de7c
xor al, al
jmp 0x14009e061
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x50]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14009ced0
movzx eax, al
test eax, eax
je 0x14009deb8
cmp qword [rsp + 0x58], 0
jne 0x14009debf
xor al, al
jmp 0x14009e061
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14009ced0
movzx eax, al
test eax, eax
je 0x14009defb
cmp qword [rsp + 0x60], 0
jne 0x14009df02
xor al, al
jmp 0x14009e061
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov r9d, 8
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14009ced0
movzx eax, al
test eax, eax
je 0x14009df3e
cmp qword [rsp + 0x40], 0
jne 0x14009df45
xor al, al
jmp 0x14009e061
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14009ced0
movzx eax, al
test eax, eax
je 0x14009df8a
movzx eax, word [rsp + 0x68]
test eax, eax
jne 0x14009df91
xor al, al
jmp 0x14009e061
movzx eax, word [rsp + 0x68]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400a3140
nop
movzx eax, word [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
call fcn.14009f420
mov rcx, qword [rsp + 0x80]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xd0]
call fcn.14009ced0
movzx eax, al
test eax, eax
jne 0x14009e005
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call fcn.14009f430
movzx eax, byte [rsp + 0x20]
jmp 0x14009e061
xor eax, eax
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x40]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14009cf10
movzx eax, al
test eax, eax
jne 0x14009e04d
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x48]
call fcn.14009f430
movzx eax, byte [rsp + 0x21]
jmp 0x14009e061
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x48]
call fcn.14009f430
movzx eax, byte [rsp + 0x22]
add rsp, 0xb8
pop rdi
pop rsi
ret