Function at 0x20be9
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
push esi
push edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.000195e0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00024cb0
test eax, eax
jne 0x203b4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00020db0
mov dword [ebp - 4], eax
jmp 0x20d47
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00019f70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0x2d9404
jne 0x2078d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0x1c
jne 0x20768
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x18]
lea eax, [eax + edx + 0x1c]
cmp dword [ebp - 8], eax
jb 0x20768
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 1
jne 0x20768
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 0
je 0x20768
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0
je 0x20768
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x14]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
shr ecx, 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 0
jmp 0x20464
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jae 0x206a8
mov ecx, dword [ebp - 0x30]
shl ecx, 4
mov edx, dword [ebp - 0x34]
push 0
push 0x200
mov eax, dword [edx + ecx + 4]
push eax
mov ecx, dword [edx + ecx]
push ecx
call sub.ntoskrnl.exe__alldiv
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [ebp - 0x34]
push 0
push 0x200
mov ecx, dword [eax + edx + 0xc]
push ecx
mov edx, dword [eax + edx + 8]
push edx
call sub.ntoskrnl.exe__aulldiv
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
jmp 0x204d2
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x20
jae 0x20637
mov ecx, dword [ebp - 0x50]
imul ecx, ecx, 0xbb0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
mov eax, dword [ecx + eax + 0x2b0]
or eax, dword [esi + edx + 0x2b4]
jne 0x2050c
jmp 0x204c9
mov ecx, dword [ebp - 0x50]
imul ecx, ecx, 0xbb0
mov edx, dword [ebp - 0x74]
cmp dword [edx + ecx + 0x2cc], 0
jne 0x20524
jmp 0x204c9
mov eax, dword [ebp - 0x50]
imul eax, eax, 0xbb0
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + eax + 0x2d0], 0
jne 0x2053c
jmp 0x204c9
mov edx, dword [ebp - 0x50]
imul edx, edx, 0xbb0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + edx + 0x2a0]
cmp ecx, dword [ebp - 0x14]
jne 0x20632
mov edx, dword [ebp - 0x50]
imul edx, edx, 0xbb0
mov eax, dword [ebp - 0x50]
imul eax, eax, 0xbb0
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x74]
mov edi, dword [ecx + edx + 0x2a8]
add edi, dword [esi + eax + 0x2b0]
mov edx, dword [ecx + edx + 0x2ac]
adc edx, dword [esi + eax + 0x2b4]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x44]
jb 0x20632
ja 0x205b2
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x48]
jbe 0x20632
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
adc eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
imul ecx, ecx, 0xbb0
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax + edx + 0x2ac]
jb 0x20632
ja 0x2061a
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax + edx + 0x2a8]
jb 0x20632
mov edx, dword [ebp - 0x50]
imul edx, edx, 0xbb0
mov eax, dword [ebp - 0x74]
lea ecx, [eax + edx + 0x98]
mov dword [ebp - 0x4c], ecx
jmp 0x20637
jmp 0x204c9
cmp dword [ebp - 0x4c], 0
je 0x206a3
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x234], 0
je 0x206a3
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
sub eax, dword [edx + 0x210]
mov ecx, dword [ebp - 0x44]
sbb ecx, dword [edx + 0x214]
push ecx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x234]
call fcn.00012340
movzx ecx, al
test ecx, ecx
je 0x206a3
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + eax + 8], 0
mov dword [ecx + eax + 0xc], 0
jmp 0x2045b
cmp dword [ebp - 0x28], 0
je 0x20768
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x2c]
jne 0x206c6
mov dword [ebp - 0x24], 1
jmp 0x20768
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x30], 0
jmp 0x206df
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x2c]
jae 0x2075c
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x98]
mov ecx, dword [edx + ecx + 8]
or ecx, dword [esi + eax + 0xc]
je 0x20757
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x54]
je 0x2074e
mov eax, dword [ebp - 0x30]
shl eax, 4
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
shl ecx, 4
add ecx, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
jmp 0x206d6
mov edx, dword [ebp - 0x54]
shl edx, 4
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x18], edx
cmp dword [ebp - 0x24], 0
je 0x20781
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
jmp 0x20788
mov dword [ebp - 0xc], 1
jmp 0x20d00
cmp dword [ebp - 0x1c], 0x7e664
jne 0x20cf9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 8]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
sub ecx, 0x3001
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0x25
ja case.0x207e5.3
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx + 0x20d7c]
jmp dword [eax*4 + 0x20d54]
mov dword [ebp - 0x60], 0x2014
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x60]
jae 0x20817
push 0x2c240
push 0xdc7
push 0xc0000023
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xc], 0x2000
mov dword [ebp - 0x5c], 0
jmp 0x20833
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ecx + 0x17718]
jae 0x20912
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0x60
mov ecx, dword [ebp - 0x5c]
imul ecx, ecx, 0xbb0
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xac]
mov eax, dword [ecx + eax + 0x17724]
cmp eax, dword [esi + edx + 0x2a8]
jne 0x2090d
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xac]
mov ecx, dword [edx + ecx + 0x17728]
cmp ecx, dword [esi + eax + 0x2ac]
jne 0x2090d
mov edx, dword [ebp - 0x5c]
imul edx, edx, 0xbb0
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0xbb0
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x74]
mov edi, dword [ecx + edx + 0x2b0]
sub edi, dword [esi + eax + 0xc8]
mov edx, dword [ecx + edx + 0x2b4]
sbb edx, dword [esi + eax + 0xcc]
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0x60
mov ecx, dword [ebp - 0x74]
mov dword [ecx + eax + 0x17754], edi
mov dword [ecx + eax + 0x17758], edx
jmp 0x2082a
push 0x2000
mov edx, dword [ebp - 0x74]
add edx, 0x17698
push edx
mov eax, dword [ebp - 0x58]
add eax, 0x14
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x1c], edx
jmp 0x20cf7
mov dword [ebp - 0x64], 0x2014
mov eax, dword [ebp - 0x58]
add eax, 0x14
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x64]
jae 0x20979
push 0x2c240
push 0xddc
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xc], 0x2000
je 0x209a1
push 0x2c240
push 0xde0
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0x4c4e4b24
je 0x209c8
push 0x2c240
push 0xde4
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x176a2]
je 0x209f5
push 0x2c240
push 0xde8
push 0xc000006a
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x17718]
mov dword [ebp - 0x68], edx
push 0x2000
mov eax, dword [ebp - 0x58]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x17698
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push 4
mov edx, dword [ebp - 0x74]
add edx, 0x17698
push edx
push 0x2000
push 0
push 0x808000
mov eax, dword [ebp - 0x74]
add eax, 0x19698
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0001a7e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x20a64
push 0x2c240
push 0xdf0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00019350
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x17718], 0
je 0x20aa0
cmp dword [ebp - 0x68], 0
jne 0x20aa0
xor eax, eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x19dfc
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x74]
mov byte [edx + 0x19c64], 1
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x19c65], 0
jmp 0x20cf7
cmp dword [ebp - 8], 0x18
je 0x20ac7
push 0x2c240
push 0xdff
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x14]
je 0x20af1
push 0x2c240
push 0xe03
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x176a2]
je 0x20b1e
push 0x2c240
push 0xe07
push 0xc000006a
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
jmp 0x20cf7
mov ecx, dword [ebp - 0x58]
add ecx, 0x14
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 8], 0x1c
je 0x20b4e
push 0x2c240
push 0xe13
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx]
cmp ecx, dword [eax + 0x176a2]
je 0x20b7a
push 0x2c240
push 0xe17
push 0xc000006a
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov ecx, dword [edx + 0x176a2]
cmp ecx, dword [eax + 4]
je 0x20be4
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
mov dword [edx + 0x176a2], ecx
push 4
mov edx, dword [ebp - 0x74]
add edx, 0x17698
push edx
push 0x2000
push 0
push 0x808000
mov eax, dword [ebp - 0x74]
add eax, 0x19698
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0001a7e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x20be4
push 0x2c240
push 0xe1f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00019350
jmp 0x20cf7
jmp 0x20cf7
jmp 0x20cf7
push 0
mov ecx, dword [ebp - 0x74]
call fcn.00022080
mov dword [ebp - 4], eax
jmp 0x20cf7
mov ecx, dword [ebp - 0x74]
call fcn.000222e0
mov dword [ebp - 4], eax
jmp 0x20cf7
cmp dword [ebp - 0x10], 0x1d0
jae 0x20c35
push 0x2c240
push 0xe30
push 0xc000009a
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xc], 0x1bc
je 0x20c5d
push 0x2c240
push 0xe34
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
push 0x1bc
mov eax, dword [ebp - 0x58]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00024470
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x20c8e
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xc], 0x1bc
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x1c], 0x1d0
jmp 0x20cf7
cmp dword [ebp - 8], 0x1d0
je 0x20cb2
push 0x2c240
push 0xe40
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0xc], 0x1bc
je 0x20cd7
push 0x2c240
push 0xe44
push 0xc000000d
call fcn.00019350
mov dword [ebp - 4], eax
jmp 0x20cf7
push 0x1bc
mov ecx, dword [ebp - 0x58]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.000245a0
mov dword [ebp - 4], eax
jmp 0x20cf7
mov dword [ebp - 4], 0xc0000010
jmp 0x20d00
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x20d1b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00019d20
mov dword [ebp - 4], eax
jmp 0x20d3f
cmp dword [ebp - 4], 0
je 0x20d2b
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0x18], eax
xor dl, dl
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor ecx, ecx
jne 0x2038c
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8