Function at 0x119a8
Capabilities:
Create device object

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 0x20aa8
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 0x11b68
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x11b58
mov dword [0x21a60], esi
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x11b12
cmp dword [eax + 0x10], ebx
je 0x11b12
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, 0x400
mov ecx, eax
push eax
mov word [ebp - 0x16], cx
call fcn.000161c8
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x11b12
movzx ecx, word [ebp - 0x16]
push ecx
push ebx
push eax
call fcn.0001ca14
add esp, 0xc
push 0x20b28
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 0x1defa
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 0x11b0a
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 0x11ae7
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 0x11b0a
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.000161e2
mov eax, dword [esi + 4]
mov dword [0x21a68], eax
cmp eax, ebx
je 0x11b58
cmp dword [eax + 0x2c], 0x12
je 0x11b30
mov eax, dword [eax + 0xc]
mov dword [0x21a68], eax
cmp eax, ebx
jne 0x11b1e
cmp eax, ebx
je 0x11b58
cmp dword [eax + 0x2c], 0x12
jne 0x11b58
push eax
call 0x1ca44
mov dword [0x21a6c], eax
cmp eax, ebx
je 0x11b58
mov eax, dword [esi + 0x74]
mov dword [0x21a64], eax
mov dword [esi + 0x74], 0x1194a
mov ecx, dword [ebp - 0x10]
pop esi
cmp ecx, ebx
je 0x11b9c
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x11b9c
push 0x21a54
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 0x11b9c
push 0x20ca8
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