Function at 0x557c00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x12c]
sub esp, 0x17c
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], 0x114
mov dword [esp], ebx
mov dword [ebp - 0x154], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
sub esp, 4
cmp dword [ebp - 0x128], 5
jbe 0x558041
lea eax, [ebp - 0x138]
mov dword [esp + 8], 0xa
mov dword [ebp - 0x15c], eax
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [method.QString.number_int__int_]
lea esi, [ebp - 0x150]
mov dword [esp + 8], 0x2a
mov edi, dword [method.QString.fromUtf8_helper_char_const__int_]
mov dword [ebp - 0x16c], esi
mov dword [esp + 4], str.netsh_advfirewall_firewall_add_rule_name_
mov dword [esp], esi
call edi
mov eax, dword [ebp + 8]
mov ecx, esi
mov esi, dword [method.QString.append_QString_const_]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x150]
sub esp, 4
mov dword [ebp - 0x14c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x5585c0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x70246b
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x14c]
mov dword [esp], ebx
mov dword [ebp - 0x168], eax
mov ecx, eax
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x558023
cmp edx, 0xffffffff
je 0x557d08
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x558023
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x148], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558600
mov dword [esp + 8], 0x1e
mov dword [esp + 4], str._dirin_actionallow_protocol
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x148]
mov dword [esp], ebx
mov dword [ebp - 0x160], eax
mov ecx, eax
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x558530
cmp edx, 0xffffffff
je 0x557d72
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x558530
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x144], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x5585f0
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x144]
mov dword [ebp - 0x170], eax
mov dword [esp], ecx
mov ecx, eax
call esi
mov edx, dword [ebp - 0x144]
sub esp, 4
mov dword [ebp - 0x13c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x5585e0
mov dword [esp + 8], 0xb
mov dword [esp + 4], str._localport
mov dword [esp], ebx
call edi
lea edi, [ebp - 0x13c]
mov dword [esp], ebx
mov ecx, edi
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x558510
cmp edx, 0xffffffff
je 0x557e09
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x558510
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x5585d0
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x164], eax
mov dword [esp], ecx
mov ecx, eax
call esi
mov eax, dword [ebp - 0x164]
sub esp, 4
lea esi, [ebp - 0x154]
mov ecx, esi
mov dword [esp], eax
call dword [method.QString.operator_QString_const_]
mov eax, dword [ebp - 0x140]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x5584f0
cmp edx, 0xffffffff
je 0x557e7e
lock sub dword [eax], 1
mov eax, dword [ebp - 0x140]
je 0x5584f0
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
test edx, edx
je 0x5584d0
cmp edx, 0xffffffff
je 0x557ea3
lock sub dword [eax], 1
mov eax, dword [ebp - 0x13c]
je 0x5584d0
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
test edx, edx
je 0x5584b0
cmp edx, 0xffffffff
je 0x557ec8
lock sub dword [eax], 1
mov eax, dword [ebp - 0x144]
je 0x5584b0
mov eax, dword [ebp - 0x148]
mov edx, dword [eax]
test edx, edx
je 0x558490
cmp edx, 0xffffffff
je 0x557eed
lock sub dword [eax], 1
mov eax, dword [ebp - 0x148]
je 0x558490
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax]
test edx, edx
je 0x558470
cmp edx, 0xffffffff
je 0x557f12
lock sub dword [eax], 1
mov eax, dword [ebp - 0x14c]
je 0x558470
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
test edx, edx
je 0x558450
cmp edx, 0xffffffff
je 0x557f37
lock sub dword [eax], 1
mov eax, dword [ebp - 0x150]
je 0x558450
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
test edx, edx
je 0x558430
cmp edx, 0xffffffff
je 0x557f60
lock sub dword [eax], 1
mov eax, dword [ebp - 0x138]
je 0x558430
lea esi, [esi]
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x5585b0
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.004fac60
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax]
test edx, edx
je 0x558591
cmp edx, 0xffffffff
je 0x557fc4
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x558591
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x134]
mov ecx, dword [edx]
test eax, eax
sete bl
test ecx, ecx
je 0x558573
cmp ecx, 0xffffffff
je 0x557ff4
lock sub dword [edx], 1
mov edx, dword [ebp - 0x130]
je 0x558573
mov edx, dword [ebp - 0x154]
mov ecx, dword [edx]
test ecx, ecx
je 0x558550
cmp ecx, 0xffffffff
je 0x558019
lock sub dword [edx], 1
mov edx, dword [ebp - 0x154]
je 0x558550
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557d08
lea eax, [ebp - 0x148]
mov dword [esp + 8], 0xa
mov dword [ebp - 0x160], eax
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [method.QString.number_int__int_]
lea esi, [ebp - 0x150]
mov dword [esp + 8], 0x1f
mov edi, dword [method.QString.fromUtf8_helper_char_const__int_]
mov dword [ebp - 0x16c], esi
mov dword [esp + 4], str.netsh_firewall_add_portopening
mov dword [esp], esi
call edi
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov esi, dword [method.QString.append_QString_const_]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x150]
sub esp, 4
mov dword [ebp - 0x14c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558650
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7024bc
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x14c]
mov dword [esp], ebx
mov dword [ebp - 0x168], eax
mov ecx, eax
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x558100
cmp edx, 0xffffffff
je 0x558119
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x558119
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x144], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558640
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x144]
mov dword [ebp - 0x170], eax
mov dword [esp], ecx
mov ecx, eax
call esi
mov edx, dword [ebp - 0x144]
sub esp, 4
mov dword [ebp - 0x140], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558630
mov dword [esp + 8], 2
mov dword [esp + 4], 0x7024be
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x140]
mov dword [esp], ebx
mov dword [ebp - 0x164], eax
mov ecx, eax
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x5581b1
cmp edx, 0xffffffff
je 0x5581ca
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x5581ca
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x138], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558620
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x15c], eax
mov dword [esp], ecx
mov ecx, eax
call esi
mov edx, dword [ebp - 0x138]
sub esp, 4
mov dword [ebp - 0x13c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x558610
mov dword [esp + 8], 1
mov dword [esp + 4], 0x70246b
mov dword [esp], ebx
call edi
lea edi, [ebp - 0x13c]
mov dword [esp], ebx
mov ecx, edi
call esi
mov eax, dword [ebp - 0x12c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x558260
cmp edx, 0xffffffff
je 0x558279
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x558279
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esi, [ebp - 0x154]
mov dword [esp], edi
mov ecx, esi
call dword [method.QString.operator_QString_const_]
mov eax, dword [ebp - 0x13c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x5582b0
cmp edx, 0xffffffff
je 0x5582c9
lock sub dword [eax], 1
mov eax, dword [ebp - 0x13c]
jne 0x5582c9
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
test edx, edx
je 0x5582f0
cmp edx, 0xffffffff
je 0x558309
lock sub dword [eax], 1
mov eax, dword [ebp - 0x138]
jne 0x558309
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x140]
mov edx, dword [eax]
test edx, edx
je 0x558330
cmp edx, 0xffffffff
je 0x558349
lock sub dword [eax], 1
mov eax, dword [ebp - 0x140]
jne 0x558349
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
test edx, edx
je 0x558370
cmp edx, 0xffffffff
je 0x558389
lock sub dword [eax], 1
mov eax, dword [ebp - 0x144]
jne 0x558389
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax]
test edx, edx
je 0x5583b0
cmp edx, 0xffffffff
je 0x5583c9
lock sub dword [eax], 1
mov eax, dword [ebp - 0x14c]
jne 0x5583c9
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
test edx, edx
je 0x5583f0
cmp edx, 0xffffffff
je 0x558409
lock sub dword [eax], 1
mov eax, dword [ebp - 0x150]
jne 0x558409
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x148]
mov edx, dword [eax]
test edx, edx
je 0x558430
cmp edx, 0xffffffff
je 0x557f60
lock sub dword [eax], 1
mov eax, dword [ebp - 0x148]
jne 0x557f60
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557f60
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557f37
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557f12
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557eed
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557ec8
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557ea3
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557e7e
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557e09
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557d72
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557ff4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x557fc4
lock add dword [edx], 1
jmp 0x557f85
lock add dword [edx], 1
jmp 0x557cb8
lock add dword [edx], 1
jmp 0x557e23
lock add dword [edx], 1
jmp 0x557dbf
lock add dword [edx], 1
jmp 0x557d8c
lock add dword [edx], 1
jmp 0x557d22
lock add dword [edx], 1
jmp 0x558217
lock add dword [edx], 1
jmp 0x5581e4
lock add dword [edx], 1
jmp 0x558169
lock add dword [edx], 1
jmp 0x558133
lock add dword [edx], 1
jmp 0x5580b6