Function at 0x17bff
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 0x17c27
add ecx, dword [eax + 0x14]
mov eax, dword [eax]
test eax, eax
jne 0x17c16
cmp ecx, edi
jb 0x3bb70
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00016bbe
mov ebx, eax
test ebx, ebx
je 0x17f18
mov esi, dword [ebx + 8]
test esi, esi
je 0x3bc46
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 0x3bbb5
xor ebx, ebx
inc ebx
test byte [esi + 0x1e], bl
jne 0x3bc2e
test edi, edi
je 0x3bbbf
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
add eax, edi
adc ecx, edx
mov dword [ebp - 8], ecx
jne 0x3bbc3
cmp eax, 0xffffffff
jae 0x3bbc3
call fcn.00014a31
test eax, eax
je 0x3bc27
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 0x3bbca
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 0x17d1d
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 0x17f09
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 0x17d26
jmp 0x3bc01
mov eax, 0xc000023a
jmp 0x17d37
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov ebx, dword [esi + 0x60]
push 0x3bc5c
call sub.ntoskrnl.exe_DbgPrint
push dword [ebx + 0x1c]
push dword [esi + 4]
push esi
push 0x3bc90
call sub.ntoskrnl.exe_DbgPrint
push 0x3bcb8
call sub.ntoskrnl.exe_DbgPrint
push 0x3bcdc
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x1c
call sub.ntoskrnl.exe_DbgBreakPoint
jmp 0x17c27
cmp al, 7
je 0x17c6c
jmp 0x3bc2e
xor esi, esi
jmp 0x3bc33
mov esi, 0xc000000d
jmp 0x3bc33
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, 0x50250
lock xadd dword [ecx], ebx
jmp 0x17cec
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x34]
movzx ecx, word [esi + 0x20]
add eax, dword [esi + 0x3c]
cmp eax, ecx
jae 0x17d26
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp - 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x17d32
mov esi, 0xc000009a
jmp 0x3bc33
mov esi, 0xc0000184
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp - 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, esi
jmp 0x17d37
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebx + 0x3c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0xc0000184
jmp 0x17d37