Function at 0x21035
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x3c
call fcn.00026100
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
add ebx, 0x20
push ebx
push 0xc
call fcn.00026100
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
add ebx, 0x18
push ebx
push 0x78
call fcn.00026100
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27d16
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x1c
rep stosd dword es:[edi], eax
push 0xc
call fcn.00026100
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.00026100
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.00026100
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0xc
call fcn.00026100
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x20], esp
push 0
push 0x27cb4
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x20], esp
je 0x2117c
push 6
call fcn.00026106
add esp, 4
cld
wait
fninit
mov dword [ebp - 0x20], esp
push 0
push 0x27cc1
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x20], esp
je 0x211a7
push 6
call fcn.00026106
add esp, 4
push dword [ebp + 8]
call fcn.00021df7
and eax, 1
xor eax, 1
test eax, eax
je 0x211c7
mov eax, 0xc0000001
jmp 0x21d93
mov dword [ebp - 0x20], esp
push 0xa8
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push eax
push 0xa8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
cmp dword [ebp - 0x20], esp
je 0x212c8
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
call fcn.00021015
mov eax, 0
cmp eax, ecx
jl 0x2138d
push 1
call fcn.00026106
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x235c2
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
call fcn.00021015
mov eax, 2
cmp eax, ecx
jl 0x213bf
push 1
call fcn.00026106
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x23c7d
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
call fcn.00021015
mov eax, 0xe
cmp eax, ecx
jl 0x213f1
push 1
call fcn.00026106
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x25af9
mov ebx, dword [ebp - 4]
add ebx, 0x34
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x26085
mov dword [ebp - 0x20], esp
push 0xa8
mov eax, dword [ebp - 4]
push eax
push 0xa8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push dword [ebp + 8]
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
cmp dword [ebp - 0x20], esp
je 0x21515
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov dword [ebp - 0x20], esp
push str.DeviceShadowHook
mov eax, dword [ebp - 8]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlInitAnsiString
cmp dword [ebp - 0x20], esp
je 0x21613
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov dword [ebp - 0x20], esp
push 1
mov eax, dword [ebp - 8]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlAnsiStringToUnicodeString
cmp dword [ebp - 0x20], esp
je 0x216d7
push 6
call fcn.00026106
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x2174e
mov eax, 0xc0000001
jmp 0x21d93
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x22
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push dword [ebp + 8]
call sub.ntoskrnl.exe_IoCreateDevice
cmp dword [ebp - 0x20], esp
je 0x217be
push 6
call fcn.00026106
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x2188a
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlFreeUnicodeString
cmp dword [ebp - 0x20], esp
je 0x21851
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov eax, 0xc0000001
jmp 0x21d93
mov dword [ebp - 0x20], esp
push 0x10
push 1
call sub.ntoskrnl.exe_IoIsWdmVersionAvailable
cmp dword [ebp - 0x20], esp
je 0x218ae
push 6
call fcn.00026106
add esp, 4
test eax, eax
je 0x21944
mov dword [ebp - 0x20], esp
push str.DosDevicesGlobalShadowHook
mov eax, dword [ebp - 0x18]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlInitAnsiString
cmp dword [ebp - 0x20], esp
je 0x21910
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
jmp 0x219cd
mov dword [ebp - 0x20], esp
push str.DosDevicesShadowHook
mov eax, dword [ebp - 0x18]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlInitAnsiString
cmp dword [ebp - 0x20], esp
je 0x2199e
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov dword [ebp - 0x20], esp
push 1
mov eax, dword [ebp - 0x18]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x1c]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlAnsiStringToUnicodeString
cmp dword [ebp - 0x20], esp
je 0x21a62
push 6
call fcn.00026106
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x21b5d
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlFreeUnicodeString
cmp dword [ebp - 0x20], esp
je 0x21b24
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov eax, 0xc0000001
jmp 0x21d93
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x1c]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_IoCreateSymbolicLink
cmp dword [ebp - 0x20], esp
je 0x21bed
push 6
call fcn.00026106
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlFreeUnicodeString
cmp dword [ebp - 0x20], esp
je 0x21ca5
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x1c]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_RtlFreeUnicodeString
cmp dword [ebp - 0x20], esp
je 0x21d29
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
cmp dword [ebp - 0xc], 0
jge 0x21d89
mov dword [ebp - 0x20], esp
push dword [ebp - 0x14]
call sub.ntoskrnl.exe_IoDeleteDevice
cmp dword [ebp - 0x20], esp
je 0x21d7f
push 6
call fcn.00026106
add esp, 4
mov eax, 0xc0000001
jmp 0x21d93
mov eax, 0
jmp 0x21d93
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.000260fa
add esp, 4
pop ebx
add ebx, 0x18
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.000260fa
add esp, 4
pop ebx
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.000260fa
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8