Function at 0x15d6c
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1cf4c]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x490]
push esi
lea ecx, [eax + 0x498]
call dword [sym.imp.ntoskrnl.exe_ExInterlockedAddLargeStatistic]
lea eax, [ebp - 0x48]
push eax
push 0
push dword [ebp + 0xc]
call sub.TDI.SYS_TdiBuildNetbiosAddress
mov esi, dword [ebp + 8]
and dword [ebp - 0x14], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 8], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
add esi, 0x40
mov byte [ebp + 0xb], al
mov eax, dword [esi]
cmp eax, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
je 0x15fa0
push ebx
push edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffffc
cmp byte [ecx + 0x10], 1
jne 0x15f8d
lea eax, [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0x1c], eax
inc edx
lock xadd dword [eax], edx
lea eax, [ecx + 0x30]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [ebp - 0x18], eax
je 0x15e2b
lea esi, [ebx - 0x58]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 4], esi
je 0x15e2e
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x15e2e
push 0
push dword [eax + 0x10]
push ecx
call fcn.00010474
test eax, eax
je 0x15e2e
mov esi, dword [ebp + 0xc]
push 4
lea edi, [eax + 2]
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x15e2b
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x18]
jne 0x15def
mov esi, dword [ebp - 4]
cmp ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, byte [ebp + 0xb]
je 0x15e84
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [eax + 4], ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x15e64
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x15e64
push eax
call fcn.000108fe
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
add eax, 0xfffffffc
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x15e7f
push eax
call fcn.000108fe
mov dword [ebp - 0xc], edi
jmp 0x15ef2
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x15ea5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x15ea5
push eax
call fcn.000108fe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffc
cmp byte [eax + 0x40], 0
mov dword [ebp - 0x14], eax
je 0x15f81
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push dword [ebp + 0x14]
mov dword [ebp - 0xc], edi
push 0x200
push edi
push edi
push ecx
push 0x1a
push dword [eax + 0x6c]
call dword [eax + 0x54]
cmp eax, 0xc0000016
jne 0x15f81
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x15f1c
lea ecx, [ebp - 0x24]
push ecx
push edi
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call sub.TDI.SYS_TdiCopyBufferToMdl
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1c], eax
jmp 0x15f31
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], edi
sub eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
and eax, 0x80000005
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x15f5d
mov ecx, dword [eax + 0x10]
cmp ecx, 0x1a
jb 0x15f46
push 0x1a
pop ecx
mov edi, dword [eax + 0x14]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
push dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xb], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
jne 0x15dc6
pop edi
pop ebx
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x14]
test eax, eax
pop esi
je 0x15fc6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x15fc6
push eax
call fcn.000108fe
leave
ret 0x10