Function at 0x1400bc060
Capabilities:
Allocate or change rwx memory
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x358
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1400bc0f7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
jmp 0x1400bc09c
cmp dword [rsp + 0x30], 0
jl 0x1400bc106
cmp qword [rsp + 0x28], 0
jne 0x1400bc128
cmp qword [rsp + 0x28], 0
je 0x1400bc121
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x1400bc6af
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x24], 0
jmp 0x1400bc14f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx]
jae 0x1400bc1b8
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x28
lea rcx, [rsp + 0x140]
mov rdx, qword [rsp + 0x70]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rsp + 0x148], rax
je 0x1400bc195
jmp 0x1400bc145
mov rax, qword [rsp + 0x370]
cmp qword [rsp + 0x150], rax
jne 0x1400bc1b6
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x58], rax
jmp 0x1400bc1b8
jmp 0x1400bc145
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rsp + 0x58], 0
jne 0x1400bc1da
xor al, al
jmp 0x1400bc6af
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0x370]
call fcn.1400bf1b0
movzx eax, al
test eax, eax
je 0x1400bc216
cmp qword [rsp + 0x60], 0
jne 0x1400bc27c
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x78], rax
lea rdx, str.____Failed_to_find_device_object
lea rcx, [rsp + 0x22a]
call fcn.1400b95e0
mov rcx, rax
call fcn.1400bfdd0
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x78]
call fcn.1400b5690
mov qword [rsp + 0x80], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x80]
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]
xor al, al
jmp 0x1400bc6af
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x60]
add rax, 8
mov r9d, 8
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x370]
call fcn.1400bf1b0
movzx eax, al
test eax, eax
je 0x1400bc2b8
cmp qword [rsp + 0x68], 0
jne 0x1400bc324
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x90], rax
lea rdx, str.____Failed_to_find_driver_object
lea rcx, [rsp + 0x26e]
call fcn.1400b95e0
mov rcx, rax
call fcn.1400bfdd0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400b5690
mov qword [rsp + 0x98], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x98]
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]
xor al, al
jmp 0x1400bc6af
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov r9d, 8
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x370]
call fcn.1400bf1b0
movzx eax, al
test eax, eax
je 0x1400bc360
cmp qword [rsp + 0x38], 0
jne 0x1400bc3cc
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xa8], rax
lea rdx, str.____Failed_to_find_driver_section
lea rcx, [rsp + 0x2b2]
call fcn.1400b9610
mov rcx, rax
call fcn.1400bfdf0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.1400b5690
mov qword [rsp + 0xb0], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xb0]
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]
xor al, al
jmp 0x1400bc6af
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x370]
call fcn.1400bf1b0
movzx eax, al
test eax, eax
je 0x1400bc411
movzx eax, word [rsp + 0x48]
test eax, eax
jne 0x1400bc47d
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xc0], rax
lea rdx, str.____Failed_to_find_driver_name
lea rcx, [rsp + 0x168]
call fcn.1400b9580
mov rcx, rax
call fcn.1400bfd90
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5690
mov qword [rsp + 0xc8], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xc8]
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]
xor al, al
jmp 0x1400bc6af
movzx eax, word [rsp + 0x48]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov qword [rsp + 0xd0], rax
mov eax, 2
mov rcx, qword [rsp + 0xd0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14015e4c0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rax
movzx eax, word [rsp + 0x48]
add rax, 2
mov qword [rsp + 0xe0], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x48]
mov r9d, eax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x370]
call fcn.1400bf1b0
movzx eax, al
test eax, eax
jne 0x1400bc583
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xf0], rax
lea rdx, str.____Failed_to_read_driver_name
lea rcx, [rsp + 0x1a8]
call fcn.1400b9580
mov rcx, rax
call fcn.1400bfd90
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b5690
mov qword [rsp + 0xf8], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xf8]
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]
xor al, al
jmp 0x1400bc6af
xor eax, eax
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0x38]
add rax, 0x58
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x370]
call fcn.1400bf960
movzx eax, al
test eax, eax
jne 0x1400bc621
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x108], rax
lea rdx, str.____Failed_to_write_driver_name_length
lea rcx, [rsp + 0x2f8]
call fcn.1400b9700
mov rcx, rax
call fcn.1400bfe90
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.1400b5690
mov qword [rsp + 0x110], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x110]
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]
xor al, al
jmp 0x1400bc6af
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x120], rax
lea rdx, str.___MmUnloadedDrivers_Cleaned:
lea rcx, [rsp + 0x1e8]
call fcn.1400b95b0
mov rcx, rax
call fcn.1400bfdb0
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
call fcn.1400b5690
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.1400b5690
mov qword [rsp + 0x128], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x128]
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 rax, qword [rsp + 0x40]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.14015de00
mov al, 1
add rsp, 0x358
pop rdi
pop rsi
ret