Function at 0x6407ba70
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x640a5380
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x60], 1
mov esi, dword [esp + 0x30]
mov ecx, esi
jne 0x6407bae1
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x6407bac9
mov ecx, esi
call sym.QtNetwork4.dll_public:_int___thiscall_QNetworkInterface::index_void_const
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 9
push 0x29
jmp 0x6407bbff
push 4
lea eax, [esp + 0x20]
push eax
push 9
mov dword [esp + 0x28], 0
push 0x29
jmp 0x6407bbff
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x6407bbec
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sym.QtNetwork4.dll_public:_class_QList_class_QNetworkAddressEntry____thiscall_QNetworkInterface::addressEntries_void_
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x6407bb8e
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov edi, edi
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QNetworkAddressEntry::ip_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x6407bb71
lea ecx, [esp + 0x14]
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call ebx
push 4
lea edx, [esp + 0x1c]
push edx
push 9
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x78]
push 0
push eax
call ebp
cmp eax, 0xffffffff
jne 0x6407bbb6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x30]
inc esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp esi, eax
jl 0x6407bb20
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407bbb2
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x34]
call fcn.64060c70
xor al, al
jmp 0x6407bc11
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407bbe8
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x34]
call fcn.64060c70
mov al, 1
jmp 0x6407bc11
push 4
lea eax, [esp + 0x1c]
push eax
push 9
mov dword [esp + 0x24], 0
push 0
mov ecx, dword [edi + 0x78]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
xor edx, edx
cmp eax, 0xffffffff
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4