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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465418
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4821a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x41635f
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040fc60
push str.COM_initialization_failed
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x416358
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41634e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4168f0
push edx
push ecx
call fcn.0042a2aa
add esp, 8
xor al, al
jmp 0x4168d4
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x24]
push eax
push 0x477dfc
push 1
push 0
push 0x477dec
mov dword [ebp - 0x24], 0
call ebx
test eax, eax
jns 0x41643e
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
mov dword [ebp - 4], 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040fc60
push str.Failed_to_create_INetFwPolicy2_instance
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x416431
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4168f5
push edx
push ecx
call fcn.0042a2aa
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x4168d4
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
test eax, eax
jns 0x416520
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
mov dword [ebp - 4], 6
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040fc60
push str.Failed_to_get_INetFwRules
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41650a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4168fa
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x4168d4
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
mov eax, esi
jb 0x416539
mov eax, dword [esi]
lea ebx, [ebp - 0x28]
push ebx
push eax
push ecx
call edx
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x416696
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x416696
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push ecx
call dword [eax + 0x84]
cmp word [ebp - 0x18], 0xffff
jne 0x41668d
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x416589
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4165b6
test dx, dx
je 0x4165b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4165b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x416590
xor eax, eax
jmp 0x4165bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41666e
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040a900
push ecx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.0040d9c0
add esp, 4
push str.Rule_already_exists_with_the_same_application_path._No_action_taken.
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x416648
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41663e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4168ff
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4168d2
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
mov eax, esi
jb 0x416680
mov eax, dword [esi]
push eax
push ecx
call edx
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x477ddc
push 1
push 0
push 0x477dcc
call ebx
test eax, eax
jns 0x41674d
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.0040a830
push str.Failed_to_create_newRule_instance
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41673f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416735
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416904
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x41650a
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
jb 0x41675a
mov esi, dword [esi]
push esi
push ecx
call dword [eax + 0x20]
cmp dword [edi + 0x14], 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
jb 0x41676c
mov edi, dword [edi]
push edi
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x1c]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push ecx
mov eax, dword [ecx]
call dword [eax + 0x88]
mov ecx, dword [ebp - 0x1c]
push 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x416832
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.0040a830
push str.Failed_to_add_outRule
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040fba0
lea ecx, [ebp - 0x5c]
call fcn.0040ef80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x416832
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416828
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416909
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x26
push str.COperatingSystemUtils::addFirlwallRule
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a900
push ecx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
call fcn.0040d9c0
add esp, 4
push str.Rule_added_successfully
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0040fba0
lea ecx, [ebp - 0x78]
call fcn.0040ef80
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4168d2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4168c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41690e
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a299
mov esp, ebp
pop ebp
ret
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
int3