Function at 0x6407d1e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x640fe3b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
mov edi, dword [ebp + 0x18]
call sym.Qt5NetworkKso.dll_public:_enum_kso_qt::QAbstractSocket::NetworkLayerProtocol___thiscall_kso_qt::QHostAddress::protocol_void_
mov ecx, esi
cmp eax, 1
jne 0x6407d24c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], 0x29
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 0x14
push eax
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QDeadlineTimer___thiscall_kso_qt::QNetworkAddressEntry::preferredLifetime_void_
movups xmm0, xmmword [ebp - 0x28]
mov ecx, edi
movups xmmword [ebp - 0x18], xmm0
call sym.Qt5NetworkKso.dll_public:_int___thiscall_kso_qt::QNetworkInterface::index_void_const
mov dword [ebp - 8], eax
jmp 0x6407d334
call sym.Qt5NetworkKso.dll_public:_enum_kso_qt::QAbstractSocket::NetworkLayerProtocol___thiscall_kso_qt::QHostAddress::protocol_void_
test eax, eax
jne 0x6407d365
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 8
movlpd qword [ebp - 0x44], xmm0
call sym.Qt5NetworkKso.dll_public:_enum_kso_qt::QSsl::SslProtocol___thiscall_kso_qt::QSslConfiguration::sessionProtocol_void_
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, edi
mov dword [ebp - 0x44], eax
call sym.Qt5NetworkKso.dll_public:_bool___thiscall_kso_qt::QNetworkInterface::isValid_void_const
test al, al
je 0x6407d32d
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QList_class_kso_qt::QNetworkAddressEntry____thiscall_kso_qt::QNetworkInterface::addressEntries_void_
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
add esi, 4
add edi, 4
lea esi, [eax + esi*4]
lea edi, [eax + edi*4]
cmp esi, edi
je 0x6407d2e6
nop dword [eax + eax]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QHostAddress___thiscall_kso_qt::QNetworkAddressEntry::ip_void_
lea ecx, [ebp - 0x2c]
call sym.Qt5NetworkKso.dll_public:_enum_kso_qt::QAbstractSocket::NetworkLayerProtocol___thiscall_kso_qt::QHostAddress::protocol_void_
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x6407d30c
call sym.Qt5NetworkKso.dll_public:_void___thiscall_kso_qt::QHostAddress::destructor_void_
add esi, 4
cmp esi, edi
jne 0x6407d2c0
push 0xa
push 7
mov ecx, ebx
call fcn.6407c150
lea ecx, [ebp - 0x30]
call fcn.6407cb40
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.640ad545
mov esp, ebp
pop ebp
ret
call sym.Qt5NetworkKso.dll_public:_enum_kso_qt::QSsl::SslProtocol___thiscall_kso_qt::QSslConfiguration::sessionProtocol_void_
push eax
call dword [sym.imp.WS2_32.dll_htonl]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call sym.Qt5NetworkKso.dll_public:_void___thiscall_kso_qt::QHostAddress::destructor_void_
lea ecx, [ebp - 0x30]
call fcn.6407cb40
jmp 0x6407d334
mov dword [ebp - 0x40], 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
push dword [ebx + 0x74]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x6407d352
push 6
jmp 0x6407d367
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.640ad545
mov esp, ebp
pop ebp
ret
push 7
push 0xa
mov ecx, ebx
call fcn.6407c150
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.640ad545
mov esp, ebp
pop ebp
ret