Function at 0x17c02
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor ecx, ecx
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
je 0x17c2a
add ecx, dword [eax + 0x14]
mov eax, dword [eax]
test eax, eax
jne 0x17c19
cmp ecx, edi
jb 0x3bbf0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00016bbe
mov ebx, eax
test ebx, ebx
je 0x17f1b
mov esi, dword [ebx + 8]
test esi, esi
je 0x3bcc6
lea ecx, [esi + 4]
mov dword [ebp - 4], ecx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, dword [ebx + 0x3c]
mov dl, 2
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov al, byte [esi + 0x1c]
cmp al, 4
jne 0x3bc35
xor ebx, ebx
inc ebx
test byte [esi + 0x1e], bl
jne 0x3bcae
test edi, edi
je 0x3bc3f
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
add eax, edi
adc ecx, edx
mov dword [ebp - 8], ecx
jne 0x3bc43
cmp eax, 0xffffffff
jae 0x3bc43
call fcn.00014a31
test eax, eax
je 0x3bca7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x14]
and dword [eax + 0x24], 0
and dword [eax + 0x2c], 0
and dword [eax + 0x38], 0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 5
and ecx, ebx
mov dword [eax + 0x28], edx
mov dword [eax + 0x14], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ecx
add dword [esi + 0x3c], edi
test byte [ebp + 0xd], 2
jne 0x3bc4a
lea ecx, [esi + 0x60]
cmp dword [ecx], ecx
sete bl
movzx ebx, bl
mov dword [ebp + 8], ebx
mov ebx, dword [esi + 0x64]
mov dword [ebx], eax
mov ebx, dword [esi + 0x64]
mov dword [eax + 4], ebx
mov dword [esi + 0x64], eax
mov dword [eax], ecx
xor ecx, ecx
cmp dword [esi + 0x50], ecx
jne 0x17d20
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edi
cmp dword [ebp + 8], ecx
je 0x17f0c
inc dword [esi + 8]
push dword [ebp + 0x10]
push esi
call fcn.0001754d
mov eax, 0x103
pop edi
pop esi
pop ebx
leave
ret 0x10
test byte [esi + 0x7a], 2
je 0x17d29
jmp 0x3bc81
mov eax, 0xc000023a
jmp 0x17d3a
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov ebx, dword [esi + 0x60]
push 0x3bcdc
call sub.ntoskrnl.exe_DbgPrint
push dword [ebx + 0x1c]
push dword [esi + 4]
push esi
push 0x3bd10
call sub.ntoskrnl.exe_DbgPrint
push 0x3bd38
call sub.ntoskrnl.exe_DbgPrint
push 0x3bd5c
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x1c
call sub.ntoskrnl.exe_DbgBreakPoint
jmp 0x17c2a
cmp al, 7
je 0x17c6f
jmp 0x3bcae
xor esi, esi
jmp 0x3bcb3
mov esi, 0xc000000d
jmp 0x3bcb3
cmp byte [esi + 0x1c], 4
setne cl
inc byte [esi + 0x92]
or dword [esi + 0x7c], 9
or byte [esi + 0x7a], 1
or ebx, 0xffffffff
lea ecx, [ecx*4 + 5]
mov byte [esi + 0x1c], cl
or dword [eax + 0x1c], 2
inc dword [eax + 0x18]
mov ecx, 0x502d0
lock xadd dword [ecx], ebx
jmp 0x17cef
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x34]
movzx ecx, word [esi + 0x20]
add eax, dword [esi + 0x3c]
cmp eax, ecx
jae 0x17d29
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp - 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x17d35
mov esi, 0xc000009a
jmp 0x3bcb3
mov esi, 0xc0000184
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp - 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, esi
jmp 0x17d3a
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebx + 0x3c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0xc0000184
jmp 0x17d3a