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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601d7a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x70f200]
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 ebx, edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 0x604c40
push 1
push 0
push 0x6eda04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x5cec98
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x5cea0a
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x5cec98
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x18]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x5cec98
cmp word [ebp - 0x18], 0
je 0x5cec98
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x5cea4e
xor bl, bl
jmp 0x5cec85
mov dword [ebp - 0x1c], 0
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00401a90
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x5cea70
mov edx, dword [eax]
jmp 0x5cea72
xor edx, edx
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x1c]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x34]
or edi, 0xffffffff
shr ebx, 0x1f
xor bl, 1
mov dword [ebp - 0x38], ebx
test esi, esi
je 0x5ceadc
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x5ceadc
test esi, esi
je 0x5ceadc
mov eax, dword [esi]
test eax, eax
je 0x5ceaba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5cead1
push eax
call fcn.0041e1c3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041e7c1
add esp, 8
test bl, bl
jne 0x5ceb84
lea eax, [ebp - 0x1c]
push eax
push 0x604c30
push 1
push 0
push 0x6ed9c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x5cec72
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00401a90
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
test eax, eax
je 0x5ceb1d
mov edx, dword [eax]
jmp 0x5ceb1f
xor edx, edx
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x28]
shr ebx, 0x1f
test esi, esi
je 0x5ceb7c
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x5ceb7c
test esi, esi
je 0x5ceb7c
mov eax, dword [esi]
test eax, eax
je 0x5ceb5a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5ceb71
push eax
call fcn.0041e1c3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041e7c1
add esp, 8
test bl, bl
jne 0x5cec72
mov eax, dword [ebp - 0x1c]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
js 0x5cec72
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00401a90
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
test eax, eax
je 0x5cebbf
mov edx, dword [eax]
jmp 0x5cebc1
xor edx, edx
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x2c]
shr ebx, 0x1f
test esi, esi
je 0x5cec1c
lock xadd dword [esi + 8], edi
dec edi
jne 0x5cec1c
test esi, esi
je 0x5cec1c
mov eax, dword [esi]
test eax, eax
je 0x5cebfa
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5cec11
push eax
call fcn.0041e1c3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041e7c1
add esp, 8
test bl, bl
jne 0x5cec72
mov eax, dword [ebp - 0x1c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
test eax, eax
js 0x5cec72
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x5cec72
mov eax, dword [ebp - 0x1c]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
js 0x5cec72
cmp byte [ebp - 0x38], bl
je 0x5cec5c
mov bl, 1
jmp 0x5cec74
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
jmp 0x5cec74
xor bl, bl
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5cec85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5cec9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5cec9a
xor bl, bl
mov dword [ebp - 4], 0x23
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5cecae
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
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.0041e1b5
mov esp, ebp
pop ebp
ret 0x14