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 [0x140092010]
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.14006cec4
movzx r8d, word [rbp + 0xf]
xor edx, edx
add r8, 2
mov rcx, rax
mov rdi, rax
call fcn.14006db1a
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], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x1868187e
mov dword [rbp - 0x39], 0x186b186f
mov dword [rbp - 0x35], 0x18751830
mov dword [rbp - 0x31], 0x187a1860
mov dword [rbp - 0x2d], 0x18701862
mov dword [rbp - 0x29], 0x18371864
mov dword [rbp - 0x25], 0x18781876
mov dword [rbp - 0x21], 0x187e1877
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140054ad0
lea rdx, [0x140054cb0]
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], 0x1821185d
mov ecx, 0x17fe
test al, al
jne 0x14004ebde
mov dword [rbp - 0x59], 0x17de17a5
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x187f187b
mov dword [rbp - 0x39], 0x187b1867
mov dword [rbp - 0x35], 0x18311875
mov dword [rbp - 0x31], 0x18611876
mov dword [rbp - 0x2d], 0x1863187d
mov dword [rbp - 0x29], 0x18651873
mov dword [rbp - 0x25], 0x18771838
mov dword [rbp - 0x21], 0x1876187b
mov dword [rbp - 0x1d], 0x183d1879
mov dword [rbp - 0x19], 0x187a1872
mov dword [rbp - 0x15], 0x1846184e
mov dword [rbp - 0x11], 0x184b1856
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], 0x17d417a5
mov dword [rbp - 0x51], 0x186e184f
mov dword [rbp - 0x4d], 0x186b1851
mov dword [rbp - 0x49], 0x1868186a
mov dword [rbp - 0x45], 0x186d1869
mov dword [rbp - 0x41], 0x186f186f
mov dword [rbp - 0x3d], 0x187f1848
mov dword [rbp - 0x39], 0x18791867
mov dword [rbp - 0x35], 0x18631875
mov dword [rbp - 0x31], 0x18331861
mov dword [rbp - 0x2d], 0x18791857
mov dword [rbp - 0x29], 0x18761873
mov dword [rbp - 0x25], 0x187c1876
mov dword [rbp - 0x21], 0x1821187e
mov dword [rbp - 0x1d], 0x183c
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x59]
mov byte [rbp - 0x19], 0
call fcn.140054ad0
mov rcx, rax
mov rdx, rdi
call fcn.140054ad0
lea rdx, [0x140054cb0]
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.14006c920
mov al, 1
jmp 0x14004ef36
mov dword [rbp - 0x59], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x1864186a
mov dword [rbp - 0x39], 0x186b1860
mov dword [rbp - 0x35], 0x18751830
mov dword [rbp - 0x31], 0x187a1860
mov dword [rbp - 0x2d], 0x18701862
mov dword [rbp - 0x29], 0x18371864
mov dword [rbp - 0x25], 0x18781876
mov dword [rbp - 0x21], 0x187e1877
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], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x1864186a
mov dword [rbp - 0x39], 0x186b1860
mov dword [rbp - 0x35], 0x18751830
mov dword [rbp - 0x31], 0x187a1860
mov dword [rbp - 0x2d], 0x18701862
mov dword [rbp - 0x29], 0x18481864
mov dword [rbp - 0x25], 0x187c186b
mov dword [rbp - 0x21], 0x186f1879
mov dword [rbp - 0x1d], 0x18721875
mov dword [rbp - 0x19], 0x1870
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], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x1864186a
mov dword [rbp - 0x39], 0x186b1860
mov dword [rbp - 0x35], 0x18751830
mov dword [rbp - 0x31], 0x187a1860
mov dword [rbp - 0x2d], 0x18701862
mov dword [rbp - 0x29], 0x18481864
mov dword [rbp - 0x25], 0x187b1877
mov dword [rbp - 0x21], 0x187e1870
mov dword [rbp - 0x1d], 0x1869187f
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], 0x17de17a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621844
mov dword [rbp - 0x4d], 0x1869186d
mov dword [rbp - 0x49], 0x18631863
mov dword [rbp - 0x45], 0x187d1828
mov dword [rbp - 0x41], 0x182b1865
mov dword [rbp - 0x3d], 0x1864186a
mov dword [rbp - 0x39], 0x186b1860
mov dword [rbp - 0x35], 0x18751830
mov dword [rbp - 0x31], 0x18651877
mov dword [rbp - 0x2d], 0x1876187d
mov dword [rbp - 0x29], 0x18481873
mov dword [rbp - 0x25], 0x187b1877
mov dword [rbp - 0x21], 0x187e1870
mov dword [rbp - 0x1d], 0x1869187f
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.14006c830
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r14
pop rdi
pop rbp
ret