Function at 0x1400cf9c0
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 [0x14016a080]
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 0x1400cfa56
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 0x1400cfa10
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], r15
test eax, eax
js 0x1400d0081
test rdi, rdi
je 0x1400d0097
mov r15, rbx
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x1400cfae9
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 0x1400cfad6
cmp qword [rbp - 0x60], r14
je 0x1400cfae4
inc esi
mov eax, esi
cmp rax, qword [rdi]
jb 0x1400cfa90
jmp 0x1400d0086
movq r15, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
je 0x1400d0097
lea r8, [r15 + 8]
mov qword [rbp + 0x30], rbx
mov r9d, 8
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.1400ce3e0
test al, al
je 0x1400cffe1
mov r8, qword [rbp + 0x30]
test r8, r8
je 0x1400cffe1
add r8, 8
mov qword [rbp + 0x38], rbx
mov r9d, 8
lea rdx, [rbp + 0x38]
mov rcx, r14
call fcn.1400ce3e0
test al, al
je 0x1400cff41
mov r8, qword [rbp + 0x38]
test r8, r8
je 0x1400cff41
add r8, 0x28
mov qword [rbp + 0x28], rbx
mov r9d, 8
lea rdx, [rbp + 0x28]
mov rcx, r14
call fcn.1400ce3e0
test al, al
je 0x1400cfe99
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x1400cfe99
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.1400ce3e0
test al, al
je 0x1400cfe04
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x1400cfe04
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401432f4
movzx r8d, word [rbp - 0x48]
xor edx, edx
add r8, 2
mov rcx, rax
mov rdi, rax
call fcn.140144156
movzx r9d, word [rbp - 0x48]
mov rdx, rdi
mov r8, qword [rbp - 0x40]
mov rcx, r14
call fcn.1400ce3e0
test al, al
jne 0x1400cfccd
mov dword [rbp - 0x30], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rbp - 0x2c], 0xfc09fc75
mov dword [rbp - 0x28], 0xfc4afc6c
mov dword [rbp - 0x24], 0xfc41fc45
mov dword [rbp - 0x20], 0xfc4bfc4b
mov dword [rbp - 0x1c], 0xfc45fc10
mov dword [rbp - 0x18], 0xfc13fc5d
mov dword [rbp - 0x14], 0xfc50fc46
mov dword [rbp - 0x10], 0xfc53fc57
mov dword [rbp - 0xc], 0xfc5dfc18
mov dword [rbp - 8], 0xfc52fc48
mov dword [rbp - 4], 0xfc58fc4a
mov dword [rbp], 0xfc1ffc4c
mov dword [rbp + 4], 0xfc20fc2e
mov dword [rbp + 8], 0xfc26fc2f
mov word [rbp + 0xc], bx
mov byte [rbp + 0xe], 1
nop dword [rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x1e
jb 0x1400cfc90
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.1400d4d70
lea rdx, [0x1400d4f50]
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 0x1400d0097
mov rax, qword [rbp + 0x28]
mov word [rbp - 0x48], bx
add rax, 0x58
je 0x1400cfd40
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, Ordinal_45
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], gethostname
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 0x1400cfd40
mov rcx, rdi
call fcn.140142f50
mov al, 1
jmp 0x1400d0099
mov dword [rsp + 0x40], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rsp + 0x44], 0xfc09fc75
mov dword [rsp + 0x48], 0xfc4afc6c
mov dword [rsp + 0x4c], 0xfc41fc45
mov dword [rsp + 0x50], 0xfc4bfc4b
mov dword [rsp + 0x54], 0xfc45fc10
mov dword [rsp + 0x58], 0xfc13fc5d
mov dword [rsp + 0x5c], 0xfc47fc43
mov dword [rsp + 0x60], 0xfc43fc5f
mov dword [rsp + 0x64], 0xfc19fc5d
mov dword [rsp + 0x68], 0xfc49fc5e
mov dword [rsp + 0x6c], 0xfc4bfc55
mov dword [rsp + 0x70], 0xfc4dfc5b
mov dword [rsp + 0x74], 0xfc2ffc60
mov dword [rsp + 0x78], 0xfc2efc23
mov dword [rsp + 0x7c], 0xfc65fc21
mov dword [rbp - 0x80], 0xfc22fc2a
mov dword [rbp - 0x7c], 0xfc2efc26
mov dword [rbp - 0x78], 0xfc23fc3e
mov word [rbp - 0x74], bx
mov byte [rbp - 0x72], 1
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x26
jb 0x1400cfde2
mov byte [rbp - 0x72], 0
lea rdx, [rsp + 0x40]
jmp 0x1400cfcac
mov dword [rbp - 0x30], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rbp - 0x2c], 0xfc09fc75
mov dword [rbp - 0x28], 0xfc4afc6c
mov dword [rbp - 0x24], 0xfc41fc45
mov dword [rbp - 0x20], 0xfc4bfc4b
mov dword [rbp - 0x1c], 0xfc45fc10
mov dword [rbp - 0x18], 0xfc13fc5d
mov dword [rbp - 0x14], 0xfc5cfc52
mov dword [rbp - 0x10], 0xfc53fc58
mov dword [rbp - 0xc], 0xfc5dfc18
mov dword [rbp - 8], 0xfc52fc48
mov dword [rbp - 4], 0xfc58fc4a
mov dword [rbp], 0xfc1ffc4c
mov dword [rbp + 4], 0xfc20fc2e
mov dword [rbp + 8], 0xfc26fc2f
mov word [rbp + 0xc], bx
mov byte [rbp + 0xe], 1
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x1e
jb 0x1400cfe80
jmp 0x1400cfca4
mov dword [rbp - 0x30], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rbp - 0x2c], 0xfc09fc75
mov dword [rbp - 0x28], 0xfc4afc6c
mov dword [rbp - 0x24], 0xfc41fc45
mov dword [rbp - 0x20], 0xfc4bfc4b
mov dword [rbp - 0x1c], 0xfc45fc10
mov dword [rbp - 0x18], 0xfc13fc5d
mov dword [rbp - 0x14], 0xfc5cfc52
mov dword [rbp - 0x10], 0xfc53fc58
mov dword [rbp - 0xc], 0xfc5dfc18
mov dword [rbp - 8], 0xfc52fc48
mov dword [rbp - 4], 0xfc58fc4a
mov dword [rbp], 0xfc60fc4c
mov dword [rbp + 4], 0xfc24fc33
mov dword [rbp + 8], 0xfc37fc21
mov dword [rbp + 0xc], 0xfc2afc2d
mov dword [rbp + 0x10], 0xfc28
mov byte [rbp + 0x14], 1
nop dword [rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x21
jb 0x1400cff20
mov byte [rbp + 0x14], 0
lea rdx, [rbp - 0x30]
jmp 0x1400cfcac
mov dword [rbp - 0x30], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rbp - 0x2c], 0xfc09fc75
mov dword [rbp - 0x28], 0xfc4afc6c
mov dword [rbp - 0x24], 0xfc41fc45
mov dword [rbp - 0x20], 0xfc4bfc4b
mov dword [rbp - 0x1c], 0xfc45fc10
mov dword [rbp - 0x18], 0xfc13fc5d
mov dword [rbp - 0x14], 0xfc5cfc52
mov dword [rbp - 0x10], 0xfc53fc58
mov dword [rbp - 0xc], 0xfc5dfc18
mov dword [rbp - 8], 0xfc52fc48
mov dword [rbp - 4], 0xfc58fc4a
mov dword [rbp], 0xfc60fc4c
mov dword [rbp + 4], 0xfc23fc2f
mov dword [rbp + 8], 0xfc26fc28
mov dword [rbp + 0xc], 0xfc31fc27
mov word [rbp + 0x10], bx
mov byte [rbp + 0x12], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x20
jb 0x1400cffc0
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x1400cfcac
mov dword [rbp - 0x30], 0xfc06fc7d
mov ecx, 0x3da
mov dword [rbp - 0x2c], 0xfc09fc75
mov dword [rbp - 0x28], 0xfc4afc6c
mov dword [rbp - 0x24], 0xfc41fc45
mov dword [rbp - 0x20], 0xfc4bfc4b
mov dword [rbp - 0x1c], 0xfc45fc10
mov dword [rbp - 0x18], 0xfc13fc5d
mov dword [rbp - 0x14], 0xfc5cfc52
mov dword [rbp - 0x10], 0xfc53fc58
mov dword [rbp - 0xc], 0xfc5dfc18
mov dword [rbp - 8], 0xfc4dfc5f
mov dword [rbp - 4], 0xfc5efc55
mov dword [rbp], 0xfc60fc5b
mov dword [rbp + 4], 0xfc23fc2f
mov dword [rbp + 8], 0xfc26fc28
mov dword [rbp + 0xc], 0xfc31fc27
mov word [rbp + 0x10], bx
mov byte [rbp + 0x12], 1
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x30], ax
inc rbx
cmp rbx, 0x20
jb 0x1400d0060
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x1400cfcac
test rdi, rdi
je 0x1400d0097
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.140142f30
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop r14
pop rdi
pop rbp
ret