Function at 0x1384e
Capabilities:
Check os version
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x2483c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, 0x114
push esi
lea eax, [ebp - 0x118]
push edi
push eax
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], esi
call dword [sym.imp.ntoskrnl.exe_RtlGetVersion]
call fcn.00011e64
test al, al
lea eax, [ebp - 0x130]
je 0x138bc
push 0x1ee92
jmp 0x138c1
push 0x1edc6
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x80
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
mov esi, eax
cmp esi, edi
jge 0x13905
mov ecx, dword [ebp - 0x120]
cmp ecx, edi
je 0x138fe
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
jmp 0x13b42
cmp dword [ebp - 0x120], edi
je 0x13967
cmp dword [ebp - 0x114], 6
jb 0x13970
call fcn.00011e64
cmp al, 1
je 0x13967
mov eax, dword [ebp - 0x120]
cmp dword [eax + 4], edi
je 0x13967
mov eax, dword [eax + 4]
mov dword [0x248f4], eax
mov eax, dword [eax + 8]
mov dword [0x248f8], eax
cmp eax, edi
je 0x13967
push 0x38
pop ecx
mov edx, 0x24900
sub edx, ecx
jmp 0x1394f
mov eax, dword [0x248f8]
add eax, ecx
mov esi, dword [eax]
mov dword [edx + ecx], esi
add ecx, 4
mov dword [eax], fcn.0001376a
cmp ecx, 0xa4
jbe 0x1394a
cmp dword [ebp - 0x114], 6
jae 0x139a0
mov ecx, dword [ebx + 0x20]
cmp ecx, edi
je 0x139a0
movzx eax, word [ebx + 0x1c]
cmp ax, 0x1c
jb 0x139a0
movzx eax, ax
push eax
push edi
push ecx
call sub.ntoskrnl.exe_memset
mov edi, dword [ebx + 0x20]
add esp, 0xc
push 6
pop ecx
mov esi, 0x1ee76
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
call fcn.00011e64
test al, al
je 0x139d9
mov ecx, dword [ebx + 0x20]
cmp ecx, edi
je 0x139d9
movzx eax, word [ebx + 0x1c]
cmp ax, 0x1c
jb 0x139d9
movzx eax, ax
push eax
push edi
push ecx
call sub.ntoskrnl.exe_memset
mov edi, dword [ebx + 0x20]
add esp, 0xc
push 6
pop ecx
mov esi, 0x1ee5a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
mov eax, dword [0x248f8]
cmp eax, edi
je 0x139e4
mov ebx, eax
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x124]
push edi
push dword [eax + 0x20]
push dword [eax + 0x2c]
push edi
push 0x14
pop esi
push esi
push ebx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, edi
mov dword [ebp - 0x128], eax
jge 0x13a69
mov ecx, dword [ebp - 0x120]
cmp ecx, edi
je 0x13a1e
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [0x248f4], edi
je 0x13b3c
cmp dword [0x248f8], edi
je 0x13b3c
push 0x38
pop edx
sub edx, 0x24900
xor ecx, ecx
mov ebx, dword [0x248f8]
lea eax, [ecx + 0x24900]
mov edi, dword [eax]
lea esi, [edx + ecx]
mov dword [esi + ebx + 0x24900], edi
and dword [eax], 0
add ecx, 4
cmp ecx, 0x6c
jbe 0x13a41
jmp 0x13b3c
push dword [ebp - 0x124]
push dword [ebp - 0x11c]
call dword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
mov edx, eax
cmp edx, edi
jne 0x13aeb
push dword [ebp - 0x11c]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], edi
cmp ecx, edi
je 0x13aa3
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [0x248f4], edi
je 0x13b3c
cmp dword [0x248f8], edi
je 0x13b3c
push 0x38
pop edx
sub edx, 0x24900
xor ecx, ecx
mov ebx, dword [0x248f8]
lea eax, [ecx + 0x24900]
mov edi, dword [eax]
lea esi, [ecx + edx]
mov dword [esi + ebx + 0x24900], edi
and dword [eax], 0
add ecx, 4
cmp ecx, 0x6c
jbe 0x13ac6
jmp 0x13b3c
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x28]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], esi
mov eax, dword [ebp - 0x11c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x124]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x11c]
and ecx, esi
or dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x11c]
mov dword [0x248f0], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0001d90e
leave
ret 4