Function at 0x1192a
Capabilities:
Create device object
Delete registry key
Unload driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x1e288
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 4
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x80
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
test eax, eax
jl 0x11aea
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x11ada
mov dword [0x1f17c], esi
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x11a94
cmp dword [eax + 0x10], ebx
je 0x11a94
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, 0x400
mov ecx, eax
push eax
mov word [ebp - 0x16], cx
call fcn.00015866
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x11a94
movzx ecx, word [ebp - 0x16]
push ecx
push ebx
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x1e308
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
mov eax, dword [esi + 0x18]
add eax, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
push 0x1c69a
lea eax, [ebp - 0x20]
push eax
call edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00011648
test eax, eax
jge 0x11a8c
mov edi, dword [sym.imp.HAL.dll_KeStallExecutionProcessor]
push 0x1e
call edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 0xf003f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0x240
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x11a69
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp + 8], ebx
jge 0x11a8c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwUnloadDriver]
push 0x1e
call edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00011648
push dword [ebp - 0x14]
call fcn.00015880
mov eax, dword [esi + 4]
mov dword [0x1f184], eax
cmp eax, ebx
je 0x11ada
cmp dword [eax + 0x2c], 0x12
je 0x11ab2
mov eax, dword [eax + 0xc]
mov dword [0x1f184], eax
cmp eax, ebx
jne 0x11aa0
cmp eax, ebx
je 0x11ada
cmp dword [eax + 0x2c], 0x12
jne 0x11ada
push eax
call sub.ntoskrnl.exe_IoGetLowerDeviceObject
mov dword [0x1f188], eax
cmp eax, ebx
je 0x11ada
mov eax, dword [esi + 0x74]
mov dword [0x1f180], eax
mov dword [esi + 0x74], 0x118cc
mov ecx, dword [ebp - 0x10]
pop esi
cmp ecx, ebx
je 0x11b1e
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x11b1e
push 0x1f174
push ebx
push ebx
push 0x22
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11b1e
push 0x1e488
lea eax, [ebp - 0x28]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
pop edi
pop ebx
leave
ret 4