Function at 0x4d5140
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db005
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x63d284]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
push 0x61c380
push 0x17
push 0
push 0x61c3d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x54]
js 0x4d5433
test eax, eax
je 0x4d5433
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
mov eax, dword [ebp - 0x50]
js 0x4d541e
test eax, eax
je 0x4d541e
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4d5409
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [ebp - 0x48]
js 0x4d53f4
test eax, eax
je 0x4d53f4
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
mov dword [ebp - 0x64], ecx
cmp ebx, ecx
je 0x4d53ed
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [eax]
push ebx
lea ecx, [ebp - 0x40]
call fcn.004d55c0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x4d525b
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d525b
xor esi, esi
mov dword [ebp - 0x5c], esi
jmp 0x4d526f
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4d5469
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
push edx
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
js 0x4d52b9
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4d52b9
mov dword [ebp - 0x58], 0
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
xor eax, eax
cmp ax, word [ebp - 0x58]
jne 0x4d5342
mov eax, dword [ebp - 0x44]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4d5342
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x61c390
push 0x17
push 0
push 0x61c3c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4d5342
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4d5342
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
jb 0x4d5307
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4d5307
xor edi, edi
mov dword [ebp - 0x58], edi
jmp 0x4d531e
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x58], edi
test edi, edi
je 0x4d5469
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x20]
mov byte [ebp - 4], 6
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov eax, dword [ebp - 0x48]
push dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push esi
call edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4d5356
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d5394
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d538a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5464
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x4d53de
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d53d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5464
push edx
push ecx
call fcn.0056c61e
add esp, 8
add ebx, 0x30
cmp ebx, dword [ebp - 0x64]
jne 0x4d5230
mov eax, dword [ebp - 0x48]
mov esi, 1
jmp 0x4d53f6
xor esi, esi
mov byte [ebp - 4], 2
test eax, eax
je 0x4d5404
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
jmp 0x4d540b
xor esi, esi
mov byte [ebp - 4], 1
test eax, eax
je 0x4d5419
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x50]
jmp 0x4d5420
xor esi, esi
mov byte [ebp - 4], 0
test eax, eax
je 0x4d542e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
jmp 0x4d5435
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4d5446
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
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.0056cd75
mov esp, ebp
pop ebp
ret
call fcn.0057da80
push 0x8007000e
call fcn.0040c3c1
int3