Function at 0x406a90
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push 0xffffffffffffffff
push 0x44d6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4628d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.004108c4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406ae9
push 0x80004005
call fcn.004037e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb8]
sub eax, 0x10
push eax
mov dword [esp + 0x40], ebx
call fcn.00403ba0
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x44]
mov byte [esp + 0x3c], 1
cmp edx, ebx
jne 0x406b27
xor eax, eax
jmp 0x406b3f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406b30
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00403830
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ecx, [esp + 0x2c]
push ecx
push 0x45117c
push 1
push ebx
push 0x45116c
call edi
cmp eax, ebx
jne 0x406cf3
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x406cf3
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
cmp eax, ebx
jne 0x406ce7
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x406ce7
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jne 0x406cdb
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x406cdb
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp word [esp + 0x14], bx
je 0x406be2
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp eax, ebx
jne 0x406ccf
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x406ccf
mov esi, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00405030
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esi + 0x28]
push edx
call eax
cmp eax, ebx
jne 0x406c37
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x406cc3
jmp 0x406cbb
lea eax, [esp + 0x18]
push eax
push 0x45115c
push 1
push ebx
push 0x45114c
mov dword [esp + 0x2c], ebx
call edi
cmp eax, ebx
jne 0x406cc3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x406cc3
mov esi, dword [eax]
lea ecx, [esp + 0x24]
call fcn.00405030
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x28]
push eax
push ecx
call edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
lea ecx, [esp + 0x30]
call fcn.00405030
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
push eax
push ecx
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push ebx
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4