Function at 0x64077900
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x6408fc00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov ecx, edi
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
mov ecx, edi
cmp eax, 1
jne 0x6407799f
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0x29
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], 0x14
push eax
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
movdqu xmm0, xmmword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
movdqu xmmword [esp + 0x3c], xmm0
call sym.QtNetwork4.dll_public:_int___thiscall_QNetworkInterface::index_void_const
mov dword [esp + 0x4c], eax
jmp 0x64077ab1
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x64077ad7
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x6c]
mov ecx, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 8
movq qword [esp + 0xc], xmm0
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0xc], eax
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x64077aa9
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_class_QList_class_QNetworkAddressEntry____thiscall_QNetworkInterface::addressEntries_void_
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
jne 0x64077a79
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.640778d0
mov ecx, eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QNetworkAddressEntry::ip_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call dword [sym.imp.WS2_32.dll_htonl]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov byte [esp + 0x5c], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64077ab1
push dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.6405f0a0
jmp 0x64077ab1
push 0xa
push 7
mov ecx, esi
call fcn.640766e0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64077ae2
push dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.6405f0a0
jmp 0x64077ae2
mov dword [esp + 0x10], 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push dword [esp + 0x70]
push dword [esp + 0x2c]
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x64077ad3
push 6
jmp 0x64077ad9
mov al, 1
jmp 0x64077ae4
push 7
push 0xa
mov ecx, esi
call fcn.640766e0
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.6407f184
add esp, 0x54
ret