Function at 0x16f11
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x1cf4c]
push 0
push esi
mov dword [ebp - 8], esi
call fcn.00017d3a
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], ebx
jne 0x16f51
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x17182
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
add ecx, 4
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x17182
push edi
mov edi, dword [ebp + 0x10]
push 1
lea eax, [edi + 0x26]
push 5
push eax
mov dword [ebp + 0x10], eax
call fcn.000169e0
test eax, eax
mov dword [ebp - 4], eax
jne 0x16f98
lea ecx, [esi + 0x100]
mov edx, ebx
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x17181
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
add ecx, 4
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x17181
test edi, edi
je 0x16fb5
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edi, [eax + 0x26]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x16fca
mov ecx, dword [ebp + 8]
mov dl, byte [eax]
add ecx, 4
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 4]
push dword [esi + 0x408]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.NDIS.SYS_NdisAllocateBuffer]
cmp dword [ebp - 0xc], 0
je 0x1700a
push 1
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.0001673a
lea ecx, [esi + 0x100]
mov edx, ebx
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
jmp 0x17181
mov byte [ebx - 0x2b], 1
mov byte [ebx - 0x2a], 2
lea eax, [ebx - 0x64]
movzx ebx, word [esi + 0x322]
mov esi, dword [ebp + 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x10]
add ebx, dword [eax + 0x24]
mov eax, dword [ebp + 0x10]
add esi, 0x168
push 7
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [eax + 0x30]
mov ecx, esi
shr ecx, 8
mov byte [ebx + 2], cl
mov cl, al
add cl, 0x30
mov byte [ebx + 3], cl
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 8]
xor edi, edi
mov byte [ebx + 5], 4
cmp dword [esi + 0x20], edi
setne cl
add cl, 0x80
mov byte [ebx + 0x1e], cl
mov cx, word [esi + 0x34]
cmp cx, 1
je 0x17084
movzx eax, cx
push eax
push esi
push 0x16ec6
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov byte [ebx + 0x1f], 6
mov cx, word [esi + 0x130]
mov word [ebx + 0x20], cx
mov cx, word [esi + 0x132]
mov word [ebx + 0x22], cx
mov word [ebx + 0x24], di
mov word [ebx + 0x26], ax
mov word [ebx + 0x28], di
mov word [ebx + 0x2a], ax
mov word [ebx + 0x2c], 1
cmp dword [esi + 0x20], edi
je 0x170c3
mov ax, word [esi + 0x36]
mov word [ebx + 0x2e], ax
jmp 0x170c7
mov word [ebx + 0x2e], di
mov eax, dword [esi + 0x1e0]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
add esi, 0x1a
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ecx + 0x10]
lea esi, [ebx + 0x1f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ax, word [ebx + 0xc0]
mov esi, dword [ebp - 8]
mov word [ecx + 0x20], ax
mov eax, dword [esi + 0x3dc]
inc eax
imul eax, dword [esi + 0x3d4]
xor edx, edx
mov edi, 0x1f4
div edi
mov word [ecx + 0x24], ax
add eax, 0xc
mov word [ecx + 0x22], ax
xor ecx, ecx
lea eax, [esi + 0xc4]
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, eax
jmp 0x17136
mov ecx, edx
mov edx, dword [ecx]
test edx, edx
jne 0x17132
mov edi, dword [ebp + 0x14]
cmp dword [edi + 8], edx
je 0x17149
mov edx, dword [edi + 0xc]
mov dword [edx], eax
jmp 0x1714c
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
and byte [edi + 0x1c], 0
push 0x30
mov dword [edi + 0xc], ecx
mov ecx, dword [eax]
pop eax
push eax
push dword [ebp + 0xc]
add ebx, 0x160
push edi
push ebx
mov dword [ecx + 0x14], eax
call dword [esi + 0x334]
cmp eax, 0x103
mov dword [ebp - 0xc], eax
je 0x17181
push eax
push edi
call fcn.00019628
pop edi
pop esi
pop ebx
leave
ret 0x10