Function at 0x140004b70
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x14005c080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [0x1403b3430]
lea r9, [rsp + 0x70]
xor edx, edx
xor r15d, r15d
xor r8d, r8d
mov dword [rsp + 0x70], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140004c09
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x70]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x70]
lea r9, [rsp + 0x70]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140004bc0
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], r14
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
test eax, eax
js 0x1400051ba
test rbx, rbx
je 0x1400051d0
mov edi, r15d
mov r14, r15
cmp qword [rbx], rdi
jbe 0x140004ca1
mov rax, r15
nop dword [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 - 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140004c8e
movq rax, xmm6
cmp rax, rsi
je 0x140004c9c
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140004c50
jmp 0x1400051bf
movq r14, xmm7
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x1400051d0
lea r8, [r14 + 8]
mov qword [rbp - 0x30], r15
mov r9d, 8
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140003d70
test al, al
je 0x140005137
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x140005137
add r8, 8
mov qword [rbp - 0x28], r15
mov r9d, 8
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.140003d70
test al, al
je 0x1400050b4
mov r8, qword [rbp - 0x28]
test r8, r8
je 0x1400050b4
add r8, 0x28
mov qword [rbp - 0x38], r15
mov r9d, 8
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.140003d70
test al, al
je 0x140004fe3
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140004fe3
xorps xmm0, xmm0
lea rdx, [rsp + 0x78]
add r8, 0x58
mov r9d, 0x10
mov rcx, rsi
movups xmmword [rsp + 0x78], xmm0
call fcn.140003d70
test al, al
je 0x140004f32
movzx eax, word [rsp + 0x78]
test ax, ax
je 0x140004f32
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140019ee8
movzx r8d, word [rsp + 0x78]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.14003de20
movzx r9d, word [rsp + 0x78]
mov rdx, rbx
mov r8, qword [rbp - 0x80]
add r9, r9
mov rcx, rsi
call fcn.140003d70
mov rax, qword [rbp - 0x38]
mov word [rsp + 0x78], r15w
add rax, 0x58
je 0x140004e40
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x78]
mov qword [rbp - 0x58], rax
lea r8, [rbp - 0x70]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x60], rcx
mov qword [rsp + 0x30], rax
mov r9d, 0x28
mov dword [rsp + 0x28], r15d
mov edx, 0x80862007
mov rcx, rsi
mov qword [rsp + 0x20], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], 0x33
mov qword [rbp - 0x50], 0x10
mov dword [rbp - 0x40], r15d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140004e40
mov rcx, rbx
call fcn.1400198a0
mov al, 1
jmp 0x1400051d2
movabs rax, 0x26ac35e01a04f223
movabs rcx, 0xc5f4f2c10a99d1e4
mov qword [rbp - 0x20], rax
movabs rdx, 0x29d54edc86ce9fd7
movabs rax, 0xc2f7f2456d3d6b60
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x18], rax
movabs rax, 0xf744a37ebf4632ad
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0x146c329bb3530baa
mov qword [rbp - 8], rax
movabs rax, 0x4ac554a63a59d378
mov qword [rbp - 0x70], rax
movabs rax, 0xb080d22a191d0f05
mov qword [rbp - 0x68], rax
movabs rax, 0x812dd11a9f2346c4
movups xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
movabs rax, 0x34095ffadd7379cf
mov qword [rbp - 0x58], rax
movabs rax, 0x29d526a8e1a0fabb
movups xmm2, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], rax
xorps xmm0, xmm1
mov qword [rbp], rdx
movups xmm3, xmmword [rbp - 0x50]
mov qword [rbp + 8], rcx
movdqa xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm2
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmm3
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [0x1403b1b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
jmp 0x1400051d0
movabs rax, 0x26ac35e01a04f223
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x20], rax
lea rcx, [0x1403b1b80]
movabs rax, 0xc2f7f2456d3d6b60
mov qword [rbp - 0x18], rax
movabs rax, 0xf744a37ebf4632ad
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0x146c329bb3530baa
mov qword [rbp - 8], rax
movabs rax, 0x4ac554a63a59d378
mov qword [rsp + 0x40], rax
movabs rax, 0xab91d22a191d0f05
mov qword [rsp + 0x48], rax
movabs rax, 0x9232ca0cdb6656c3
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rax, 0x146c57f6d23d2bd8
mov qword [rsp + 0x58], rax
movups xmm2, xmmword [rsp + 0x50]
xorps xmm0, xmm1
xorps xmm2, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm2
movdqa xmmword [rbp - 0x70], xmm0
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
jmp 0x1400051d0
movabs rax, 0x26ac35e01a04f223
movabs rdx, 0x29d54edc86ce9fd7
mov qword [rbp - 0x20], rax
movabs rax, 0xc2f7f2456d3d6b60
mov qword [rbp - 0x18], rax
movabs rax, 0xf744a37ebf4632ad
mov qword [rbp - 0x10], rax
movabs rax, 0x146c329bb3530baa
mov qword [rbp - 8], rax
movabs rax, 0x4ac554a63a59d378
mov qword [rbp - 0x70], rax
movabs rax, 0xab91d22a191d0f05
mov qword [rbp - 0x68], rax
movabs rax, 0x9232ca0cdb6656c3
mov qword [rbp - 0x60], rax
movabs rax, 0x7b0546f8d62054d8
mov qword [rbp - 0x58], rax
movabs rax, 0x29d54edc86ce9fb9
mov qword [rbp - 0x50], rax
movups xmm1, xmmword [rbp - 0x70]
movabs rcx, 0xc5f4f2c10a99d1e4
mov qword [rbp], rdx
movups xmm2, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rcx
movups xmm3, xmmword [rbp - 0x50]
mov qword [rbp + 8], rcx
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm3, xmmword [rbp]
xorps xmm0, xmm1
xorps xmm2, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x60], xmm3
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x50], xmm2
jmp 0x140004f14
movabs rax, 0x26ac35e01a04f223
movabs rdx, 0x29d54edc86ce9fd7
mov qword [rbp - 0x20], rax
movabs rax, 0xc2f7f2456d3d6b60
mov qword [rbp - 0x18], rax
movabs rax, 0xf744a37ebf4632ad
mov qword [rbp - 0x10], rax
movabs rax, 0x146c329bb3530baa
mov qword [rbp - 8], rax
movabs rax, 0x4ac554a63a59d378
mov qword [rbp - 0x70], rax
movabs rax, 0xab91d22a191d0f05
mov qword [rbp - 0x68], rax
movabs rax, 0x9232ca0cdb6656c3
mov qword [rbp - 0x60], rax
movabs rax, 0x600f57f1d13c54d8
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
jmp 0x14000506b
movabs rax, 0x26ac35e01a04f223
movabs rdx, 0x29d54edc86ce9fd7
mov qword [rbp - 0x20], rax
movabs rax, 0xc2f7f2456d3d6b60
mov qword [rbp - 0x18], rax
movabs rax, 0xf744a37ebf4632ad
mov qword [rbp - 0x10], rax
movabs rax, 0x146c329bb3530baa
mov qword [rbp - 8], rax
movabs rax, 0x4ac554a63a59d378
mov qword [rbp - 0x70], rax
movabs rax, 0xab91d22a191d0f05
mov qword [rbp - 0x68], rax
movabs rax, 0x942dd51bdb6656c3
mov qword [rbp - 0x60], rax
movabs rax, 0x600f57f1d13c54cf
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
jmp 0x14000506b
test rbx, rbx
je 0x1400051d0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
mov r14, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140019880
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop rsi
pop rbp
ret