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

Disassembly:
jmp 0x14005ca10
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x750
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x1400c5040]
xor rax, rbp
mov qword [rbp + 0x720], rax
lea rcx, [0x1400d512f]
call fcn.140034f86
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov ecx, 0x40
call fcn.140034775
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x14005cad5
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 4]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov ecx, 0x40
call fcn.140034775
mov dword [rbp + 0x44], eax
jmp 0x14005ca82
cmp dword [rbp + 0x44], 0
jl 0x14005cae2
cmp qword [rbp + 0x28], 0
jne 0x14005cb02
cmp qword [rbp + 0x28], 0
je 0x14005cafb
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14005cfb7
mov qword [rbp + 0x68], 0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
jmp 0x14005cb2f
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
cmp rax, qword [rcx]
jae 0x14005cb9a
mov eax, dword [rbp + 0xa4]
imul rax, rax, 0x28
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x88]
mov rdi, rcx
lea rsi, [rdx + rax + 0x10]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rbp + 0xd0], rax
je 0x14005cb7b
jmp 0x14005cb21
mov rax, qword [rbp + 0x750]
cmp qword [rbp + 0xd8], rax
jne 0x14005cb98
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x68], rax
jmp 0x14005cb9a
jmp 0x14005cb21
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rbp + 0x68], 0
jne 0x14005cbba
xor al, al
jmp 0x14005cfb7
mov qword [rbp + 0x108], 0
mov rax, qword [rbp + 0x68]
add rax, 8
mov r9d, 8
lea r8, [rbp + 0x108]
mov rdx, rax
mov rcx, qword [rbp + 0x750]
call fcn.140034739
movzx eax, al
test eax, eax
je 0x14005cbfa
cmp qword [rbp + 0x108], 0
jne 0x14005cc3b
lea rdx, str.____Failed_to_find_device_object
lea rcx, [rbp + 0x400]
call fcn.140033d25
mov rcx, rax
call fcn.140034ca7
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
mov qword [rbp + 0x128], 0
mov rax, qword [rbp + 0x108]
add rax, 8
mov r9d, 8
lea r8, [rbp + 0x128]
mov rdx, rax
mov rcx, qword [rbp + 0x750]
call fcn.140034739
movzx eax, al
test eax, eax
je 0x14005cc7e
cmp qword [rbp + 0x128], 0
jne 0x14005ccbf
lea rdx, str.____Failed_to_find_driver_object
lea rcx, [rbp + 0x470]
call fcn.140033d25
mov rcx, rax
call fcn.140034ca7
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
mov qword [rbp + 0x148], 0
mov rax, qword [rbp + 0x128]
add rax, 0x28
mov r9d, 8
lea r8, [rbp + 0x148]
mov rdx, rax
mov rcx, qword [rbp + 0x750]
call fcn.140034739
movzx eax, al
test eax, eax
je 0x14005cd02
cmp qword [rbp + 0x148], 0
jne 0x14005cd43
lea rdx, str.____Failed_to_find_driver_section
lea rcx, [rbp + 0x4e0]
call fcn.140033078
mov rcx, rax
call fcn.140034482
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
lea rax, [rbp + 0x168]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x148]
add rax, 0x58
mov r9d, 0x10
lea r8, [rbp + 0x168]
mov rdx, rax
mov rcx, qword [rbp + 0x750]
call fcn.140034739
movzx eax, al
test eax, eax
je 0x14005cd8f
movzx eax, word [rbp + 0x168]
test eax, eax
jne 0x14005cdd0
lea rdx, str.____Failed_to_find_driver_name
lea rcx, [rbp + 0x550]
call fcn.140034cca
mov rcx, rax
call fcn.140034860
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
movzx eax, word [rbp + 0x168]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov qword [rbp + 0x718], rax
mov eax, 2
mov rcx, qword [rbp + 0x718]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140033e01
mov qword [rbp + 0x5a8], rax
mov rax, qword [rbp + 0x5a8]
mov qword [rbp + 0x198], rax
movzx eax, word [rbp + 0x168]
add rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x198]
call fcn.1400347c5
movzx eax, word [rbp + 0x168]
mov r9d, eax
mov r8, qword [rbp + 0x198]
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x750]
call fcn.140034739
movzx eax, al
test eax, eax
jne 0x14005ceaa
lea rdx, str.____Failed_to_read_driver_name
lea rcx, [rbp + 0x5d0]
call fcn.140034cca
mov rcx, rax
call fcn.140034860
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
xor eax, eax
mov word [rbp + 0x168], ax
mov rax, qword [rbp + 0x148]
add rax, 0x58
mov r9d, 0x10
lea r8, [rbp + 0x168]
mov rdx, rax
mov rcx, qword [rbp + 0x750]
call fcn.140034db5
movzx eax, al
test eax, eax
jne 0x14005cf22
lea rdx, str.____Failed_to_write_driver_name_length
lea rcx, [rbp + 0x630]
call fcn.14003387a
mov rcx, rax
call fcn.140033d57
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 0x14005cfb7
lea rdx, str.___MmUnloadedDrivers_Cleaned:
lea rcx, [rbp + 0x6a0]
call fcn.1400330fa
mov rcx, rax
call fcn.1400350b7
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003406d
mov rdx, qword [rbp + 0x198]
mov rcx, rax
call fcn.14003406d
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 [rbp + 0x198]
mov qword [rbp + 0x708], rax
mov rcx, qword [rbp + 0x708]
call fcn.140033f64
cmp qword [rbp + 0x708], 0
jne 0x14005cf9c
mov qword [rbp + 0x718], 0
jmp 0x14005cfb5
mov qword [rbp + 0x198], 0x8123
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x718], rax
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400ae690]
call fcn.140034a22
mov rax, rdi
mov rcx, qword [rbp + 0x720]
xor rcx, rbp
call fcn.140033f7d
lea rsp, [rbp + 0x730]
pop rdi
pop rsi
pop rbp
ret