Function at 0x1ab04
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [0x1cf4c]
add eax, 0x30
cmp dword [ebp + 0x14], 0x56
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
jb 0x1b291
cmp word [eax + 0x20], 0
je 0x1b291
add eax, 0x10
movzx ecx, byte [eax]
cmp byte [ecx + esi + 0x540], 0
mov dword [ebp - 0x28], eax
je 0x1b291
push eax
push esi
call fcn.000109d6
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1b291
lea ecx, [esi + 0xc0]
mov dword [ebp - 8], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
and dword [ebp - 0x20], 0
push ebx
mov byte [ebp - 1], al
lea eax, [esi + 0x258]
push edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1abbe
mov ecx, dword [ebp + 0x10]
add ecx, 0x12
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x1c]
push 3
pop ecx
lea esi, [ebx + 0x16e]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1abb4
mov cx, word [ebx + 0x132]
mov edx, dword [ebp + 0x10]
cmp cx, word [edx + 0x20]
jne 0x1abb4
cmp dword [ebx + 0x14], 5
jne 0x1ac6b
mov ebx, dword [ebx + 0xc4]
test ebx, ebx
jne 0x1ab88
inc dword [ebp - 0x20]
add eax, 8
cmp dword [ebp - 0x20], 8
jb 0x1ab79
lea eax, [ebp - 0x50]
push eax
push 0
push dword [ebp - 0xc]
call sub.TDI.SYS_TdiBuildNetbiosAddress
mov eax, dword [ebp - 0x10]
add eax, 0x170
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x1ac5c
mov eax, ecx
mov edx, dword [ebp - 0x18]
add eax, 0xffffffa8
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 0x18]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ebx + 0x1e0]
cmp dword [ecx + 0x1c], edx
mov dword [ebp - 0x20], eax
jne 0x1ac47
mov eax, dword [eax + 8]
test eax, eax
je 0x1acd0
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1acd0
push 0
push dword [eax + 0x10]
push ecx
call fcn.00010474
test eax, eax
je 0x1acd0
mov esi, dword [ebp - 0xc]
push 4
lea edi, [eax + 2]
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1acd0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
add ecx, 0x170
cmp eax, ecx
mov dword [ebp - 0x14], eax
jne 0x1abeb
mov eax, dword [ebp - 0x10]
add eax, 0x168
mov edx, dword [eax]
jmp 0x1aeef
cmp dword [ebx + 0x14], 4
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 1]
jne 0x1af55
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
inc dword [ebx + 0xc]
and dword [ebx + 0x150], 0
call esi
mov eax, dword [ebp + 0x14]
push 0
add eax, 0xffffffaa
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x26
push eax
push ebx
call fcn.00016f11
mov ecx, dword [ebx + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dl, al
jne 0x1acc9
inc dword [ebx + 0x154]
call esi
push ebx
call fcn.00013c06
jmp 0x1b287
call esi
jmp 0x1b287
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea esi, [ecx + 0x12]
mov dword [ebp - 0x1c], esi
lea edi, [ebx + 0x16e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
lea edi, [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 edx, dword [eax]
mov dword [ebx + 0x160], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0x164], eax
mov ax, word [ecx + 0x20]
mov word [ebx + 0x132], ax
mov eax, dword [ebp + 0x14]
add eax, 0xffffffaa
test eax, eax
mov dword [ebx + 0x15c], eax
jbe 0x1ad65
push 1
push 5
push eax
call fcn.000169e0
test eax, eax
mov dword [ebx + 0x158], eax
je 0x1ad5e
mov ecx, dword [ebx + 0x15c]
mov esi, dword [ebp - 0xc]
mov edi, eax
mov eax, ecx
shr ecx, 2
add esi, 0x26
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1ad65
and dword [ebx + 0x15c], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x20]
xor ecx, ecx
and byte [ebx + 0x44], cl
xor esi, esi
mov dword [ebx + 0xc0], eax
mov eax, dword [ebp - 0x10]
inc esi
mov word [ebx + 0x5c], cx
mov word [ebx + 0x70], cx
mov word [ebx + 0x34], si
mov dword [ebx + 0x80], ecx
mov edx, dword [eax + 0x3dc]
mov dword [ebx + 0x48], edx
cmp dword [eax + 0x3b4], ecx
push 2
pop edx
je 0x1adcc
mov eax, dword [ebp + 0x10]
test byte [eax + 0x1e], 1
je 0x1adcc
mov dword [ebx + 0x20], esi
mov word [ebx + 0x36], 4
mov ax, word [eax + 0x2e]
cmp ax, cx
mov word [ebx + 0x38], ax
mov word [ebx + 0x3a], dx
jne 0x1adcf
mov word [ebx + 0x38], si
jmp 0x1adcf
mov dword [ebx + 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
cmp eax, ecx
je 0x1adf8
mov ecx, dword [eax + 0x10]
cmp ecx, 0x1a
jb 0x1ade4
push 0x1a
pop ecx
mov edi, dword [eax + 0x14]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x20]
test byte [eax + 4], 1
mov ecx, dword [ebp - 8]
je 0x1ae1c
mov esi, dword [ebp - 0x24]
and dword [ebx + 0x140], 0
mov dword [ebx + 0x18], edx
mov dl, byte [ebp - 1]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x1ae86
and dword [ebp + 0x14], 0
mov dl, byte [ebp - 1]
inc dword [ebx + 0xc]
and dword [ebx + 0x150], 0
mov dword [ebx + 0x18], 3
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x10]
add esi, 0x16
lea eax, [ebx + 0x208]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [ebx + 0x20c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
and byte [ebx + 0x21e], 0
mov byte [ebx + 0x21f], 1
cmp dword [ecx], 0
je 0x1ae7b
push eax
mov eax, dword [ebp - 0x10]
call dword [eax + 0x338]
jmp 0x1b287
push 0
push eax
call fcn.000145f2
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1b287
and dword [esi + 0x1c], 0
and dword [esi + 0x18], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
push dword [ebp - 0x2c]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1b287
mov edi, dword [ebp - 0x28]
push 4
pop ecx
lea esi, [edx + 8]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1aeed
mov edi, dword [ebp + 0x10]
push 3
add edi, 0x12
pop ecx
lea esi, [edx + 0x18]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1aeed
mov cx, word [edx + 0x24]
mov esi, dword [ebp + 0x10]
cmp cx, word [esi + 0x20]
je 0x1af4f
mov edx, dword [edx]
cmp edx, eax
jne 0x1aebf
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
lea edi, [ebp - 0x70]
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 esi, [ecx + 0x12]
mov cx, word [ecx + 0x20]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov word [ebp - 0x54], cx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov dword [ecx], edx
mov dl, byte [ebp - 1]
lea ecx, [ebp - 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
call esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
and dword [ebp - 0x1c], 0
lea ecx, [edi + 0x10]
call ebx
lea ecx, [edi + 0x40]
mov edx, dword [ecx]
jmp 0x1b245
mov dl, byte [ebp - 1]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x1b287
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffc
cmp byte [ecx + 0x10], 1
mov dword [ebp - 0x20], ecx
jne 0x1b23d
xor edx, edx
add ecx, 0xc
inc edx
lock xadd dword [ecx], edx
mov dl, al
lea ecx, [edi + 0x10]
call esi
cmp dword [ebp - 0x1c], 0
je 0x1afa1
mov eax, dword [ebp - 0x1c]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1afa1
push dword [ebp - 0x1c]
call fcn.000108fe
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x3c], 0
mov dword [ebp - 0x1c], eax
je 0x1b238
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x20]
push 0x1a
push dword [eax + 0x5c]
call dword [eax + 0x44]
cmp eax, 0xc0000016
jne 0x1b238
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
call fcn.000138be
mov ebx, eax
test ebx, ebx
je 0x1b20a
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea edi, [ebx + 4]
mov ecx, edi
call esi
mov ecx, dword [ebp - 8]
mov byte [ebp - 2], al
call esi
cmp dword [ebx + 0x14], 1
mov dl, al
mov byte [ebp - 1], dl
jne 0x1b1c2
cmp dword [ebx + 0x134], 0
jne 0x1b1c2
cmp dword [ebx + 0x138], 0
jne 0x1b1c2
mov esi, dword [ebp + 0x10]
push 3
pop eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3dc]
mov dword [ebx + 0x48], eax
add esi, 0x12
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x16e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
lea edi, [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 ecx, dword [eax]
mov dword [ebx + 0x160], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x164], eax
mov eax, dword [ebp + 0x14]
add eax, 0xffffffaa
test eax, eax
mov dword [ebx + 0x15c], eax
jbe 0x1b0bd
push 1
push 5
push eax
call fcn.000169e0
xor edi, edi
cmp eax, edi
mov dword [ebx + 0x158], eax
je 0x1b135
mov ecx, dword [ebx + 0x15c]
mov esi, dword [ebp - 0xc]
mov edi, eax
mov eax, ecx
shr ecx, 2
add esi, 0x26
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x20]
mov esi, dword [ebp - 0x10]
push ebx
push esi
mov dword [ebx + 0xc0], eax
call fcn.0001370a
mov eax, dword [ebp + 0x10]
mov cx, word [eax + 0x20]
and byte [ebx + 0x44], 0
mov word [ebx + 0x132], cx
xor ecx, ecx
inc ecx
mov word [ebx + 0x5c], di
mov word [ebx + 0x70], di
mov word [ebx + 0x34], cx
mov dword [ebx + 0x80], edi
mov edx, dword [esi + 0x3dc]
mov dword [ebx + 0x48], edx
cmp dword [esi + 0x3b4], edi
je 0x1b13d
test byte [eax + 0x1e], cl
je 0x1b13d
mov dword [ebx + 0x20], ecx
mov word [ebx + 0x36], 4
mov ax, word [eax + 0x2e]
cmp ax, di
mov word [ebx + 0x38], ax
mov word [ebx + 0x3a], 2
jne 0x1b140
mov word [ebx + 0x38], cx
jmp 0x1b140
mov dword [ebx + 0x15c], edi
jmp 0x1b0bf
mov dword [ebx + 0x20], edi
add dword [ebx + 0xc], 2
and dword [ebx + 0x150], 0
mov eax, dword [ebp - 0x28]
mov dl, byte [ebp - 1]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dword [ebx + 0x144], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], 0x103
call esi
mov dl, byte [ebp - 2]
lea ecx, [ebx + 4]
call esi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x12]
lea eax, [ebx + 0x208]
mov dword [eax], edx
lea esi, [ecx + 0x16]
lea edi, [ebx + 0x20c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
and byte [ebx + 0x21e], 0
add ecx, 0x12
mov byte [ebx + 0x21f], 1
cmp dword [ecx], 0
je 0x1b1b8
push eax
mov eax, dword [ebp - 0x10]
call dword [eax + 0x338]
jmp 0x1b1db
push 0
push eax
call fcn.000145f2
jmp 0x1b1db
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dword [ebp - 0x20], 0xc0000140
call esi
mov dl, byte [ebp - 2]
mov ecx, edi
call esi
mov ecx, dword [ebx + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dl, al
jne 0x1b202
inc dword [ebx + 0x154]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push ebx
call fcn.00013c06
jmp 0x1b211
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x1b211
mov dword [ebp - 0x20], 0xc0000140
mov eax, dword [ebp - 0x20]
cmp eax, 0x103
je 0x1b26e
mov ecx, dword [ebp - 0x28]
mov dl, 2
mov dword [ecx + 0x18], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 0x10]
call ebx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
lea ecx, [edi + 0x40]
cmp edx, ecx
mov dword [ebp - 0x14], edx
jne 0x1af60
mov dl, al
lea ecx, [edi + 0x10]
call esi
mov ecx, dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 8]
mov dl, al
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1b287
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1b287
push eax
call fcn.000108fe
push dword [ebp - 0x18]
call fcn.00010814
pop edi
pop ebx
pop esi
leave
ret 0x10