Function at 0x12d20
Capabilities:
Complete processing asynchronous io request

Disassembly:
push 0x3c
push 0x1e908
call 0x1d6c8
mov eax, dword [ebp + 0x10]
lea ebx, [eax + 4]
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x44], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edi
call dword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp eax, 0xa
jb 0x12ff1
push ebx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x12ff1
cmp ebx, edi
je 0x12ff1
mov esi, dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x12ff4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x12ff4
mov dword [ebp - 4], edi
test byte [eax + 6], 5
je 0x12da5
mov eax, dword [eax + 0xc]
jmp 0x12db3
push 0x10
push edi
push edi
push 1
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebx]
cmp eax, ecx
jb 0x12dc4
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xfffffffe
push dword [ebp - 0x30]
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x12ff4
mov ebx, dword [ebp - 0x30]
cmp ebx, edi
je 0x12ff4
cmp byte [section..data], 0
jne 0x12dfc
cmp byte [0x224c6], 1
je 0x12e0d
push dword [ebp - 0x2c]
push ebx
call fcn.00015418
cmp al, 1
jne 0x12ff4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
push ebx
call fcn.000154e6
cmp dword [ebp - 0x28], edi
jne 0x12e40
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
push ebx
call fcn.00017018
cmp dword [ebp - 0x28], edi
je 0x12eec
cmp dword [ebp - 0x24], edi
jbe 0x12eec
xor ebx, ebx
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x38]
push eax
call fcn.00012798
mov eax, dword [ebp + 0x10]
push dword [eax + 0x18]
call fcn.00012952
cmp eax, edi
jne 0x12e79
push dword [ebp - 0x38]
call fcn.000127b6
jmp 0x12ff4
mov ecx, dword [eax + 8]
mov dword [ebp + 0x10], ecx
cmp dword [eax + 0xc], edi
je 0x12e90
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x38]
call fcn.000127b6
cmp ebx, edi
je 0x12ec7
cmp dword [ebp + 0xc], edi
je 0x12ec7
cmp dword [ebp + 0x10], edi
je 0x12ec7
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x24]
push 0x620
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call ebx
mov dword [ebp + 0xc], eax
push edi
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call ebx
cmp dword [ebp + 0xc], edi
jl 0x12ef2
mov dword [esi + 0x18], edi
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x13009
mov ebx, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00015512
cmp dword [ebp - 0x1c], edi
je 0x12f35
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.00016398
test eax, eax
je 0x12f61
push edi
push dword [ebp - 0x1c]
call ebx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
jmp 0x12f61
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00016398
test eax, eax
jne 0x12f61
cmp dword [ebp - 0x1c], edi
je 0x12ff4
push edi
push dword [ebp - 0x1c]
call ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x1c], edi
je 0x12ff4
cmp dword [ebp - 0x20], edi
je 0x12ff4
push edi
push edi
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov dword [ebp + 0xc], eax
cmp eax, edi
jne 0x12f91
push edi
push dword [ebp - 0x1c]
call ebx
jmp 0x12ff4
push eax
call dword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
mov eax, dword [esi + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
push esi
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
call fcn.00012caa
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], edi
mov dword [esi + 0x1c], edi
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoFreeMdl]
push 0
push dword [ebp - 0x1c]
call ebx
mov edi, dword [esi + 0x18]
jmp 0x12edb
mov esi, dword [ebp + 0xc]
inc byte [esi + 0x23]
add dword [esi + 0x60], 0x24
mov edx, esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
call 0x1d70d
ret 0xc