Function at 0x6407bc60
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x640a53b0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x640ee650]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov ecx, esi
mov dword [esp + 0x18], ebx
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
cmp eax, 1
jne 0x6407bd0e
mov ebp, dword [esp + 0x64]
lea ebx, [eax + 0x28]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], eax
xor eax, eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
call sym.QtNetwork4.dll_public:_int___thiscall_QNetworkInterface::index_void_const
mov dword [esp + 0x3c], eax
jmp 0x6407be12
mov ecx, esi
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x6407be3b
mov ebp, dword [esp + 0x68]
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, esi
xor ebx, ebx
mov dword [esp + 0x28], 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push eax
call esi
mov ecx, edi
mov dword [esp + 0x1c], eax
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x6407be0e
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call sym.QtNetwork4.dll_public:_class_QList_class_QNetworkAddressEntry____thiscall_QNetworkInterface::addressEntries_void_
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], ebx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
jne 0x6407bddb
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
call fcn.6407bc30
mov ecx, eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QNetworkAddressEntry::ip_void_
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
mov byte [esp + 0x5c], bl
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407be12
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
call fcn.64060c70
jmp 0x6407be12
mov ecx, dword [esp + 0x18]
push 0xa
push 7
call fcn.640783c0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407be46
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.64060c70
jmp 0x6407be46
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x78]
push edx
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x6407be37
push 6
mov ecx, esi
jmp 0x6407be3f
mov al, 1
jmp 0x6407be48
push 7
mov ecx, ebx
push 0xa
call fcn.640783c0
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.640943f8
add esp, 0x50
ret