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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6240
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
cmp dword [ebp + 8], eax
je 0x401771
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
je 0x401771
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov dword [ebp - 0x24], eax
call edi
test eax, eax
jne 0x4015c6
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp eax, esi
je 0x401580
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x401592
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x4015a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4015b2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call esi
push eax
mov dword [ebp - 0x20], eax
call edi
test eax, eax
jne 0x40161e
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp eax, esi
je 0x4015e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x4015f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x40160b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x401619
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x20]
jmp 0x4015a7
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x1c]
push eax
push 0x4b078c
push 1
push 0
push 0x4b077c
call esi
test eax, eax
jl 0x4018aa
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x4018a3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4018a3
mov edi, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push edi
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x401801
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401801
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
xor ebx, ebx
cmp esi, ebx
jl 0x401788
mov cl, byte [ebp - 0x28]
test cl, 2
je 0x401788
test cl, 4
je 0x401788
cmp edi, ebx
jl 0x401788
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov si, word [ecx]
cmp si, word [edx]
jne 0x401709
cmp si, bx
je 0x401705
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x401709
add ecx, 4
add edx, 4
cmp si, bx
jne 0x4016e3
xor ecx, ecx
jmp 0x40170e
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x401788
cmp eax, ebx
jl 0x401788
test dword [ebp - 0x30], 0x100
je 0x401788
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x401731
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x401743
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401755
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x401763
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x401771
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push esi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push esi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov edi, esi
jmp 0x4018ba
lea eax, [ebp - 0x14]
push eax
push 0x4b076c
push 1
push 0
push 0x4b075c
call esi
test eax, eax
jl 0x401897
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401897
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push edi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
test eax, eax
jl 0x4018ba
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jge 0x4018ba
mov ecx, dword [ebp + 8]
push ebx
push ecx
call section..text
jmp 0x4018b7
mov edx, dword [ebp + 8]
push ebx
push edx
call section..text
jmp 0x4018b7
mov eax, dword [ebp + 8]
push ebx
push eax
jmp 0x4018af
mov ecx, dword [ebp + 8]
push ebx
push ecx
call section..text
mov edi, dword [ebp - 0x20]
add esp, 8
mov eax, dword [ebp - 0x24]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], 0xffffffff
je 0x4018d1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, esi
je 0x4018dc
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x4018ee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x401900
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x401771
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x401771