Function at 0x189bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13b, byte [rsp + 0xa0]
mov r12d, dword [r9 + 0x18]
xor ebx, ebx
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov r15, rcx
cmp r13b, bl
jne 0x189fb
add r12d, dword [rdx + 0x2c]
lea rax, [r8 + 0x110]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov ecx, dword [rsi + 0xa4]
mov edx, 0xc8000
cmp ecx, edx
ja 0x18c1a
mov eax, dword [rsi + 0xa0]
cmp eax, edx
ja 0x18c1a
cmp r13b, bl
je 0x18a41
add eax, r12d
mov dword [rsi + 0xa0], eax
jmp 0x18a4b
lea eax, [rcx + r12]
mov dword [rsi + 0xa4], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov ecx, r12d
call fcn.00012178
mov rdi, rax
cmp rax, rbx
je 0x18be4
cmp r13b, bl
jne 0x18a81
mov edx, dword [rbp + 0x2c]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.NDIS.SYS_NdisRetreatNetBufferDataStart]
mov r8, qword [rdi + 0x58]
mov r9d, 1
mov edx, r12d
mov rcx, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.NDIS.SYS_NdisGetDataBuffer]
cmp rax, rbx
je 0x18ab4
mov rcx, qword [rdi + 0x58]
cmp rax, rcx
je 0x18ab4
mov r8d, r12d
mov rdx, rax
call fcn.0001a200
cmp r13b, bl
jne 0x18acb
mov edx, dword [rbp + 0x2c]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.NDIS.SYS_NdisAdvanceNetBufferDataStart]
mov dword [rdi + 0x60], r12d
cmp r13b, bl
je 0x18b19
bt dword [rbp], 0x10
jae 0x18b19
mov edx, dword [rbp + 0x88]
xor ecx, ecx
mov r8d, 0x44554c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rdi + 0x50], rax
cmp rax, rbx
je 0x18b19
mov r8d, dword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov rcx, rax
call fcn.0001a200
mov r11d, dword [rbp + 0x88]
mov dword [rdi + 0x44], r11d
mov eax, dword [rbp + 0x50]
mov dword [rdi + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rdi + 0x48], eax
mov rax, qword [rbp + 0x70]
mov qword [rdi + 0x30], rax
mov eax, dword [rbp + 0x78]
mov dword [rdi + 0x38], eax
cmp word [r15], 0x18
jne 0x18b79
mov eax, 2
mov r9d, 0xff00
mov word [rdi + 0x10], ax
mov rcx, qword [r15 + 8]
mov edx, dword [rcx + 0x28]
mov r8d, edx
mov eax, edx
shr edx, 8
shl r8d, 0x10
and eax, r9d
and edx, r9d
or r8d, eax
movzx eax, byte [rcx + 0x2b]
shl r8d, 8
or r8d, eax
or r8d, edx
mov dword [rdi + 0x14], r8d
jmp 0x18b93
mov eax, 0x17
mov word [rdi + 0x10], ax
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x28]
movdqu xmm0, xmmword [rcx]
movdqu xmmword [rdi + 0x18], xmm0
mov rax, qword [r15 + 8]
mov r9, rdi
mov r8, rsi
movzx ecx, byte [rax + 0x58]
movzx eax, byte [rax + 0x59]
shl cx, 8
or cx, ax
mov word [rdi + 0x12], cx
mov rax, qword [r15 + 8]
mov ecx, dword [rax + 0x78]
mov dword [rdi + 0x3c], ecx
mov rax, qword [r15 + 8]
mov ecx, dword [rax + 0x88]
mov al, r13b
neg al
mov dword [rdi + 0x40], ecx
mov rcx, qword [rsi + 0x10]
sbb edx, edx
neg edx
add edx, 0xa
call fcn.00012be4
cmp eax, ebx
jl 0x18be4
mov bl, 1
jmp 0x18c16
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x110]
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp r13b, bl
je 0x18c04
sub dword [rsi + 0xa0], r12d
jmp 0x18c0b
sub dword [rsi + 0xa4], r12d
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov al, bl
jmp 0x18c27
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret