Function at 0x140002710
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140011050]
xor rax, rsp
mov qword [rbp + 0x238], rax
movups xmm0, xmmword [0x14000be10]
mov eax, dword [0x14000be30]
mov rbx, rcx
movups xmm1, xmmword [0x14000be20]
mov dword [rbp + 0x230], eax
lea rcx, [rbp + 0xd0]
movups xmmword [rbp + 0x210], xmm0
lea rax, [rbp + 0x210]
mov rdi, rdx
movups xmm0, xmmword [0x14000be40]
mov qword [rbp - 0x60], rax
mov eax, dword [0x14000be58]
movups xmmword [rbp + 0x1f0], xmm0
mov dword [rbp + 0x208], eax
lea rax, [rbp + 0x1f0]
movsd xmm0, qword [0x14000be50]
movsd qword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x220], xmm1
mov dword [rbp - 0x68], 0x240022
mov dword [rbp - 0x58], 0x1c001a
mov qword [rbp - 0x50], rax
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x1400027fd
cmp dword [rbp + 0xd4], 6
ja 0x1400027df
jne 0x1400027fd
cmp dword [rbp + 0xd8], 2
jb 0x1400027fd
mov dword [0x14001114c], 0x200
mov dword [0x14001115c], 0x40000000
mov dword [0x140011158], 0x80000000
lea rcx, [rbp - 0x78]
call qword [sym.imp.HAL.dll_KeQueryPerformanceCounter]
mov r14d, 1
mov qword [rbp - 0x48], 0x20
lea rcx, [rbp - 0x70]
movabs rax, 0x20c49ba5e353f7cf
imul qword [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov r8, rdi
sar rdx, 7
lea rcx, [rbp - 0x48]
mov rax, rdx
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x1400143e0]
shr rax, 0x3f
add rdx, rax
cmove rdx, r14
xor esi, esi
mov qword [rbp - 0x30], rsi
mov eax, esi
or eax, r14d
mov qword [0x140011150], rdx
mov dword [rbp - 0x30], eax
xor r9d, r9d
lea rax, [0x14000af70]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rax
mov rdx, rbx
mov rax, qword [0x1400143d8]
mov rax, qword [rax + 0x3a0]
call qword [0x14000c208]
mov ebx, eax
test eax, eax
js 0x140002f4d
mov rax, qword [0x1400143d8]
lea r8, [0x14000f9a8]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0xc8]
call qword [0x14000c208]
mov qword [rsp + 0x40], rax
mov rdx, rax
test rax, rax
jne 0x1400028d6
mov ebx, 0xc000009a
jmp 0x140002f4d
mov rax, qword [0x1400143d8]
mov r8d, 0x12
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x210]
call qword [0x14000c208]
mov rax, qword [0x1400143d8]
mov r8d, 3
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x1e8]
call qword [0x14000c208]
mov rax, qword [0x1400143d8]
lea r8, [rbp - 0x68]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x218]
call qword [0x14000c208]
mov rdx, qword [rsp + 0x40]
mov ebx, eax
mov rcx, qword [0x1400143e0]
test eax, eax
jns 0x14000296c
mov rax, qword [0x1400143d8]
mov rax, qword [rax + 0x1b0]
call qword [0x14000c208]
jmp 0x140002f4d
lea rax, [0x140004910]
mov dword [rbp - 0x28], 0x28
mov qword [rbp - 0x20], rax
lea r9, [rsp + 0x50]
lea rax, [0x140004820]
mov dword [rbp - 4], 4
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x28]
lea rax, [0x1400043b0]
mov dword [rbp - 8], 2
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
mov rax, qword [0x140011018]
mov qword [rbp - 0x80], rax
lea rax, [0x140004db0]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400143d8]
mov qword [rsp + 0x54], rsi
mov dword [rsp + 0x5c], esi
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x50], 0x38
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 4
mov rax, qword [rax + 0x238]
call qword [0x14000c208]
mov rax, qword [0x1400143d8]
lea r8, [0x140004080]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x250]
call qword [0x14000c208]
mov rax, qword [0x1400143d8]
lea r9, [rsp + 0x48]
mov rcx, qword [0x1400143e0]
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x64], esi
xorps xmm1, xmm1
mov qword [rbp - 0x80], rsi
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x50], 0x38
lea rdx, [rsp + 0x40]
movdqu xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x6c], r14d
mov rax, qword [rax + 0x258]
call qword [0x14000c208]
mov ebx, eax
test eax, eax
jns 0x140002aa8
mov rax, qword [0x1400143d8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x1b0]
call qword [0x14000c208]
jmp 0x140002f4d
mov rdx, qword [rsp + 0x48]
lea rax, [0x140007d50]
xorps xmm0, xmm0
mov dword [rsp + 0x64], esi
movups xmmword [rbp], xmm0
lea rcx, [rbp + 0x60]
mov dword [rbp], 0x60
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x28], rax
lea r9, [rsp + 0x50]
mov rax, qword [0x1400143d8]
lea r8, [rbp]
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 8], 2
movups xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0xd], r14b
xorps xmm1, xmm1
mov dword [rbp + 4], 2
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x50], 0xffffffff
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
movdqu xmmword [rsp + 0x54], xmm0
mov qword [rbp - 0x80], rsi
movdqu xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x50], 0x38
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 4
mov rax, qword [rax + 0x4c0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x1400143e0]
call qword [0x14000c208]
mov ebx, eax
test eax, eax
js 0x140002f4d
mov rax, qword [0x1400143d8]
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0x280]
call qword [0x14000c208]
mov ebx, eax
test eax, eax
js 0x140002f4d
mov rax, qword [0x1400143d8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1400143e0]
mov rax, qword [rax + 0xd8]
call qword [0x14000c208]
mov edi, 0xc
lea r8, [0x140011100]
mov edx, edi
mov ecx, 2
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov ecx, 0x17
lea r8, [0x140011108]
mov edx, edi
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov ecx, 2
lea r8, [0x140011110]
mov edx, edi
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov ecx, 2
lea r8, [0x140011118]
mov edx, edi
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov ecx, 0x17
lea r8, [0x140011120]
mov edx, edi
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov ecx, 0x17
lea r8, [0x140011128]
mov edx, edi
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov ebx, eax
test eax, eax
js 0x140002f4d
xorps xmm0, xmm0
lea rdx, [rbp + 0xc0]
movups xmmword [rbp + 0xc0], xmm0
xor ecx, ecx
mov dword [rbp + 0xc0], 0x100180
mov byte [rbp + 0xc5], r14b
mov qword [rbp + 0xc8], 0x76694457
call qword [sym.imp.NDIS.SYS_NdisAllocateNetBufferListPool]
mov qword [0x140011130], rax
test rax, rax
je 0x1400028cc
lea rdx, [rbp + 0xb0]
mov dword [rbp + 0xb0], 0xc0180
xor ecx, ecx
mov qword [rbp + 0xb4], 0x76694457
call qword [sym.imp.NDIS.SYS_NdisAllocateNetBufferPool]
mov qword [0x140011138], rax
test rax, rax
je 0x1400028cc
lea rax, [0x140011140]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xffffffff
xor ecx, ecx
call sub.fwpkclnt.sys_FwpmEngineOpen0
mov ebx, eax
test eax, eax
js 0x140002f4d
mov rcx, qword [0x140011140]
xor edx, edx
call sub.fwpkclnt.sys_FwpmTransactionBegin0
mov rcx, qword [0x140011140]
mov ebx, eax
test eax, eax
js 0x140002f28
xorps xmm0, xmm0
lea rax, [0x14000be70]
movdqa xmmword [rbp + 0x90], xmm0
lea rdx, [rbp + 0x70]
movups xmm0, xmmword [0x14000c300]
mov qword [rbp + 0x80], rax
lea rax, [0x14000be90]
xorps xmm1, xmm1
mov qword [rbp + 0x88], rax
xor r8d, r8d
movaps xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0xa0], xmm1
call sub.fwpkclnt.sys_FwpmProviderAdd0
lea rcx, str.WinDivert2.2_SubLayerInboundNetworkIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerOutboundNetworkIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerInboundNetworkIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerOutboundNetworkIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerForwardNetworkIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerForwardNetworkIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerFlowEstablishedIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerFlowEstablishedIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerResourceAssignmentIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerResourceAssignmentIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerResourceReleaseIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerResourceReleaseIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthConnectIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthConnectIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerEndpointClosureIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerEndpointClosureIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthListenIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthListenIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthRecvAcceptIPv4
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
lea rcx, str.WinDivert2.2_SubLayerAuthRecvAcceptIPv6
call fcn.140007cc0
mov ebx, eax
test eax, eax
js 0x140002f3d
mov rcx, qword [0x140011140]
call sub.fwpkclnt.sys_FwpmTransactionCommit0
mov ebx, eax
test eax, eax
jns 0x140002f2f
mov rcx, qword [0x140011140]
call sub.fwpkclnt.sys_FwpmTransactionAbort0
jmp 0x140002f4d
mov rcx, qword [rsp + 0x48]
call fcn.14000a150
mov ebx, eax
jmp 0x140002f49
mov rcx, qword [0x140011140]
call sub.fwpkclnt.sys_FwpmTransactionAbort0
test ebx, ebx
jns 0x140002f52
call fcn.140004eb0
mov eax, ebx
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.14000b0f0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret