Function at 0x1d5f0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x26990
push 0x25444
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff60
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.HAL.dll_KeQueryPerformanceCounter]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, 1
test ecx, ecx
je 0x1db87
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x2d], 0
push 0x27228
call fcn.000252d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x1d66f
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [0x2728c]
jge 0x1d7a5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.0001b7a0
movzx edx, al
test edx, edx
je 0x1d7a0
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
mov dl, byte [ecx + eax + 0x18]
mov byte [ebp - 0x2d], dl
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
cmp dword [ecx + eax + 0xc], 0
je 0x1d76a
push 0x15
call fcn.00022c20
push eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1d768
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x27004]
mov dword [eax + 0x10], ecx
mov edx, dword [0x27004]
add edx, 1
mov dword [0x27004], edx
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x14], 1
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov dword [edx + ecx + 0xc], 0
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + eax + 0x14], edx
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
mov edx, dword [ecx + eax + 0x10]
push edx
call dword [sym.imp.ntoskrnl.exe_KeClearEvent]
jmp 0x1d79e
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
cmp dword [ecx + eax + 0x10], 0
je 0x1d79e
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x10
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1d7a5
jmp 0x1d666
mov dword [ebp - 4], 0xffffffff
call fcn.0001d7b3
jmp 0x1d7be
cmp dword [ebp - 0x2c], 0
je 0x1da83
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x84], edx
push 0
call dword [sym.imp.HAL.dll_KeQueryPerformanceCounter]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
cmp dword [ebp + 0x14], 0
jne 0x1d81b
push 0
push 0x18
lea eax, [ebp - 0x9c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
test eax, eax
jl 0x1d81b
mov edx, dword [ebp - 0x88]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
push 0
push 4
lea ecx, [ebp - 0x4c]
push ecx
push 0x18
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
test eax, eax
jl 0x1d858
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
jmp 0x1d865
mov edx, dword [ebp - 0x84]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x84]
mov dword [eax + 0xc], 0x10
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x1d88f
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0xc]
or eax, 1
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0xc], eax
movzx edx, byte [ebp + 0x1c]
test edx, edx
je 0x1d8ac
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0xc]
or ecx, 2
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], ecx
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], 0x20
push 0
push 0x20
lea ecx, [ebp - 0x70]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
test eax, eax
jl 0x1d902
mov eax, dword [ebp - 0x54]
and eax, 1
je 0x1d902
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0xc]
or edx, 8
mov eax, dword [ebp - 0x84]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov dword [ecx + 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x38
xchg dword [ecx], eax
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x4d], al
movzx edx, byte [ebp - 0x4d]
test edx, edx
jne 0x1d9b2
xor dl, dl
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
sbb ecx, dword [ebp - 0x24]
push 0
push 0x989680
push ecx
push eax
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
push ecx
push edx
push eax
call sub.ntoskrnl.exe__alldiv
mov ecx, 0x2faf080
sub ecx, eax
mov eax, 0
sbb eax, edx
neg ecx
adc eax, 0
neg eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jg 0x1d9b2
jl 0x1d992
cmp dword [ebp - 0x80], 0
jae 0x1d9b2
call dword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
call dword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
push 0x27228
call fcn.000252d0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x14]
mov byte [ebp - 0x71], cl
mov dword [ebp - 0xa0], 0
jmp 0x1d9e7
mov edx, dword [ebp - 0xa0]
add edx, 1
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
cmp eax, dword [0x2728c]
jge 0x1da58
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xa0]
imul edx, edx, 0x28
mov eax, dword [0x27294]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.0001b7a0
movzx edx, al
test edx, edx
je 0x1da56
mov eax, dword [ebp - 0xa0]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
mov dword [ecx + eax + 0x14], 0
movzx edx, byte [ebp - 0x71]
test edx, edx
je 0x1da54
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa0]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
lea eax, [edx + ecx + 0x18]
push eax
call fcn.0001cee0
jmp 0x1da58
jmp 0x1d9d8
mov dword [ebp - 4], 0xffffffff
call fcn.0001da66
jmp 0x1da71
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov al, byte [ebp - 0x71]
jmp 0x1db87
cmp dword [ebp - 0x38], 0
je 0x1db69
push 0
call dword [sym.imp.HAL.dll_KeQueryPerformanceCounter]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa8]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa4]
sbb eax, dword [ebp - 0x24]
push 0
push 0x989680
push eax
push edx
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
push ecx
push edx
push eax
call sub.ntoskrnl.exe__alldiv
mov ecx, 0x2faf080
sub ecx, eax
mov eax, 0
sbb eax, edx
neg ecx
adc eax, 0
neg eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jg 0x1db28
jl 0x1db05
cmp dword [ebp - 0xb0], 0
jae 0x1db28
call dword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
call dword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov eax, dword [ebp - 0x38]
add eax, 0x10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x1db42
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
cmp dword [ebp - 0xac], 0
jl 0x1db67
jg 0x1db56
cmp dword [ebp - 0xb0], 0
jb 0x1db67
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0001cfc0
mov al, 1
jmp 0x1db87
jmp 0x1db82
movzx edx, byte [ebp - 0x2d]
test edx, edx
je 0x1db7e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0001cfc0
mov al, 1
jmp 0x1db87
jmp 0x1d626
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18