Function at 0x20db0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.000195e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x74004
ja 0x20e79
cmp dword [ebp - 0x48], 0x74004
je 0x2127d
cmp dword [ebp - 0x48], 0x70050
ja 0x20e52
cmp dword [ebp - 0x48], 0x70050
je 0x21620
mov ecx, dword [ebp - 0x48]
sub ecx, 0x70000
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0x48
ja case.0x20e72.1
mov edx, dword [ebp - 0x48]
movzx eax, byte [edx + 0x2179c]
jmp dword [eax*4 + 0x21788]
mov ecx, dword [ebp - 0x48]
sub ecx, 0x72668
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0x10
ja case.0x20e72.1
mov edx, dword [ebp - 0x48]
movzx eax, byte [edx + 0x217fc]
jmp dword [eax*4 + 0x217e8]
cmp dword [ebp - 0x48], 0x7c008
ja 0x20ed6
cmp dword [ebp - 0x48], 0x7c008
je 0x214d0
cmp dword [ebp - 0x48], 0x74800
ja 0x20ec4
cmp dword [ebp - 0x48], 0x74800
je 0x21096
cmp dword [ebp - 0x48], 0x7400c
je 0x21557
cmp dword [ebp - 0x48], 0x7405c
je 0x211b0
jmp case.0x20e72.1
cmp dword [ebp - 0x48], 0x74804
je 0x214c1
jmp case.0x20e72.1
cmp dword [ebp - 0x48], 0x2d4800
ja 0x20f0b
cmp dword [ebp - 0x48], 0x2d4800
je 0x21096
cmp dword [ebp - 0x48], 0x2d0800
je 0x21096
cmp dword [ebp - 0x48], 0x2d1080
je 0x216f2
jmp case.0x20e72.1
cmp dword [ebp - 0x48], 0x2d4804
je 0x214c1
jmp case.0x20e72.1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
mov dword [ebp - 4], 0
jmp 0x21751
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0
movzx eax, byte [0x30ff0]
test eax, eax
jne 0x20f56
mov ecx, dword [0x3120c]
call fcn.00019ae0
mov dword [ebp - 4], eax
jmp 0x21751
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x88], 0
jne 0x20f83
push 0x2c240
push 0xf42
push 0xc00000a3
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
cmp dword [ebp - 0x10], 0x1000
jae 0x20fa8
push 0x2c240
push 0xf46
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
push 0x1000
mov edx, dword [ebp - 0x44]
add edx, 0x18698
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0x1000
jmp 0x21751
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x88], 0
jne 0x20ffd
push 0x2c240
push 0xf50
push 0xc00000a3
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
cmp dword [ebp - 8], 0x1000
je 0x21022
push 0x2c240
push 0xf54
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
push 0x1000
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x18698
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x44]
add ecx, 0x17698
push ecx
push 0x2000
push 0
push 0x808000
mov edx, dword [ebp - 0x44]
add edx, 0x19698
push edx
mov ecx, dword [ebp - 0x44]
call fcn.0001a7e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x21087
push 0x2c240
push 0xf5a
mov eax, dword [ebp - 4]
push eax
call fcn.00019350
jmp 0x21091
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0x1000
jmp 0x21751
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0
jmp 0x21751
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0x18
jae 0x210d4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
push 0x2c240
push 0xf71
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 8], 0x1a
jb 0x21134
mov eax, dword [ebp - 0x24]
mov dword [eax], 0xbb800000
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x24]
push 0
push 0x200
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call sub.ntoskrnl.exe__allmul
push 0
push 0x10000
push edx
push eax
call sub.ntoskrnl.exe__alldiv
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x21179
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x21179
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push 0
push 0x200
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
call sub.ntoskrnl.exe__allmul
push 0
push 0x10000
push edx
push eax
call sub.ntoskrnl.exe__alldiv
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], 0xb
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 0x10
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], 8
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x14], 0x200
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0x18
jmp 0x21751
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 8
jae 0x211df
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0
push 0x2c240
push 0xf8d
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0x1a
jb 0x21231
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0xbb800001
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x28]
push 0
push 0x200
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x2126e
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x2126e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [eax + 0x1c]
adc edx, 0
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x28]
push 0
push 0x200
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 8
jmp 0x21751
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0x20
jae 0x212ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
push 0x2c240
push 0xfa4
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0x200
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0x1a
jb 0x21312
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 0xbb800001
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x2c]
push 0
push 0x200
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x21352
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x21352
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [eax + 0x1c]
adc edx, 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x2c]
push 0
push 0x200
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x19], 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x1a], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x1b], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0x20
jmp 0x21751
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0x90
jae 0x213c3
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
push 0x2c240
push 0xfc4
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], 0
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], 0x200
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0x1a
jb 0x21433
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x10], 0xbb800001
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x30]
push 0
push 0x200
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [eax + 0x10]
push edx
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp 0x21473
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x21473
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [eax + 0x1c]
adc edx, 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x30]
push 0
push 0x200
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x20], 0
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x21], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x22], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x24], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0x90
jmp 0x21751
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
jmp 0x21751
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
jmp 0x21751
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 1
jae 0x214ff
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
push 0x2c240
push 0xff0
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
jmp 0x21751
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0x10
jae 0x2153d
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
push 0x2c240
push 0xffc
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x21751
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
mov dword [eax + 0x1c], edx
jmp 0x21751
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x20], 7
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x22], 1
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0x1a
jb 0x215a5
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], 0xbb800000
mov dword [ecx + 0x14], 0
jmp 0x215c5
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x215c5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [eax + 0x1c]
adc edx, 0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x38]
push 0
push 0x200
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x38]
mov dword [edx], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
cmp dword [ebp - 4], 0
jne 0x21612
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
imul edx, edx, 0x90
add edx, 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
jmp 0x21751
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x50], 7
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + 0x52], 1
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0x1a
jb 0x21678
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x40], 0xbb800000
mov dword [edx + 0x44], 0
jmp 0x21698
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x21698
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
add edx, 1
mov eax, dword [ecx + 0x1c]
adc eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 0x3c]
push 0
push 0x200
mov eax, dword [edx + 0x44]
push eax
mov ecx, dword [edx + 0x40]
push ecx
call sub.ntoskrnl.exe__allmul
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov edx, dword [ebp - 0x3c]
mov dword [edx + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
cmp dword [ebp - 4], 0
jne 0x216e7
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
imul edx, edx, 0x90
add edx, 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
jmp 0x21751
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], 0xb
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
cmp dword [ebp - 4], 0
jne 0x21735
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
jmp 0x21751
mov dword [ebp - 4], 0xc0000010
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0
cmp dword [ebp - 4], 0
je 0x21761
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
xor dl, dl
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jne 0x20dc2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8