Function at 0x401d50
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0xffffffffffffffff
push 0x459990
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472bd0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, 6
push ebx
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401e03
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401dcc
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401dcc
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x40209f
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401de8
or eax, 4
push ebp
push eax
call fcn.00401490
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea edx, [esp + 0x1c]
push edx
push 0x465240
push 1
push ebp
push 0x465230
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401e8d
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401e65
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401e65
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x402099
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401e81
or eax, 4
push ebp
push eax
call fcn.00401490
jmp 0x402099
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
push ecx
push eax
call edx
cmp eax, ebp
jge 0x401f18
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401ee8
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401ee8
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401f07
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401f00
or eax, 4
push ebp
push eax
call fcn.00401490
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x402099
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x3c]
cmp dword [ebp + 0x18], 0x10
jb 0x401f2e
mov eax, dword [ebp + 4]
add ebp, 4
jmp 0x401f33
add ebp, 4
mov eax, ebp
push eax
lea ebx, [esp + 0x28]
call fcn.004015e0
mov dword [esp + 0x34], 0
mov eax, dword [eax]
test eax, eax
je 0x401f4f
mov ecx, dword [eax]
jmp 0x401f51
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x20]
push esi
push ecx
push eax
mov eax, dword [edx + 0x28]
call eax
lea edi, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00401670
test esi, esi
jl 0x402014
cmp dword [esp + 0x20], 0
je 0x402014
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x18], 0x10
jb 0x401f98
mov eax, dword [ebp]
jmp 0x401f9a
mov eax, ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.004015e0
mov dword [esp + 0x34], 1
mov eax, dword [eax]
test eax, eax
je 0x401fb6
mov eax, dword [eax]
jmp 0x401fb8
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00401670
push 0x464d7b
test esi, esi
jl 0x401ff2
push ecx
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00403ec0
add esp, 8
push eax
jmp 0x401ff7
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
call fcn.00402bd0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x402081
push 0x464d7b
push ecx
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00403ec0
add esp, 8
push eax
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x402060
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x402060
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x402081
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x402079
or eax, 4
push 0
push eax
call fcn.00401490
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret