Function at 0x180003320
Capabilities:
Create device object
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [0x1800066d0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x110], 0
mov rcx, qword [rsp + 0x130]
lea rax, [0x1800016e0]
mov qword [rcx + 0x70], rax
mov rcx, qword [rsp + 0x130]
lea rax, [0x180001740]
mov qword [rcx + 0x80], rax
mov rcx, qword [rsp + 0x130]
lea rax, [0x180001610]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rsp + 0x130]
lea rax, [0x180001790]
mov qword [rcx + 0x68], rax
lea rdx, str.DeviceBEIKESHOUHU
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x100]
mov qword [rsp + 0x30], r11
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0
jge 0x180003404
mov eax, dword [rsp + 0x110]
jmp 0x180003665
lea rdx, str.DosDevicesGlobalBEIKESHOUHU
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0
jge 0x18000345a
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x110]
jmp 0x180003665
lea rcx, [0x180006748]
call sub.ntoskrnl.exe_DbgPrint
call fcn.1800032e0
lea rcx, [0x180006758]
call sub.ntoskrnl.exe_DbgPrint
call fcn.180002290
cmp dword [0x18000bb64], 0x3d
jne 0x180003491
lea rcx, str.WIN7_n
call sub.ntoskrnl.exe_DbgPrint
cmp dword [0x18000bb64], 0x64
jne 0x1800034a6
lea rcx, str.WIN10_n
call sub.ntoskrnl.exe_DbgPrint
call fcn.180001870
cmp dword [0x180007148], 0
je 0x1800034c2
lea rcx, [0x180006780]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1800034ce
lea rcx, [0x180006790]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x78], 0x30
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [0x180002840]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x78]
mov edx, 0x1fffff
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov qword [rsp + 0x70], 0
mov dword [rsp + 0xd0], 0x30
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [0x1800028b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xd0]
mov edx, 0x1fffff
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [0x180001f40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x1fffff
lea rcx, [rsp + 0x108]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
xor eax, eax
add rsp, 0x128
ret