Function at 0x12b2c
Capabilities:
Copy network traffic

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [edi + 0xb4]
mov dword [ebp - 8], ebx
xor esi, esi
mov byte [ebp - 1], bl
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
test byte [edi + 0x18], 4
mov byte [ebp + 0xb], al
jne 0x12d5a
cmp dword [ebp + 0xc], 3
lea eax, [edi + 0x84]
je 0x12b6f
lea eax, [edi + 0x8c]
cmp dword [eax], eax
je 0x12d5a
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
jne 0x12bb9
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x187e0]
sub edx, dword [ecx]
mov eax, dword [0x187e4]
sbb eax, dword [ecx + 4]
cmp eax, ebx
ja 0x12da9
jb 0x12bad
cmp edx, 0x10
jae 0x12da9
mov dword [ebp - 8], 0xc0000017
jmp 0x12d5a
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
jne 0x12c62
cmp eax, 0x2000
ja 0x12c35
mov ecx, dword [0x187e0]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0x10]
sub ecx, dword [ebx]
lea edx, [eax + 0x10]
mov eax, dword [0x187e4]
sbb eax, dword [ebx + 4]
mov dword [ebp - 0x14], edx
cmp eax, dword [ebp - 0x10]
ja 0x12bf2
jb 0x12bad
cmp ecx, edx
jb 0x12bad
mov eax, dword [ebx]
add eax, dword [0x187d8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 0x24]
add eax, 0x10
push eax
lea eax, [esi + 8]
push eax
call sub.fwpkclnt.sys_FwpsCopyStreamDataToBuffer0
mov eax, dword [ebp - 0x14]
add dword [ebx], eax
push 0
pop eax
adc dword [ebx + 4], eax
jmp 0x12d5a
cmp ecx, ebx
jne 0x12c62
push 0x44544c46
push eax
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esi + 0x2c], eax
cmp eax, ebx
je 0x12b87
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 0x24]
push eax
lea eax, [esi + 8]
push eax
call sub.fwpkclnt.sys_FwpsCopyStreamDataToBuffer0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x24]
mov ebx, dword [esi + 0x34]
xor edx, edx
sub ecx, eax
sbb edx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
jne 0x12c84
cmp ecx, 0x2000
jbe 0x12c95
and dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x2000
mov ecx, dword [ebp - 0x1c]
test edx, edx
ja 0x12ca1
test ecx, ecx
jbe 0x12d5a
mov ebx, dword [ebp + 0x10]
mov eax, ecx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x187e0]
adc edx, 0
sub eax, dword [ebx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], eax
mov eax, dword [0x187e4]
sbb eax, dword [ebx + 4]
cmp eax, edx
ja 0x12cda
jb 0x12bad
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x24], eax
jb 0x12bad
mov eax, dword [ebx]
add eax, dword [0x187d8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
push ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x2c]
add ecx, dword [ebp - 0x2c]
add eax, 0x10
push ecx
push eax
call sub.ntoskrnl.exe_memcpy
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
adc dword [esi + 0x34], eax
mov eax, dword [ebp - 0x14]
add dword [ebx], eax
mov eax, dword [ebp - 0x10]
adc dword [ebx + 4], eax
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
xor ecx, ecx
cmp edx, ecx
ja 0x12d5a
jb 0x12d36
mov ecx, dword [esi + 0x30]
cmp ecx, eax
jae 0x12d5a
cmp dword [ebp + 0xc], 3
lea eax, [edi + 0x84]
je 0x12d48
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
xor esi, esi
mov byte [ebp - 1], 1
mov dl, byte [ebp + 0xb]
mov ebx, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea ecx, [edi + 0xb4]
mov dword [ebp + 0x10], ecx
call ebx
test esi, esi
je 0x12e2c
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp dword [ebp - 8], 0
jl 0x12e03
cmp dword [ebp + 0xc], 3
mov byte [ebp + 0xb], al
mov eax, dword [esi + 0x24]
lea edx, [edi + 0x94]
je 0x12d9d
lea edx, [edi + 0x98]
mov ecx, dword [edx]
cmp ecx, eax
jb 0x12dcd
sub ecx, eax
mov dword [edx], ecx
jmp 0x12dd0
mov eax, dword [ecx]
add eax, dword [0x187d8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
add dword [ecx], 0x10
adc dword [ecx + 4], ebx
jmp 0x12d5a
and dword [edx], 0
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp + 0x10]
call ebx
push esi
call fcn.0001158a
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [edi + 0xa4]
cmp byte [ecx], 0
je 0x12e23
cmp dword [edi + 0x98], 0xa000
jae 0x12e23
mov byte [ecx], 0
jmp 0x12e23
cmp dword [ebp + 0xc], 3
jne 0x12e11
add edi, 0x84
jmp 0x12e17
add edi, 0x8c
mov ecx, dword [edi]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [ecx + 4], esi
mov dword [edi], esi
mov ecx, dword [ebp + 0x10]
mov dl, al
call ebx
jmp 0x12e43
cmp byte [ebp - 1], 0
je 0x12e43
push 0
push edi
push dword [ebp + 0xc]
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.000123dc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc