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

Disassembly:
push 0xffffffffffffffff
push 0x4599c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, 6
push ebx
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401973
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x40193c
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40193c
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401d36
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401958
or eax, 4
push ebp
push eax
call fcn.00401490
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea edx, [esp + 0x20]
push edx
push 0x465240
push 1
push ebp
push 0x465230
mov dword [esp + 0x34], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4019fd
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x4019d5
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4019d5
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401d30
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x4019f1
or eax, 4
push ebp
push eax
call fcn.00401490
jmp 0x401d30
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
push ecx
push eax
call edx
cmp eax, ebp
jge 0x401a88
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401a58
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401a58
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401a77
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401a70
or eax, 4
push ebp
push eax
call fcn.00401490
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401d30
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0x10
jb 0x401a9e
mov eax, dword [ebp + 4]
add ebp, 4
jmp 0x401aa3
add ebp, 4
mov eax, ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.004015e0
mov dword [esp + 0x38], 0
mov eax, dword [eax]
test eax, eax
je 0x401abf
mov ecx, dword [eax]
jmp 0x401ac1
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x24]
push esi
push ecx
push eax
mov eax, dword [edx + 0x28]
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00401670
test esi, esi
jl 0x401b7a
cmp dword [esp + 0x24], 0
je 0x401b7a
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x18], 0x10
jb 0x401b08
mov eax, dword [ebp]
jmp 0x401b0a
mov eax, ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.004015e0
mov dword [esp + 0x38], 1
mov eax, dword [eax]
test eax, eax
je 0x401b26
mov eax, dword [eax]
jmp 0x401b28
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00401670
test esi, esi
jge 0x401b6e
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
call fcn.00402bd0
mov eax, dword [esp + 0x24]
jmp 0x401d10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x18]
push eax
push 0x465260
push 1
push 0
push 0x465250
mov dword [esp + 0x2c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401c14
push 0x464d7b
push 0x4770c0
call fcn.00403c90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402bf0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x401be2
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401be2
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401c03
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x401bfb
or eax, 4
push 0
push eax
call fcn.00401490
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401d24
mov esi, dword [esp + 0x40]
cmp dword [esi + 0x18], 0x10
jb 0x401c23
mov eax, dword [ebp]
jmp 0x401c25
mov eax, ebp
push eax
lea ebx, [esp + 0x30]
call fcn.004015e0
mov dword [esp + 0x38], 2
mov eax, dword [eax]
test eax, eax
je 0x401c41
mov ecx, dword [eax]
jmp 0x401c43
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401670
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
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
test eax, eax
jge 0x401cb5
push 0x464d7b
push 0x4770c0
jmp 0x401cfd
push str.Created_Successfully_
push ecx
push esi
call fcn.00403ec0
add esp, 8
push eax
call fcn.00403c90
add esp, 8
mov esi, eax
call fcn.00402bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
push 0x464d7b
test eax, eax
jl 0x401cae
mov eax, dword [esp + 0x44]
push ecx
push eax
call fcn.00403ec0
add esp, 8
push eax
call fcn.00403c90
add esp, 8
mov esi, eax
call fcn.00402bd0
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
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret