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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
call esi
push str.QQBrowser_Firewall
mov dword [ebp - 0x10], eax
call esi
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
call esi
push 2
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x24], eax
cmp eax, 0x80010106
je 0x100231df
cmp eax, ebx
jge 0x100231df
push eax
push str.CoInitializeEx_failed:_0x_08lx_n
jmp 0x10023236
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x18]
push eax
push 0x1007ab84
push 1
push ebx
push 0x1007ab74
call esi
test eax, eax
jl 0x10023349
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jge 0x10023219
push eax
push str.get_Rules_failed:_0x_08lx_n
jmp 0x10023236
lea eax, [ebp - 4]
push eax
push 0x1007aba4
push 1
push ebx
push 0x1007ab94
call esi
cmp eax, ebx
jge 0x10023242
push eax
push str.CoCreateInstance_for_Firewall_Rule_failed:_0x_08lx_n
call fcn.1004f2ef
pop ecx
pop ecx
jmp 0x10023349
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x10]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 4]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edi, 0x100
push edi
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov esi, SysReAllocString
push esi
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x88]
cmp dword [ebp + 0x10], ebx
jne 0x10023336
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x10]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jne 0x10023328
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jne 0x10023328
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100232fe
cmp dx, bx
je 0x100232fa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100232fe
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100232d8
xor eax, eax
jmp 0x10023303
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10023328
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x98]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x40]
cmp esi, ebx
jne 0x10023328
cmp eax, ebx
je 0x10023348
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
jmp 0x10023348
cmp dword [ebp + 0x10], 1
jne 0x10023348
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
pop edi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x1002336b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10023378
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10023385
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x24], ebx
pop esi
pop ebx
jl 0x10023392
call dword [sym.imp.ole32.dll_CoUninitialize]
leave
ret