Function at 0x40e3b0
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451040
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x60], 0
je 0x40e6da
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x45a680
push 1
push 0
push 0x45a6b8
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40e6da
mov eax, dword [esi + 8]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x40e6d1
cmp dword [ebp - 0x10], 0
je 0x40e6d1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40e43e
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cbf0
mov dword [ebp - 4], 0
mov edx, dword [eax]
test edx, edx
je 0x40e458
mov edx, dword [edx]
jmp 0x40e45a
xor edx, edx
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40e4b8
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x40e4b8
test esi, esi
je 0x40e4b8
mov eax, dword [esi]
test eax, eax
je 0x40e496
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e4ad
push eax
call fcn.0041210e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004120fb
add esp, 8
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x40e4c3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cbf0
mov dword [ebp - 4], 1
mov edx, dword [eax]
test edx, edx
je 0x40e4dd
mov edx, dword [edx]
jmp 0x40e4df
xor edx, edx
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40e53a
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x40e53a
test esi, esi
je 0x40e53a
mov eax, dword [esi]
test eax, eax
je 0x40e518
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e52f
push eax
call fcn.0041210e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004120fb
add esp, 8
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
jb 0x40e545
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cbf0
mov dword [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
je 0x40e55f
mov edx, dword [edx]
jmp 0x40e561
xor edx, edx
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40e5bf
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x40e5bf
test esi, esi
je 0x40e5bf
mov eax, dword [esi]
test eax, eax
je 0x40e59d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e5b4
push eax
call fcn.0041210e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004120fb
add esp, 8
cmp dword [edi + 0x5c], 8
lea eax, [edi + 0x48]
jb 0x40e5ca
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040cbf0
mov dword [ebp - 4], 3
mov edx, dword [eax]
test edx, edx
je 0x40e5e4
mov edx, dword [edx]
jmp 0x40e5e6
xor edx, edx
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40e646
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40e63f
test esi, esi
je 0x40e63f
mov eax, dword [esi]
test eax, eax
je 0x40e61d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e634
push eax
call fcn.0041210e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004120fb
add esp, 8
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push dword [edi + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp + 8]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp + 8]
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, dword [ebp + 8]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4