Function at 0x57dea0
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.005c4dc0
mov eax, dword [0x6cdf60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x300c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3010], eax
cmp dword [ebx + 4], 0
jne 0x57dee8
mov eax, 0x80004001
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x3004]
push edi
push 0x800
push eax
push 0xffffffffffffffff
push str.WarZ_Siam_MMO__Survivor_Stories
push 1
push 0
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x3004]
push eax
call edi
mov dword [ebp - 0x3014], eax
test eax, eax
jne 0x57df2f
push str.SysAllocString_failed_n
call fcn.00599b80
add esp, 4
push 0x800
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x300c]
push 1
push 0
call esi
lea eax, [ebp - 0x2004]
push eax
call edi
mov dword [ebp - 0x3018], eax
test eax, eax
jne 0x57df69
push str.SysAllocString_failed_n
call fcn.00599b80
add esp, 4
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x3010]
push 1
push 0
call esi
lea eax, [ebp - 0x1004]
push eax
call edi
mov dword [ebp - 0x300c], eax
test eax, eax
jne 0x57dfa3
push str.SysAllocString_failed_n
call fcn.00599b80
add esp, 4
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x3008], 0
push eax
push ecx
mov ecx, ebx
call fcn.0057ddc0
mov esi, eax
test esi, esi
jns 0x57dfe5
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.00599f60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x3010], 0
je 0x57e003
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x3008]
push eax
push 0x68f7cc
push 1
push 0
push 0x68f7bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x57e03a
push edi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
call fcn.00599f60
mov esi, dword [ebp - 0x3014]
jmp 0x57e0d5
mov eax, dword [ebp - 0x3008]
mov esi, dword [ebp - 0x3014]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x3008]
push dword [ebp - 0x300c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x3008]
push dword [ebp - 0x3018]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x3008]
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x3008]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x3008]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x3008]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebx + 4]
push dword [ebp - 0x3008]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jns 0x57e0d8
push edi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.00599f60
add esp, 8
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x3018]
call esi
push dword [ebp - 0x300c]
call esi
mov ecx, dword [ebp - 0x3008]
test ecx, ecx
je 0x57e101
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf536
mov esp, ebp
pop ebp
ret 0xc