Function at 0x402090
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push edi
xor edi, edi
push 2
push edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, edi
je 0x4020cf
cmp ebx, 1
je 0x4020cf
cmp ebx, 0x80010106
jne 0x4022d4
push esi
push 0x104
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x234]
push ecx
call esi
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x402279
push str.Windows_Explorer
call esi
mov ebx, eax
cmp ebx, edi
je 0x402263
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea edx, [ebp - 0x24]
push edx
push 0x40b2a4
push 0x4401
push edi
push 0x40b294
mov dword [ebp - 0x24], edi
call esi
test eax, eax
jne 0x402237
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x402237
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x14], eax
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x402263
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x402263
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jne 0x402263
or edi, 0xffffffff
cmp word [ebp - 0x1c], di
jne 0x402261
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jne 0x402261
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 0x10]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x80070002
jne 0x40223c
lea ecx, [ebp - 0x2c]
push ecx
push 0x40b2c4
push 0x4401
push 0
push 0x40b2b4
mov dword [ebp - 0x2c], 0
call esi
test eax, eax
jne 0x4021ec
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4021ee
xor eax, eax
mov dword [ebp - 4], eax
test eax, eax
je 0x402261
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x402261
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jne 0x402261
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 0
push eax
call edx
test eax, eax
jne 0x402261
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
jmp 0x402261
mov dword [ebp - 0x14], edi
jmp 0x402263
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
jne 0x402261
cmp word [ebp - 0x20], di
je 0x402261
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push edi
push eax
call edx
xor edi, edi
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
cmp ebx, edi
je 0x402276
push ebx
call esi
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
pop esi
cmp eax, edi
je 0x402289
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x402298
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4022a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x4022b6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4022c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, edi
je 0x4022ce
cmp ebx, 1
jne 0x4022d4
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret