Function at 0x53cd40
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 0x53d181
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 0x53d700
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6b67cb
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 0x53d163
cmp edx, 0xffffffff
je 0x53ce48
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x53d163
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x148], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x53d740
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 0x53d670
cmp edx, 0xffffffff
je 0x53ceb2
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x53d670
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x144], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x53d730
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 0x53d720
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 0x53d650
cmp edx, 0xffffffff
je 0x53cf49
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x53d650
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x53d710
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 0x53d630
cmp edx, 0xffffffff
je 0x53cfbe
lock sub dword [eax], 1
mov eax, dword [ebp - 0x140]
je 0x53d630
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
test edx, edx
je 0x53d610
cmp edx, 0xffffffff
je 0x53cfe3
lock sub dword [eax], 1
mov eax, dword [ebp - 0x13c]
je 0x53d610
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
test edx, edx
je 0x53d5f0
cmp edx, 0xffffffff
je 0x53d008
lock sub dword [eax], 1
mov eax, dword [ebp - 0x144]
je 0x53d5f0
mov eax, dword [ebp - 0x148]
mov edx, dword [eax]
test edx, edx
je 0x53d5d0
cmp edx, 0xffffffff
je 0x53d02d
lock sub dword [eax], 1
mov eax, dword [ebp - 0x148]
je 0x53d5d0
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax]
test edx, edx
je 0x53d5b0
cmp edx, 0xffffffff
je 0x53d052
lock sub dword [eax], 1
mov eax, dword [ebp - 0x14c]
je 0x53d5b0
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
test edx, edx
je 0x53d590
cmp edx, 0xffffffff
je 0x53d077
lock sub dword [eax], 1
mov eax, dword [ebp - 0x150]
je 0x53d590
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
test edx, edx
je 0x53d570
cmp edx, 0xffffffff
je 0x53d0a0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x138]
je 0x53d570
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 0x53d6f0
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00501650
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax]
test edx, edx
je 0x53d6d1
cmp edx, 0xffffffff
je 0x53d104
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
je 0x53d6d1
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x134]
mov ecx, dword [edx]
test eax, eax
sete bl
test ecx, ecx
je 0x53d6b3
cmp ecx, 0xffffffff
je 0x53d134
lock sub dword [edx], 1
mov edx, dword [ebp - 0x130]
je 0x53d6b3
mov edx, dword [ebp - 0x154]
mov ecx, dword [edx]
test ecx, ecx
je 0x53d690
cmp ecx, 0xffffffff
je 0x53d159
lock sub dword [edx], 1
mov edx, dword [ebp - 0x154]
je 0x53d690
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 0x53ce48
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 0x53d790
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6b681c
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 0x53d240
cmp edx, 0xffffffff
je 0x53d259
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x53d259
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 0x53d780
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 0x53d770
mov dword [esp + 8], 2
mov dword [esp + 4], 0x6b681e
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 0x53d2f1
cmp edx, 0xffffffff
je 0x53d30a
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x53d30a
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 0x53d760
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 0x53d750
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6b67cb
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 0x53d3a0
cmp edx, 0xffffffff
je 0x53d3b9
lock sub dword [eax], 1
mov eax, dword [ebp - 0x12c]
jne 0x53d3b9
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 0x53d3f0
cmp edx, 0xffffffff
je 0x53d409
lock sub dword [eax], 1
mov eax, dword [ebp - 0x13c]
jne 0x53d409
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 0x53d430
cmp edx, 0xffffffff
je 0x53d449
lock sub dword [eax], 1
mov eax, dword [ebp - 0x138]
jne 0x53d449
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 0x53d470
cmp edx, 0xffffffff
je 0x53d489
lock sub dword [eax], 1
mov eax, dword [ebp - 0x140]
jne 0x53d489
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 0x53d4b0
cmp edx, 0xffffffff
je 0x53d4c9
lock sub dword [eax], 1
mov eax, dword [ebp - 0x144]
jne 0x53d4c9
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 0x53d4f0
cmp edx, 0xffffffff
je 0x53d509
lock sub dword [eax], 1
mov eax, dword [ebp - 0x14c]
jne 0x53d509
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 0x53d530
cmp edx, 0xffffffff
je 0x53d549
lock sub dword [eax], 1
mov eax, dword [ebp - 0x150]
jne 0x53d549
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 0x53d570
cmp edx, 0xffffffff
je 0x53d0a0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x148]
jne 0x53d0a0
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 0x53d0a0
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 0x53d077
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 0x53d052
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 0x53d02d
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 0x53d008
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 0x53cfe3
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 0x53cfbe
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 0x53cf49
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 0x53ceb2
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 0x53d134
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 0x53d104
lock add dword [edx], 1
jmp 0x53d0c5
lock add dword [edx], 1
jmp 0x53cdf8
lock add dword [edx], 1
jmp 0x53cf63
lock add dword [edx], 1
jmp 0x53ceff
lock add dword [edx], 1
jmp 0x53cecc
lock add dword [edx], 1
jmp 0x53ce62
lock add dword [edx], 1
jmp 0x53d357
lock add dword [edx], 1
jmp 0x53d324
lock add dword [edx], 1
jmp 0x53d2a9
lock add dword [edx], 1
jmp 0x53d273
lock add dword [edx], 1
jmp 0x53d1f6