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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.005b4350
mov eax, dword [0x6a1da0]
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 0x57d898
mov eax, 0x80004001
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af263
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 0x57d8df
push str.SysAllocString_failed_n
call fcn.00589da0
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 0x57d919
push str.SysAllocString_failed_n
call fcn.00589da0
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 0x57d953
push str.SysAllocString_failed_n
call fcn.00589da0
add esp, 4
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x3008], 0
push eax
push ecx
mov ecx, ebx
call fcn.0057d770
mov esi, eax
test esi, esi
jns 0x57d995
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.0058a180
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af263
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x3010], 0
je 0x57d9b3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af263
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x3008]
push eax
push 0x67455c
push 1
push 0
push 0x67454c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x57d9ea
push edi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
call fcn.0058a180
mov esi, dword [ebp - 0x3014]
jmp 0x57da85
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 0x57da88
push edi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.0058a180
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 0x57dab1
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.005af263
mov esp, ebp
pop ebp
ret 0xc