Function at 0x4e93e
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 0x4e98b
lea eax, [esi + 0x10c]
cmp dword [eax], ecx
jne 0x4e975
mov ecx, dword [esi + 0x78]
mov ebx, 0x4000
test ebx, ecx
je 0x4e9bf
xor ecx, ecx
jmp 0x4e977
mov eax, dword [eax]
cmp dword [eax], ecx
jne 0x4e975
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
add dword [esi + 0x110], eax
jmp 0x4ede6
lea edi, [esi + 0x10c]
mov eax, dword [edi]
cmp eax, ecx
je 0x4ede6
mov ecx, dword [esi + 0x78]
mov ebx, 0x4000
test ebx, ecx
jne 0x4ede6
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 0x4e9ec
mov eax, dword [edi]
mov dword [esi + 0x108], eax
jmp 0x4ea5f
lea edx, [esi + 0xa0]
mov ecx, edx
mov edi, dword [ecx]
test edi, edi
je 0x4eb14
test byte [edi + 0x14], 0x40
je 0x4ea0a
cmp dword [edi + 0xc], 0
je 0x4ea14
mov ecx, edi
mov edi, dword [edi]
test edi, edi
je 0x4ea5f
jmp 0x4e9fe
lea eax, [esi + 0xa4]
cmp dword [eax], edi
jne 0x4ea2a
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 0x4ea5f
mov eax, dword [edi]
test eax, eax
mov dword [esi + 0x70], eax
jne 0x4ea5f
cmp dword [esi + 0xd4], eax
je 0x4ea55
cmp dword [esi + 0x74], eax
jne 0x4ea55
mov dword [esi + 0x80], 0x17288
jmp 0x4ea5f
mov dword [esi + 0x80], 0x1898e
test edi, edi
je 0x4eb14
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.0004f0b8
mov ecx, eax
mov eax, dword [0x54984]
test eax, eax
mov dword [ebp - 4], ecx
je 0x4ead5
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 [0x59d70]
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 0x4eb0b
mov edx, eax
sub eax, edx
mov dword [ecx], eax
jmp 0x4ecfd
cmp dword [esi + 0x114], 0
jne 0x4edb8
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, 0x50200
call edi
mov ecx, dword [0x5050c]
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 0x4ed89
test byte [esi + 0x78], 0x10
jne 0x4eb8e
test byte [esi + 0x1e], 8
jne 0x4eb8e
and dword [ebp - 0xc], 0
jmp 0x4eb95
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 0x4ed6c
lea ecx, [eax + 4]
mov dword [ebp - 0x18], ecx
call edi
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0x24], 0x80
je 0x4ed65
mov edx, dword [ecx + 0xdc]
test edx, edx
mov dword [ebp - 0x20], edx
je 0x4ed65
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, 0x50200
call ebx
cmp dword [ebp - 0xc], 0xc000021b
je 0x4ec39
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 0x10]
jb 0x4ec19
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 0x4ecd9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jne 0x4ec5e
and dword [ebp + 8], 0
jmp 0x4ec8b
push eax
push dword [ebp + 0xc]
call fcn.000186f7
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.00021fde
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 0x4eca0
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 0x4ecfd
cmp dword [ebp - 0xc], 0xc000021b
jne 0x4ece6
and dword [ebp - 4], 0
mov eax, dword [esi + 0x114]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jae 0x4ecf5
mov ecx, eax
sub eax, ecx
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x10], eax
jne 0x4ed21
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 0x4ed4d
push eax
push dword [ebp + 0xc]
call fcn.000186f7
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 0x4ed4d
push dword [ebp + 0xc]
call fcn.0004e923
mov dword [eax], edx
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
je 0x4edd6
jmp 0x4e9d4
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, 0x50200
call ebx
lea ecx, [esi + 4]
call edi
jmp 0x4edb3
mov eax, dword [esi + 0x158]
mov ecx, dword [0x5050c]
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, 0x50200
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.0004e923
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 0x4ede6
and dword [esi + 0x7c], 0xfffffffe
pop edi
pop esi
pop ebx
leave
ret 0x10