Function at 0x5ce740
Capabilities:
Access firewall settings via inetfwmgr
Query service status

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601d1e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
sub esp, 0x1c
mov dword [ebp - 4], 0
movups xmm0, xmmword [0x6eda04]
mov eax, esp
lea ecx, [ebp - 0x40]
movups xmmword [eax], xmm0
call fcn.00403460
test eax, eax
je 0x5ce7e6
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x5ce7e6
cmp word [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0x4d], dl
jmp 0x5ce939
call fcn.005d8790
comisd xmm0, xmmword [0x6edab0]
push SysReAllocString
push 0
mov eax, str.SharedAccess
mov edi, str.MpsSvc
push 0
cmovbe edi, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x5ce868
push SysReAllocString
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x5ce831
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x5ce868
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x5ce85c
cmp dword [ebp - 0x38], 4
je 0x5ce85c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
xor dl, dl
mov byte [ebp - 0x4d], dl
jmp 0x5ce939
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
push 0x6ed880
push 1
push 0
push 0x6ed734
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5ce895
xor dl, dl
mov byte [ebp - 0x4d], dl
jmp 0x5ce925
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x5ce8b8
xor dl, dl
mov byte [ebp - 0x4d], dl
jmp 0x5ce911
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x5ce8f8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x5ce8f8
cmp word [ebp - 0x20], 0
setne dl
jmp 0x5ce8fa
xor dl, dl
mov byte [ebp - 0x4d], dl
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x5ce911
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dl, byte [ebp - 0x4d]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x5ce925
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dl, byte [ebp - 0x4d]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5ce939
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dl, byte [ebp - 0x4d]
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x5ce952
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [ebp - 0x4d]
jmp 0x5ce954
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret