Function at 0x49d460
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8e07
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d8
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6e4], edx
mov dword [ebp - 0x6e8], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x580], 0
movups xmmword [ebp - 0x590], xmm0
mov dword [ebp - 0x57c], 0xf
mov byte [ebp - 0x590], 0
lea ecx, [ebp - 0x6b0]
mov dword [ebp - 4], 0
call fcn.00469d60
cmp dword [ebp - 0x6ac], 6
lea eax, [ebp - 0x2e8]
push 0x2d0
push 0
push eax
jb 0x49d827
mov ecx, 0x22
lea edi, [ebp - 0x378]
mov esi, str.netsh_advfirewall_firewall_delete_rule_name__s__dirin_program__s_
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x23
movsw word es:[edi], word [esi]
mov esi, str.netsh_advfirewall_firewall_delete_rule_name__s__dirout_program__s_
lea edi, [ebp - 0x408]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x2d
lea edi, [ebp - 0x4c0]
mov esi, str.netsh_advfirewall_firewall_add_rule_name__s__dirin_program__s__actionallow_profileany
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x2e
movsw word es:[edi], word [esi]
mov esi, str.netsh_advfirewall_firewall_add_rule_name__s__dirout_program__s__actionallow_profileany
lea edi, [ebp - 0x578]
rep movsd dword es:[edi], dword [esi]
call fcn.00546d20
mov esi, dword [ebp - 0x6e8]
lea eax, [ebp - 0x378]
mov edi, dword [ebp - 0x6e4]
add esp, 0xc
push esi
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004a1b20
add esp, 0x10
mov dword [ebp - 0x6d0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6cc], 7
xor eax, eax
movups xmmword [ebp - 0x6e0], xmm0
mov word [ebp - 0x6e0], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e8]
movups xmmword [ebp - 0x6c8], xmm0
mov dword [ebp - 0x6b8], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x6b4], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d5c0
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c8]
call fcn.004060e0
push 1
lea eax, [ebp - 0x6e0]
push eax
push ecx
push 0
lea edx, [ebp - 0x6c8]
call fcn.0049d380
add esp, 0x10
lea ecx, [ebp - 0x6c8]
call fcn.00405d20
lea ecx, [ebp - 0x6e0]
call fcn.00405d20
push 0x168
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x408]
push esi
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004a1b20
add esp, 0x10
mov dword [ebp - 0x6b8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6b4], 7
xor eax, eax
movups xmmword [ebp - 0x6c8], xmm0
mov word [ebp - 0x6c8], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e8]
movups xmmword [ebp - 0x6e0], xmm0
mov dword [ebp - 0x6d0], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x6cc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d687
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6e0]
call fcn.004060e0
push 1
lea eax, [ebp - 0x6c8]
push eax
push ecx
push 0
lea edx, [ebp - 0x6e0]
call fcn.0049d380
add esp, 0x10
lea ecx, [ebp - 0x6e0]
call fcn.00405d20
lea ecx, [ebp - 0x6c8]
call fcn.00405d20
push 0x168
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x4c0]
push esi
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004a1b20
add esp, 0x10
mov dword [ebp - 0x6b8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6b4], 7
xor eax, eax
movups xmmword [ebp - 0x6c8], xmm0
mov word [ebp - 0x6c8], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
movups xmmword [ebp - 0x6e0], xmm0
mov dword [ebp - 0x6d0], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x6cc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d750
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6e0]
call fcn.004060e0
push 1
lea eax, [ebp - 0x6c8]
push eax
push ecx
push 0
lea edx, [ebp - 0x6e0]
call fcn.0049d380
add esp, 0x10
lea ecx, [ebp - 0x6e0]
call fcn.00405d20
lea ecx, [ebp - 0x6c8]
call fcn.00405d20
push 0x168
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x578]
push esi
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004a1b20
add esp, 0x10
mov dword [ebp - 0x6b8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6b4], 7
xor eax, eax
movups xmmword [ebp - 0x6c8], xmm0
mov word [ebp - 0x6c8], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e8]
movups xmmword [ebp - 0x6e0], xmm0
mov dword [ebp - 0x6d0], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x6cc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d817
jmp 0x49d8cb
mov ecx, 0x19
lea edi, [ebp - 0x358]
mov esi, str.netsh_firewall_add_allowedprogram___s____s__ENABLE
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x358]
push dword [ebp - 0x6e4]
push dword [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004a1b20
add esp, 0x10
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xorps xmm0, xmm0
mov dword [ebp - 0x6b8], 0
xor eax, eax
mov dword [ebp - 0x6b4], 7
movups xmmword [ebp - 0x6c8], xmm0
mov word [ebp - 0x6c8], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e8]
movups xmmword [ebp - 0x6e0], xmm0
mov dword [ebp - 0x6d0], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x6cc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d8c0
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6e0]
call fcn.004060e0
push 1
lea eax, [ebp - 0x6c8]
push eax
push ecx
push 0
lea edx, [ebp - 0x6e0]
call fcn.0049d380
add esp, 0x10
lea ecx, [ebp - 0x6e0]
call fcn.00405d20
lea ecx, [ebp - 0x6c8]
call fcn.00405d20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret