Function at 0x17e60
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
push rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x58
xor ebp, ebp
mov r15, rdx
mov r12, rcx
cmp qword [rcx + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 8], ebp
jne 0x17e9a
mov edi, 0xc000020c
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x17e85
mov rdi, qword [rax + 0x108]
mov rax, qword [rax + 0x110]
test rdi, rdi
mov qword [rsp + 0x40], rax
je 0x17e85
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x50], r13
lea r13, [rcx + 0x100]
mov rsi, qword [r13]
test rsi, rsi
je 0x181c2
cmp rsi, r13
je 0x181c2
mov rax, qword [rsi + 8]
mov rdx, qword [rsi]
mov r14d, dword [rsi + 0xdc]
mov qword [rax], rdx
mov qword [rdx + 8], rax
cmp dword [rsi + 0x18], ebp
jl 0x17f07
cmp dword [rsi + 0xdc], ebp
jne 0x17f20
cmp byte [rcx + 0x188], bpl
je 0x17f1d
mov rcx, rsi
call fcn.0001ae20
jmp 0x181c2
mov r14d, ebp
cmp byte [rcx + 0x125], bpl
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0xa8], rax
jne 0x17fbd
movzx edx, byte [r15]
mov byte [rcx + 0x126], 1
add rcx, 0x198
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov r11d, dword [rsi + 0xd8]
mov r9d, dword [rsi + 0xdc]
mov rdx, qword [rsp + 0xa8]
lea rax, [r11 + rsi + 0xe4]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov r8d, 0xc20
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
call rdi
lea rcx, [r12 + 0x198]
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov byte [r12 + 0x126], bpl
mov byte [r15], al
jmp 0x17fc2
mov edi, 0xc000021b
cmp qword [r12 + 0x10], rbp
je 0x18183
cmp qword [r12 + 0x40], rbp
je 0x18183
cmp edi, 0xc000021b
jne 0x17fe9
mov dword [rsp + 0x90], ebp
jmp 0x1800d
test edi, edi
mov ebp, dword [rsp + 0x90]
jne 0x17fff
test ebp, ebp
jne 0x17fff
mov edi, 0xc000021b
jmp 0x1800d
cmp ebp, r14d
cmova ebp, r14d
mov dword [rsp + 0x90], ebp
mov eax, dword [rsi + 0xdc]
cmp ebp, eax
jae 0x18056
sub eax, ebp
mov dword [rsi + 0xdc], eax
mov eax, dword [rsp + 0x90]
add dword [rsi + 0xd8], eax
test edi, edi
mov rax, qword [r13]
mov qword [rsi], rax
mov qword [rsi + 8], r13
mov qword [rax + 8], rsi
mov qword [r13], rsi
jne 0x1805e
mov edi, 0xc000021b
mov byte [r12 + 0x125], 1
jmp 0x181c7
mov rcx, rsi
call fcn.0001ae20
cmp edi, 0xc000021b
jne 0x18074
mov byte [r12 + 0x125], 1
jmp 0x181c7
cmp edi, 0xc0000016
jne 0x1813e
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x181c7
mov rdx, r13
call fcn.00017be0
mov rdx, qword [rsp + 0xa0]
cmp qword [rdx + 0x38], 0
mov edi, eax
jbe 0x180e8
movzx edx, byte [r15]
lea rcx, [r12 + 0x198]
mov byte [r12 + 0x125], 0
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [r12 + 0x198]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov byte [r15], al
jmp 0x1813e
add rdx, 0xa8
lea rcx, [r12 + 0x110]
mov rax, qword [rcx + 8]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov rax, qword [rsp + 0xa0]
mov qword [rcx + 8], rdx
mov rcx, qword [rax + 0xb8]
lea rax, [0x00014ef0]
or byte [rcx + 3], 1
mov rcx, qword [rsp + 0xa0]
xchg qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 0x30], 0x103
test edi, edi
js 0x181c7
mov rcx, qword [r13]
test rcx, rcx
je 0x181c7
cmp rcx, r13
je 0x181c7
cmp byte [r12 + 0x188], 0
je 0x181c7
cmp dword [rcx + 0x18], 0
jl 0x1816e
cmp dword [rcx + 0xdc], 0
jne 0x181c7
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
mov qword [rax], rdx
mov qword [rdx + 8], rax
call fcn.0001ae20
jmp 0x181c2
mov rcx, rsi
call fcn.0001ae20
cmp edi, 0xc0000016
jne 0x181c2
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x181c2
mov dword [rax + 0x30], 0xc0000184
mov rax, qword [rsp + 0xa0]
xor edx, edx
mov qword [rax + 0x38], rbp
mov rcx, qword [rsp + 0xa0]
call fcn.0001ec10
mov edi, 0xc000020c
mov rsi, qword [rsp + 0x98]
mov r13, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret