Function at 0x460b20
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8835
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
test ebx, ebx
jne 0x460b64
mov eax, 0x80070057
jmp 0x460ee4
push 1
mov ecx, ebx
call fcn.00459150
mov dword [ebx + 0xc], 0
mov eax, dword [esi]
test eax, eax
js 0x460ee4
cmp dword [esi + 4], 0
lea edi, [esi + 4]
jne 0x460ba4
push edi
push 0x4d4610
push 1
push 0
push 0x4d4600
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x460ee4
mov ecx, dword [edi]
test ecx, ecx
je 0x460bc2
cmp dword [esi + 8], 0
lea edx, [esi + 8]
jne 0x460bc2
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x48]
test eax, eax
js 0x460ee4
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x460bd3
mov eax, 0x8007054f
jmp 0x460ee4
mov dword [ebp - 0x24], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
push ecx
mov dword [ebp - 4], 0
call dword [eax + 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x24]
test esi, esi
js 0x460ed1
test eax, eax
jne 0x460c06
mov esi, 0x8007054f
jmp 0x460ed1
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4d4428
push eax
mov byte [ebp - 4], 3
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x20]
test esi, esi
js 0x460eb9
test eax, eax
jne 0x460c3a
mov esi, 0x8007054f
jmp 0x460eb9
mov eax, 0x200c
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x40], 0
push edx
mov ecx, dword [eax]
push 1
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0xc]
mov esi, eax
cmp esi, 1
je 0x460eac
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [eax]
test esi, esi
js 0x460f53
cmp word [ebp - 0x34], 9
jne 0x460f4e
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
push edx
push 0x4d45f0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx]
mov esi, eax
test esi, esi
js 0x460f29
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 0x11
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov esi, eax
test esi, esi
js 0x460f18
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460e16
push 0x4d4438
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x460e05
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
js 0x460f0a
test eax, eax
je 0x460f05
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x460d64
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x460d64
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x460d4a
push eax
call edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460d5b
push eax
call edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x1d
jmp 0x460e1a
push 0x4d88a4
push 0x10
call fcn.004a55e9
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x460f02
mov dword [ecx], ecx
lea edx, [ecx + 8]
mov dword [ecx + 4], ecx
lea esi, [ebx + 4]
xorps xmm0, xmm0
movq qword [edx], xmm0
mov dword [edx + 4], 0
cmp ecx, dword [ecx + 4]
jne 0x460dab
mov dword [ecx], esi
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], ecx
inc dword [ebx + 0xc]
lea eax, [ebp - 0x14]
cmp eax, edx
je 0x460dc3
test edx, edx
je 0x460dc3
mov ecx, dword [edx]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [ebp - 0x14], ecx
add edx, 4
lea eax, [ebp - 0x18]
cmp eax, edx
je 0x460ddd
test edx, edx
je 0x460ddd
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov dword [ebp - 0x18], eax
jmp 0x460de0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x460dee
push eax
call edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460dff
push eax
call edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x21
jmp 0x460e1a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460e16
push eax
call edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x460e2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cx, word [ebp - 0x34]
mov esi, eax
test cx, cx
je 0x460e69
cmp cx, word [ebp - 0x3c]
jne 0x460e59
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x460e63
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov word [ebp - 0x34], ax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x200c
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x40], 0
push edx
mov ecx, dword [eax]
push 1
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0xc]
mov esi, eax
cmp esi, 1
jne 0x460c80
lea ecx, [ebp - 0x3c]
call fcn.00456930
xor esi, esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x460ece
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0x23
test eax, eax
je 0x460ee2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
mov esi, 0x80070008
test eax, eax
je 0x460f18
push eax
call edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460f29
push eax
call edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x460f53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0
call fcn.00456930
jmp 0x460eb6
mov esi, 0x8007054f
lea ecx, [ebp - 0x3c]
call fcn.00456930
jmp 0x460eb6