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

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 r13b, byte [rsp + 0xa0]
mov r12d, dword [r9 + 0x18]
xor esi, esi
mov r14, r9
mov rdi, r8
mov rbp, rdx
cmp r13b, sil
jne 0x1b6ac
add r12d, dword [rdx + 0x2c]
lea rax, [r8 + 0x360]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov ecx, dword [rdi + 0xa4]
mov edx, 0x800000
cmp ecx, edx
ja 0x1b90b
mov eax, dword [rdi + 0xa0]
cmp eax, edx
ja 0x1b90b
cmp r13b, sil
je 0x1b6f2
add eax, r12d
mov dword [rdi + 0xa0], eax
jmp 0x1b6fc
lea eax, [rcx + r12]
mov dword [rdi + 0xa4], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov ecx, r12d
call fcn.00012740
mov rbx, rax
cmp rax, rsi
je 0x1b8d4
mov dword [rax + 0x78], r12d
mov eax, dword [rbp + 0x50]
mov dword [rbx + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbx + 0x48], eax
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x30], rax
bt dword [rbp], 0x11
jae 0x1b740
mov eax, dword [rbp + 0x78]
mov dword [rbx + 0x38], eax
mov rax, qword [rdi + 0x3e]
mov qword [rbx + 0x4c], rax
mov rax, qword [rdi + 0x46]
mov qword [rbx + 0x54], rax
mov rax, qword [rdi + 0x4e]
mov qword [rbx + 0x5c], rax
mov eax, dword [rdi + 0x56]
mov dword [rbx + 0x64], eax
cmp r13b, sil
je 0x1b7a8
bt dword [rbp], 0x10
jae 0x1b7a8
mov edx, dword [rbp + 0x88]
xor ecx, ecx
mov r8d, 0x44554c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx + 0x68], rax
cmp rax, rsi
je 0x1b7a8
mov r8d, dword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov rcx, rax
call fcn.0001dae0
mov r11d, dword [rbp + 0x88]
mov dword [rbx + 0x44], r11d
mov r15b, 1
cmp r13b, sil
jne 0x1b7c2
mov edx, dword [rbp + 0x2c]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.NDIS.SYS_NdisRetreatNetBufferDataStart]
mov r8, qword [rbx + 0x70]
mov r9d, 1
mov edx, r12d
mov rcx, r14
mov dword [rsp + 0x20], esi
call qword [sym.imp.NDIS.SYS_NdisGetDataBuffer]
cmp rax, rsi
je 0x1b7f7
mov rcx, qword [rbx + 0x70]
cmp rax, rcx
je 0x1b7fa
mov r8d, r12d
mov rdx, rax
call fcn.0001dae0
jmp 0x1b7fa
mov r15b, sil
cmp r13b, sil
jne 0x1b811
mov edx, dword [rbp + 0x2c]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.NDIS.SYS_NdisAdvanceNetBufferDataStart]
cmp r15b, sil
je 0x1b8d4
mov r9, qword [rsp + 0x80]
cmp word [r9], 0x18
jne 0x1b868
mov eax, 2
mov r10d, 0xff00
mov word [rbx + 0x10], ax
mov rcx, qword [r9 + 8]
mov edx, dword [rcx + 0x28]
mov r8d, edx
mov eax, edx
shr edx, 8
shl r8d, 0x10
and eax, r10d
and edx, r10d
or r8d, eax
movzx eax, byte [rcx + 0x2b]
shl r8d, 8
or r8d, eax
or r8d, edx
mov dword [rbx + 0x14], r8d
jmp 0x1b882
mov eax, 0x17
mov word [rbx + 0x10], ax
mov rax, qword [r9 + 8]
mov rcx, qword [rax + 0x28]
movdqu xmm0, xmmword [rcx]
movdqu xmmword [rbx + 0x18], xmm0
mov rax, qword [r9 + 8]
mov r8, rdi
movzx ecx, byte [rax + 0x58]
movzx eax, byte [rax + 0x59]
shl cx, 8
or cx, ax
mov word [rbx + 0x12], cx
mov rax, qword [r9 + 8]
mov ecx, dword [rax + 0x78]
mov dword [rbx + 0x3c], ecx
mov rax, qword [r9 + 8]
mov r9, rbx
mov ecx, dword [rax + 0x88]
mov al, r13b
neg al
mov dword [rbx + 0x40], ecx
mov rcx, qword [rdi + 0x10]
sbb edx, edx
neg edx
add edx, 0xa
call fcn.00014778
cmp eax, esi
jl 0x1b8d4
mov sil, 1
jmp 0x1b906
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x360]
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp r13b, sil
je 0x1b8f4
sub dword [rdi + 0xa0], r12d
jmp 0x1b8fb
sub dword [rdi + 0xa4], r12d
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov al, sil
jmp 0x1b918
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor al, al
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