Function at 0x4e8be
Capabilities:
Complete processing asynchronous io request
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov edx, dword [ebp + 0xc]
push ebx
xor ecx, ecx
cmp edx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
je 0x4e90b
lea eax, [esi + 0x10c]
cmp dword [eax], ecx
jne 0x4e8f5
mov ecx, dword [esi + 0x78]
mov ebx, 0x4000
test ebx, ecx
je 0x4e93f
xor ecx, ecx
jmp 0x4e8f7
mov eax, dword [eax]
cmp dword [eax], ecx
jne 0x4e8f5
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
add dword [esi + 0x110], eax
jmp 0x4ed66
lea edi, [esi + 0x10c]
mov eax, dword [edi]
cmp eax, ecx
je 0x4ed66
mov ecx, dword [esi + 0x78]
mov ebx, 0x4000
test ebx, ecx
jne 0x4ed66
and dword [edi], 0
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x110]
mov edx, dword [eax]
and dword [eax], 0
mov dword [ebp + 0x10], edx
or ecx, ebx
inc byte [esi + 0x92]
or dword [esi + 0x7c], 1
mov ebx, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dword [esi + 0x78], ecx
mov edi, dword [esi + 0x108]
and dword [ebp - 4], 0
test edi, edi
je 0x4e96c
mov eax, dword [edi]
mov dword [esi + 0x108], eax
jmp 0x4e9df
lea edx, [esi + 0xa0]
mov ecx, edx
mov edi, dword [ecx]
test edi, edi
je 0x4ea94
test byte [edi + 0x14], 0x40
je 0x4e98a
cmp dword [edi + 0xc], 0
je 0x4e994
mov ecx, edi
mov edi, dword [edi]
test edi, edi
je 0x4e9df
jmp 0x4e97e
lea eax, [esi + 0xa4]
cmp dword [eax], edi
jne 0x4e9aa
mov edx, dword [edx]
sub edx, edi
neg edx
sbb edx, edx
and edx, ecx
mov dword [eax], edx
mov eax, dword [edi]
mov dword [ecx], eax
cmp dword [esi + 0x70], edi
jne 0x4e9df
mov eax, dword [edi]
test eax, eax
mov dword [esi + 0x70], eax
jne 0x4e9df
cmp dword [esi + 0xd4], eax
je 0x4e9d5
cmp dword [esi + 0x74], eax
jne 0x4e9d5
mov dword [esi + 0x80], 0x17288
jmp 0x4e9df
mov dword [esi + 0x80], 0x1898b
test edi, edi
je 0x4ea94
mov eax, dword [ebp + 0x14]
mov dl, byte [eax]
lea ecx, [esi + 4]
call ebx
push 0
push 0
push dword [ebp + 0x10]
push dword [edi + 0x20]
push dword [ebp + 0xc]
call fcn.0004f038
mov ecx, eax
mov eax, dword [0x54904]
test eax, eax
mov dword [ebp - 4], ecx
je 0x4ea55
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x30], ecx
mov cx, word [esi + 0x14]
mov word [ebp - 0x2c], cx
mov cx, word [esi + 0x16]
mov word [ebp - 0x2a], cx
mov ecx, dword [esi + 0xc8]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ecx + 0x14]
and dword [ebp - 0x24], 0
push 0
mov dword [ebp - 0x28], ecx
push 0x1c
lea ecx, [ebp - 0x3c]
push ecx
push 0x60b
call eax
push dword [ebp - 4]
push 0
push dword [edi + 8]
call dword [edi + 4]
push edi
push dword [0x59cf0]
call fcn.000149c4
lea ecx, [esi + 4]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov byte [ecx], al
lea ecx, [esi + 0x114]
mov eax, dword [ecx]
cmp eax, edx
jae 0x4ea8b
mov edx, eax
sub eax, edx
mov dword [ecx], eax
jmp 0x4ec7d
cmp dword [esi + 0x114], 0
jne 0x4ed38
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dl, byte [eax]
lea ecx, [esi + 4]
call ebx
mov edi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x50180
call edi
mov ecx, dword [0x5048c]
mov byte [ebp + 0xb], al
mov eax, dword [esi + 0x158]
shr eax, 8
and eax, 0xffff
mov ecx, dword [ecx + eax*4]
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
lea ecx, [esi + 4]
call edi
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
mov ecx, dword [esi + 0xc8]
test ecx, ecx
mov dword [ebp - 0x10], ecx
je 0x4ed09
test byte [esi + 0x78], 0x10
jne 0x4eb0e
test byte [esi + 0x1e], 8
jne 0x4eb0e
and dword [ebp - 0xc], 0
jmp 0x4eb15
mov dword [ebp - 0xc], 0xc000021b
mov dl, al
lea ecx, [esi + 4]
call ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4ecec
lea ecx, [eax + 4]
mov dword [ebp - 0x18], ecx
call edi
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0x24], 0x80
je 0x4ece5
mov edx, dword [ecx + 0xdc]
test edx, edx
mov dword [ebp - 0x20], edx
je 0x4ece5
mov ecx, dword [ecx + 0xe0]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dl, al
call ebx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp + 0xb]
mov ecx, 0x50180
call ebx
cmp dword [ebp - 0xc], 0xc000021b
je 0x4ebb9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 0x10]
jb 0x4eb99
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 8]
push edx
push dword [eax + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push ecx
push 0x640
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea ecx, [esi + 4]
call edi
cmp dword [ebp - 0xc], 0xc0000016
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
jne 0x4ec59
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jne 0x4ebde
and dword [ebp + 8], 0
jmp 0x4ec0b
push eax
push dword [ebp + 0xc]
call fcn.000186f4
push 0
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 8]
push 0
push dword [eax + 4]
call fcn.000165c0
push eax
mov eax, dword [ebp - 8]
push dword [eax + 4]
push dword [ebp + 0xc]
call fcn.0002201e
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + 8]
mov eax, dword [esi + 0x114]
cmp eax, ecx
mov dword [ebp - 4], ecx
jae 0x4ec20
mov ecx, eax
sub eax, ecx
mov dword [esi + 0x114], eax
mov eax, dword [ebp + 0x14]
mov dl, byte [eax]
lea ecx, [esi + 4]
call ebx
mov eax, dword [ebp - 8]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 8]
mov dl, 2
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea ecx, [esi + 4]
call edi
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
jmp 0x4ec7d
cmp dword [ebp - 0xc], 0xc000021b
jne 0x4ec66
and dword [ebp - 4], 0
mov eax, dword [esi + 0x114]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jae 0x4ec75
mov ecx, eax
sub eax, ecx
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x10], eax
jne 0x4eca1
push dword [ebp + 0xc]
call fcn.0001723d
mov eax, dword [esi + 0x10c]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x110]
mov dword [ebp + 0x10], eax
jmp 0x4eccd
push eax
push dword [ebp + 0xc]
call fcn.000186f4
mov edx, dword [esi + 0x10c]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x110]
sub eax, dword [ebp - 4]
add dword [ebp + 0x10], eax
test edx, edx
je 0x4eccd
push dword [ebp + 0xc]
call fcn.0004e8a3
mov dword [eax], edx
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
je 0x4ed56
jmp 0x4e954
add ecx, 4
mov dl, al
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp + 0xb]
mov ecx, 0x50180
call ebx
lea ecx, [esi + 4]
call edi
jmp 0x4ed33
mov eax, dword [esi + 0x158]
mov ecx, dword [0x5048c]
shr eax, 8
and eax, 0xffff
mov ecx, dword [ecx + eax*4]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp + 0xb]
mov ecx, 0x50180
call ebx
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.0004e8a3
lea ecx, [esi + 0x10c]
mov edi, dword [ecx]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
add dword [esi + 0x110], eax
mov dword [ecx], edx
and byte [esi + 0x79], 0xbf
dec byte [esi + 0x92]
jne 0x4ed66
and dword [esi + 0x7c], 0xfffffffe
pop edi
pop esi
pop ebx
leave
ret 0x10