Function at 0x404440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x14], 0xc0000001
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
push 0x40472c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
mov edx, dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov eax, dword [edx]
push eax
push 0
push 0
push 0x40
lea ecx, [ebp - 0x34]
push ecx
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x4044c8
push 0x40474a
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, 0xc0000001
jmp 0x4046b4
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
push 0x40476e
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push 0x40478a
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov edx, dword [ecx]
push edx
push 0
push 0
push 0x40
lea eax, [ebp - 0x34]
push eax
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40452f
push 0x4047ac
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, 0xc0000001
jmp 0x4046b4
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4046b1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4046a3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x404695
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jne 0x404687
mov eax, dword [ebp - 0x10]
push eax
push 0x4047d4
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], 0
jmp 0x4045c4
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0x1000
jge 0x404679
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x4045f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
jmp 0x40455d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jne 0x404674
mov eax, dword [ebp - 8]
mov dword [0x403008], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x4047ee
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x28]
jbe 0x404672
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x2c]
cmp dword [ebp - 8], edx
jae 0x404672
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx ecx, al
test ecx, ecx
je 0x404672
mov edx, dword [ebp - 8]
mov dword [0x40300c], edx
mov byte [0x403010], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
push eax
push 0x404806
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x4046b1
jmp 0x404679
jmp 0x4045b2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
jmp 0x40455d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x404579
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x404566
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
jmp 0x404553
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret