Function at 0x180001000
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov eax, dword [0x1800042c0]
lea r8, [0x180005268]
movups xmm0, xmmword [str.DevicePROCEXP152]
mov dword [rbp - 0x58], eax
mov rsi, rcx
movups xmm1, xmmword [0x1800042b0]
movzx eax, word [0x1800042c4]
xor r9d, r9d
movups xmmword [rbp - 0x78], xmm0
mov word [rbp - 0x54], ax
xor edx, edx
movups xmm0, xmmword [str.DosDevicesPROCEXP152]
mov eax, dword [0x180004278]
xor ecx, ecx
movups xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x28], eax
movups xmm1, xmmword [0x180004260]
movzx eax, word [0x18000427c]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x24], ax
movsd xmm0, qword [0x180004270]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
mov eax, dword [0x180005268]
cmp eax, 0xa28
jae 0x1800010a3
mov eax, 0xc00000bb
add rsp, 0x128
pop rsi
pop rbp
ret
mov qword [rsp + 0x140], rbx
cmp eax, 0x1770
jb 0x180001124
lea rdx, str.PsAcquireProcessExitSynchronization
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rdx, str.PsReleaseProcessExitSynchronization
mov qword [0x180005220], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rdx, str.MmGetMaximumNonPagedPoolInBytes
mov qword [0x180005228], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x180005230], rax
mov eax, dword [0x180005268]
cmp eax, 0x1db0
jb 0x18000115a
lea rdx, str.ObGetObjectType
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdx, rax
mov qword [0x180005258], rax
mov eax, dword [0x180005268]
jmp 0x180001161
mov rdx, qword [0x180005258]
cmp eax, 0x23f0
jb 0x180001193
lea rdx, str.PsIsProtectedProcess
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdx, qword [0x180005258]
mov qword [0x180005238], rax
test rdx, rdx
jne 0x18000119f
xor eax, eax
jmp 0x1800012db
mov rcx, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov qword [rsp + 0x120], r14
mov rcx, qword [rcx]
call rdx
mov edx, 0x26
mov r8d, 0x544f4550
mov r14, rax
lea ecx, [rdx - 0x25]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
mov rcx, rax
test rax, rax
je 0x1800012d3
movups xmm0, xmmword [str.ObjectTypes_]
mov dword [rsp + 0x68], 0x260026
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
movups xmmword [rax], xmm0
movsd xmm1, qword [0x180004290]
movsd qword [rax + 0x10], xmm1
movzx eax, word [0x180004298]
mov word [rcx + 0x18], ax
mov rcx, qword [rsp + 0x70]
movsd xmm0, qword [str.Mutant]
movsd qword [rcx + 0x1a], xmm0
xorps xmm0, xmm0
mov eax, dword [0x180004408]
mov dword [rcx + 0x22], eax
lea rax, [rsp + 0x68]
mov qword [rbp], rax
lea rcx, [rbp - 0x10]
lea rax, [rbp + 0x50]
mov dword [rbp - 0x10], 0x30
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xf0001
mov qword [rbp - 8], 0
mov dword [rbp + 8], 0x200
movdqu xmmword [rbp + 0x10], xmm0
call sub.ntoskrnl.exe_ObOpenObjectByName
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test ebx, ebx
jns 0x18000128a
xor eax, eax
jmp 0x1800012d3
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, 0xf0001
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rbp + 0x50]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
jns 0x1800012c5
xor eax, eax
jmp 0x1800012d3
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rbp + 0x58]
mov r14, qword [rsp + 0x120]
lea rdx, [rbp - 0x78]
mov qword [0x180005260], rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x60]
mov r9d, 0x8335
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x78]
mov qword [rsp + 0x38], 0
lea rax, [0x1800044b8]
mov qword [rsp + 0x30], rax
xor edx, edx
mov byte [rsp + 0x28], 0
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.18000708c
mov ebx, eax
test eax, eax
js 0x18000138b
mov rax, qword [rsp + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
and dword [rax + 0x30], 0xffffff7f
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
lea rax, [0x180001d60]
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x70], rax
lea rax, [0x180002960]
mov qword [rsi + 0x68], rax
test ebx, ebx
jns 0x18000139b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18000139b
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
mov rbx, qword [rsp + 0x140]
add rsp, 0x128
pop rsi
pop rbp
ret