Function at 0x140049400
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 r14
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rbx, rdx
lea rcx, [rbp - 0x30]
xor esi, esi
xor edx, edx
mov r8d, 0x400
mov dword [rsp + 0x78], esi
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x78]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov eax, dword [rsp + 0x78]
xor ecx, ecx
add eax, 0xe10
mov r9d, 4
mov edx, eax
mov r8d, 0x3000
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
jne 0x14004961c
movabs rax, 0x394b6290d8288414
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movabs rcx, 0xea8d5e37ffe6dd20
mov qword [rsp + 0x68], rcx
movabs rax, 0x7932e970ecd1205d
mov qword [rsp + 0x28], rax
movabs rax, 0x432522b5e549868d
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x19be59852ed0b3b9
mov qword [rsp + 0x38], rax
movabs rax, 0x7489f8a46d349230
movdqa xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xccce01d7c948ccd9
mov qword [rsp + 0x48], rax
movabs rax, 0x8e97e71ed2539cb9
mov qword [rsp + 0x50], rax
movabs rax, 0xe2ca558b17b63fc1
mov qword [rsp + 0x58], rax
movabs rax, 0xfd4a436f327213d0
mov qword [rsp + 0x60], rax
movabs rax, 0x552203d6f875a94f
mov qword [rbp - 0x80], rax
movabs rax, 0x1c55c91f98f14438
mov qword [rbp - 0x78], rax
movabs rax, 0x224702d08d3da6f9
xorps xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x70], rax
movabs rax, 0x7ccc3de14ff0d6ca
mov qword [rbp - 0x68], rax
movabs rax, 0x1cfdd8c20214e143
xorps xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rax
movabs rax, 0xadad6ebba529ecbc
mov qword [rbp - 0x58], rax
movabs rax, 0xe7f0826cf237f9cd
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], rax
movabs rax, 0x83ba75ed789651ae
mov qword [rbp - 0x48], rax
movabs rax, 0xfd4a434e120176b7
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x38], rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp - 0x40], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm1
call fcn.1400105d0
lea rdx, [0x1400107b0]
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]
xor al, al
jmp 0x1400496be
mov ecx, dword [rsp + 0x78]
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x500], rdi
xor eax, eax
mov rdi, r14
mov rdx, r14
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x78]
mov ecx, 0x40
mov dword [rsp + 0x7c], esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov rdi, qword [rsp + 0x500]
cmp dword [r14], esi
jbe 0x1400496ab
nop dword [rax + rax]
mov eax, esi
shl rax, 5
cmp dword [rax + r14 + 0x10], 4
jne 0x1400496a4
cmp dword [rax + r14 + 0x20], 0x102a
jne 0x1400496a4
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + r14 + 8]
mov qword [rsp + 0x70], rcx
cmp rdx, qword [rbx + 0x10]
je 0x140049697
mov qword [rdx], rcx
add qword [rbx + 8], 8
jmp 0x1400496a4
lea r8, [rsp + 0x70]
mov rcx, rbx
call fcn.14004a930
inc esi
cmp esi, dword [r14]
jb 0x140049660
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14004ab60
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop r14
pop rsi
pop rbp
ret