Function at 0x135e8
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x60]
cmp byte [esi + 1], 1
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esi
jne 0x137c2
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x137c2
cmp eax, 3
jle 0x13627
add eax, 0xffffffdb
cmp eax, 1
ja 0x137c2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x137c2
add eax, 0xc
lea ecx, [edi + 0x38]
push eax
call fcn.00011626
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x38]
cmp dword [ebp - 0x14], eax
je 0x137c2
push 7
lea eax, [esi - 0x24]
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
mov byte [eax + 3], 0
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov eax, dword [ebx + 0x60]
sub eax, 0x24
lea ecx, [ebp - 0x28]
mov dword [eax + 0x1c], 0x10fb2
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
mov edx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov esi, eax
cmp esi, 0x103
jne 0x136a8
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov esi, eax
cmp esi, edi
je 0x136bd
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x137d6
mov esi, dword [ebx + 0x3c]
cmp esi, edi
je 0x137b4
jmp 0x136cc
xor edi, edi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
dec eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], edi
je 0x13703
dec eax
je 0x136fe
dec eax
je 0x136f9
sub eax, 0x22
je 0x136f4
dec eax
jne 0x1371a
lea eax, [esi + 0x50]
jmp 0x13706
lea eax, [esi + 0x68]
jmp 0x13706
lea eax, [esi + 0x5e]
jmp 0x13706
lea eax, [esi + 0x44]
jmp 0x13706
lea eax, [esi + 0x40]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebp + 8], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x14]
add ecx, 0x10
sub eax, dword [ecx]
push 0xc
mov dword [ebp - 0x10], edi
cdq
pop edi
idiv edi
test eax, eax
jbe 0x137a5
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
call fcn.000135c0
mov edi, dword [eax + 4]
sub edi, dword [eax]
sar edi, 1
cmp dword [ebp - 4], edi
jne 0x13789
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push dword [ebp - 0x10]
add ecx, 0x10
call fcn.000135c0
mov eax, dword [eax]
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x13789
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
shr ecx, 4
test cl, 1
jne 0x13789
mov dword [eax], 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x14]
add ecx, 0x10
sub eax, dword [ecx]
push 0xc
cdq
pop edi
idiv edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jb 0x1373d
cmp dword [ebp + 8], 0
je 0x137b4
add esi, dword [ebp + 8]
jne 0x136ca
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x137d6
add esi, 0x24
inc byte [ebx + 0x23]
mov dword [ebx + 0x60], esi
mov ecx, dword [edi + 0x24]
mov edx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
leave
ret 4