Function at 0x100532b0
Capabilities:
Register network filter via wfp api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov bh, byte [ebp + 8]
xor bl, bl
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x350], 0
push 0x30
push 0
mov dword [ebp - 0x34c], 0
mov eax, dword [edi]
mov dword [ebp - 0x27c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x2ac]
push eax
mov dword [ebp - 0x348], 0
mov byte [ebp - 0x274], 1
mov byte [ebp - 0x273], bh
call fcn.100a8dc0
add esp, 0xc
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
push 0xa
push 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
test eax, eax
je 0x1005334d
push eax
push str.FwpmEngineOpen0_failed:__d
call fcn.10056110
add esp, 8
jmp 0x1005377f
lea eax, [ebp - 0x350]
push eax
push 0x100f3184
push dword [ebp - 0x348]
call dword [sym.imp.fwpuclnt.dll_FwpmSubLayerGetByKey0]
test eax, eax
jne 0x100536f1
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
mov ecx, 0x10115c60
lea edx, [ebp - 0x27c]
mov esi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100536df
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10053390
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10053772
cmp eax, 0x104
je 0x10053772
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmGetAppIdFromFileName0]
test eax, eax
jne 0x10053772
push 0x98
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.100a8dc0
movups xmm0, xmmword [0x100e4930]
mov eax, dword [ebp - 0x34c]
lea edx, [ebp - 0x344]
mov ecx, dword [ebp - 0x348]
add esp, 0xc
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x26c]
movups xmm0, xmmword [0x100f3184]
push 1
push 1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xc
mov dword [ebp - 0x2f4], 1
mov dword [ebp - 0x2f0], eax
movups xmmword [ebp - 0x30c], xmm0
mov dword [ebp - 0x334], str.TunSafe_Global_Block
mov dword [ebp - 0x2fc], 1
mov byte [ebp - 0x2f8], 0xf
mov dword [ebp - 0x2ec], 0x1002
call fcn.10052ce0
add esp, 8
test al, al
je 0x1005377f
movups xmm0, xmmword [0x100e48e0]
mov ecx, dword [ebp - 0x348]
lea edx, [ebp - 0x344]
push 2
push 1
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x258], 4
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x2f8], 0xe
call fcn.10052ce0
add esp, 8
test al, al
je 0x1005377f
movups xmm0, xmmword [0x100e48f0]
mov ecx, dword [ebp - 0x348]
lea edx, [ebp - 0x344]
push 3
push 1
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x258], 3
mov dword [ebp - 0x254], 0x18
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x2f8], 0xd
call fcn.10052ce0
add esp, 8
test al, al
je 0x1005377f
test bh, bh
je 0x100535dd
mov edi, dword [sym.imp.fwpuclnt.dll_FwpmFilterAdd0]
mov esi, 0x100f6574
nop dword [eax]
mov eax, dword [esi]
movups xmm0, xmmword [0x100e48d0]
mov dword [ebp - 0x358], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x358]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x364]
push eax
push 0
lea eax, [ebp - 0x344]
mov dword [ebp - 0x2f4], 1
movups xmmword [ebp - 0x26c], xmm0
push eax
movups xmm0, xmmword [0x100e48b0]
mov dword [ebp - 0x258], 0x100
push dword [ebp - 0x348]
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x2f8], 0xc
movups xmmword [ebp - 0x31c], xmm0
call edi
test eax, eax
jne 0x1005375b
add esi, 8
cmp esi, 0x100f658c
jl 0x10053550
movups xmm0, xmmword [0x100e4910]
mov ecx, dword [ebp - 0x348]
lea edx, [ebp - 0x344]
mov eax, 0x44
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x234], xmm0
mov word [ebp - 0x21c], ax
mov eax, 0x43
movups xmm0, xmmword [0x100e4920]
push 5
push 1
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x220], 2
movups xmm0, xmmword [0x100e4900]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 2
mov word [ebp - 0x238], ax
mov dword [ebp - 0x2f4], 3
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x258], 1
mov byte [ebp - 0x254], 0x11
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x2f8], 0xc
call fcn.10052ce0
add esp, 8
test al, al
je 0x1005377f
mov ecx, dword [ebp - 0x348]
lea edx, [ebp - 0x344]
push 6
push 1
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2ec], 0x1001
call fcn.10052ce0
add esp, 8
test al, al
je 0x1005377f
movups xmm0, xmmword [ebp - 0x27c]
mov bl, 1
jmp 0x10053782
mov ecx, dword [ebp - 0x348]
xor dl, dl
call fcn.100530e0
jmp 0x100533a5
xorps xmm0, xmm0
mov eax, 0x101
movq qword [ebp - 0x284], xmm0
movups xmmword [ebp - 0x2a4], xmm0
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x2a8]
push 0
movups xmmword [ebp - 0x294], xmm0
push eax
movups xmm0, xmmword [0x100f3184]
mov dword [ebp - 0x298], str.TunSafe_Global_Block
push dword [ebp - 0x348]
movups xmmword [ebp - 0x2a8], xmm0
call dword [sym.imp.fwpuclnt.dll_FwpmSubLayerAdd0]
test eax, eax
je 0x100533a5
push eax
push str.FwpmSubLayerAdd0_failed:__d
call fcn.10056110
add esp, 8
jmp 0x1005377f
push eax
push str.ipv4
push 4
push str.FwpmFilterAdd0__d_failed___s_:__d
call fcn.10056110
add esp, 0x10
jmp 0x1005377f
push str.GetFwpmAppIdFromCurrentProcess_failed
call fcn.10056110
add esp, 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x348]
movups xmmword [0x10115c60], xmm0
test eax, eax
je 0x100537b7
test bl, bl
jne 0x100537a6
mov dl, 1
mov ecx, eax
call fcn.100530e0
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
mov dword [ebp - 0x348], 0
cmp dword [ebp - 0x34c], 0
je 0x100537cd
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100908e7
mov esp, ebp
pop ebp
ret