Function at 0x24d88
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x00065e68]
mov r13, qword [rdx + 0xb8]
mov rbp, qword [rdx + 0x18]
mov r15d, dword [r13 + 0x20]
mov qword [rsp + 0x98], rax
mov al, byte [rdx + 0x43]
xor r14d, r14d
xor esi, esi
cmp al, 1
mov r12, r8
mov rdi, rdx
jg 0x24def
inc al
mov rcx, r8
mov byte [rdx + 0x43], al
lea rax, [r13 + 0x48]
mov qword [rdx + 0xb8], rax
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x24fcb
lea rcx, [r13 - 0x48]
mov rdx, r13
mov r8d, 0x38
call fcn.000283d0
xor ebx, ebx
mov byte [r13 - 0x45], sil
cmp rbp, rbx
je 0x24fac
cmp r15d, 0x1c
jbe 0x24fac
cmp byte [rbp + 5], 0x10
jne 0x24f5e
lea rcx, [rbp + 8]
lea r8d, [rbx + 0x10]
lea rdx, [0x000288d0]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x10
jne 0x24f5e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x30], 1
lea ecx, [rbx + 3]
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov rbp, rax
cmp rax, rbx
je 0x24fac
lea edx, [rbx + 0x60]
xor ecx, ecx
mov r8d, 0x51725061
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, rbx
je 0x24fac
mov r14, qword [rsp + 0x90]
mov qword [rax], rbp
mov qword [rax + 0x18], r12
mov qword [rax + 0x10], r14
mov rax, qword [r13 + 0x30]
mov qword [rsi + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea rcx, [rsi + 0x40]
xor r8d, r8d
xor edx, edx
mov qword [rsi + 0x28], rbx
mov qword [rsi + 8], rax
mov qword [rsi + 0x30], rbx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov byte [rsp + 0x30], 1
lea r8, [0x00024ac8]
mov r9, rsi
mov rdx, rdi
mov rcx, r14
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_IoSetCompletionRoutineEx]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
and qword [rsp + 0x20], rbx
lea rcx, [rsi + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ebx, dword [rdi + 0x30]
test ebx, ebx
jns 0x24f31
xor edx, edx
mov rcx, rbp
mov dword [rbp + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x24f44
mov rcx, qword [rsp + 0x98]
mov r8, rsi
mov rdx, r12
call fcn.00024aec
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
jmp 0x24fcb
cmp byte [rbp + 5], 0x11
jne 0x24fac
lea rcx, [rbp + 8]
lea rdx, [0x000288f0]
mov r8d, 0x11
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x11
jne 0x24fac
mov rcx, qword [rsp + 0x90]
mov byte [rsp + 0x30], bl
lea r8, [0x00024cf0]
xor r9d, r9d
mov rdx, rdi
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_IoSetCompletionRoutineEx]
mov r14d, eax
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp rsi, rbx
je 0x24fc8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, r14d
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret