Function at 0x1400048e0
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 [0x1400b9080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [0x14040e900]
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 0x140004979
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 0x140004930
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], r14
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
test eax, eax
js 0x140004f14
test rbx, rbx
je 0x140004f2a
mov edi, r15d
mov r14, r15
cmp qword [rbx], rdi
jbe 0x140004a11
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 0x1400049fe
movq rax, xmm6
cmp rax, rsi
je 0x140004a0c
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1400049c0
jmp 0x140004f19
movq r14, xmm7
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x140004f2a
lea r8, [r14 + 8]
mov qword [rbp - 0x30], r15
mov r9d, 8
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140003ab0
test al, al
je 0x140004e4d
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x140004e4d
add r8, 8
mov qword [rbp - 0x28], r15
mov r9d, 8
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.140003ab0
test al, al
je 0x140004dca
mov r8, qword [rbp - 0x28]
test r8, r8
je 0x140004dca
add r8, 0x28
mov qword [rbp - 0x38], r15
mov r9d, 8
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.140003ab0
test al, al
je 0x140004d4b
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140004d4b
xorps xmm0, xmm0
lea rdx, [rsp + 0x78]
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
movups xmmword [rsp + 0x78], xmm0
call fcn.140003ab0
test al, al
je 0x140004caa
movzx eax, word [rsp + 0x78]
test ax, ax
je 0x140004caa
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14008c5d8
movzx r8d, word [rsp + 0x78]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rsp + 0x78]
mov rdx, rbx
mov r8, qword [rbp - 0x80]
add r9, r9
mov rcx, rsi
call fcn.140003ab0
mov rax, qword [rbp - 0x38]
mov word [rsp + 0x78], r15w
add rax, 0x58
je 0x140004bb0
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, Ordinal_41
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], gethostname
mov qword [rbp - 0x50], reloc.WS2_32.dll_recv
mov dword [rbp - 0x40], r15d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140004bb0
mov rcx, rbx
call fcn.14008bf80
mov al, 1
jmp 0x140004f2c
movabs rax, 0x22c2b8fadc40c653
mov qword [rbp - 0x20], rax
movabs rax, 0x8230561708d606a0
mov qword [rbp - 0x18], rax
movabs rax, 0x14d9f30f4f4f265
mov qword [rbp - 0x10], rax
movabs rax, 0xedea776dc71c3dd2
mov qword [rbp - 8], rax
movabs rax, 0x4eabd9bcfc1de708
mov qword [rbp - 0x70], rax
movabs rax, 0xf04776787cf662c5
mov qword [rbp - 0x68], rax
movabs rax, 0x7724ed54d491860c
mov qword [rbp - 0x60], rax
movabs rax, 0xcd8f1a0ca93c4fb7
mov qword [rbp - 0x58], rax
movabs rax, 0x6ad01982b64026cb
movabs rdx, 0x6ad071f6d12e43a7
mov qword [rbp - 0x50], rax
movups xmm1, xmmword [rbp - 0x70]
movabs rcx, 0x84e7c443a21446c4
mov qword [rbp], rdx
movdqa xmm0, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rcx
xorps xmm0, xmm1
mov qword [rbp + 8], rcx
movups xmm3, xmmword [rbp - 0x50]
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]
mov rcx, qword [0x140090640]
call fcn.140007660
lea rdx, [0x140007830]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140004f2a
movabs rax, 0x22c2b8fadc40c653
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x20], rax
movabs rax, 0x8230561708d606a0
mov qword [rbp - 0x18], rax
movabs rax, 0x14d9f30f4f4f265
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0xedea776dc71c3dd2
mov qword [rbp - 8], rax
movabs rax, 0x4eabd9bcfc1de708
mov qword [rsp + 0x40], rax
movabs rax, 0xeb5676787cf662c5
mov qword [rsp + 0x48], rax
movabs rax, 0x643bf64290d4960b
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rax, 0xedea1200a6721da0
mov qword [rsp + 0x58], rax
movups xmm2, xmmword [rsp + 0x50]
xorps xmm0, xmm1
movdqa xmm1, xmmword [rbp - 0x10]
xorps xmm1, xmm2
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x60], xmm1
jmp 0x140004c89
movabs rax, 0x22c2b8fadc40c653
mov qword [rbp - 0x20], rax
movabs rax, 0x8230561708d606a0
mov qword [rbp - 0x18], rax
movabs rax, 0x14d9f30f4f4f265
mov qword [rbp - 0x10], rax
movabs rax, 0xedea776dc71c3dd2
mov qword [rbp - 8], rax
movabs rax, 0x4eabd9bcfc1de708
mov qword [rbp - 0x70], rax
movabs rax, 0xeb5676787cf662c5
mov qword [rbp - 0x68], rax
movabs rax, 0x643bf64290d4960b
mov qword [rbp - 0x60], rax
movabs rax, 0x8283030ea26f62a0
mov qword [rbp - 0x58], rax
movabs rax, 0x6ad071f6d12e43c9
jmp 0x140004c2a
movabs rax, 0x22c2b8fadc40c653
movabs rdx, 0x6ad071f6d12e43a7
mov qword [rbp - 0x20], rax
movabs rax, 0x8230561708d606a0
mov qword [rbp - 0x18], rax
movabs rax, 0x14d9f30f4f4f265
mov qword [rbp - 0x10], rax
movabs rax, 0xedea776dc71c3dd2
mov qword [rbp - 8], rax
movabs rax, 0x4eabd9bcfc1de708
mov qword [rbp - 0x70], rax
movabs rax, 0xeb5676787cf662c5
mov qword [rbp - 0x68], rax
movabs rax, 0x643bf64290d4960b
mov qword [rbp - 0x60], rax
movabs rax, 0x99891207a57362a0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
jmp 0x140004c38
movabs rax, 0x22c2b8fadc40c653
movabs rdx, 0x6ad071f6d12e43a7
mov qword [rbp - 0x20], rax
movabs rcx, 0x84e7c443a21446c4
movabs rax, 0x8230561708d606a0
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x18], rax
movabs rax, 0x14d9f30f4f4f265
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
movabs rax, 0xedea776dc71c3dd2
mov qword [rbp - 8], rax
movabs rax, 0x4eabd9bcfc1de708
mov qword [rbp - 0x70], rax
movabs rax, 0xeb5676787cf662c5
mov qword [rbp - 0x68], rax
movabs rax, 0x6224e95590d4960b
movups xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
movabs rax, 0x99891207a57362b7
mov qword [rbp - 0x58], rax
movups xmm2, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rcx
mov qword [rbp], rdx
xorps xmm0, xmm1
movups xmm3, xmmword [rbp - 0x50]
mov qword [rbp + 8], rcx
xorps xmm2, xmmword [rbp - 0x10]
xorps xmm3, xmmword [rbp]
movdqa xmmword [rsp + 0x50], xmm2
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x60], xmm3
jmp 0x140004c84
test rbx, rbx
je 0x140004f2a
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.14008bf60
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop rsi
pop rbp
ret