Function at 0x140036090
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 [0x1400d0080]
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 0x140036126
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 0x1400360e0
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], r15
test eax, eax
js 0x14003674e
test rdi, rdi
je 0x140036764
mov r15, rbx
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x1400361b9
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 0x1400361a6
cmp qword [rbp - 0x60], r14
je 0x1400361b4
inc esi
mov eax, esi
cmp rax, qword [rdi]
jb 0x140036160
jmp 0x140036753
movq r15, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
je 0x140036764
lea r8, [r15 + 8]
mov qword [rbp + 0x30], rbx
mov r9d, 8
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.140034ac0
test al, al
je 0x1400366ae
mov r8, qword [rbp + 0x30]
test r8, r8
je 0x1400366ae
add r8, 8
mov qword [rbp + 0x38], rbx
mov r9d, 8
lea rdx, [rbp + 0x38]
mov rcx, r14
call fcn.140034ac0
test al, al
je 0x14003660e
mov r8, qword [rbp + 0x38]
test r8, r8
je 0x14003660e
add r8, 0x28
mov qword [rbp + 0x28], rbx
mov r9d, 8
lea rdx, [rbp + 0x28]
mov rcx, r14
call fcn.140034ac0
test al, al
je 0x140036566
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x140036566
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.140034ac0
test al, al
je 0x1400364cf
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x1400364cf
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a96f4
movzx r8d, word [rbp - 0x48]
xor edx, edx
add r8, 2
mov rcx, rax
mov rdi, rax
call fcn.1400aa586
movzx r9d, word [rbp - 0x48]
mov rdx, rdi
mov r8, qword [rbp - 0x40]
mov rcx, r14
call fcn.140034ac0
test al, al
jne 0x14003639a
mov dword [rbp - 0x30], 0x15f9158c
mov ecx, 0x15d7
mov dword [rbp - 0x2c], 0x15fa1584
mov dword [rbp - 0x28], 0x15bd159d
mov dword [rbp - 0x24], 0x15b215b4
mov dword [rbp - 0x20], 0x158415ba
mov dword [rbp - 0x1c], 0x159615c1
mov dword [rbp - 0x18], 0x15c4158c
mov dword [rbp - 0x14], 0x15831597
mov dword [rbp - 0x10], 0x158c1586
mov dword [rbp - 0xc], 0x158e15c9
mov dword [rbp - 8], 0x15851599
mov dword [rbp - 4], 0x158b159b
mov dword [rbp], 0x15d0159d
mov dword [rbp + 4], 0x1593159f
mov dword [rbp + 8], 0x1591159e
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 0x140036360
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.14003b430
lea rdx, [0x14003b610]
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 0x140036764
mov rax, qword [rbp + 0x28]
mov word [rbp - 0x48], bx
add rax, 0x58
je 0x14003640d
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 0x14003640d
mov rcx, rdi
call fcn.1400a9350
mov al, 1
jmp 0x140036766
mov dword [rsp + 0x40], 0x15f9158c
mov ecx, 0x15d7
mov dword [rsp + 0x44], 0x15fa1584
mov dword [rsp + 0x48], 0x15bd159d
mov dword [rsp + 0x4c], 0x15b215b4
mov dword [rsp + 0x50], 0x158415ba
mov dword [rsp + 0x54], 0x159615c1
mov dword [rsp + 0x58], 0x15c4158c
mov dword [rsp + 0x5c], 0x15941592
mov dword [rsp + 0x60], 0x159c158e
mov dword [rsp + 0x64], 0x15ca158c
mov dword [rsp + 0x68], 0x159e158f
mov dword [rsp + 0x6c], 0x15981584
mov dword [rsp + 0x70], 0x1582158a
mov dword [rsp + 0x74], 0x159c15d1
mov dword [rsp + 0x78], 0x15991592
mov dword [rsp + 0x7c], 0x15d61590
mov dword [rbp - 0x80], 0x159d159b
mov dword [rbp - 0x7c], 0x159d1597
mov dword [rbp - 0x78], 0x1594158f
mov word [rbp - 0x74], bx
mov byte [rbp - 0x72], 1
nop
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x26
jb 0x1400364b0
mov byte [rbp - 0x72], 0
lea rdx, [rsp + 0x40]
jmp 0x140036379
mov dword [rbp - 0x30], 0x15f9158c
mov ecx, 0x15d7
mov dword [rbp - 0x2c], 0x15fa1584
mov dword [rbp - 0x28], 0x15bd159d
mov dword [rbp - 0x24], 0x15b215b4
mov dword [rbp - 0x20], 0x158415ba
mov dword [rbp - 0x1c], 0x159615c1
mov dword [rbp - 0x18], 0x15c4158c
mov dword [rbp - 0x14], 0x158f1583
mov dword [rbp - 0x10], 0x158c1589
mov dword [rbp - 0xc], 0x158e15c9
mov dword [rbp - 8], 0x15851599
mov dword [rbp - 4], 0x158b159b
mov dword [rbp], 0x15d0159d
mov dword [rbp + 4], 0x1593159f
mov dword [rbp + 8], 0x1591159e
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 0x140036550
jmp 0x140036371
mov dword [rbp - 0x30], 0x15f9158c
mov ecx, 0x15d7
mov dword [rbp - 0x2c], 0x15fa1584
mov dword [rbp - 0x28], 0x15bd159d
mov dword [rbp - 0x24], 0x15b215b4
mov dword [rbp - 0x20], 0x158415ba
mov dword [rbp - 0x1c], 0x159615c1
mov dword [rbp - 0x18], 0x15c4158c
mov dword [rbp - 0x14], 0x158f1583
mov dword [rbp - 0x10], 0x158c1589
mov dword [rbp - 0xc], 0x158e15c9
mov dword [rbp - 8], 0x15851599
mov dword [rbp - 4], 0x158b159b
mov dword [rbp], 0x15af159d
mov dword [rbp + 4], 0x15971582
mov dword [rbp + 8], 0x15801590
mov dword [rbp + 0xc], 0x1599159c
mov dword [rbp + 0x10], 0x1599
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 0x1400365f0
mov byte [rbp + 0x14], 0
lea rdx, [rbp - 0x30]
jmp 0x140036379
mov dword [rbp - 0x30], 0x15f9158c
mov ecx, 0x15d7
mov dword [rbp - 0x2c], 0x15fa1584
mov dword [rbp - 0x28], 0x15bd159d
mov dword [rbp - 0x24], 0x15b215b4
mov dword [rbp - 0x20], 0x158415ba
mov dword [rbp - 0x1c], 0x159615c1
mov dword [rbp - 0x18], 0x15c4158c
mov dword [rbp - 0x14], 0x158f1583
mov dword [rbp - 0x10], 0x158c1589
mov dword [rbp - 0xc], 0x158e15c9
mov dword [rbp - 8], 0x15851599
mov dword [rbp - 4], 0x158b159b
mov dword [rbp], 0x15af159d
mov dword [rbp + 4], 0x1590159e
mov dword [rbp + 8], 0x15911599
mov dword [rbp + 0xc], 0x15821596
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 0x140036690
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x140036379
mov dword [rbp - 0x30], 0x15f9158c
mov ecx, 0x15d7
mov dword [rbp - 0x2c], 0x15fa1584
mov dword [rbp - 0x28], 0x15bd159d
mov dword [rbp - 0x24], 0x15b215b4
mov dword [rbp - 0x20], 0x158415ba
mov dword [rbp - 0x1c], 0x159615c1
mov dword [rbp - 0x18], 0x15c4158c
mov dword [rbp - 0x14], 0x158f1583
mov dword [rbp - 0x10], 0x158c1589
mov dword [rbp - 0xc], 0x158e15c9
mov dword [rbp - 8], 0x159a158e
mov dword [rbp - 4], 0x158d1584
mov dword [rbp], 0x15af158a
mov dword [rbp + 4], 0x1590159e
mov dword [rbp + 8], 0x15911599
mov dword [rbp + 0xc], 0x15821596
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 0x140036730
mov byte [rbp + 0x12], 0
lea rdx, [rbp - 0x30]
jmp 0x140036379
test rdi, rdi
je 0x140036764
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.1400a9330
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop r14
pop rdi
pop rbp
ret