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

Disassembly:
push 0xffffffffffffffff
push 0x458ad8
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 0x401823
push 0x464dc3
push 0x4770c0
call fcn.00403b50
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402ab0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x4017ec
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4017ec
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401be6
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401808
or eax, 4
push ebp
push eax
call fcn.00401430
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 0x4651a0
push 1
push ebp
push 0x465190
mov dword [esp + 0x34], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4018ad
push 0x464dc3
push 0x4770c0
call fcn.00403b50
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402ab0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401885
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401885
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401be0
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x4018a1
or eax, 4
push ebp
push eax
call fcn.00401430
jmp 0x401be0
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 0x401938
push 0x464dc3
push 0x4770c0
call fcn.00403b50
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402ab0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], bl
jne 0x401908
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401908
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebp
je 0x401927
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebp
jne 0x401920
or eax, 4
push ebp
push eax
call fcn.00401430
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401be0
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0x10
jb 0x40194e
mov eax, dword [ebp + 4]
add ebp, 4
jmp 0x401953
add ebp, 4
mov eax, ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.004015d0
mov dword [esp + 0x38], 0
mov eax, dword [eax]
test eax, eax
je 0x40196f
mov ecx, dword [eax]
jmp 0x401971
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.00401660
test esi, esi
jl 0x401a2a
cmp dword [esp + 0x24], 0
je 0x401a2a
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x18], 0x10
jb 0x4019b8
mov eax, dword [ebp]
jmp 0x4019ba
mov eax, ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.004015d0
mov dword [esp + 0x38], 1
mov eax, dword [eax]
test eax, eax
je 0x4019d6
mov eax, dword [eax]
jmp 0x4019d8
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.00401660
test esi, esi
jge 0x401a1e
push 0x464dc3
push 0x4770c0
call fcn.00403b50
add esp, 8
mov esi, eax
call fcn.00402a90
mov eax, dword [esp + 0x24]
jmp 0x401bc0
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 0x4651c0
push 1
push 0
push 0x4651b0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401ac4
push 0x464dc3
push 0x4770c0
call fcn.00403b50
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402ab0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x401a92
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401a92
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401ab3
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x401aab
or eax, 4
push 0
push eax
call fcn.00401430
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401bd4
mov esi, dword [esp + 0x40]
cmp dword [esi + 0x18], 0x10
jb 0x401ad3
mov eax, dword [ebp]
jmp 0x401ad5
mov eax, ebp
push eax
lea ebx, [esp + 0x30]
call fcn.004015d0
mov dword [esp + 0x38], 2
mov eax, dword [eax]
test eax, eax
je 0x401af1
mov ecx, dword [eax]
jmp 0x401af3
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.00401660
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 0x401b65
push 0x464dc3
push 0x4770c0
jmp 0x401bad
push str.Created_Successfully_
push ecx
push esi
call fcn.00403d80
add esp, 8
push eax
call fcn.00403b50
add esp, 8
mov esi, eax
call fcn.00402a90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
push 0x464dc3
test eax, eax
jl 0x401b5e
mov eax, dword [esp + 0x44]
push ecx
push eax
call fcn.00403d80
add esp, 8
push eax
call fcn.00403b50
add esp, 8
mov esi, eax
call fcn.00402a90
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