Function at 0x155a0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov dword [rsp + 0x84], 0
mov rcx, qword [rsp + 0xb0]
lea rax, [0x000153d0]
mov qword [rcx + 0x70], rax
mov rcx, qword [rsp + 0xb0]
lea rax, [0x000153d0]
mov qword [rcx + 0x80], rax
mov rcx, qword [rsp + 0xb0]
lea rax, [0x00015420]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rsp + 0xb0]
lea rax, [0x00014ad0]
mov qword [rcx + 0xf0], rax
mov rcx, qword [rsp + 0xb0]
lea rax, [0x00015260]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
add eax, 2
movsxd rdx, eax
xor ecx, ecx
call sub.ntoskrnl.exe_ExAllocatePool
mov qword [0x0002afa8], rax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
add eax, 2
movsxd rcx, eax
mov rdi, qword [0x0002afa8]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xb8]
movzx ecx, word [rax]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [0x0002afa8]
mov rsi, qword [rsi + 8]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
mov word [0x0002afa0], ax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
add eax, 2
mov word [0x0002afa2], ax
lea rdx, [0x00023df0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x15709
mov eax, dword [rsp + 0x84]
jmp 0x15a05
mov dl, 0x10
mov cl, 1
call qword [sym.imp.ntoskrnl.exe_IoIsWdmVersionAvailable]
movzx eax, al
test eax, eax
je 0x1572e
lea rdx, [0x00023e20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x15740
lea rdx, [0x00023dc0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023e60]
lea rcx, [0x00027410]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023e60]
lea rcx, [0x00027420]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023e90]
lea rcx, [0x00027430]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023e60]
lea rcx, [0x00027440]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023ec0]
lea rcx, [0x00027450]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023ef0]
lea rcx, [0x00027460]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023f20]
lea rcx, [0x00027470]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023f60]
lea rcx, [0x00027480]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023e60]
lea rcx, [0x00027490]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023f90]
lea rcx, [0x000274a0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023fc0]
lea rcx, [0x00027708]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00024010]
lea rcx, [0x00027718]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0xb8]
call fcn.000119d0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x15875
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x84]
jmp 0x15a05
xor r8d, r8d
xor edx, edx
lea rcx, [0x0002af80]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
lea rdx, [0x00024060]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00027730], rax
cmp qword [0x00027730], 0
jne 0x158dd
mov eax, 0xc0000001
jmp 0x15a05
lea rdx, [0x00024090]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
sub rax, 0x20
mov qword [0x00027728], rax
cmp qword [0x00027728], 0
jne 0x1592c
lea r8, [0x0002af68]
xor edx, edx
lea rcx, [0x000125b0]
call qword [sym.imp.ntoskrnl.exe_CmRegisterCallback]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x15942
mov eax, dword [rsp + 0x84]
jmp 0x15a05
lea rcx, [0x00014220]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateThreadNotifyRoutine]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x1596c
mov eax, dword [rsp + 0x84]
jmp 0x15a05
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
call fcn.00011f60
mov dword [0x0002af98], eax
mov eax, dword [0x0002af98]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
movzx ecx, word [rax + 0x18]
mov rsi, qword [rsp + 0xb0]
mov rsi, qword [rsi + 0x30]
lea rdi, [0x00027738]
mov rsi, qword [rsi + 0x20]
rep movsb byte [rdi], byte [rsi]
lea rdi, [0x00027738]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
sub rdi, 2
lea rsi, [0x00023cd0]
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xb0]
call fcn.0001a9f0
lea rcx, [0x00015a20]
call fcn.0001f740
mov rcx, qword [rsp + 0xb0]
call fcn.000181d0
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
ret