Function at 0x46c770
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
push 0xffffffffffffffff
push 0x4ec909
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebp, ebp
push 2
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov bl, byte [esp + 0x40]
mov dword [esp + 0x24], eax
cmp eax, 0x80010106
je 0x46c7d1
cmp eax, ebp
jl 0x46c983
lea eax, [esp + 0x1c]
push eax
push 0x510e54
push 1
push ebp
push 0x510e44
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x46c983
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebp
jl 0x46c983
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebp
jl 0x46c983
mov eax, dword [esp + 0x20]
test al, 4
je 0x46c837
cmp eax, 4
je 0x46c837
xor eax, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
push 0x5119ec
push 1
push ebp
push 0x5119dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x46c983
push 0xffffffffffffffff
push esi
call fcn.00402c30
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
push 0xffffffffffffffff
push esi
call fcn.00402c30
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov ecx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ecx
call fcn.00402c30
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x28]
push ecx
call eax
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push ecx
call fcn.00402c30
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
movzx edx, byte [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
neg edx
sbb edx, edx
and edx, 0xfffffff5
add edx, 0x11
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
push 0xffffffffffffffff
push edi
call fcn.00402c30
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x48]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
xor edx, edx
test bl, bl
sete dl
inc edx
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
push ecx
call fcn.00402c30
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x90]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push bind
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebp
jge 0x46c9df
cmp dword [0x103a97c], 0x222
jne 0x46c9cd
lea ecx, [esp + 0x28]
push ecx
call fcn.00491540
mov dword [esp + 0x38], ebp
mov edx, dword [eax]
movzx ecx, byte [esp + 0x40]
push edx
push esi
push edi
movzx eax, bl
push eax
push ecx
push str.Fire7___d__d____s____s__Err:_s
push 8
call fcn.0043d500
add esp, 0x20
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x46c9f6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x46c9f6
mov eax, dword [esp + 0x14]
or dword [0x103a360], 0x20
cmp eax, ebp
je 0x46c9f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x46ca06
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x46ca16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x24], ebp
jl 0x46ca22
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