Function at 0x12a5c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13, qword [rdx + 0xb8]
mov al, byte [rdx + 0x43]
mov rbp, qword [rdx + 0x18]
mov r15d, dword [r13 + 0x20]
xor r14d, r14d
xor esi, esi
cmp al, 1
mov r12, r8
mov rdi, rdx
jg 0x12abb
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 0x12c95
lea rcx, [r13 - 0x48]
mov rdx, r13
mov r8d, 0x38
call fcn.000550e0
xor ebx, ebx
mov byte [r13 - 0x45], sil
cmp rbp, rbx
je 0x12c73
cmp r15d, 0x1c
jbe 0x12c73
cmp byte [rbp + 5], 0x10
jne 0x12c25
lea rcx, [rbp + 8]
lea r8d, [rbx + 0x10]
lea rdx, [0x000557c0]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x10
jne 0x12c25
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 0x12c73
lea edx, [rbx + 0x60]
xor ecx, ecx
mov r8d, 0x35323232
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, rbx
je 0x12c73
mov r14, qword [rsp + 0x80]
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, [0x000127d4]
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 0x12bfd
xor edx, edx
mov rcx, rbp
mov dword [rbp + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x12c08
mov rdx, rsi
mov rcx, r12
call fcn.000127f8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov edx, 0x51725061
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
jmp 0x12c95
cmp byte [rbp + 5], 0x11
jne 0x12c73
lea rcx, [rbp + 8]
lea rdx, [0x000557e0]
mov r8d, 0x11
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x11
jne 0x12c73
mov rcx, qword [rsp + 0x80]
mov byte [rsp + 0x30], bl
lea r8, [0x000129dc]
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 0x12c92
mov edx, 0x51725061
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, r14d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret