Function at 0x146b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + 0x74]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov esi, dword [ebp + 0xc]
js 0x149cc
lea edi, [ebx + 0xac]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 8], al
mov eax, dword [ebx + 0x30]
sub eax, 0
je 0x14993
dec eax
je 0x14981
dec eax
je 0x14704
mov eax, 0xc0000001
jmp 0x149d8
mov eax, dword [esi + 0x34]
cmp byte [eax + 5], 0
jne 0x147f1
movzx cx, byte [eax + 2]
movzx dx, byte [eax + 3]
shl ecx, 8
add ecx, edx
cmp cx, 0x20
jne 0x147f1
cmp byte [eax + 0x1f], 0x3f
jne 0x147f1
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_KeQuerySystemTime]
mov eax, dword [ebp - 8]
sub eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 4]
sbb ecx, dword [ebx + 0x2c]
push 0
push 0x989680
push ecx
push eax
call sub.ntoskrnl.exe__alldiv
mov ecx, dword [0x16934]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp edx, eax
jg 0x14981
jl 0x14776
cmp dword [ebp - 0x10], ecx
jae 0x14981
mov dl, byte [ebp + 8]
mov ecx, edi
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
call edi
mov ebx, 0x16b00
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
add esi, 0x40
mov byte [ebp + 8], al
mov eax, dword [0x16b0c]
mov dword [esi], 0x16b08
mov dword [esi + 4], eax
mov dword [eax], esi
cmp byte [0x16984], 0
mov dword [0x16b0c], esi
jne 0x147e5
xor ecx, ecx
mov eax, 0x16964
inc ecx
lock xadd dword [eax], ecx
cmp byte [0x16960], 0
jne 0x147d1
call fcn.00010a2e
jmp 0x147e5
push 1
push 0x16af0
mov byte [0x16984], 1
call dword [sym.imp.ntoskrnl.exe_ExQueueWorkItem]
mov dl, byte [ebp + 8]
mov ecx, ebx
call edi
jmp 0x149e0
lea ecx, [ebx + 0x78]
mov edx, dword [ecx + 4]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
test byte [ebx + 0x16], 2
jne 0x1481c
push dword [ebp + 8]
lea eax, [esi - 0x38]
push dword [esi + 0x34]
push eax
push ebx
call fcn.00010362
jmp 0x14827
mov dl, byte [ebp + 8]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [esi + 0x34]
cmp byte [eax + 5], 0x14
jne 0x149e0
test byte [esi + 0x30], 1
jne 0x149e0
mov eax, dword [esi + 0x24]
mov edi, dword [eax + 8]
lea ecx, [edi + 0x78]
mov dword [ebp - 4], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [edi + 0xc]
test ecx, ecx
mov byte [ebp + 0xb], al
jbe 0x148ae
mov eax, dword [edi + 4]
cmp dword [eax + 0xc], 0
mov dword [ebp + 0xc], eax
jne 0x14871
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
mov dword [ebp + 0xc], eax
je 0x14866
dec ecx
cmp ecx, dword [edi + 0x14]
mov dword [edi + 0xc], ecx
jae 0x148d8
cmp byte [edi + 0x1d], 0
jne 0x148d8
xor ecx, ecx
mov eax, 0x16964
inc ecx
lock xadd dword [eax], ecx
cmp byte [0x16960], 0
jne 0x1489c
call fcn.00010a2e
jmp 0x148d5
mov byte [edi + 0x1d], 1
push 1
add edi, 0x20
push edi
call dword [sym.imp.ntoskrnl.exe_ExQueueWorkItem]
jmp 0x148d5
push edi
call fcn.00012610
test eax, eax
mov dword [ebp + 0xc], eax
je 0x148ec
lea ecx, [edi + 4]
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov dword [eax + 8], edi
mov eax, dword [edi + 0x10]
dec eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
mov ecx, dword [edi]
inc dword [eax + 0x10]
mov dword [eax + 0xc], ecx
and dword [edi + 0x30], 0
mov byte [edi], 2
jmp 0x148ee
xor edi, edi
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
test edi, edi
je 0x149e0
mov eax, dword [esi + 0x34]
lea ecx, [ebp + 8]
push ecx
push 0
lea ecx, [esi - 0x38]
push ecx
movzx cx, byte [eax + 2]
movzx ax, byte [eax + 3]
shl ecx, 8
add ecx, eax
movzx eax, cx
push eax
push 0
lea eax, [edi - 0x38]
push eax
call dword [sym.imp.NDIS.SYS_NdisCopyFromPacketToPacket]
xor ecx, ecx
lea eax, [ebx + 0xa8]
inc ecx
lock xadd dword [eax], ecx
mov dword [edi + 0x3c], ebx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov ebx, 0x16b30
mov ecx, ebx
mov dword [edi + 0x2c], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [edi + 0x40]
mov edi, dword [0x16b3c]
mov dword [ecx], 0x16b38
mov dword [ecx + 4], edi
mov dword [edi], ecx
mov dword [0x16b3c], ecx
mov dl, al
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
or dword [esi + 0x30], 1
jmp 0x149e0
mov dl, byte [ebp + 8]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0xc0010011
jmp 0x149d8
mov eax, dword [esi + 0x34]
cmp byte [eax + 5], 0x14
jne 0x149c0
mov cl, byte [ebx + 7]
mov byte [eax + 6], cl
mov eax, dword [esi + 0x34]
mov cl, byte [ebx + 6]
mov byte [eax + 7], cl
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x34]
shr eax, 8
mov byte [ecx + 8], al
mov eax, dword [esi + 0x34]
mov cl, byte [ebx + 4]
mov byte [eax + 9], cl
push dword [ebp + 8]
push esi
push ebx
call fcn.00013ace
jmp 0x149d1
mov eax, 0xc000009a
cmp eax, 0x103
je 0x149e0
push eax
push esi
push ebx
call fcn.00014518
pop edi
pop esi
pop ebx
leave
ret 8