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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor edx, edx
lea r9, [rbp - 0x29]
mov r14, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp - 0x29], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140007ab6
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x29]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x29]
lea r9, [rbp - 0x29]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140007a70
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdi
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
test eax, eax
js 0x140007ece
test rbx, rbx
je 0x140007ee4
mov rsi, r15
mov edi, r15d
cmp qword [rbx], r15
jbe 0x140007b51
mov rax, r15
nop word [rax + rax]
lea rax, [rax + rax*4]
movsd xmm0, qword [rbx + rax*8 + 0x30]
movups xmm7, xmmword [rbx + rax*8 + 0x10]
movups xmm6, xmmword [rbx + rax*8 + 0x20]
movsd qword [rbp + 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140007b3e
movq rax, xmm6
cmp rax, r14
je 0x140007b4c
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140007b00
jmp 0x140007ed3
movq rsi, xmm7
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rsi, rsi
je 0x140007ee4
lea rax, [rbp - 0x21]
mov qword [rbp - 0x21], r15
sub rsi, rax
mov rbx, r15
add rsi, 8
nop dword [rax]
mov rcx, qword [0x140021c20]
lea rdi, [rbp - 0x21]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x11]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x11], r15
mov edx, 0x80002048
mov qword [rbp - 1], r15
movdqu xmmword [rbp + 0xb], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x1b], r15d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov dword [rbp + 7], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007ee4
movzx eax, byte [rbp + 0xb]
inc rbx
mov byte [rdi], al
cmp rbx, 8
jb 0x140007b80
mov rsi, qword [rbp - 0x21]
test rsi, rsi
je 0x140007ee4
add rsi, 8
mov qword [rbp - 0x21], r15
lea rax, [rbp - 0x21]
mov rbx, r15
sub rsi, rax
nop word [rax + rax]
mov rcx, qword [0x140021c20]
lea rdi, [rbp - 0x21]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x11]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x11], r15
mov edx, 0x80002048
mov qword [rbp - 1], r15
movdqu xmmword [rbp + 0xb], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x1b], r15d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov dword [rbp + 7], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007ee4
movzx eax, byte [rbp + 0xb]
inc rbx
mov byte [rdi], al
cmp rbx, 8
jb 0x140007c20
mov rsi, qword [rbp - 0x21]
test rsi, rsi
je 0x140007ee4
add rsi, 0x28
mov qword [rbp - 0x21], r15
lea rax, [rbp - 0x21]
mov rbx, r15
sub rsi, rax
nop word [rax + rax]
mov rcx, qword [0x140021c20]
lea rdi, [rbp - 0x21]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x11]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x11], r15
mov edx, 0x80002048
mov qword [rbp - 1], r15
movdqu xmmword [rbp + 0xb], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x1b], r15d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov dword [rbp + 7], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007ee4
movzx eax, byte [rbp + 0xb]
inc rbx
mov byte [rdi], al
cmp rbx, 8
jb 0x140007cc0
mov rsi, qword [rbp - 0x21]
test rsi, rsi
je 0x140007ee4
xorps xmm0, xmm0
lea rax, [rbp - 0x21]
add rsi, 0x58
mov rbx, r15
movups xmmword [rbp - 0x21], xmm0
sub rsi, rax
nop word [rax + rax]
mov rcx, qword [0x140021c20]
lea rdi, [rbp - 0x21]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x11]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x11], r15
mov edx, 0x80002048
mov qword [rbp - 1], r15
movdqu xmmword [rbp + 0xb], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x1b], r15d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov dword [rbp + 7], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007ee4
movzx eax, byte [rbp + 0xb]
inc rbx
mov byte [rdi], al
cmp rbx, 0x10
jb 0x140007d60
movzx eax, word [rbp - 0x21]
test ax, ax
je 0x140007ee4
mov ecx, eax
mov edi, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovo rbx, rax
mov rcx, rbx
call fcn.140013914
mov r8, rbx
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp - 0x19]
mov r9d, edi
mov r8, r14
call fcn.140005ec0
test al, al
je 0x140007ebf
mov word [rbp - 0x21], r15w
mov rbx, r15
nop dword [rax]
mov qword [rsp + 0x38], r15
lea rcx, [rbp - 0x21]
add rcx, rbx
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x11], r15
lea r8, [rbp - 0x11]
mov qword [rbp - 1], r15
lea rax, [rcx + rsi]
mov dword [rbp + 7], 1
mov qword [rbp - 9], rax
mov edx, 0x8000204c
movzx eax, byte [rcx]
mov rcx, qword [0x140021c20]
mov dword [rbp + 0xb], eax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp + 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007ebf
inc rbx
cmp rbx, 0x10
jb 0x140007e40
mov rcx, r14
mov bl, 1
call fcn.140013570
movzx eax, bl
jmp 0x140007ee6
xor bl, bl
mov rcx, r14
call fcn.140013570
movzx eax, bl
jmp 0x140007ee6
test rbx, rbx
je 0x140007ee4
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140013550
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rbp
ret