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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, qword [0x1403b7420]
lea r9, [rbp - 0x69]
xor edx, edx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp - 0x69], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140004db6
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x69]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x69]
lea r9, [rbp - 0x69]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140004d70
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], r14
movaps xmmword [rsp + 0xc0], xmm6
test eax, eax
js 0x140005208
test rbx, rbx
je 0x14000521e
mov edi, r15d
mov r14, r15
cmp qword [rbx], rdi
jbe 0x140004e40
mov rax, r15
nop dword [rax]
lea rax, [rax + rax*4]
movups xmm6, xmmword [rbx + rax*8 + 0x10]
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movsd xmm1, qword [rbx + rax*8 + 0x30]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm0
movsd qword [rbp - 0x19], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
psrldq xmm6, 8
movq rax, xmm6
cmp rax, rcx
jne 0x140004e2e
cmp qword [rbp - 0x29], rsi
je 0x140004e3c
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140004df0
jmp 0x14000520d
mov r14, qword [rbp - 0x39]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x14000521e
lea r8, [r14 + 8]
mov qword [rbp - 0x49], r15
mov r9d, 8
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140003f30
test al, al
je 0x1400051bd
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x1400051bd
add r8, 8
mov qword [rbp - 0x41], r15
mov r9d, 8
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.140003f30
test al, al
je 0x140005172
mov r8, qword [rbp - 0x41]
test r8, r8
je 0x140005172
add r8, 0x28
mov qword [rbp - 0x51], r15
mov r9d, 8
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.140003f30
test al, al
je 0x14000512b
mov r8, qword [rbp - 0x51]
test r8, r8
je 0x14000512b
xorps xmm0, xmm0
lea rdx, [rbp - 0x61]
add r8, 0x58
mov r9d, 0x10
mov rcx, rsi
movups xmmword [rbp - 0x61], xmm0
call fcn.140003f30
test al, al
je 0x140005080
movzx eax, word [rbp - 0x61]
test ax, ax
je 0x140005080
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400196d0
movzx r8d, word [rbp - 0x61]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.14001b770
movzx r9d, word [rbp - 0x61]
mov rdx, rbx
mov r8, qword [rbp - 0x59]
add r9, r9
mov rcx, rsi
call fcn.140003f30
mov rdx, qword [rbp - 0x51]
lea r8, [rbp - 0x61]
add rdx, 0x58
mov word [rbp - 0x61], r15w
mov r9d, 0x10
mov rcx, rsi
call fcn.140003f30
test al, al
jne 0x140005071
movabs rcx, 0x88ac27f729a03eae
mov qword [rbp - 0x39], rcx
movabs rcx, 0xa01e03a34c17508b
mov qword [rbp - 0x31], rcx
movabs rcx, 0x7a84d983c4cd90ae
mov qword [rbp - 0x29], rcx
movabs rcx, 0xfd869fb34c4e6ca5
mov qword [rbp - 0x21], rcx
movabs rcx, 0x57828bb964662b15
movabs rdx, 0x5782e3cd03084e79
mov qword [rbp - 0x19], rcx
mov qword [rbp + 0x17], rdx
lea rcx, [0x1403b5b20]
movabs rax, 0xe4c546b109fd1ff5
lea rdx, [rbp - 0x39]
mov qword [rbp - 9], rax
movabs rax, 0xd26923cc383734ee
mov qword [rbp - 1], rax
movabs rax, 0xcedabe7e4a8e4c7
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x39]
mov qword [rbp + 7], rax
movabs rax, 0xdde3f2d2226e1ec0
mov qword [rbp + 0xf], rax
movabs rax, 0xa00f4918872c8ec2
movdqa xmm1, xmmword [rbp + 7]
pxor xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x11], rax
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rbp + 0x17]
pxor xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 0x29], xmm1
call fcn.14000a920
mov rcx, rax
call fcn.14000ab90
jmp 0x14000521e
mov rcx, rbx
call fcn.140018f00
mov al, 1
jmp 0x140005220
movabs rax, 0xe4c546b109fd1ff5
lea rdx, [rbp - 9]
mov qword [rbp - 0x39], rax
movabs rcx, 0x88ac27f729a03eae
mov qword [rbp - 9], rcx
movabs rax, 0xd26923cc383734ee
mov qword [rbp - 0x31], rax
movabs rcx, 0xbb0f03a34c17508b
movdqa xmm0, xmmword [rbp - 0x39]
movabs rax, 0xcedabe7e4a8e4c7
mov qword [rbp - 1], rcx
movabs rcx, 0x699bc295808880a9
pxor xmm0, xmmword [rbp - 9]
mov qword [rbp - 0x29], rax
movabs rax, 0xdde3f2d2226e1ec0
mov qword [rbp + 7], rcx
lea rcx, [0x1403b5b20]
mov qword [rbp - 0x21], rax
movabs rax, 0xdde397bf43003eb2
movdqa xmm1, xmmword [rbp - 0x29]
mov qword [rbp + 0xf], rax
pxor xmm1, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm1
movdqa xmmword [rbp - 9], xmm0
call fcn.14000a920
mov rcx, rax
call fcn.14000ab90
jmp 0x14000521e
movabs rcx, 0x88ac27f729a03eae
mov qword [rbp - 0x39], rcx
movabs rcx, 0xbb0f03a34c17508b
mov qword [rbp - 0x31], rcx
movabs rcx, 0x699bc295808880a9
mov qword [rbp - 0x29], rcx
movabs rcx, 0xb28a86b1471d41b2
mov qword [rbp - 0x21], rcx
movabs rcx, 0x5782e3cd03084e17
jmp 0x140004fcb
movabs rcx, 0x88ac27f729a03eae
movabs rdx, 0x5782e3cd03084e79
mov qword [rbp - 0x39], rcx
movabs rcx, 0xbb0f03a34c17508b
mov qword [rbp - 0x31], rcx
movabs rcx, 0x699bc295808880a9
mov qword [rbp - 0x29], rcx
movabs rcx, 0xa98097b8400141b2
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdx
jmp 0x140004fd9
movabs rcx, 0x88ac27f729a03eae
movabs rdx, 0x5782e3cd03084e79
mov qword [rbp - 0x39], rcx
movabs rcx, 0xbb0f03a34c17508b
mov qword [rbp - 0x31], rcx
movabs rcx, 0x6f84dd82808880a9
mov qword [rbp - 0x29], rcx
movabs rcx, 0xa98097b8400141a5
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdx
jmp 0x140004fd9
test rbx, rbx
je 0x14000521e
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
movaps xmm6, xmmword [rsp + 0xc0]
mov r14, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140018ee0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop rsi
pop rbp
ret