Function at 0x404460
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 0x40474c
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 0x4044e8
push 0x40476a
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, 0xc0000001
jmp 0x4046d4
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
push 0x40478e
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push 0x4047aa
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 0x40454f
push 0x4047cc
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, 0xc0000001
jmp 0x4046d4
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 0x4046d1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4046c3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4046b5
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jne 0x4046a7
mov eax, dword [ebp - 0x10]
push eax
push 0x4047f4
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 0x4045e4
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 0x404699
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x404610
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
jmp 0x40457d
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 0x404694
mov eax, dword [ebp - 8]
mov dword [0x403008], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x40480e
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 0x404692
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x2c]
cmp dword [ebp - 8], edx
jae 0x404692
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx ecx, al
test ecx, ecx
je 0x404692
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 0x404826
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x4046d1
jmp 0x404699
jmp 0x4045d2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
jmp 0x40457d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x404599
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x404586
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
jmp 0x404573
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret